@charset "UTF-8";
.lb-container {
  max-width: calc(100% - 48px) !important;
}

.lb {
  position: relative;
  margin: 0 0 2rem;
  color: #f6eefc;
}
.lb [hidden] {
  display: none !important;
}
.lb__stage {
  position: relative;
  direction: ltr;
  aspect-ratio: 16/9;
  min-height: 460px;
  max-height: 84vh;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: #0d070d;
  border: 1px solid rgba(255, 61, 139, 0.45);
  box-shadow: 0 18px 50px rgba(255, 61, 139, 0.18), 0 0 0 1px rgba(255, 194, 61, 0.12) inset;
  outline: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
}
.lb__stage canvas[data-lb=canvas] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.lb__stage.is-pfs,
.lb__stage:fullscreen {
  position: fixed;
  inset: 0;
  z-index: 100000;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 0;
  border: 0;
}

/* ---------- لودر اولیه (در Blade، قبل از دریافت JS) ---------- */
.lb-boot {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  direction: rtl;
  text-align: center;
  color: #f6eefc;
  background: radial-gradient(ellipse at 50% 40%, #1d0a22, #0d070d 70%);
  transition: opacity 0.4s;
}
.lb-boot.is-done {
  opacity: 0;
  pointer-events: none;
}
.lb-boot b {
  font-size: 15px;
}
.lb-boot p {
  margin: 0;
  max-width: 340px;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(246, 238, 252, 0.64);
}
.lb-boot__fail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.lb-boot__spin {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.12);
  border-top-color: #ff3d8b;
  animation: lbSpin 0.9s linear infinite;
}
.lb-boot.is-failed .lb-boot__spin, .lb-boot.is-failed .lb-boot__bar {
  display: none;
}
.lb-boot__bar {
  position: relative;
  width: 200px;
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}
.lb-boot__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, #ff3d8b, #ffc23d);
  animation: lbBar 1.3s ease-in-out infinite;
}

/* ---------- متن زیر بازی (سئو) ---------- */
.lb-about {
  max-width: 900px;
  margin: 8px auto 4px;
  color: var(--text-color);
  line-height: 2.1;
}
.lb-about h1 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 800;
}
.lb-about p {
  margin: 0 0 12px;
  opacity: 0.92;
}
.lb-about ul {
  margin: 0 0 12px;
  padding: 0 22px 0 0;
}
.lb-about ul li {
  margin-bottom: 4px;
  opacity: 0.92;
}
.lb-about a {
  color: var(--full-color, #8b3dff);
  font-weight: 700;
}

html.lb-noscroll,
html.lb-noscroll body {
  overflow: hidden !important;
}

/* ============================ لایه‌ی رابط ============================ */
.lb-ui {
  position: absolute;
  inset: 0;
  direction: rtl;
  pointer-events: none;
  font-family: inherit;
  color: #f6eefc;
}
.lb-ui button {
  font-family: inherit;
  pointer-events: auto;
  cursor: pointer;
}

.lb-vig {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 46%, transparent 52%, rgba(6, 2, 8, 0.7) 100%), linear-gradient(180deg, rgba(8, 2, 12, 0.35), transparent 22%, transparent 78%, rgba(8, 2, 12, 0.45));
}

.lb-flash {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: #fff;
}
.lb-flash[data-k=white] {
  background: #fff;
}
.lb-flash[data-k=warm] {
  background: radial-gradient(circle, #fff3cf, #ff9d2e 70%);
}
.lb-flash[data-k=soft] {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), rgba(88, 255, 154, 0.2) 70%);
}
.lb-flash[data-k=red] {
  background: radial-gradient(circle, rgba(255, 61, 77, 0.2), rgba(255, 61, 77, 0.7));
}
.lb-flash[data-k=black] {
  background: #000;
}
.lb-flash.is-on {
  animation: lbFlash 0.9s ease-out forwards;
}
.lb-flash.is-on[data-k=black] {
  animation: lbBlack 2.4s ease-in forwards;
}

@keyframes lbFlash {
  0% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
  }
}
@keyframes lbBlack {
  0% {
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/* ---------- بالای صفحه ---------- */
.lb-top {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.lb-tcard {
  --rc: #ffc23d;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  background: rgba(22, 10, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-right: 3px solid var(--rc);
  border-radius: 12px;
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.5), 0 0 14px color-mix(in srgb, var(--rc) 40%, transparent);
}
.lb-tcard__r {
  display: grid;
  place-items: center;
  width: 38px;
  height: 52px;
  border-radius: 6px;
  background: linear-gradient(160deg, #fbf3df, #e4d3a8);
  color: #25103f;
  font: 900 28px/1 Georgia, serif;
  border: 2px solid var(--rc);
  box-shadow: 0 0 12px color-mix(in srgb, var(--rc) 60%, transparent);
}
.lb-tcard__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.lb-tcard__txt small {
  font-size: 11px;
  color: rgba(246, 238, 252, 0.64);
}
.lb-tcard__txt b {
  font-size: 20px;
  font-weight: 800;
  color: var(--rc);
  text-shadow: 0 0 10px color-mix(in srgb, var(--rc) 55%, transparent);
}
.lb-tcard.is-flip {
  animation: lbFlip 0.7s ease-out;
}

@keyframes lbFlip {
  0% {
    transform: perspective(500px) rotateX(90deg) scale(0.8);
    opacity: 0;
  }
  60% {
    transform: perspective(500px) rotateX(-12deg) scale(1.08);
    opacity: 1;
  }
  100% {
    transform: none;
  }
}
.lb-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6px 12px;
  background: rgba(22, 10, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.7;
}
.lb-info b {
  color: #ffc23d;
  font-size: 14px;
}
.lb-info span {
  color: rgba(246, 238, 252, 0.64);
}
.lb-info i {
  font-style: normal;
  color: #f6eefc;
  font-weight: 800;
}

.lb-turn {
  --c: #ff3d8b;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 190px;
  padding: 6px 14px;
  line-height: 1.4;
  background: rgba(22, 10, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-right: 3px solid var(--c);
  border-radius: 12px;
  box-shadow: 0 0 14px color-mix(in srgb, var(--c) 35%, transparent);
}
.lb-turn small {
  font-size: 11px;
  color: rgba(246, 238, 252, 0.64);
}
.lb-turn b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 900;
  color: var(--c);
}
.lb-turn.is-me {
  background: color-mix(in srgb, var(--c) 28%, #12061a);
  animation: lbPulse 1.1s ease-in-out infinite;
}
.lb-turn.is-me small {
  color: #f6eefc;
}
.lb-turn.is-me b {
  color: #fff;
}

.lb-bar {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  gap: 8px;
  pointer-events: none;
}

.lb-ib {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: #f6eefc;
  background: rgba(22, 10, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  transition: border-color 0.15s, background 0.15s;
}
.lb-ib:hover {
  border-color: rgba(255, 61, 139, 0.7);
  background: rgba(255, 61, 139, 0.2);
}
.lb-ib svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lb-ib--txt {
  width: auto;
  min-width: 38px;
  padding: 0 10px;
  font: 800 13px/1 ui-monospace, Consolas, monospace;
}

.lb-ib--exit {
  display: grid;
  color: #ff9aa8;
}

.lb-timer {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 190px;
  padding: 6px 12px;
  background: rgba(22, 10, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  direction: ltr;
}
.lb-timer i {
  --p: 1;
  position: relative;
  flex: 1;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.lb-timer i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: calc(var(--p) * 100%);
  border-radius: inherit;
  background: linear-gradient(90deg, #47d1ff, #58ff9a);
}
.lb-timer b {
  min-width: 24px;
  text-align: center;
  font-size: 14px;
}
.lb-timer.is-low {
  border-color: rgba(255, 61, 77, 0.8);
  animation: lbPulse 0.7s ease-in-out infinite;
}
.lb-timer.is-low i::after {
  background: linear-gradient(90deg, #ff3d4d, #ffc23d);
}

@keyframes lbPulse {
  50% {
    box-shadow: 0 0 18px rgba(255, 61, 77, 0.7);
  }
}
.lb-claim {
  position: absolute;
  top: 62px;
  left: 50%;
  transform: translateX(-50%);
  padding: 7px 18px;
  background: rgba(20, 8, 28, 0.88);
  border: 1px solid rgba(255, 194, 61, 0.5);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  color: #ffc23d;
  box-shadow: 0 0 18px rgba(255, 194, 61, 0.25);
}
.lb-claim.is-in {
  animation: lbIn 0.35s ease-out;
}

@keyframes lbIn {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%);
  }
}
.lb-hint {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(90%, 560px);
  padding: 6px 16px;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  color: #f6eefc;
  background: rgba(10, 4, 14, 0.78);
  border-radius: 10px;
}

/* ---------- نام‌ها و حباب‌ها ---------- */
.lb-plates {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.lb-plate {
  --c: #ff3d8b;
  position: absolute;
  left: 0;
  top: 0;
  width: max-content;
  min-width: 90px;
  max-width: 220px;
  text-align: center;
  pointer-events: none;
  transition: opacity 0.2s, filter 0.3s;
  will-change: transform;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.95), 0 2px 5px rgba(0, 0, 0, 0.9), 0 0 16px rgba(0, 0, 0, 0.6);
}
.lb-plate b {
  display: block;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.25;
  color: #fff;
  letter-spacing: 0.2px;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.95), 0 2px 5px rgba(0, 0, 0, 0.9), 0 0 18px color-mix(in srgb, var(--c) 70%, transparent);
}
.lb-plate__cards {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #ffe9c9;
}
.lb-plate__cards i {
  font-style: normal;
  color: #fff;
  font-weight: 900;
}
.lb-plate .lb-pips {
  margin-top: 3px;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.9));
}
.lb-plate.is-turn b::after {
  content: "";
  display: block;
  width: 64%;
  height: 3px;
  margin: 3px auto 1px;
  border-radius: 2px;
  background: var(--c);
  box-shadow: 0 0 10px var(--c);
  animation: lbTurn 1.2s ease-in-out infinite;
}
.lb-plate.is-off {
  opacity: 0.8;
}
.lb-plate.is-dead {
  filter: grayscale(1) brightness(0.7);
}
.lb-plate.is-dead b {
  text-decoration: line-through;
}
.lb-plate.is-pick {
  pointer-events: auto;
  cursor: pointer;
  animation: lbPick 0.8s ease-in-out infinite;
}
.lb-plate.is-pick b {
  color: #ffd7d7;
}

@keyframes lbTurn {
  50% {
    opacity: 0.35;
  }
}
@keyframes lbPick {
  50% {
    filter: drop-shadow(0 0 10px #ff3d4d) drop-shadow(0 0 22px rgba(255, 61, 77, 0.9));
  }
}
.lb-pips {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 4px;
}
.lb-pips i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.lb-pips i.is-used {
  background: #ff3d4d;
  border-color: #ff3d4d;
  box-shadow: 0 0 6px rgba(255, 61, 77, 0.8);
}

.lb-bubble {
  position: absolute;
  left: 0;
  top: 0;
  width: 160px;
  text-align: center;
  pointer-events: none;
  will-change: transform;
  min-width: 90px;
  max-width: 190px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  color: #25103f;
  background: #fff7e4;
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}
.lb-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -7px;
  border: 7px solid transparent;
  border-top-color: #fff7e4;
}
.lb-bubble.is-in {
  animation: lbBubble 0.28s ease-out;
}
.lb-bubble.is-below::after {
  top: auto;
  bottom: 100%;
  border-top-color: transparent;
  border-bottom-color: #fff7e4;
}

@keyframes lbBubble {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.lb-me {
  --c: #8b3dff;
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  background: rgba(22, 10, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-right: 3px solid var(--c);
  border-radius: 12px;
  line-height: 1.5;
}
.lb-me__name {
  font-size: 13px;
  font-weight: 800;
}
.lb-me small {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: rgba(246, 238, 252, 0.64);
}
.lb-me .lb-pips {
  justify-content: flex-start;
}
.lb-me.is-turn {
  box-shadow: 0 0 20px color-mix(in srgb, var(--c) 70%, transparent);
}
.lb-me.is-dead {
  filter: grayscale(1);
}

/* ---------- بنر وسط ---------- */
.lb-banner {
  position: absolute;
  left: 0;
  right: 0;
  top: 30%;
  text-align: center;
  pointer-events: none;
}
.lb-banner b {
  display: block;
  font-size: clamp(30px, 6.4vw, 66px);
  font-weight: 900;
  line-height: 1.25;
  color: #fff;
  text-shadow: 0 0 24px #ff3d8b, 0 0 52px rgba(255, 61, 139, 0.7), 0 4px 0 rgba(0, 0, 0, 0.5);
}
.lb-banner span {
  display: block;
  margin-top: 4px;
  font-size: clamp(13px, 2vw, 19px);
  color: #f6eefc;
  text-shadow: 0 2px 8px #000;
}
.lb-banner[data-kind=liar] b {
  color: #fff;
  text-shadow: 0 0 22px #ff3d4d, 0 0 54px rgba(255, 61, 77, 0.85), 0 4px 0 rgba(0, 0, 0, 0.5);
}
.lb-banner[data-kind=round] b {
  color: #ffc23d;
  text-shadow: 0 0 22px #ffc23d, 0 0 50px rgba(255, 194, 61, 0.6), 0 4px 0 rgba(0, 0, 0, 0.5);
}
.lb-banner[data-kind=info] b {
  text-shadow: 0 0 22px #47d1ff, 0 0 50px rgba(71, 209, 255, 0.65), 0 4px 0 rgba(0, 0, 0, 0.5);
}
.lb-banner[data-kind=shoot] {
  top: 11%;
}
.lb-banner[data-kind=shoot] b {
  font-size: clamp(22px, 4vw, 40px);
  color: #ffc23d;
  text-shadow: 0 0 18px #ff3d4d, 0 3px 0 rgba(0, 0, 0, 0.5);
}
.lb-banner.is-in {
  animation: lbBanner 0.45s cubic-bezier(0.2, 1.4, 0.4, 1);
}

@keyframes lbBanner {
  0% {
    opacity: 0;
    transform: scale(1.7);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
/* ---------- دکمه‌ها ---------- */
.lb-btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-width: 150px;
  padding: 11px 22px;
  color: #f6eefc;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  transition: transform 0.12s, border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.lb-btn small {
  font-size: 10px;
  letter-spacing: 0.18em;
  opacity: 0.6;
}
.lb-btn kbd {
  position: absolute;
  top: 5px;
  right: 8px;
  padding: 0 6px;
  font: 700 10px/16px ui-monospace, Consolas, monospace;
  color: rgba(246, 238, 252, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}
.lb-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: rgba(255, 61, 139, 0.8);
  background: rgba(255, 61, 139, 0.18);
}
.lb-btn:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}
.lb-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.lb-btn--primary {
  background: linear-gradient(135deg, #ff3d8b, #8b3dff);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 26px rgba(255, 61, 139, 0.4);
}
.lb-btn--primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #ff5c9f, #a566ff);
  box-shadow: 0 10px 34px rgba(255, 61, 139, 0.6);
}
.lb-btn--play {
  background: linear-gradient(135deg, #1f9e62, #0f6d6a);
  border-color: rgba(88, 255, 154, 0.6);
  box-shadow: 0 8px 24px rgba(88, 255, 154, 0.28);
}
.lb-btn--play:hover:not(:disabled) {
  background: linear-gradient(135deg, #25b673, #128982);
  border-color: #58ff9a;
}
.lb-btn--liar {
  background: linear-gradient(135deg, #d4162e, #8a0f4f);
  border-color: rgba(255, 61, 77, 0.7);
  box-shadow: 0 8px 24px rgba(255, 61, 77, 0.35);
}
.lb-btn--liar:hover:not(:disabled) {
  background: linear-gradient(135deg, #f01e3a, #a3135e);
  border-color: #ff3d4d;
}
.lb-btn.is-hide {
  display: none;
}

.lb-actions {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lb-actions .lb-btn {
  min-width: 168px;
}

.lb-trigger {
  position: absolute;
  left: 50%;
  bottom: 12%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 40px;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  background: radial-gradient(circle at 50% 30%, #ff5a4d, #a0071e);
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  box-shadow: 0 0 40px rgba(255, 61, 77, 0.8);
  animation: lbTrig 0.9s ease-in-out infinite;
}
.lb-trigger kbd {
  margin-top: 2px;
  font: 700 10px ui-monospace, Consolas, monospace;
  opacity: 0.8;
  letter-spacing: 0.1em;
}

@keyframes lbTrig {
  50% {
    transform: translateX(-50%) scale(1.07);
    box-shadow: 0 0 62px #ff3d4d;
  }
}
/* ---------- پنل شرط‌بندی تاس ---------- */
.lb-dice {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: min(340px, 100% - 28px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  background: rgba(22, 10, 30, 0.9);
  border: 1px solid rgba(71, 209, 255, 0.5);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 22px rgba(71, 209, 255, 0.2);
  pointer-events: auto;
}
.lb-dice__top {
  display: flex;
  gap: 8px;
}
.lb-dice__top > div {
  flex: 1;
  min-width: 0;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}
.lb-dice__top small {
  display: block;
  font-size: 10.5px;
  color: rgba(246, 238, 252, 0.64);
}
.lb-dice__top b {
  display: block;
  font-size: 13px;
  line-height: 1.6;
  color: #ffc23d;
}
.lb-dice__mine b {
  font-size: 22px;
  letter-spacing: 3px;
  direction: ltr;
  text-align: center;
  color: #f6eefc;
}
.lb-dice__ctl {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lb-dice__btns {
  display: flex;
  gap: 8px;
}
.lb-dice__btns .lb-btn {
  flex: 1;
  min-width: 0;
  padding: 10px 8px;
}

.lb-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.lb-step b {
  min-width: 44px;
  text-align: center;
  font-size: 26px;
  line-height: 1.1;
  color: #ffc23d;
  text-shadow: 0 0 12px rgba(255, 194, 61, 0.5);
}
.lb-step button {
  width: 44px;
  height: 30px;
  padding: 0;
  font-size: 20px;
  line-height: 1;
  color: #f6eefc;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}
.lb-step button:hover {
  border-color: #47d1ff;
}

.lb-faces {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  direction: ltr;
}
.lb-faces button {
  padding: 2px 0 4px;
  font-size: 28px;
  line-height: 1.1;
  color: #f6eefc;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  transition: all 0.12s;
}
.lb-faces button:hover:not(:disabled) {
  border-color: #47d1ff;
}
.lb-faces button.is-on {
  border-color: #47d1ff;
  background: rgba(71, 209, 255, 0.25);
  box-shadow: 0 0 14px rgba(71, 209, 255, 0.4);
}
.lb-faces button:disabled {
  opacity: 0.22;
  cursor: not-allowed;
}

.lb-hud.is-dice .lb-tcard {
  display: none;
}

.lb-hud.is-dice .lb-info {
  margin-left: 0;
}

.lb-flash[data-k=green] {
  background: radial-gradient(circle, rgba(70, 255, 130, 0.35), rgba(10, 120, 50, 0.85));
}

.lb__stage.is-sick .lb-vig {
  background: radial-gradient(ellipse at 50% 46%, rgba(40, 160, 70, 0.12) 30%, rgba(8, 70, 30, 0.72) 100%), linear-gradient(180deg, rgba(8, 40, 14, 0.35), transparent 22%, transparent 78%, rgba(8, 40, 14, 0.5));
  animation: lbSick 3.4s ease-in-out infinite;
}

@keyframes lbSick {
  50% {
    opacity: 0.78;
  }
}
/* ---------- راهنمای کلیدها (فقط دسکتاپ، حین بازی) ---------- */
.lb-keys {
  position: absolute;
  left: 50%;
  bottom: 8px;
  z-index: 3;
  display: none;
  gap: 4px 14px;
  flex-wrap: wrap;
  justify-content: center;
  width: max-content;
  max-width: min(94%, 860px);
  padding: 5px 14px;
  transform: translateX(-50%);
  font-size: 11.5px;
  color: rgba(246, 238, 252, 0.64);
  background: rgba(8, 2, 12, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  pointer-events: none;
}
.lb-keys span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.lb-keys kbd {
  padding: 1px 6px;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 800;
  color: #f6eefc;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 5px;
}

@media (hover: hover) and (pointer: fine) {
  .lb__stage.is-playing .lb-keys {
    display: flex;
  }
  .lb__stage.is-locked {
    cursor: none;
  }
}
.lb-pause__key {
  margin: 0;
  text-align: center;
  color: rgba(246, 238, 252, 0.64);
}
.lb-pause__key kbd {
  padding: 1px 8px;
  font-weight: 800;
  color: #f6eefc;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 5px;
}

/* ---------- صفحه‌های تمام‌صفحه (منو/راهنما/...) ---------- */
.lb-screen {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  padding: 18px;
  pointer-events: auto;
  background: radial-gradient(ellipse at 50% 40%, rgba(12, 4, 18, 0.5), rgba(8, 2, 12, 0.88));
  scrollbar-width: thin;
  touch-action: pan-y;
  overscroll-behavior: contain;
}

.lb-menu {
  align-items: flex-start;
  background: linear-gradient(90deg, rgba(8, 2, 12, 0.88) 0%, rgba(8, 2, 12, 0.7) 55%, rgba(8, 2, 12, 0.35) 100%);
}
.lb-menu__wrap {
  width: min(100%, 940px);
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lb-title {
  text-align: center;
}
.lb-title small {
  font-size: 11px;
  letter-spacing: 0.4em;
  color: #47d1ff;
  opacity: 0.85;
}
.lb-title h2 {
  margin: 2px 0 0;
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 900;
  line-height: 1.3;
  color: #fff;
  text-shadow: 0 0 18px #ff3d8b, 0 0 46px rgba(255, 61, 139, 0.7);
}
.lb-title h2 span {
  color: #ffc23d;
  text-shadow: 0 0 18px #ffc23d, 0 0 40px rgba(255, 194, 61, 0.6);
}
.lb-title p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.34em;
  color: rgba(246, 238, 252, 0.64);
}

.lb-sec h3 {
  margin: 0 0 7px;
  font-size: 13px;
  font-weight: 800;
  color: #ffc23d;
}

.lb-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.lb-row > * {
  flex: 1 1 260px;
}

.lb-modes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.lb-mode {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 10px 12px 12px;
  text-align: right;
  color: #f6eefc;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  transition: all 0.15s;
}
.lb-mode b {
  font-size: 17px;
  font-weight: 800;
}
.lb-mode em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #47d1ff;
  opacity: 0.85;
}
.lb-mode small {
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.7;
  color: rgba(246, 238, 252, 0.64);
}
.lb-mode__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 1px 8px;
  font-size: 10px;
  font-weight: 800;
  color: #25103f;
  background: #ffc23d;
  border-radius: 999px;
}
.lb-mode:hover {
  border-color: rgba(255, 61, 139, 0.7);
  transform: translateY(-2px);
}
.lb-mode.is-on {
  border-color: #ff3d8b;
  background: rgba(255, 61, 139, 0.16);
  box-shadow: 0 0 22px rgba(255, 61, 139, 0.35);
}

.lb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lb-chip {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #f6eefc;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  transition: all 0.15s;
}
.lb-chip:hover {
  border-color: rgba(71, 209, 255, 0.7);
}
.lb-chip.is-on {
  color: #fff;
  border-color: #47d1ff;
  background: rgba(71, 209, 255, 0.2);
  box-shadow: 0 0 16px rgba(71, 209, 255, 0.3);
}

.lb-chars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.lb-char {
  --c: #ff3d8b;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px;
  text-align: center;
  color: #f6eefc;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  transition: all 0.15s;
}
.lb-char i {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--face, none) center/cover no-repeat, radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.5333333333), var(--c) 60%);
  border: 2px solid var(--c);
  box-shadow: 0 0 14px color-mix(in srgb, var(--c) 60%, transparent);
}
.lb-char b {
  font-size: 14px;
}
.lb-char small {
  font-size: 10.5px;
  line-height: 1.6;
  color: rgba(246, 238, 252, 0.64);
}
.lb-char:hover {
  border-color: var(--c);
}
.lb-char.is-on {
  border-color: var(--c);
  background: color-mix(in srgb, var(--c) 18%, transparent);
  box-shadow: 0 0 22px color-mix(in srgb, var(--c) 45%, transparent);
}

.lb-actions-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}

.lb-panel {
  width: min(100%, 720px);
  max-height: 100%;
  overflow: auto;
  padding: 20px 22px;
  text-align: center;
  background: rgba(22, 10, 30, 0.9);
  border: 1px solid rgba(255, 61, 139, 0.4);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 36px rgba(255, 61, 139, 0.2);
  scrollbar-width: thin;
}
.lb-panel h2 {
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 900;
  color: #ffc23d;
  text-shadow: 0 0 16px rgba(255, 194, 61, 0.5);
}
.lb-panel--sm {
  width: min(100%, 340px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}
.lb-panel--sm .lb-btn {
  width: 100%;
}

.lb-help__body {
  text-align: right;
  margin-bottom: 14px;
}
.lb-help__body section {
  margin-bottom: 14px;
}
.lb-help__body h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #47d1ff;
}
.lb-help__body p {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.95;
  color: #f6eefc;
}
.lb-help__body p b {
  color: #ffc23d;
}

.lb-over__crown {
  font-size: 70px;
  line-height: 1;
  color: #ffc23d;
  text-shadow: 0 0 30px #ffc23d;
}
.lb-over[data-win="0"] .lb-over__crown, .lb-over[data-win="0"] .lb-over__crown {
  color: #ff3d4d;
  text-shadow: 0 0 30px #ff3d4d;
}
.lb-over p {
  margin: 0 0 14px;
  color: rgba(246, 238, 252, 0.64);
  line-height: 1.9;
}

.lb-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.lb-stats div {
  padding: 10px 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
}
.lb-stats b {
  display: block;
  font-size: 22px;
  color: #ffc23d;
}
.lb-stats span {
  font-size: 11px;
  color: rgba(246, 238, 252, 0.64);
}

.lb-toast {
  position: absolute;
  left: 50%;
  bottom: 24%;
  transform: translateX(-50%);
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: rgba(10, 4, 14, 0.92);
  border: 1px solid rgba(255, 194, 61, 0.6);
  border-radius: 999px;
  pointer-events: none;
  white-space: nowrap;
}

.lb-loading {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #0d070d;
  pointer-events: auto;
  transition: opacity 0.35s;
}
.lb-loading.is-done {
  opacity: 0;
  pointer-events: none;
}
.lb-loading b {
  font-size: 15px;
  color: #f6eefc;
}
.lb-loading__spin {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.12);
  border-top-color: #ff3d8b;
  animation: lbSpin 0.9s linear infinite;
}
.lb-loading__bar {
  position: relative;
  width: 200px;
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}
.lb-loading__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, #ff3d8b, #ffc23d);
  animation: lbBar 1.3s ease-in-out infinite;
}

@keyframes lbSpin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes lbBar {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(260%);
  }
}
.lb-nogl {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 6;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  text-align: center;
  background: #0d070d;
  pointer-events: auto;
}

.lb.no-gl .lb-nogl {
  display: flex;
}

/* ============================ موبایل و لمس ============================ */
@media (max-width: 900px) {
  .lb-modes {
    grid-template-columns: repeat(2, 1fr);
  }
  .lb-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 767px), (pointer: coarse) {
  .lb-container {
    max-width: calc(100% - 16px) !important;
  }
  .lb__stage {
    min-height: 420px;
    border-radius: 14px;
  }
  .lb-plate {
    min-width: 70px;
  }
  .lb-plate b {
    font-size: 15px;
  }
  .lb-plate__cards {
    font-size: 10px;
  }
  .lb-bubble {
    font-size: 12px;
    max-width: 150px;
  }
  .lb-tcard {
    padding: 5px 10px 5px 7px;
    gap: 7px;
  }
  .lb-tcard__r {
    width: 30px;
    height: 42px;
    font-size: 22px;
  }
  .lb-tcard__txt b {
    font-size: 16px;
  }
  .lb-info {
    display: none;
  }
  .lb-btn {
    min-width: 120px;
    padding: 9px 14px;
    font-size: 14px;
  }
  .lb-actions {
    right: 8px;
    bottom: 8px;
    flex-direction: row;
  }
  .lb-actions .lb-btn {
    min-width: 0;
    padding: 12px 16px;
  }
  .lb-dice {
    right: 8px;
    left: 8px;
    bottom: 8px;
    width: auto;
    padding: 9px;
    gap: 8px;
  }
  .lb-faces button {
    font-size: 24px;
  }
  .lb-me {
    left: 8px;
    bottom: 8px;
    transform-origin: left bottom;
    transform: scale(0.88);
  }
  .lb-hint {
    display: none;
  }
  .lb-claim {
    top: 54px;
    font-size: 13px;
  }
  .lb-timer {
    top: 12px;
    min-width: 150px;
  }
  .lb-chars .lb-char small {
    display: none;
  }
  .lb-chars .lb-char i {
    width: 48px;
    height: 48px;
  }
  .lb-mode small {
    display: none;
  }
}
/* صحنهٔ کوتاه (لپ‌تاپ/افقی موبایل): منو فشرده می‌شود تا انتخاب شخصیت بدون اسکرول دیده شود */
@media (max-height: 700px) {
  .lb-menu__wrap {
    gap: 8px;
  }
  .lb-title h2 {
    font-size: clamp(26px, 4vw, 40px);
  }
  .lb-title p {
    display: none;
  }
  .lb-mode small {
    display: none;
  }
  .lb-char small {
    display: none;
  }
  .lb-char {
    padding: 7px 6px;
  }
  .lb-char i {
    width: 44px;
    height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lb-plate.is-turn b::after, .lb-trigger, .lb-timer.is-low {
    animation: none;
  }
}
html.kg-lite .lb-vig {
  background: radial-gradient(ellipse at 50% 46%, transparent 55%, rgba(6, 2, 8, 0.6) 100%);
}

.lb-btn--exit {
  color: #ffb3bd;
  border-color: rgba(255, 120, 140, 0.35);
}

/* ============================ آنلاین ============================ */
.lb-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.lb-tabs button {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 150px;
  padding: 8px 22px 9px;
  color: rgba(246, 238, 252, 0.64);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  transition: all 0.15s;
}
.lb-tabs button b {
  font-size: 17px;
  font-weight: 900;
}
.lb-tabs button small {
  font-size: 11px;
  opacity: 0.8;
}
.lb-tabs button:hover {
  color: #f6eefc;
  border-color: rgba(71, 209, 255, 0.6);
}
.lb-tabs button.is-on {
  color: #fff;
  border-color: #ff3d8b;
  background: rgba(255, 61, 139, 0.2);
  box-shadow: 0 0 22px rgba(255, 61, 139, 0.35);
}

.lb-title--sm h2 {
  font-size: clamp(26px, 4.4vw, 44px);
}

.lb-online {
  align-items: flex-start;
  background: linear-gradient(90deg, rgba(8, 2, 12, 0.88) 0%, rgba(8, 2, 12, 0.72) 60%, rgba(8, 2, 12, 0.45) 100%);
}
.lb-online__wrap {
  width: min(100%, 940px);
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lb-net {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(246, 238, 252, 0.64);
}
.lb-net i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffb13d;
  box-shadow: 0 0 8px #ffb13d;
}
.lb-net b {
  font: 700 12px ui-monospace, Consolas, monospace;
  color: #47d1ff;
}
.lb-net[data-s=open] i {
  background: #58ff9a;
  box-shadow: 0 0 8px #58ff9a;
}
.lb-net[data-s=closed] i {
  background: #ff3d4d;
  box-shadow: 0 0 8px #ff3d4d;
}

.lb-oc {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.lb-oc__rooms {
  order: -1;
}
.lb-oc__box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(22, 10, 30, 0.9);
  border: 1px solid rgba(255, 61, 139, 0.3);
  border-radius: 14px;
}
.lb-oc__box h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #ffc23d;
}

.lb-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.lb-field > span {
  font-size: 12px;
  font-weight: 700;
  color: rgba(246, 238, 252, 0.64);
}
.lb-field input {
  width: 100%;
  padding: 9px 12px;
  color: #f6eefc;
  font: 700 14px/1.4 inherit;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  outline: none;
  pointer-events: auto;
  user-select: text;
  -webkit-user-select: text;
}
.lb-field input::placeholder {
  color: rgba(246, 238, 252, 0.35);
  font-weight: 500;
}
.lb-field input:focus {
  border-color: #47d1ff;
  box-shadow: 0 0 0 3px rgba(71, 209, 255, 0.18);
}
.lb-field .lb-chip {
  padding: 6px 14px;
  font-size: 13px;
}

.lb-rooms {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 290px;
  overflow: auto;
  scrollbar-width: thin;
}
.lb-rooms__empty {
  margin: 18px 0;
  text-align: center;
  font-size: 13px;
  line-height: 2;
  color: rgba(246, 238, 252, 0.64);
}

.lb-rrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
}
.lb-rrow__main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.5;
}
.lb-rrow__main b {
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lb-rrow__main small {
  font-size: 11px;
  color: rgba(246, 238, 252, 0.64);
}
.lb-rrow__main small i {
  font-style: normal;
  color: #47d1ff;
  font-weight: 800;
  letter-spacing: 1px;
}
.lb-rrow__n {
  font-weight: 900;
  color: #ffc23d;
}
.lb-rrow.is-busy {
  opacity: 0.6;
}

.lb-join {
  display: flex;
  gap: 8px;
}
.lb-join input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  color: #f6eefc;
  font: 900 16px/1.2 ui-monospace, Consolas, monospace;
  letter-spacing: 6px;
  text-align: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  outline: none;
  pointer-events: auto;
  user-select: text;
  -webkit-user-select: text;
}
.lb-join input::placeholder {
  font: 600 12px inherit;
  letter-spacing: 0;
  color: rgba(246, 238, 252, 0.35);
}
.lb-join input:focus {
  border-color: #47d1ff;
}

.lb-btn--sm {
  min-width: 0;
  padding: 6px 16px;
  font-size: 13px;
  border-radius: 10px;
}

.lb-ib--sm {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.lb-ib--sm svg {
  width: 16px;
  height: 16px;
}

.lb-chip--sm {
  padding: 5px 12px;
  font-size: 12px;
}

/* ---------- لابی سه‌بعدی (مثل لابی بازی اصلی) ---------- */
.lb-room {
  display: block;
  overflow: hidden;
  padding: 0;
  background: radial-gradient(ellipse at 50% 55%, transparent 55%, rgba(6, 2, 8, 0.6) 100%);
  pointer-events: none;
}
.lb-room__top, .lb-room__bottom {
  position: absolute;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  direction: ltr;
}
.lb-room__top {
  top: 12px;
  align-items: flex-start;
}
.lb-room__bottom {
  bottom: 12px;
  align-items: flex-end;
  gap: 14px;
}
.lb-room__modes {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(10, 4, 14, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  direction: rtl;
}
.lb-room__modes button {
  padding: 7px 18px;
  font-size: 14px;
  font-weight: 800;
  color: rgba(246, 238, 252, 0.64);
  background: none;
  border: 0;
  border-radius: 999px;
  transition: all 0.15s;
}
.lb-room__modes button:hover:not(:disabled) {
  color: #fff;
}
.lb-room__modes button:disabled {
  cursor: default;
}
.lb-room__modes button.is-on {
  color: #fff;
  background: linear-gradient(135deg, #ff3d8b, #8b3dff);
  box-shadow: 0 4px 16px rgba(255, 61, 139, 0.4);
}
.lb-room__labels {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.lb-room__info {
  direction: rtl;
  text-align: right;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}
.lb-room__info b {
  display: block;
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}
.lb-room__info small {
  font-size: 12px;
  color: rgba(246, 238, 252, 0.64);
}
.lb-room__info small i {
  font-style: normal;
  color: #47d1ff;
  font-weight: 900;
  letter-spacing: 2px;
}
.lb-room__host {
  direction: rtl;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 46%;
  padding: 6px 8px;
  background: rgba(10, 4, 14, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
}
.lb-room__host .lb-chips {
  gap: 4px;
}
.lb-room__go {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  direction: rtl;
}
.lb-room__why {
  max-width: 360px;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.7;
  color: rgba(246, 238, 252, 0.64);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

.lb-start {
  min-width: 220px;
  font-size: 20px;
  padding: 12px 26px;
}

.lb-rbtn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  background: none;
  border: 0;
  padding: 0;
  direction: rtl;
}
.lb-rbtn svg {
  box-sizing: border-box;
  width: 46px;
  height: 46px;
  padding: 11px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: rgba(10, 4, 14, 0.72);
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  transition: all 0.15s;
}
.lb-rbtn:hover svg {
  border-color: #47d1ff;
  box-shadow: 0 0 18px rgba(71, 209, 255, 0.55);
}
.lb-rbtn--ready.is-on svg {
  background: #58ff9a;
  border-color: #fff;
  stroke: #0e3a24;
  box-shadow: 0 0 20px rgba(88, 255, 154, 0.7);
}
.lb-rbtn--invite svg {
  border-color: rgba(71, 209, 255, 0.9);
}

.lb-rl {
  --c: #ff3d8b;
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 240px;
  pointer-events: none;
  will-change: transform;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95), 0 0 14px rgba(0, 0, 0, 0.7);
}
.lb-rl__tick {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(10, 4, 14, 0.7);
}
.lb-rl__tick svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: transparent;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lb-rl__tick.is-on {
  background: #58ff9a;
  border-color: #fff;
}
.lb-rl__tick.is-on svg {
  stroke: #0e3a24;
}
.lb-rl__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  text-align: right;
}
.lb-rl__txt b {
  font-size: 16px;
  font-weight: 900;
  color: #fff;
}
.lb-rl__txt b em {
  font-style: normal;
  font-size: 10.5px;
  font-weight: 800;
  color: #25103f;
  background: #ffc23d;
  border-radius: 999px;
  padding: 1px 7px;
  margin-right: 3px;
}
.lb-rl__txt b em.is-you {
  background: #47d1ff;
}
.lb-rl__txt small {
  font-size: 12px;
  color: color-mix(in srgb, var(--c) 70%, #fff);
}
.lb-rl__crown {
  font-style: normal;
  color: #ffc23d;
  margin-left: 4px;
  text-shadow: 0 0 10px #ffc23d;
}
.lb-rl__mic {
  display: none;
  width: 22px;
  height: 22px;
  color: #58ff9a;
  filter: drop-shadow(0 0 6px #58ff9a);
}
.lb-rl__mic svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}
.lb-rl.is-talk .lb-rl__mic {
  display: block;
  animation: lbTalk 0.7s ease-in-out infinite;
}
.lb-rl.is-talk .lb-rl__txt b {
  color: #58ff9a;
}
.lb-rl__kick {
  pointer-events: auto;
  width: 22px;
  height: 22px;
  padding: 0;
  line-height: 20px;
  font-size: 16px;
  color: #ffb3bd;
  background: rgba(10, 4, 14, 0.8);
  border: 1px solid rgba(255, 120, 140, 0.5);
  border-radius: 50%;
}
.lb-rl__kick:hover {
  background: #ff3d4d;
  color: #fff;
}

@keyframes lbTalk {
  50% {
    transform: scale(1.18);
    opacity: 0.75;
  }
}
.lb-callout {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 96px;
  padding: 5px 10px;
  text-align: right;
  color: #fff;
  background: rgba(10, 4, 14, 0.62);
  border: 0;
  border-bottom: 2px solid #47d1ff;
  border-radius: 6px 6px 0 0;
  pointer-events: auto;
  will-change: transform;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9);
}
.lb-callout span {
  font-size: 11px;
  font-weight: 800;
  color: #47d1ff;
  letter-spacing: 0.4px;
}
.lb-callout b {
  font-size: 14px;
  font-weight: 900;
}
.lb-callout::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 100%;
  width: 34px;
  height: 2px;
  margin-top: -2px;
  background: #47d1ff;
  transform-origin: right center;
  transform: rotate(18deg);
  box-shadow: 0 0 8px #47d1ff;
}
.lb-callout:hover, .lb-callout.is-hover {
  background: rgba(71, 209, 255, 0.22);
  box-shadow: 0 0 22px rgba(71, 209, 255, 0.5);
}

/* ---------- چت صوتی ---------- */
.lb-voice {
  position: absolute;
  top: 96px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  direction: rtl;
  pointer-events: none;
}
.lb-voice button {
  pointer-events: auto;
}
.lb-voice__ptt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  color: #f6eefc;
  font-size: 13px;
  font-weight: 800;
  background: rgba(10, 4, 14, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transition: all 0.12s;
}
.lb-voice__ptt svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  flex: none;
}
.lb-voice__ptt kbd {
  padding: 0 7px;
  font: 800 12px/20px ui-monospace, Consolas, monospace;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 5px;
}
.lb-voice[data-s=starting] .lb-voice__ptt {
  border-color: #ffc23d;
  color: #ffc23d;
}
.lb-voice[data-s=talking] .lb-voice__ptt {
  color: #0e3a24;
  background: #58ff9a;
  border-color: #fff;
  box-shadow: 0 0 22px rgba(88, 255, 154, 0.75);
  animation: lbTalk 0.8s ease-in-out infinite;
}
.lb-voice[data-s=denied] .lb-voice__ptt, .lb-voice[data-s=error] .lb-voice__ptt, .lb-voice[data-s=unsupported] .lb-voice__ptt {
  color: #ffb3bd;
  border-color: rgba(255, 120, 140, 0.6);
}
.lb-voice__spk {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  color: #f6eefc;
  background: rgba(10, 4, 14, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}
.lb-voice__spk svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lb-voice__spk.is-off {
  color: #ffb3bd;
}

.lb__stage.is-playing .lb-voice {
  top: auto;
  bottom: 112px;
}

.lb-plate.is-talk b {
  color: #58ff9a;
  text-shadow: 0 0 8px #58ff9a, 0 2px 5px rgba(0, 0, 0, 0.9);
}
.lb-plate.is-talk b::before {
  content: "🎙 ";
  font-size: 0.8em;
}

.lb-me.is-talk {
  box-shadow: 0 0 20px rgba(88, 255, 154, 0.65);
  border-right-color: #58ff9a;
}

.lb-keys .lb-k-on {
  display: none;
}

.lb__stage.is-online .lb-keys .lb-k-on {
  display: inline-flex;
}
.lb__stage.is-online .lb-keys .lb-k-off {
  display: none;
}

.lb-pause__note {
  margin: 0;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.8;
  color: #ffc23d;
}

@media (max-width: 900px) {
  .lb-oc {
    grid-template-columns: 1fr;
  }
  .lb-rooms {
    max-height: min(290px, 38vh);
  }
  .lb-room__host {
    max-width: 100%;
  }
}
@media (max-width: 767px), (pointer: coarse) {
  .lb-tabs button {
    min-width: 120px;
    padding: 6px 14px 7px;
  }
  .lb-tabs button b {
    font-size: 15px;
  }
  .lb-room__modes button {
    padding: 6px 10px;
    font-size: 12px;
  }
  .lb-rbtn svg {
    width: 40px;
    height: 40px;
    padding: 9px;
  }
  .lb-rl__txt b {
    font-size: 14px;
  }
  .lb-start {
    min-width: 150px;
    font-size: 16px;
    padding: 10px 16px;
  }
  .lb-room__bottom {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 8px;
    direction: rtl;
  }
  .lb-room__host {
    grid-column: 1/-1;
    grid-row: 1;
    max-width: none;
    justify-content: center;
  }
  .lb-room__go {
    grid-column: 1;
    grid-row: 2;
  }
  .lb-rbtn--invite {
    grid-column: 2;
    grid-row: 2;
  }
  .lb-room__info {
    grid-column: 1/-1;
    grid-row: 3;
    text-align: center;
  }
  .lb-voice {
    top: 84px;
    left: 8px;
  }
  .lb-voice__ptt {
    padding: 12px 18px;
    font-size: 14px;
  }
  .lb-voice__ptt kbd {
    display: none;
  }
  .lb__stage.is-playing .lb-voice {
    bottom: 96px;
  }
}