.network-profile,
.lobby-actions:has(#lobby-code) {
  align-items: end;
}
.network-profile label,
.lobby-actions:has(#lobby-code) label {
  display: grid;
  gap: 6px;
  flex: 1;
}
.network-profile input,
.lobby-actions #lobby-code {
  box-sizing: border-box;
  height: 36px;
  min-height: 36px;
}
.lobby-actions #lobby-code {
  width: 100%;
}
.network-profile > button,
.lobby-actions:has(#lobby-code) > button {
  height: 36px;
  min-height: 36px;
  padding-block: 0;
  margin-bottom: 0;
}
.room-members {
  grid-template-columns: 1fr;
  gap: 9px;
}
.room-members article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 1fr);
  gap: 6px 14px;
  padding: 12px 15px;
}
.room-members article > strong {
  grid-column: 1;
}
.room-members article > span {
  grid-column: 1;
  font-size: 12px;
}
.member-loading {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-width: 0;
}
.member-loading-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.member-loading-copy em {
  font-style: normal;
  font-size: 11px;
  color: #b9ac86;
}
.member-loading-copy b {
  font-size: 11px;
  color: #e2c886;
  font-variant-numeric: tabular-nums;
}
.member-loading progress {
  display: block;
  width: 100%;
  height: 9px;
  margin: 5px 0;
  appearance: none;
  border: 1px solid #73613d;
  background: #12120d;
}
.member-loading progress::-webkit-progress-bar {
  background: #12120d;
}
.member-loading progress::-webkit-progress-value {
  background: linear-gradient(#d6bd7d, #79622f);
  transition: width 0.15s linear;
}
.member-loading progress::-moz-progress-bar {
  background: #ac9052;
}
.member-loading small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  color: #968a6b;
}
[data-loading="complete"] .member-loading-copy em {
  color: #a6bd80;
}
[data-loading="error"] .member-loading-copy em {
  color: #e89678;
}
.native-storage .storage-label.vendor-categories {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.native-storage .storage-label.vendor-categories button {
  font-size: 9px;
  letter-spacing: 0;
  padding-inline: 0;
}
.belt-capacity {
  color: #b5b5ff;
  margin: 2px 0 7px;
}
.account-dialog {
  width: min(440px, 94vw);
  min-height: 0;
  max-height: min(680px, 90vh);
  overflow-y: auto;
  padding: 26px 28px 20px;
}
.account-dialog h2 {
  font-size: 23px;
  margin-bottom: 0;
}
.account-dialog .title-with-help {
  padding-right: 18px;
}
.account-intro {
  margin: 10px 0 18px;
}
.account-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 12px 0 18px;
}
.account-tabs button {
  font-size: 12px;
  min-height: 34px;
}
.account-tabs button.active {
  color: #f2d699;
  text-shadow: 0 1px 2px #000;
}
.account-fields {
  gap: 12px;
  margin: 12px 0 16px;
}
.account-fields label {
  gap: 6px;
  font-size: 12px;
}
.account-fields input {
  height: 38px;
  padding: 8px 10px;
  font:
    14px Arial,
    sans-serif;
  border: 1px solid #706344;
  border-radius: 3px;
  background: #14130f;
  color: #e4dcc8;
}
.account-fields input::placeholder {
  color: #8e897c;
}
.account-fields > button {
  width: 100%;
  min-height: 40px;
  font-size: 13px;
}
.account-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 14px;
  color: #a39575;
  font:
    11px Arial,
    sans-serif;
}
.account-divider::before,
.account-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #6b5a353f;
}
.sso-buttons {
  display: grid;
  gap: 9px;
  margin: 0;
}
.provider-button {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
  height: 44px;
  min-height: 44px;
  padding: 0 12px;
  margin: 0;
  border: 1px solid #747775;
  border-radius: 5px;
  background: #fff;
  color: #1f1f1f;
  font:
    500 14px Arial,
    sans-serif;
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: none;
}
.provider-button::before,
.provider-button::after {
  display: none !important;
}
.provider-button .provider-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  margin: 0 10px 0 0;
}
.provider-button span {
  flex: 1;
  text-align: center;
  padding-right: 30px;
}
.provider-button.provider-facebook {
  background: #0866ff;
  border-color: #0866ff;
  color: #fff;
  font-weight: 600;
}
.provider-button.provider-apple {
  justify-content: center;
  background: #000;
  border-color: #777;
  padding: 0;
}
.provider-button-art {
  width: min(320px, 100%);
  height: 44px;
  object-fit: contain;
}
.provider-button:disabled {
  opacity: 0.76;
  filter: none;
  cursor: not-allowed;
}
.provider-button:not(:disabled):hover {
  filter: brightness(0.94);
  transform: none;
}
.provider-button:focus-visible {
  outline: 2px solid #d8bd78;
  outline-offset: 2px;
}
.account-provider-note,
.account-status {
  font-size: 11px;
  line-height: 1.5;
  color: #a99c7d;
  margin: 12px 0 0;
}
.account-identity {
  display: grid;
  gap: 5px;
  padding: 18px 0 6px;
}
.account-identity span {
  font-size: 11px;
  color: #a99c7d;
}
.account-actions {
  gap: 8px;
}
.account-error:empty {
  display: none;
}
@media (max-width: 600px) {
  .room-members article {
    grid-template-columns: 1fr;
  }
  .member-loading {
    grid-column: 1;
    grid-row: auto;
    margin-top: 3px;
  }
  .network-profile,
  .lobby-actions:has(#lobby-code) {
    gap: 8px;
  }
  .account-dialog {
    padding: 22px 18px 18px;
  }
}
