/* ==========================================================================
   v30.25.0 — English edition
   1. Language switch (🇩🇰 / 🇬🇧) on the splash and the game picker.
   2. Live HUD labels: Meldte / Pinde / Point (Bid / Target / Points) are drawn as
      plates on top of the words painted into the HUD art, so the text follows the
      chosen language. Geometry: from 10.5 % of the HUD to just before the value box,
      on the same rows as the values (hud-catalog.js alignment variables).
   ========================================================================== */

.lang-switch{
  position:fixed;z-index:30;
  top:calc(env(safe-area-inset-top,0px) + 10px);
  right:calc(env(safe-area-inset-right,0px) + 10px);
  display:flex;gap:4px;padding:3px;
  border:1px solid rgba(255,214,120,.38);border-radius:999px;
  background:rgba(6,16,28,.66);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
}
.lang-switch button{
  appearance:none;border:0;border-radius:999px;
  background:transparent;color:#f6e7c2;font:800 12px/1 system-ui,sans-serif;
  padding:6px 9px;cursor:pointer;letter-spacing:.3px;white-space:nowrap;
}
html[data-lang="da"] .lang-switch button[data-set-lang="da"],
html[data-lang="en"] .lang-switch button[data-set-lang="en"]{
  background:linear-gradient(180deg,#f3cf6b,#c8952c);color:#2a1a02;
}

/* ---- live HUD labels ---- */
.player-static-stats .hud-lbl{display:none}
.poker-stage .player.hud-skin .player-static-stats .hud-lbl{
  position:absolute;
  display:flex;align-items:center;justify-content:center;
  left:10.5%;
  width:calc(var(--hud-value-left,60%) - 12%);
  height:calc(var(--hud-value-height,6.5%) * 1.08);
  translate:0 -4%;
  box-sizing:border-box;
  border:0;
  border-radius:3px;
  font-style:normal;
  font-family:Georgia,"Times New Roman",serif;
  font-weight:800;
  font-size:clamp(6px,.85cqw,10px);
  line-height:1;
  letter-spacing:.02em;
  color:#fbefcf;
  text-shadow:0 1px 1px rgba(0,0,0,.85);
  white-space:nowrap;
  overflow:visible;
  pointer-events:none;
  z-index:2;
  box-shadow:0 0 0 1px rgba(240,196,98,.8),0 0 0 2px rgba(0,0,0,.35),inset 0 1px 0 rgba(255,255,255,.14);
}
.poker-stage .player.hud-skin .player-static-stats .hl-bid{
  top:var(--hud-bid-top,58.15%);
  background:linear-gradient(180deg,#1d4f7c,#0f2f4f);
}
.poker-stage .player.hud-skin .player-static-stats .hl-pinde{
  top:var(--hud-pinde-top,68.15%);
  background:linear-gradient(180deg,#5d2463,#36123a);
}
.poker-stage .player.hud-skin .player-static-stats .hl-score{
  top:var(--hud-score-top,78.15%);
  background:linear-gradient(180deg,#6d4a15,#3f2a0a);
}
@media (orientation:landscape){
  html body.game-scroll-locked #app.shell .poker-stage .player.hud-skin .player-static-stats .hud-lbl{
    font-size:calc(var(--lt-hud) * .072)!important;
  }
}
