/* DOMINO POKER V18 — LOBBY PREMIUM INTEGRATED
   Généré depuis lobby-preview.css.
   Toutes les règles sont isolées sous #lobbyView.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Orbitron:wght@600;700;800;900&display=swap');

#lobbyView,
#lobbyView * {
  box-sizing: border-box;
}

#lobbyView {
  --bg: #040811;
  --panel: rgba(9, 15, 27, .88);
  --panel-deep: rgba(5, 9, 18, .96);

  --gold: #f4bd52;
  --gold-light: #ffe49c;
  --gold-dark: #9f6417;

  --blue: #24a8ff;
  --blue-soft: rgba(36, 168, 255, .18);

  --text: #f7f3e8;
  --muted: #8d97aa;

  --border: rgba(255, 207, 105, .18);
  --border-blue: rgba(57, 170, 255, .28);

  font-family: Inter, Arial, sans-serif;
}

#lobbyView {
  margin: 0;
  min-height: 100%;
}

#lobbyView {
  min-height: 100vh;
  color: var(--text);
  overflow-x: hidden;

  background:
    radial-gradient(circle at 12% 20%, rgba(28, 125, 255, .12), transparent 30%),
    radial-gradient(circle at 82% 24%, rgba(255, 164, 42, .13), transparent 27%),
    radial-gradient(circle at 55% 105%, rgba(255, 126, 18, .09), transparent 35%),
    linear-gradient(145deg, #02050b 0%, #07111f 42%, #03060d 100%);
}

#lobbyView::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;

  background:
    linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,.018) 50%, transparent 50.2%),
    linear-gradient(0deg, transparent 49.8%, rgba(255,255,255,.012) 50%, transparent 50.2%);

  background-size: 90px 90px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 80%);
}

#lobbyView button,
#lobbyView select,
#lobbyView input {
  font: inherit;
}

#lobbyView button {
  cursor: pointer;
}

#lobbyView .lobby-shell {
  min-height: 100vh;
}/* =========================
   TOPBAR
========================= */
#lobbyView .lobby-topbar {
  position: sticky;
  z-index: 100;
  top: 0;

  min-height: 74px;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;

  padding: 0 24px;

  border-bottom: 1px solid rgba(255, 184, 57, .24);

  background:
    linear-gradient(180deg, rgba(6, 10, 18, .98), rgba(5, 8, 14, .94));

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow:
    0 10px 40px rgba(0,0,0,.38),
    0 1px 0 rgba(255, 191, 70, .06);
}

#lobbyView .brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

#lobbyView .brand-icon {
  width: 43px;
  height: 43px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 207, 99, .5);
  border-radius: 13px;

  font-size: 27px;

  color: #111;

  background:
    linear-gradient(145deg, #ffeaa2, #e99b2c);

  box-shadow:
    0 0 20px rgba(255, 180, 40, .22),
    inset 0 1px rgba(255,255,255,.7);
}

#lobbyView .brand strong {
  display: block;

  font-family: Orbitron, sans-serif;
  font-size: 15px;
  letter-spacing: .07em;

  color: #fff3c8;
}

#lobbyView .brand small {
  display: block;

  margin-top: 2px;

  font-size: 8px;
  font-weight: 800;

  color: #be8a31;
  letter-spacing: .13em;
}

#lobbyView .top-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

#lobbyView .top-nav button {
  min-height: 39px;

  padding: 0 13px;

  border: 1px solid transparent;
  border-radius: 11px;

  color: #9faabd;
  background: transparent;

  font-size: 10px;
  font-weight: 800;

  transition: .18s ease;
}

#lobbyView .top-nav button:hover {
  color: white;

  background: rgba(255,255,255,.045);
}

#lobbyView .top-nav button.active {
  color: #e8f7ff;

  border-color: rgba(44, 169, 255, .52);

  background:
    linear-gradient(180deg, rgba(27, 146, 255, .22), rgba(11, 76, 147, .16));

  box-shadow:
    0 0 23px rgba(0, 153, 255, .23),
    inset 0 1px rgba(255,255,255,.08);
}

#lobbyView .top-wallet {
  display: flex;
  align-items: center;
  gap: 8px;
}

#lobbyView .top-wallet > span {
  padding: 9px 11px;

  border: 1px solid rgba(255,255,255,.08);
  border-radius: 11px;

  color: #dfe9f9;
  background: rgba(255,255,255,.035);

  font-size: 10px;
  font-weight: 900;
}

#lobbyView .top-avatar {
  width: 39px;
  height: 39px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 189, 67, .38);
  border-radius: 50%;

  background:
    radial-gradient(circle, rgba(255, 190, 54, .16), rgba(0,0,0,.25));
}/* =========================
   MAIN GRID
========================= */
#lobbyView .lobby-layout {
  width: min(1500px, calc(100% - 38px));
  margin: 28px auto 60px;

  display: grid;
  grid-template-columns: 290px minmax(480px, 1fr) 320px;
  gap: 14px;
  align-items: start;
}

#lobbyView .left-column,
#lobbyView .center-column,
#lobbyView .right-column {
  display: grid;
  gap: 14px;
}/* =========================
   PANELS
========================= */
#lobbyView .panel {
  position: relative;

  border: 1px solid var(--border);
  border-radius: 20px;

  background:
    linear-gradient(
      145deg,
      rgba(15, 22, 36, .92),
      rgba(6, 11, 21, .94)
    );

  box-shadow:
    0 20px 45px rgba(0,0,0,.33),
    inset 0 1px rgba(255,255,255,.035);

  overflow: hidden;
}

#lobbyView .panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background:
    linear-gradient(120deg, rgba(255,255,255,.035), transparent 25%);
}

#lobbyView .panel:hover {
  border-color: rgba(255, 199, 81, .28);
}/* =========================
   PLAYER CARD
========================= */
#lobbyView .player-card {
  padding: 18px;
}

#lobbyView .player-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

#lobbyView .player-avatar {
  width: 72px;
  height: 72px;

  display: grid;
  place-items: center;

  border: 2px solid #d99926;
  border-radius: 50%;

  font-size: 35px;

  background:
    radial-gradient(circle at 50% 35%, rgba(64, 123, 255, .35), rgba(8, 15, 29, .95));

  box-shadow:
    0 0 20px rgba(24, 127, 255, .25),
    0 0 0 4px rgba(255, 188, 61, .08);
}

#lobbyView .player-head h2 {
  margin: 0;

  font-family: Orbitron, sans-serif;
  font-size: 16px;

  color: #fff7db;
}

#lobbyView .player-head span,
#lobbyView .player-head small {
  display: block;
}

#lobbyView .player-head span {
  margin-top: 5px;

  color: #d4a44e;
  font-size: 9px;
  font-weight: 900;
}

#lobbyView .player-head small {
  margin-top: 4px;

  color: var(--muted);
  font-size: 8px;
}

#lobbyView .stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;

  margin-top: 17px;
}

#lobbyView .stats-grid > div {
  padding: 13px 10px;

  border: 1px solid rgba(255,255,255,.055);
  border-radius: 13px;

  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(0,0,0,.12));
}

#lobbyView .stats-grid strong {
  display: block;

  font-family: Orbitron, sans-serif;
  font-size: 16px;

  color: #fff0be;
}

#lobbyView .stats-grid span {
  display: block;

  margin-top: 3px;

  font-size: 8px;
  color: var(--muted);
}

#lobbyView .player-actions {
  display: grid;
  gap: 8px;

  margin-top: 15px;
}

#lobbyView .player-actions button,
#lobbyView .section-head button {
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;

  color: #dbe4f2;
  background: rgba(255,255,255,.035);

  font-size: 10px;
  font-weight: 850;

  transition: .18s ease;
}

#lobbyView .player-actions button {
  min-height: 45px;
}

#lobbyView .player-actions button:hover,
#lobbyView .section-head button:hover {
  transform: translateY(-1px);

  border-color: rgba(255,255,255,.18);
  filter: brightness(1.08);
}

#lobbyView button.gold {
  color: #251300;

  border-color: rgba(255, 221, 142, .65);

  background:
    linear-gradient(180deg, #ffe39a, #efad3e 60%, #bf7118);

  box-shadow:
    0 7px 22px rgba(255, 171, 42, .18),
    inset 0 1px rgba(255,255,255,.6);
}

#lobbyView button.blue {
  color: #e8f8ff;

  border-color: rgba(33, 178, 255, .55);

  background:
    linear-gradient(180deg, rgba(26, 177, 255, .40), rgba(11, 84, 169, .52));

  box-shadow:
    0 0 22px rgba(0, 157, 255, .18),
    inset 0 1px rgba(255,255,255,.12);
}/* =========================
   CONNECTED
========================= */
#lobbyView .connected-card {
  padding: 16px;
}

#lobbyView .section-head {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#lobbyView .section-head h2,
#lobbyView .section-head h3 {
  margin: 0;

  font-size: 13px;
  color: #eef5ff;
}

#lobbyView .section-head > span {
  color: #64df96;
  font-size: 9px;
}

#lobbyView .section-head button {
  padding: 7px 10px;
}

#lobbyView .connected-player {
  display: flex;
  align-items: center;
  gap: 9px;

  margin-top: 14px;
}

#lobbyView .mini-avatar {
  width: 41px;
  height: 41px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 196, 75, .3);
  border-radius: 50%;

  background: rgba(255,255,255,.035);
}

#lobbyView .connected-player strong {
  display: block;

  font-size: 9px;
}

#lobbyView .connected-player small {
  display: block;

  margin-top: 3px;

  color: #67d993;
  font-size: 7px;
}/* =========================
   MATCHMAKING HERO
========================= */
#lobbyView .matchmaking-card {
  min-height: 315px;

  padding: 25px;

  border-color: rgba(255, 195, 77, .35);

  background:
    radial-gradient(circle at 85% 20%, rgba(29, 126, 255, .16), transparent 35%),
    radial-gradient(circle at 65% 110%, rgba(255, 167, 42, .11), transparent 40%),
    linear-gradient(135deg, rgba(10, 22, 42, .97), rgba(5, 10, 20, .97));
}

#lobbyView .matchmaking-card::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0;
  height: 1px;

  background:
    linear-gradient(90deg, transparent, #ffc45d, transparent);

  box-shadow:
    0 0 15px rgba(255, 185, 66, .55);
}

#lobbyView .match-head {
  position: relative;
  z-index: 2;

  display: flex;
  justify-content: space-between;
  gap: 18px;
}

#lobbyView .match-head small {
  font-family: Orbitron, sans-serif;
  font-size: 8px;
  font-weight: 900;

  letter-spacing: .25em;

  color: #dca343;
}

#lobbyView .match-head h1 {
  margin: 7px 0 7px;

  font-family: Orbitron, sans-serif;
  font-size: clamp(28px, 3vw, 39px);
  line-height: 1;

  color: #fff1c3;
}

#lobbyView .match-head p {
  max-width: 520px;

  margin: 0;

  color: #9ba6b9;
  font-size: 10px;
  line-height: 1.55;
}

#lobbyView .domino-visual {
  min-width: 190px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 44px;

  transform: rotate(-8deg);

  filter:
    drop-shadow(0 10px 15px rgba(0,0,0,.5))
    drop-shadow(0 0 16px rgba(255, 189, 71, .12));
}

#lobbyView .match-controls {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: .8fr 1.25fr auto;
  gap: 10px;
  align-items: end;

  margin-top: 26px;
}

#lobbyView .match-controls label {
  display: grid;
  gap: 6px;

  font-size: 8px;
  font-weight: 800;

  color: #aab4c4;
}

#lobbyView .match-controls select {
  height: 44px;

  padding: 0 12px;

  border: 1px solid rgba(255,255,255,.12);
  border-radius: 11px;

  color: #eef5ff;

  background: #09111f;

  outline: none;
}

#lobbyView .search-btn {
  min-width: 130px;
  height: 44px;

  border-radius: 11px;

  font-weight: 950;
}

#lobbyView .casual-btn {
  position: relative;
  z-index: 2;

  min-height: 45px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: 12px;
  padding: 0 15px;

  border: 1px solid rgba(39, 178, 255, .58);
  border-radius: 12px;

  color: white;

  background:
    linear-gradient(90deg, rgba(15, 118, 214, .85), rgba(21, 153, 245, .60));

  box-shadow:
    0 0 24px rgba(0, 156, 255, .18);

  font-weight: 850;
}/* =========================
   ROOM LISTS
========================= */
#lobbyView .list-card {
  min-height: 106px;
  padding: 18px 20px;
}

#lobbyView .list-card p {
  position: relative;
  z-index: 2;

  margin: 15px 0 0;

  color: #818da1;
  font-size: 9px;
}/* =========================
   CHAT
========================= */
#lobbyView .chat-card {
  min-height: 420px;

  display: grid;
  grid-template-rows: auto 1fr auto;

  padding: 17px;
}

#lobbyView .chat-empty {
  display: grid;
  place-items: center;
  align-content: center;

  padding: 25px;

  text-align: center;

  color: #778296;
}

#lobbyView .chat-empty > div {
  font-size: 46px;
  opacity: .55;
}

#lobbyView .chat-empty strong {
  margin-top: 10px;

  color: #b9c3d3;
  font-size: 11px;
}

#lobbyView .chat-empty p {
  max-width: 220px;

  font-size: 9px;
  line-height: 1.55;
}

#lobbyView .chat-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 7px;
}

#lobbyView .chat-input input {
  min-width: 0;
  height: 42px;

  padding: 0 11px;

  border: 1px solid rgba(255,255,255,.09);
  border-radius: 11px;

  color: white;
  background: rgba(0,0,0,.22);

  outline: none;
}

#lobbyView .chat-input button {
  border-radius: 11px;

  padding: 0 14px;

  font-size: 9px;
  font-weight: 900;
}/* =========================
   RANKING
========================= */
#lobbyView .ranking-card {
  padding: 17px;
}

#lobbyView .rank-row {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 28px 34px 1fr auto;
  align-items: center;
  gap: 6px;

  min-height: 48px;

  border-bottom: 1px solid rgba(255,255,255,.055);
}

#lobbyView .rank-row:last-child {
  border-bottom: 0;
}

#lobbyView .rank-row b {
  color: #d8a548;
}

#lobbyView .rank-row strong {
  font-size: 9px;
}

#lobbyView .rank-row small {
  color: #8995a9;
  font-size: 8px;
}/* =========================
   DESKTOP ANIMATION
========================= */
@media (hover: hover) {

  #lobbyView .panel {
    transition:
      transform .2s ease,
      border-color .2s ease,
      box-shadow .2s ease;
  }

  #lobbyView .panel:hover {
    transform: translateY(-2px);

    box-shadow:
      0 25px 55px rgba(0,0,0,.4),
      0 0 22px rgba(255, 182, 50, .035);
  }
}/* =========================
   TABLET
========================= */
@media (max-width: 1120px) {

  #lobbyView .lobby-layout {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  #lobbyView .right-column {
    grid-column: 1 / -1;

    grid-template-columns: 1fr 1fr;
  }

  #lobbyView .chat-card {
    min-height: 330px;
  }

  #lobbyView .top-nav button:nth-child(n+5) {
    display: none;
  }
}/* =========================
   MOBILE
========================= */
@media (max-width: 720px) {

  #lobbyView {
    background:
      radial-gradient(circle at 50% 0%, rgba(33, 133, 255, .12), transparent 30%),
      #03070e;
  }

  #lobbyView .lobby-topbar {
    position: relative;

    grid-template-columns: 1fr auto;

    min-height: 64px;

    padding: 10px 12px;
  }

  #lobbyView .top-nav {
    grid-column: 1 / -1;

    justify-content: flex-start;

    overflow-x: auto;
    padding-bottom: 3px;
  }

  #lobbyView .top-nav button {
    flex: 0 0 auto;
  }

  #lobbyView .top-wallet > span {
    display: none;
  }

  #lobbyView .brand strong {
    font-size: 12px;
  }

  #lobbyView .lobby-layout {
    width: calc(100% - 20px);

    margin-top: 12px;

    grid-template-columns: 1fr;
  }

  #lobbyView .center-column {
    grid-row: 1;
  }

  #lobbyView .left-column {
    grid-row: 2;
  }

  #lobbyView .right-column {
    grid-row: 3;
    grid-column: auto;

    grid-template-columns: 1fr;
  }

  #lobbyView .matchmaking-card {
    min-height: 0;

    padding: 20px 16px;
  }

  #lobbyView .match-head {
    display: block;
  }

  #lobbyView .domino-visual {
    display: none;
  }

  #lobbyView .match-head h1 {
    font-size: 29px;
  }

  #lobbyView .match-controls {
    grid-template-columns: 1fr;
    gap: 10px;

    margin-top: 20px;
  }

  #lobbyView .search-btn {
    width: 100%;
  }

  #lobbyView .player-head {
    align-items: flex-start;
  }

  #lobbyView .player-avatar {
    width: 58px;
    height: 58px;

    font-size: 28px;
  }

  #lobbyView .chat-card {
    min-height: 340px;
  }
}/* =====================================================
   CASINO SCENE â€” BACKGROUND DEPTH
===================================================== */
#lobbyView .casino-scene {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;

  background:
    radial-gradient(circle at 50% 8%, rgba(21, 102, 255, .19), transparent 31%),
    radial-gradient(circle at 15% 42%, rgba(255, 164, 33, .12), transparent 28%),
    radial-gradient(circle at 85% 40%, rgba(255, 160, 30, .11), transparent 28%),
    linear-gradient(
      180deg,
      #020712 0%,
      #06101f 46%,
      #07090d 72%,
      #020305 100%
    );
}/* LUMIÃˆRES */
#lobbyView .casino-light {
  position: absolute;
  top: -25%;
  width: 18%;
  height: 100%;

  opacity: .20;

  filter: blur(12px);

  transform-origin: top center;
}

#lobbyView .light-left {
  left: 13%;

  background:
    linear-gradient(
      175deg,
      rgba(255, 190, 67, .55),
      transparent 65%
    );

  transform: rotate(15deg);
}

#lobbyView .light-center {
  left: 43%;

  width: 14%;

  background:
    linear-gradient(
      180deg,
      rgba(47, 128, 255, .48),
      transparent 63%
    );
}

#lobbyView .light-right {
  right: 12%;

  background:
    linear-gradient(
      185deg,
      rgba(255, 174, 48, .45),
      transparent 66%
    );

  transform: rotate(-15deg);
}/* PILIERS LATÃ‰RAUX */
#lobbyView .casino-pillar {
  position: absolute;

  top: 82px;
  bottom: 0;

  width: 130px;

  display: flex;
  flex-direction: column;
  align-items: center;

  padding-top: 130px;

  border-left: 1px solid rgba(255, 187, 54, .20);
  border-right: 1px solid rgba(255, 187, 54, .20);

  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.75),
      rgba(12, 30, 57, .82) 40%,
      rgba(8, 13, 24, .90) 70%,
      rgba(0,0,0,.78)
    );

  box-shadow:
    inset 0 0 38px rgba(41, 124, 255, .08),
    0 0 40px rgba(0,0,0,.75);
}

#lobbyView .casino-pillar::before {
  content: "";

  position: absolute;
  left: 12px;
  right: 12px;
  top: 0;
  height: 100%;

  border-left: 1px solid rgba(255, 210, 110, .18);
  border-right: 1px solid rgba(255, 210, 110, .18);

  box-shadow:
    inset 0 0 20px rgba(255, 178, 48, .035);
}

#lobbyView .pillar-left {
  left: 0;
}

#lobbyView .pillar-right {
  right: 0;
}

#lobbyView .casino-pillar span {
  font-size: 50px;

  color: #d59a32;

  text-shadow:
    0 0 18px rgba(255, 179, 50, .38);
}

#lobbyView .casino-pillar strong {
  margin-top: 14px;

  font-family: Orbitron, sans-serif;
  font-size: 13px;

  letter-spacing: .16em;

  color: #e3ab49;

  writing-mode: vertical-rl;
}

#lobbyView .casino-pillar small {
  margin-top: 9px;

  font-family: Orbitron, sans-serif;
  font-size: 8px;

  letter-spacing: .30em;

  color: rgba(255, 217, 135, .55);

  writing-mode: vertical-rl;
}/* SOL CASINO */
#lobbyView .casino-floor {
  position: absolute;

  left: -10%;
  right: -10%;
  bottom: -24%;

  height: 58%;

  transform:
    perspective(620px)
    rotateX(63deg);

  transform-origin: bottom center;

  background:
    linear-gradient(
      90deg,
      transparent 49.75%,
      rgba(255, 191, 70, .09) 50%,
      transparent 50.25%
    ),
    linear-gradient(
      0deg,
      transparent 49.75%,
      rgba(255, 191, 70, .055) 50%,
      transparent 50.25%
    ),
    radial-gradient(
      ellipse at center,
      rgba(255, 173, 48, .13),
      rgba(3, 7, 14, .94) 63%
    );

  background-size:
    140px 100%,
    100% 82px,
    100% 100%;

  box-shadow:
    inset 0 35px 90px rgba(0,0,0,.65);
}/* TABLE FLOUE AU PREMIER PLAN */
#lobbyView .casino-table-bg {
  position: absolute;

  left: 50%;
  bottom: -145px;

  width: min(1000px, 80vw);
  height: 320px;

  transform: translateX(-50%);

  border: 7px solid rgba(203, 135, 33, .42);
  border-radius: 50%;

  background:
    radial-gradient(
      ellipse at center,
      rgba(8, 22, 35, .95) 0%,
      rgba(4, 12, 20, .98) 56%,
      rgba(1, 5, 9, .99) 70%
    );

  box-shadow:
    0 -15px 80px rgba(255, 151, 24, .13),
    inset 0 0 70px rgba(20, 113, 210, .10),
    0 0 0 2px rgba(255, 218, 129, .10);

  opacity: .83;
}/* FAIT RESSORTIR LE LOBBY AU-DESSUS DU DÃ‰COR */
#lobbyView .lobby-shell {
  position: relative;
  z-index: 2;
}/* MOBILE : DÃ‰COR PLUS SIMPLE POUR LES PERFS */
@media (max-width: 720px) {

  #lobbyView .casino-pillar {
    display: none;
  }

  #lobbyView .casino-table-bg {
    width: 145vw;
    height: 240px;
    bottom: -150px;

    opacity: .48;
  }

  #lobbyView .casino-floor {
    opacity: .5;
  }

  #lobbyView .casino-light {
    opacity: .12;
  }
}/* ===== LOBBY DESKTOP â€” SCALE & PRESENCE ===== */
@media (min-width: 1200px) {

  #lobbyView .lobby-layout {
    width: min(1580px, calc(100% - 120px));
    margin-top: 22px;

    grid-template-columns:
      320px
      minmax(600px, 1fr)
      340px;

    gap: 16px;
  }

  #lobbyView .player-card {
    padding: 21px;
  }

  #lobbyView .player-avatar {
    width: 80px;
    height: 80px;
    font-size: 39px;
  }

  #lobbyView .player-head h2 {
    font-size: 18px;
  }

  #lobbyView .stats-grid strong {
    font-size: 18px;
  }

  #lobbyView .player-actions button {
    min-height: 50px;
    font-size: 11px;
  }

  #lobbyView .matchmaking-card {
    min-height: 350px;
    padding: 29px;
  }

  #lobbyView .match-head h1 {
    font-size: 43px;
  }

  #lobbyView .match-head p {
    font-size: 11px;
  }

  #lobbyView .domino-visual {
    min-width: 230px;
    font-size: 53px;
  }

  #lobbyView .match-controls select {
    height: 49px;
    font-size: 10px;
  }

  #lobbyView .search-btn {
    height: 49px;
    min-width: 145px;
    font-size: 11px;
  }

  #lobbyView .casual-btn {
    min-height: 50px;
    font-size: 11px;
  }

  #lobbyView .list-card {
    min-height: 116px;
    padding: 20px 22px;
  }

  #lobbyView .chat-card {
    min-height: 445px;
  }

  #lobbyView .section-head h2,
#lobbyView .section-head h3 {
    font-size: 14px;
  }

  #lobbyView .rank-row {
    min-height: 52px;
  }
}/* ===== MATCH HERO SCENE ===== */
#lobbyView .match-hero-scene {
  position: relative;
  width: 230px;
  min-width: 230px;
  height: 170px;
  margin-left: auto;
  overflow: visible;
  border-radius: 22px;
}

#lobbyView .hero-glow {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,196,77,.24), transparent 45%),
    radial-gradient(circle at 70% 30%, rgba(50,130,255,.22), transparent 38%);
  filter: blur(13px);
}

#lobbyView .hero-chip {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, #fff4c8 0%, #f5bf4c 30%, #a95e10 75%);
  border: 3px dashed rgba(70,35,0,.55);
  box-shadow:
    0 10px 24px rgba(0,0,0,.45),
    0 0 20px rgba(255,177,50,.18);
}

#lobbyView .chip-a {
  right: 12px;
  top: 14px;
  transform: rotate(15deg);
}

#lobbyView .chip-b {
  right: 62px;
  top: 52px;
  transform: scale(.88) rotate(-10deg);
}

#lobbyView .chip-c {
  right: 20px;
  top: 94px;
  transform: scale(.76) rotate(8deg);
}

#lobbyView .hero-card {
  position: absolute;
  width: 70px;
  height: 96px;
  border-radius: 12px;
  border: 1px solid rgba(255,217,126,.40);

  background:
    linear-gradient(145deg, #fff4d3, #cf9a3d);

  box-shadow:
    0 13px 28px rgba(0,0,0,.42),
    0 0 20px rgba(255,190,70,.12);
}

#lobbyView .hero-card::before {
  content: "A";
  position: absolute;
  left: 9px;
  top: 7px;
  font-family: serif;
  font-size: 20px;
  font-weight: 900;
  color: #111;
}

#lobbyView .hero-card::after {
  content: "â™ ";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -45%);
  font-size: 40px;
  color: #101010;
}

#lobbyView .card-a {
  right: 115px;
  top: 30px;
  transform: rotate(-18deg);
}

#lobbyView .card-b {
  right: 75px;
  top: 21px;
  transform: rotate(-4deg);
}

#lobbyView .card-b::after {
  content: "â™¦";
  color: #951c20;
}

#lobbyView .card-c {
  right: 34px;
  top: 39px;
  transform: rotate(14deg);
}

#lobbyView .hero-domino {
  position: absolute;
  width: 32px;
  height: 78px;
  border-radius: 10px;

  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: center;
  gap: 6px;

  padding-top: 12px;

  border: 1px solid rgba(255,216,117,.45);

  background:
    linear-gradient(180deg, #131b2b, #060912);

  box-shadow:
    0 12px 26px rgba(0,0,0,.5),
    0 0 17px rgba(41,139,255,.14);
}

#lobbyView .hero-domino span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffd568;
  box-shadow: 0 0 8px rgba(255,204,75,.6);
}

#lobbyView .domino-a {
  left: 18px;
  bottom: 15px;
  transform: rotate(-12deg);
}

#lobbyView .domino-b {
  left: 58px;
  bottom: 8px;
  transform: rotate(8deg);
}/* petite animation premium */
#lobbyView .hero-card,
#lobbyView .hero-chip,
#lobbyView .hero-domino {
  animation: heroFloat 4s ease-in-out infinite;
}

#lobbyView .card-b,
#lobbyView .chip-b,
#lobbyView .domino-b {
  animation-delay: -.8s;
}

#lobbyView .card-c,
#lobbyView .chip-c {
  animation-delay: -1.6s;
}

@keyframes heroFloat {
  0%, 100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -5px;
  }
}/* MOBILE */
@media (max-width: 720px) {
  #lobbyView .match-hero-scene {
    display: none;
  }
}/* =====================================================
   DOMINO POKER LOBBY â€” DECOR REFERENCE REEL V1
===================================================== */
#lobbyView .casino-scene {
  z-index: 0;

  background:
    radial-gradient(circle at 50% 3%, rgba(46, 125, 255, .22), transparent 31%),
    radial-gradient(circle at 50% 60%, rgba(255, 157, 32, .10), transparent 42%),
    linear-gradient(
      180deg,
      #030812 0%,
      #07101c 38%,
      #090a0d 68%,
      #020304 100%
    );
}/* =========================
   VRAIE COLONNE GAUCHE
========================= */
#lobbyView .casino-pillar.pillar-left {
  left: 0;
  top: 74px;
  bottom: 0;

  width: 170px;

  padding: 0;

  border: 0;

  background:
    url('/lobby-premium/casino-left.png')
    left top / 100% 100%
    no-repeat;

  box-shadow: none;
  opacity: 1;
}/* =========================
   VRAIE COLONNE DROITE
========================= */
#lobbyView .casino-pillar.pillar-right {
  right: 0;
  top: 74px;
  bottom: 0;

  width: 130px;

  padding: 0;

  border: 0;

  background:
    url('/lobby-premium/casino-right.png')
    right top / 100% 100%
    no-repeat;

  box-shadow: none;
  opacity: 1;
}/* retire les anciens faux symboles/textes */
#lobbyView .casino-pillar::before,
#lobbyView .casino-pillar > span,
#lobbyView .casino-pillar > strong,
#lobbyView .casino-pillar > small {
  display: none !important;
}/* =========================
   PLAFOND / LUMIERES REELLES
========================= */
#lobbyView .casino-scene::before {
  content: "";

  position: absolute;
  z-index: 2;

  left: 170px;
  right: 130px;
  top: 74px;

  height: 55px;

  background:
    url('/lobby-premium/casino-ceiling-glow.png')
    center top / 100% 100%
    no-repeat;

  pointer-events: none;

  opacity: .92;
}/* =========================
   VRAIE TABLE PREMIER PLAN
========================= */
#lobbyView .casino-table-bg {
  z-index: 3;

  left: 50%;
  bottom: -4px;

  width: min(1000px, 72vw);
  height: 245px;

  transform: translateX(-50%);

  border: 0;
  border-radius: 0;

  background:
    url('/lobby-premium/casino-table-foreground.png')
    center bottom / contain
    no-repeat;

  box-shadow: none;

  opacity: 1;
}/* l'ancien faux sol devient juste une ambiance */
#lobbyView .casino-floor {
  bottom: -22%;
  opacity: .30;

  background:
    radial-gradient(
      ellipse at center,
      rgba(255, 155, 32, .16),
      rgba(5, 10, 17, .72) 52%,
      transparent 76%
    );
}/* anciens faisceaux : beaucoup plus subtils */
#lobbyView .casino-light {
  opacity: .10;
}/* interface au-dessus du dÃ©cor */
#lobbyView .lobby-shell {
  position: relative;
  z-index: 10;
}/* les cartes laissent lÃ©gÃ¨rement apparaÃ®tre le casino */
#lobbyView .panel {
  background:
    linear-gradient(
      145deg,
      rgba(7, 16, 29, .92),
      rgba(3, 8, 17, .90)
    );

  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}/* =========================
   DESKTOP
========================= */
@media (min-width: 1200px) {

  #lobbyView .lobby-layout {
    width: min(1480px, calc(100% - 330px));
  }
}/* =========================
   MOBILE
========================= */
@media (max-width: 720px) {

  #lobbyView .casino-pillar {
    display: none;
  }

  #lobbyView .casino-scene::before {
    left: 0;
    right: 0;
    top: 64px;

    height: 35px;

    opacity: .45;
  }

  #lobbyView .casino-table-bg {
    width: 150vw;
    height: 180px;

    bottom: -45px;

    opacity: .35;
  }

  #lobbyView .casino-floor {
    opacity: .18;
  }
}/* ===== TABLE PREMIER PLAN â€” POSITION FINALE V1 ===== */
@media (min-width: 900px) {
  #lobbyView .casino-table-bg {
    left: 50%;
    bottom: -18px;

    width: min(1120px, 78vw);
    height: 300px;

    transform: translateX(-50%);

    background-size: contain;
    background-position: center bottom;

    filter:
      drop-shadow(0 -10px 28px rgba(255, 158, 36, .16))
      brightness(1.03);
  }

  #lobbyView .casino-floor {
    opacity: .22;
  }
}/* =====================================================
   DECOR REEL — BASE AUTONOME
===================================================== */
#lobbyView .casino-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

#lobbyView .casino-pillar {
  position: absolute;
  display: block;
}

#lobbyView .casino-table-bg {
  position: absolute;
}

#lobbyView .casino-light,
#lobbyView .casino-floor {
  display: none !important;
}

#lobbyView .lobby-shell {
  position: relative;
  z-index: 10;
}/* =====================================================
   LOBBY — DECOR CLEAN UNIQUE
===================================================== */
#lobbyView .casino-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;

  background:
    linear-gradient(
      rgba(1, 5, 11, .18),
      rgba(1, 4, 9, .28)
    ),
    url('/lobby-premium/casino-background-clean.png')
    center center / cover
    no-repeat !important;
}/* On coupe les anciennes couches séparées */
#lobbyView .casino-pillar,
#lobbyView .casino-table-bg,
#lobbyView .casino-floor,
#lobbyView .casino-light,
#lobbyView .casino-scene::before {
  display: none !important;
}/* La vraie interface reste au-dessus */
#lobbyView .lobby-shell {
  position: relative;
  z-index: 10;
  background: transparent !important;
}
/* FIX LOBBY PREMIUM — INTERFACE AU-DESSUS DU DECOR */
#lobbyView .lobby-layout {
  position: relative !important;
  z-index: 20 !important;
}
#lobbyView .casino-scene {
  z-index: 0 !important;
}

/* FIX FINAL LOBBY PREMIUM — PANELS AU-DESSUS DU DECOR */
#lobbyView .lobby-layout {
  position: relative !important;
  z-index: 30 !important;
  isolation: isolate !important;
}
#lobbyView .left-column,
#lobbyView .center-column,
#lobbyView .right-column,
#lobbyView .panel,
#lobbyView .chat-card,
#lobbyView .ranking-card,
#lobbyView .list-card,
#lobbyView .matchmaking-card,
#lobbyView .connected-card,
#lobbyView .player-card {
  position: relative !important;
  z-index: 31 !important;
}
#lobbyView .chat-card,
#lobbyView .ranking-card {
  background: rgba(6, 12, 24, 0.94) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}
#lobbyView .casino-scene {
  z-index: 0 !important;
}

/* FIX DEFINITIF LOBBY PREMIUM — LARGEUR DE LA GRILLE */
#lobbyView .lobby-shell {
  width: 1292px !important;
  max-width: 1292px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
#lobbyView .lobby-layout {
  width: 1292px !important;
  max-width: 1292px !important;
}

/* FIX MOBILE LOBBY PREMIUM — annule la largeur desktop 1292px */
@media (max-width: 760px) {
  #lobbyView .lobby-shell {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 8px !important;
    overflow: visible !important;
  }

  #lobbyView .lobby-layout {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  #lobbyView .left-column,
  #lobbyView .center-column,
  #lobbyView .right-column {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  #lobbyView .panel,
  #lobbyView .chat-card,
  #lobbyView .ranking-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}
