/* Lobby-only art direction: emerald felt, antique gold and warm stage light. */
#app[data-lobby-motion] {
  position: relative;
  isolation: isolate;
  padding-top: 18px;
  perspective: 1400px;
}
.lobby-atmosphere {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  z-index: -1;
  pointer-events: none;
  contain: strict;
}
#app[data-lobby-motion]::before {
  content: "";
  position: absolute;
  inset: -70px -18px 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(ellipse at 15% 4%, #42b39320, transparent 42%),
    radial-gradient(ellipse at 95% 35%, #d9b36a14, transparent 42%);
  border-radius: 40px;
}
#app[data-lobby-motion] .dashboard-greeting {
  position: relative;
  isolation: isolate;
  border-color: #d8c08b55;
  background:
    radial-gradient(ellipse at 10% 0, #3f9a7855, transparent 55%),
    linear-gradient(120deg, #143c30f5, #0a211df2);
  box-shadow:
    0 26px 60px #0004,
    inset 0 1px #efdbab24;
  padding: 48px;
  gap: 46px;
}
#app[data-lobby-motion] .dashboard-greeting::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(120deg, transparent 0 90px, #ead7a105 91px 92px),
    radial-gradient(ellipse at 85% 12%, #e7c37c16, transparent 46%);
}
#app[data-lobby-motion] .dashboard-greeting h1 {
  letter-spacing: -0.045em;
  text-wrap: balance;
}
#app[data-lobby-motion] .eyebrow {
  letter-spacing: 0.19em;
  color: #d8bd7d;
  font-size: 11px;
}
#app[data-lobby-motion] .dashboard-mini-profile {
  border: 1px solid #cfb77a44;
  background: linear-gradient(140deg, #244d3eaa, #0b221df5);
  box-shadow:
    inset 0 1px #ffffff12,
    0 18px 35px #0003;
}
.lobby-marquee {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 40px 0 23px;
  color: #d3b679;
  font: 700 10px/1.5 system-ui;
  letter-spacing: 0.2em;
}
.lobby-marquee > span:nth-child(2) {
  color: #b3c2b4;
  font-weight: 500;
  letter-spacing: 0.13em;
}
.lobby-marquee i {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, #d7bc7455, transparent);
}
#app[data-lobby-motion] .arcade-library {
  gap: 24px;
  perspective: 1400px;
}
#app[data-lobby-motion] .game-tile {
  --lobby-accent: #dab873;
  --lobby-light-x: 50%;
  --lobby-light-y: 30%;
  --lobby-energy: 0;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #b09a6855;
  transform-origin: 50% 55%;
  background:
    radial-gradient(ellipse at 0% 100%, #466e412b, transparent 65%),
    linear-gradient(125deg, #1b3d31, #0d241e);
  box-shadow:
    0 16px 28px #0004,
    inset 0 1px #f4dfb111;
  transition: border-color 0.2s ease;
}
#app[data-lobby-motion] .game-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    ellipse at var(--lobby-light-x) var(--lobby-light-y),
    #ffe5a52b,
    transparent 65%
  );
  opacity: var(--lobby-energy);
  mix-blend-mode: screen;
}
#app[data-lobby-motion] .game-tile::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid #e2c58b10;
  border-radius: 15px;
  pointer-events: none;
  z-index: 0;
}
#app[data-lobby-motion] .game-tile > div {
  position: relative;
  z-index: 1;
  min-width: 0;
}
#app[data-lobby-motion] .game-tile h2 {
  letter-spacing: -0.035em;
  color: #f1e5cc;
}
#app[data-lobby-motion] .game-tile .badge {
  font-size: 9px;
  letter-spacing: 0.13em;
  border-color: #cbb47844;
  color: #e0c88f;
  background: #d7b8710a;
}
#app[data-lobby-motion] .tile-between {
  --lobby-accent: #c9a4c9;
  background:
    radial-gradient(ellipse at 0 100%, #816d9c26, transparent 65%),
    linear-gradient(125deg, #283333, #142622);
}
#app[data-lobby-motion] .game-art {
  position: relative;
  isolation: isolate;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 92px;
  min-width: 92px;
  height: 118px;
  border-radius: 16px;
  border: 1px solid #e7cc8844;
  background: linear-gradient(150deg, #f2dfb5, #bca476);
  color: #173b2e;
  box-shadow:
    0 12px 24px #0005,
    inset 0 1px #fff9;
  font: 64px Georgia;
  transform: translate3d(
      calc(var(--lobby-energy, 0) * -3px),
      calc(var(--lobby-energy, 0) * -4px),
      20px
    )
    rotate(-7deg);
}
#app[data-lobby-motion] .tile-between .game-art {
  background: linear-gradient(150deg, #eee2d4, #c0a78c);
  transform: translate3d(
      calc(var(--lobby-energy, 0) * -3px),
      calc(var(--lobby-energy, 0) * -4px),
      20px
    )
    rotate(7deg);
}
#app[data-lobby-motion] .game-art::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid #435d3c55;
  border-radius: 10px;
  pointer-events: none;
}
#app[data-lobby-motion] .game-art > span {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font: 22px Georgia;
  color: #71563b;
}
#app[data-lobby-motion] .beta-tile .game-art {
  width: 68px;
  min-width: 68px;
  height: 84px;
  font-size: 42px;
  background: linear-gradient(145deg, #3b5145, #1a332a);
  color: #c9ba92;
  border-color: #a18e6944;
}
#app[data-lobby-motion] .lobby-control {
  position: relative;
  transform-origin: center;
  touch-action: manipulation;
  transition:
    background-color 0.2s,
    border-color 0.2s;
  color: inherit;
}
#app[data-lobby-motion] .btn-primary {
  background: linear-gradient(130deg, #efdaa2, #c8ac69);
  border: 1px solid #eedcaf88;
  color: #18382a;
  box-shadow:
    0 6px 14px #0003,
    inset 0 1px #fff7;
  text-decoration: none;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 12px;
}
#app[data-lobby-motion] .lobby-control:focus-visible {
  outline: 3px solid #f1d08b;
  outline-offset: 5px;
}
#app[data-lobby-motion] .lobby-card:focus-within {
  border-color: #edd497aa;
}
#app[data-lobby-motion] .play-feature-card .btn-primary:hover {
  transform: none;
}
#app[data-lobby-motion] .quick-links button {
  background: linear-gradient(130deg, #1b3a30, #10251f);
  border-color: #b29b6450;
  box-shadow: inset 0 1px #fff1;
}
#app[data-lobby-motion] .quick-links small {
  color: #adbeac;
}
#app[data-lobby-motion] .play-feature-card {
  border-color: #c6ba7055;
  background:
    radial-gradient(ellipse at 85% 40%, #c9e57b18, transparent 55%),
    linear-gradient(110deg, #1c4838, #17372b);
}
@media (max-width: 850px) {
  #app[data-lobby-motion] .dashboard-greeting {
    padding: 28px;
    gap: 26px;
  }
  #app[data-lobby-motion] .game-art {
    width: 76px;
    min-width: 76px;
    height: 100px;
    font-size: 50px;
  }
  .lobby-marquee {
    margin-top: 30px;
    gap: 14px;
    font-size: 9px;
  }
}
@media (max-width: 550px) {
  #app[data-lobby-motion] {
    padding-top: 6px;
  }
  #app[data-lobby-motion] .dashboard-greeting {
    padding: 24px 20px;
    border-radius: 23px;
  }
  #app[data-lobby-motion] .game-tile {
    padding: 24px 20px;
    gap: 20px;
  }
  #app[data-lobby-motion] .game-art {
    min-width: 60px;
    width: 60px;
    height: 84px;
    font-size: 40px;
  }
  #app[data-lobby-motion] .game-tile h2 {
    font-size: 28px;
  }
  #app[data-lobby-motion] .beta-tile .game-art {
    min-width: 52px;
    width: 52px;
    height: 70px;
  }
  .lobby-marquee > span:nth-child(2) {
    display: none;
  }
  #app[data-lobby-motion]::before {
    inset: 0;
  }
  .lobby-marquee {
    margin: 28px 0 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lobby-atmosphere {
    display: none;
  }
  #app[data-lobby-motion] .lobby-control,
  #app[data-lobby-motion] .lobby-card {
    transform: none !important;
    transition: none !important;
  }
  #app[data-lobby-motion] .game-art {
    transform: none;
  }
}
html[data-vf-motion="off"] .lobby-atmosphere {
  display: none;
}

#app[data-lobby-motion] .lobby-control::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: var(--lobby-energy, 0);
  background: radial-gradient(
    ellipse at var(--lobby-light-x, 50%) var(--lobby-light-y, 30%),
    #fff5,
    transparent 70%
  );
  mix-blend-mode: soft-light;
}
#app[data-lobby-motion] button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
