/* Legacy confirmations only. Bright dialogs own their positioning and theme;
   mixing inset:auto-centering with their translate would shift them offscreen. */
.depth-theme #confirm-dialog:not(.bright-dialog)[open] {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(420px, calc(100vw - 32px));
  height: fit-content;
  max-height: calc(100dvh - 40px);
  padding: 24px;
  overflow-y: auto;
  border: 1px solid #665477;
  border-radius: 22px;
  background: linear-gradient(150deg, #2b213d, #191c30);
  color: #f6f3ff;
  box-shadow: 0 24px 70px #050715a6;
}
.depth-theme #confirm-dialog:not(.bright-dialog) h2 { margin: 10px 0 12px; color: #f6f3ff; font-size: 23px; }
.depth-theme #confirm-dialog:not(.bright-dialog) p { color: #c7bed7; line-height: 1.7; }
.depth-theme #confirm-dialog:not(.bright-dialog) .section-index { color: #9de9ed; }
.depth-theme #confirm-dialog:not(.bright-dialog) button { min-height: 48px; margin-top: 12px; width: 100%; }
.depth-theme #confirm-dialog:not(.bright-dialog)::backdrop { background: #080b1abb; backdrop-filter: blur(4px); }
.depth-theme .mp-toast.is-centered {
  z-index: 150;
  top: 50%; bottom: auto; left: 50%;
  transform: translate(-50%, -50%);
  width: min(340px, calc(100vw - 48px));
  padding: 16px 20px;
  border: 1px solid #73e0e780;
  border-radius: 18px;
  color: #e7fcff;
  background: #182837f5;
  box-shadow: 0 12px 45px #02051099;
  font-size: 15px;
  line-height: 1.65;
  text-align: center;
  pointer-events: none;
}
.depth-theme .mp-toast.is-roster-notice {
  width: min(280px, calc(100vw - 64px));
  white-space: pre-line;
  padding: 12px 18px;
  line-height: 1.6;
  font-size: 14px;
}
.depth-theme .mp-toast.is-roster-notice::first-line { font-weight: 750; color: #a5f4eb; }
body.first-person-demo.at-table .table .seat.is-new-arrival .seat-avatar {
  outline: 2px solid #a5f4eb;
  outline-offset: 3px;
  box-shadow: 0 0 18px #74e5cf70;
}
body.first-person-demo.at-table .table .seat .seat-join-label {
  position: absolute;
  z-index: 10;
  top: calc(var(--portrait, 54px) - 10px);
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 5px;
  border: 1px solid #a5f4eb;
  border-radius: 5px;
  background: #21483f;
  color: #d5fff4;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  pointer-events: none;
}

body.first-person-demo.at-table .table .seat .seat-waiting-label {
  position: absolute;
  z-index: 10;
  top: calc(var(--portrait, 54px) - 10px);
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 6px;
  border: 1px solid #9b8fb5;
  border-radius: 5px;
  background: #29233d;
  color: #eee6ff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
}
body.first-person-demo.at-table .table .seat.is-waiting .seat-avatar { opacity: .75; }
body.first-person-demo.at-table .table.is-waiting-for-round #round-primary {
  display: block;
  opacity: 1;
  color: #d5d0e3;
  background: #242238e8;
}

body.first-person-demo.at-table .table .seat.is-you :is(.seat-waiting-label, .seat-join-label) {
  top: auto;
  bottom: 0;
  left: calc(var(--portrait, 54px) / 2);
}
