/* Bingoo lobby and opening sequence */
:root {
  --bg: #0c0d14;
  --card: #171821;
  --card2: #20212c;
  --gold: #f2d129;
  --mint: #25dc70;
  --cyan: #25c7e8;
  --coral: #df145f;
  --hot: #ff5b98;
  --purple: #a83bd4;
  --txt: #f4f5f8;
  --txt2: #a3a8b8;
  --line: #2c2e3c;
}

html, body { background: var(--bg); }
body {
  background:
    radial-gradient(circle at 12% -5%, rgba(223, 20, 95, .10), transparent 30%),
    radial-gradient(circle at 95% 15%, rgba(37, 199, 232, .06), transparent 26%),
    var(--bg);
  color: var(--txt);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}
.phone {
  height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--bg);
}
button { font-family: inherit; -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.hd {
  min-height: 54px;
  padding: 9px 12px;
  background: rgba(17, 18, 26, .96);
  border-bottom: 1px solid var(--line);
}
.logo { gap: 8px; font-size: 18px; font-weight: 900; letter-spacing: -.03em; }
.logo .mark, .auth-logo .mark {
  background: linear-gradient(145deg, var(--hot), var(--coral));
  border: 1px solid #ff7bad;
  color: #fff;
  box-shadow: 0 0 18px rgba(223, 20, 95, .22);
}
.mark { width: 30px; height: 30px; border-radius: 8px; font-size: 16px; }
.chip {
  border: 1px solid rgba(37, 220, 112, .24);
  background: rgba(37, 220, 112, .08);
  font-size: 10px;
  letter-spacing: .02em;
}
.chip.on { color: var(--mint); background: rgba(37, 220, 112, .08); }
.chip.off { color: #ffab91; background: rgba(255, 171, 145, .08); border-color: rgba(255, 171, 145, .25); }
.chip .dot { box-shadow: 0 0 8px currentColor; }

#screen-app { min-height: 0; }
.bd {
  min-height: 0;
  padding: 12px 10px 16px;
  gap: 10px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.screen { width: 100%; }
#s-play { display: flex; flex-direction: column; gap: 10px; }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.lobby-heading { padding: 1px 2px 0; }
.lobby-kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
  color: var(--cyan);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .18em;
}
.lobby-kicker::before { content: ""; width: 14px; height: 2px; background: var(--cyan); box-shadow: 0 0 8px rgba(37, 199, 232, .55); }
.lobby-heading h1 { margin: 0; color: var(--txt); font-size: 23px; line-height: 1.15; letter-spacing: -.035em; }
.lobby-heading p { margin-top: 4px; color: var(--txt2); font-size: 11px; line-height: 1.4; }

.wallet {
  width: 100%;
  min-height: 66px;
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(105deg, #1c1d28, #14151e);
  color: var(--txt);
  text-align: left;
  cursor: pointer;
}
.wallet .ic {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(37, 220, 112, .09);
  color: var(--mint);
  border: 1px solid rgba(37, 220, 112, .22);
}
.wallet-copy { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wallet-copy small { color: var(--txt2); font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.wallet-copy b { color: var(--mint); font-size: 19px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.wallet-action { color: var(--cyan); font-size: 11px; font-weight: 800; }

.rooms-heading { display: flex; align-items: center; justify-content: space-between; padding: 2px 2px 0; }
.rooms-heading h2 { color: var(--txt); font-size: 12px; text-transform: uppercase; letter-spacing: .09em; }
.room-count { color: var(--txt2); font-size: 10px; }
.room-count b { color: var(--cyan); font-size: 12px; font-variant-numeric: tabular-nums; }
#rooms { display: grid; gap: 9px; }

.room {
  position: relative;
  padding: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, #1b1c27 0%, #15161f 100%);
  transition: border-color .18s ease, transform .18s ease;
}
.room.mine { border-color: rgba(37, 199, 232, .65); box-shadow: inset 0 0 0 1px rgba(37, 199, 232, .08); }
.room-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.room-title { min-width: 0; }
.room-kicker-row { min-height: 15px; display: flex; align-items: center; gap: 7px; }
.room-kicker { color: var(--txt2); font-size: 8px; font-weight: 900; letter-spacing: .16em; }
.room h3 { margin: 1px 0 0; line-height: 1; font-variant-numeric: tabular-nums; }
.room .stake { color: var(--txt); font-size: 27px; font-weight: 900; letter-spacing: -.04em; }
.room .currency { margin-left: 5px; color: var(--cyan); font-size: 11px; font-weight: 900; letter-spacing: .04em; }
.status {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 5px 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status.run { color: var(--mint); background: rgba(37, 220, 112, .08); border-color: rgba(37, 220, 112, .24); }
.status.run::before { box-shadow: 0 0 7px var(--mint); animation: blink 1.4s infinite; }
.status.wait { color: var(--txt2); background: #20212c; border-color: #313342; }
.status.start { color: var(--gold); background: rgba(242, 209, 41, .08); border-color: rgba(242, 209, 41, .26); }
.tag {
  position: static;
  padding: 2px 5px;
  border-radius: 3px;
  background: rgba(242, 209, 41, .12);
  color: var(--gold);
  box-shadow: none;
  transform: none;
  font-size: 7px;
  letter-spacing: .08em;
}
.room-metrics {
  display: grid;
  grid-template-columns: 1.4fr .9fr .65fr;
  margin: 11px 0 10px;
  padding: 9px 0;
  border-top: 1px solid #292b38;
  border-bottom: 1px solid #292b38;
}
.room-metric { min-width: 0; padding: 0 9px; border-left: 1px solid #292b38; }
.room-metric:first-child { padding-left: 0; border-left: 0; }
.room-metric small { display: block; margin-bottom: 3px; color: var(--txt2); font-size: 8px; font-weight: 800; letter-spacing: .07em; white-space: nowrap; }
.room-metric strong { display: block; overflow: hidden; color: var(--txt); font-size: 14px; line-height: 1.15; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.room-metric:first-child strong { color: var(--hot); }
.room-metric strong span { color: var(--txt2); font-size: 9px; font-weight: 700; }
.room-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.room-hint { min-width: 0; color: var(--txt2); font-size: 9px; line-height: 1.3; }
.join {
  flex: none;
  min-width: 82px;
  min-height: 35px;
  padding: 8px 13px;
  border: 1px solid #ff5b98;
  border-radius: 7px;
  background: var(--coral);
  color: #fff;
  box-shadow: 0 4px 15px rgba(223, 20, 95, .16);
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
  transition: filter .15s ease, transform .15s ease;
}
.join:hover { filter: brightness(1.12); }
.join:active { transform: scale(.96); }
.join.rejoin { border-color: #60dcf3; background: var(--cyan); color: #071217; box-shadow: 0 4px 15px rgba(37, 199, 232, .14); }
.join .arrow { margin-left: 5px; font-size: 14px; }
.room-loading { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 100px; color: var(--txt2); font-size: 12px; }
.room-loading::before { content: ""; width: 15px; height: 15px; border: 2px solid #343646; border-top-color: var(--cyan); border-radius: 50%; animation: jbspin .8s linear infinite; }
.note { padding: 2px 12px; color: var(--txt2); font-size: 10px; line-height: 1.45; }
.ft { padding: 0 0 3px; color: #707588; font-size: 9px; letter-spacing: .05em; }

.nav {
  position: relative;
  flex: none;
  padding: 8px 10px calc(9px + env(safe-area-inset-bottom));
  background: rgba(17, 18, 26, .98);
  border-top: 1px solid var(--line);
}
.nav button.a { color: var(--cyan); }
.circ { background: var(--coral); border-color: #11121a; box-shadow: 0 5px 18px rgba(223, 20, 95, .28); }
.nav .playbtn.a .circ { outline: 1px solid var(--hot); outline-offset: 2px; }
.seg, .tabs { background: #12131b; border-color: var(--line); }
.seg button.a, .tabs button.a { background: var(--coral); color: #fff; }
.btn-gold { background: var(--coral); color: #fff; }
.btn-coral { background: #291621; border: 1px solid #653049; color: #ff8aad; }
.field input { background: #101119; border-color: var(--line); }
.field input:focus { border-color: var(--cyan); }
.linkbtn { color: var(--cyan); }
.lrow { background: var(--card); border-color: var(--line); }
.rank { background: #252634; }
.rank.g1 { background: var(--gold); color: #282000; }
.ava { background: rgba(37, 199, 232, .1); color: var(--cyan); }
.e, .stat2 b.g { color: var(--gold); }

/* Opening: animated bingo numbers around the temporary Bingoo brand. */
#jbsplash {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 28px;
  background:
    radial-gradient(circle at 50% 42%, rgba(37, 199, 232, .07), transparent 27%),
    radial-gradient(circle at 50% 45%, #151621 0%, #0c0d14 48%, #08090e 100%);
  color: var(--txt);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  transition: opacity .38s ease, visibility .38s ease;
  cursor: pointer;
}
#jbsplash.leaving { opacity: 0; visibility: hidden; pointer-events: none; }
.opening-stage { position: relative; width: 280px; height: 260px; display: grid; place-items: center; }
.opening-ring { position: absolute; width: 222px; height: 222px; border: 1px solid rgba(37, 199, 232, .16); border-radius: 50%; animation: openingRing 7s linear infinite; }
.opening-ring::before, .opening-ring::after { content: ""; position: absolute; border-radius: 50%; }
.opening-ring::before { inset: 15px; border: 1px dashed rgba(223, 20, 95, .23); }
.opening-ring::after { inset: -5px; border-top: 2px solid var(--cyan); border-right: 2px solid transparent; transform: rotate(25deg); }
.opening-logo { position: relative; z-index: 2; text-align: center; animation: openingBrand .75s cubic-bezier(.2,.8,.2,1) both; }
.opening-mini { margin-bottom: 5px; color: var(--cyan); font-size: 9px; font-weight: 900; letter-spacing: .42em; text-transform: uppercase; }
.opening-brand { color: #fff; font-size: 47px; font-weight: 900; line-height: 1; letter-spacing: -.065em; text-shadow: 0 0 28px rgba(255, 255, 255, .08); }
.opening-brand span { color: var(--hot); }
.opening-rule { width: 64px; height: 3px; margin: 13px auto 0; border-radius: 4px; background: linear-gradient(90deg, var(--coral) 0 48%, var(--cyan) 48% 100%); box-shadow: 0 0 13px rgba(37, 199, 232, .25); }
.opening-ball {
  --ball-color: var(--coral);
  position: absolute;
  z-index: 3;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 2px solid color-mix(in srgb, var(--ball-color), white 25%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, #343644, #171821 70%);
  color: var(--ball-color);
  box-shadow: 0 0 20px color-mix(in srgb, var(--ball-color), transparent 78%), inset 0 0 12px rgba(255,255,255,.04);
  font-size: 14px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  animation: openingBall 2.2s ease-in-out infinite;
}
.opening-ball.b1 { --ball-color: #ff5b98; left: 16px; top: 49px; animation-delay: -.25s; }
.opening-ball.b2 { --ball-color: #25c7e8; right: 13px; top: 58px; animation-delay: -.8s; }
.opening-ball.b3 { --ball-color: #25dc70; left: 25px; bottom: 38px; animation-delay: -1.35s; }
.opening-ball.b4 { --ball-color: #f2d129; right: 26px; bottom: 34px; animation-delay: -1.75s; }
.opening-message { margin-top: 5px; color: #d7d9e2; font-size: 13px; font-weight: 700; letter-spacing: .08em; animation: openingBrand .65s .25s both; }
.opening-progress { width: min(250px, 72vw); height: 5px; margin-top: 22px; overflow: hidden; border-radius: 6px; background: #242631; }
.opening-progress i { display: block; width: 100%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--coral), var(--hot), var(--cyan)); transform: scaleX(0); transform-origin: left; animation: openingLoad 2.15s .15s cubic-bezier(.2,.7,.3,1) forwards; }
.opening-small { margin-top: 10px; color: #74798b; font-size: 8px; font-weight: 800; letter-spacing: .22em; }
@keyframes openingBrand { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes openingBall { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-11px) rotate(5deg); } }
@keyframes openingRing { to { transform: rotate(360deg); } }
@keyframes openingLoad { 0% { transform: scaleX(0); } 35% { transform: scaleX(.32); } 75% { transform: scaleX(.76); } 100% { transform: scaleX(1); } }
@keyframes jbspin { to { transform: rotate(360deg); } }

@media (min-width: 480px) {
  .phone { height: calc(100dvh - 36px); min-height: 0; border-color: var(--line); border-radius: 18px; }
}
@media (max-width: 340px) {
  .bd { padding-left: 8px; padding-right: 8px; }
  .room { padding: 10px; }
  .room .stake { font-size: 24px; }
  .room-metric { padding: 0 6px; }
  .room-metric small { font-size: 7px; }
  .room-metric strong { font-size: 12px; }
  .room-hint { font-size: 8px; }
  .join { min-width: 74px; padding-left: 10px; padding-right: 10px; }
  .wallet { grid-template-columns: 34px 1fr auto; gap: 8px; padding-left: 10px; padding-right: 10px; }
  .wallet-copy b { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .opening-progress i { transform: scaleX(1); }
}

/* Wallet, deposit and withdrawal dialogs */
body #wal-menu-ov,
body #wd-ov,
body #dep-ov,
body #dep-ok-ov,
body #dep-v-ov {
  padding: 14px;
  background: rgba(5, 6, 10, .84);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
body #wal-menu-card,
body #wd-card,
body #dep-card,
body #dep-ok-card,
body #dep-v-card {
  position: relative;
  box-sizing: border-box;
  max-height: calc(100dvh - 28px);
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(150deg, #1c1d28, #14151e);
  color: var(--txt);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .48);
  font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
body #wal-menu-card {
  width: 100%;
  max-width: 330px;
  padding: 23px 18px 18px;
  text-align: center;
}
body #wd-card,
body #dep-card {
  width: 100%;
  max-width: 380px;
  padding: 18px 16px 16px;
}
body #wal-menu-card h3,
body #wd-card h3,
body #dep-card h3 {
  margin: 0 34px 4px 0;
  color: var(--txt);
  font-size: 22px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -.025em;
  text-align: left;
}
body #wal-menu-card h3 { margin: 0 0 5px; font-size: 25px; text-align: center; }
.wal-kicker {
  margin-bottom: 4px;
  color: var(--cyan);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .2em;
}
.wal-sub, .wd-sub, .dep-sub {
  margin: 0 28px 15px 0;
  color: var(--txt2);
  font-size: 11px;
  line-height: 1.45;
}
.wal-sub { margin: 0 auto 18px; max-width: 230px; }
body .wal-x,
body .dep-x {
  position: absolute;
  top: 12px;
  right: 12px;
  float: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0 0 2px;
  border: 1px solid #343646;
  border-radius: 50%;
  background: #20212c;
  color: var(--txt2);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}
body .wal-x:hover,
body .dep-x:hover { color: var(--txt); border-color: #56596c; }
body .wal-btn {
  position: relative;
  width: 100%;
  min-height: 46px;
  margin: 9px 0 0;
  padding: 11px 14px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
  transition: filter .15s ease, transform .15s ease;
}
body #wal-menu-card .wal-btn::after {
  content: "›";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-53%);
  font-size: 22px;
  font-weight: 400;
}
body .wal-dep,
body .dep-cta,
body #dep-ok-btn {
  border: 1px solid var(--hot);
  background: var(--coral);
  color: #fff;
  box-shadow: 0 5px 18px rgba(223, 20, 95, .16);
}
body .wal-wd {
  border: 1px solid rgba(37, 199, 232, .35);
  background: #20212c;
  color: var(--cyan);
}
body .wal-btn:hover,
body .dep-cta:hover,
body #dep-ok-btn:hover { filter: brightness(1.1); }
body .wal-btn:active,
body .dep-cta:active { transform: scale(.985); }
body #wd-go { text-align: center; }
body .wd-tg,
body .dep-tg {
  display: flex;
  gap: 8px;
  margin: 14px 0;
}
body .wd-tg button,
body .dep-tg button {
  min-height: 40px;
  flex: 1;
  padding: 9px 12px;
  border: 1px solid #343646;
  border-radius: 7px;
  background: #11121a;
  color: var(--txt2);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
body .wd-tg button.on,
body .dep-tg button.on {
  border-color: #60dcf3;
  background: var(--cyan);
  color: #071217;
  box-shadow: 0 3px 14px rgba(37, 199, 232, .12);
}
body .wd-row,
body .dep-row { margin-bottom: 12px; }
body .wd-row label,
body .dep-row label {
  display: block;
  margin-bottom: 6px;
  color: #b7bbca;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 600;
}
body .wd-in,
body .dep-in {
  width: 100%;
  min-height: 43px;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #343646;
  border-radius: 7px;
  outline: none;
  background: #0f1018;
  color: var(--txt);
  font-size: 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
body .wd-in::placeholder,
body .dep-in::placeholder { color: #707588; opacity: 1; }
body .wd-in:focus,
body .dep-in:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(37, 199, 232, .10);
}
body .dep-info {
  margin: 0 0 14px;
  padding: 11px;
  border: 1px solid rgba(37, 199, 232, .25);
  border-radius: 7px;
  background: rgba(37, 199, 232, .055);
  color: #cad9df;
  font-size: 11px;
  line-height: 1.5;
  word-break: break-word;
}
body .dep-info span { color: var(--cyan); }
body .dep-cp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin: 9px 0 0;
  padding: 5px 10px;
  border: 1px solid rgba(37, 199, 232, .45);
  border-radius: 6px;
  background: #11121a;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  vertical-align: middle;
  cursor: pointer;
}
body .dep-cp:active { background: var(--cyan); color: #071217; }
body .dep-chips { display: flex; gap: 5px; margin-top: 8px; }
body .dep-chips button {
  min-width: 0;
  min-height: 31px;
  flex: 1;
  padding: 5px 2px;
  border: 1px solid #343646;
  border-radius: 6px;
  background: #11121a;
  color: var(--txt2);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}
body .dep-chips button:hover { border-color: var(--cyan); color: var(--cyan); }
body .dep-cta,
body #dep-ok-btn {
  width: 100%;
  min-height: 44px;
  margin-top: 3px;
  padding: 11px 14px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}
body .dep-cta.loading { opacity: .68; }
body .wd-msg,
body .dep-msg { min-height: 16px; margin-top: 8px; font-size: 12px; line-height: 1.4; }
body .wd-ok, body .dep-ok, body .dep-v { color: var(--mint); }
body .wd-err, body .dep-err, body .dep-r { color: var(--hot); }
body .dep-p { color: var(--gold); }
body #dep-list {
  max-height: 96px;
  margin-top: 10px;
  overflow: auto;
  border-top: 1px solid var(--line);
  font-size: 11px;
}
body #dep-list div { padding: 7px 2px; border-bottom: 1px solid #252634; }
body #dep-spin { border-color: rgba(255, 255, 255, .32); border-top-color: #fff; }
body #dep-ok-card { width: 100%; max-width: 320px; padding: 25px 20px 20px; border-color: rgba(37, 220, 112, .45); text-align: center; }
body #dep-ok-badge { border-color: var(--mint); background: rgba(37, 220, 112, .10); color: var(--mint); }
body #dep-ok-amt { color: var(--mint); }
body #dep-ok-sub { color: var(--txt2); }
body #dep-v-card { width: 100%; max-width: 310px; padding: 28px 24px; text-align: center; }
body #dep-v-spin { border-color: #343646; border-top-color: var(--cyan); }
body #dep-v-sub { color: var(--txt2); line-height: 1.4; }

@media (max-width: 340px) {
  body #wal-menu-ov, body #wd-ov, body #dep-ov, body #dep-ok-ov, body #dep-v-ov { padding: 10px; }
  body #wal-menu-card, body #wd-card, body #dep-card, body #dep-ok-card, body #dep-v-card { max-height: calc(100dvh - 20px); }
  body #wd-card, body #dep-card { padding: 16px 14px 14px; }
  body #wal-menu-card h3, body #wd-card h3, body #dep-card h3 { font-size: 20px; }
  body .dep-chips { gap: 4px; }
  body .dep-chips button { font-size: 10px; }
}


/* Shared language picker */
.language-control{position:relative;flex:0 0 auto}
.language-btn{height:30px;min-width:49px;padding:0 8px;border:1px solid var(--line);border-radius:9px;background:#1a1b25;color:var(--cyan);display:flex;align-items:center;justify-content:center;gap:5px;cursor:pointer;font-size:10px;letter-spacing:.6px;transition:border-color .15s,background .15s}
.language-btn:hover,.language-btn[aria-expanded="true"]{border-color:var(--cyan);background:#202733}
.language-btn svg{width:14px;height:14px;flex:0 0 auto}
.language-btn b{font-size:10px;font-weight:850}
.language-menu{position:absolute;right:0;top:39px;width:190px;padding:7px;background:#191b27;border:1px solid #353949;border-radius:12px;box-shadow:0 18px 50px rgba(0,0,0,.55);z-index:80}
.language-menu[hidden]{display:none!important}
.language-title{padding:6px 9px 8px;color:var(--txt2);font-size:10px;font-weight:750;letter-spacing:.5px;text-transform:uppercase}
.language-menu button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 9px;border:0;border-radius:8px;background:transparent;color:var(--txt);font-size:13px;text-align:left;cursor:pointer}
.language-menu button:hover{background:#252836}
.language-menu button[aria-checked="true"]{background:#20333b;color:#74e8fb;font-weight:800}
.language-menu button i{width:15px;color:var(--cyan);font-size:13px;font-style:normal;opacity:0}
.language-menu button[aria-checked="true"] i{opacity:1}
@media(max-width:360px){.language-btn{min-width:43px;padding:0 6px}.language-btn svg{width:13px}.language-menu{width:180px}}
