/* Official v0.3.2 increment merged with this server visual rules; GPL-3.0-or-later. */
.invite__label {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.07rem;
  font-size: max(calc(.14 * var(--t)), 12px);
  color: var(--text-lo);
}

.solo-note {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.03rem;
  font-size: max(calc(.16 * var(--t)), 12px);
  color: var(--text-lo);
}

.room-capacity {
  font-size: max(calc(.14 * var(--t)), 12px);
  color: var(--amber);
}

.room-screen--expanded .ready-count__icons {
  display: none;
}

.room-screen--expanded .room-bar__difficulty {
  flex-wrap: wrap;
  gap: 8px;
}

.room-screen--expanded .ready-count {
  flex-wrap: wrap;
  justify-content: center;
}

.seats.seats--expanded {
  grid-template-columns: repeat(5, minmax(0px, 1fr));
  grid-template-rows: none;
  grid-auto-rows: minmax(208px, max-content);
  align-content: start;
  gap: 12px;
  padding: 16px;
  overflow-y: auto;
}

.seats--expanded .seat {
  padding: 10px;
  gap: 4px;
  animation-delay: 0ms;
}

.seats--expanded .seat__head {
  gap: 4px;
}

.seats--expanded .seat__head > .micro {
  display: none;
}

.seats--expanded .seat__no {
  font-size: 15px;
}

.seats--expanded .seat__host {
  font-size: 11px;
}

.seats--expanded .seat__art {
  min-height: 64px;
  margin: 0px;
}

.seats--expanded .seat__art .avatar {
  --av: 64px;
}

.seats--expanded .seat__name {
  font-size: 15px;
  max-width: 100%;
}

.seats--expanded .seat > .micro {
  font-size: 10px;
}

.seats--expanded .seat__wait {
  font-size: 13px;
}

.seats--expanded .seat__art--empty > .micro {
  display: none;
}

.seats--expanded .seat__radar {
  width: 48px;
  height: 48px;
}

.seats--expanded .seat__foot {
  min-height: 36px;
  padding-top: 6px;
  margin-top: 2px;
}

.seats--expanded .seat__foot .btn {
  min-height: 36px;
  height: auto;
  font-size: 12px;
  padding-inline: 6px;
  letter-spacing: 0px;
}

.seats--expanded .seat__state {
  font-size: 13px;
}

.seats--expanded .seat__state .icon {
  width: 16px;
  height: 16px;
}

@media (max-width: 1100px) {
  .seats.seats--expanded {
    grid-template-columns: repeat(4, minmax(0px, 1fr));
  }
}

@media (max-width: 700px) {
  .seats.seats--expanded {
    grid-template-columns: repeat(2, minmax(0px, 1fr));
  }
}

.seat__no {
  font-size: max(calc(.22 * var(--t)), 14px);
  font-weight: 700;
  color: var(--text-md);
  padding-left: 0.08rem;
  border-left: 3px solid var(--line-3);
  line-height: 1.1;
}

.seat__host {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.04rem;
  padding: 0.02rem 0.09rem;
  background: var(--gold);
  color: rgb(29, 20, 0);
  font-size: max(calc(.13 * var(--t)), 11px);
  font-weight: 700;
}

.seat__bot-label {
  display: flex;
  align-items: center;
  gap: 0.05rem;
  padding: 0.02rem 0.1rem;
  background: rgba(159, 212, 255, 0.1);
  border: 1px solid rgba(159, 212, 255, 0.35);
  color: var(--ice);
  font-size: max(calc(.14 * var(--t)), 12px);
  font-weight: 700;
}

.seat__name {
  font-size: max(calc(.26 * var(--t)), 14px);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seat__you {
  flex: 0 0 auto;
  padding: 0px 0.06rem;
  background: var(--mint-500);
  color: var(--text-on-mint);
  font-size: max(calc(.13 * var(--t)), 11px);
  font-weight: 700;
}

.seat__state {
  display: flex;
  align-items: center;
  gap: 0.06rem;
  font-size: max(calc(.18 * var(--t)), 13px);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.seat__content.is-ready {
  border-color: rgb(79, 232, 192);
  color: rgb(143, 243, 214);
}

.seat__content.is-failed {
  border-color: rgb(255, 122, 138);
  color: rgb(255, 154, 166);
}

.seat__wait {
  font-size: max(calc(.2 * var(--t)), 14px);
  color: var(--text-lo);
  letter-spacing: 0.08em;
}

.solo-brief p {
  font-size: max(calc(.18 * var(--t)), 13px);
  color: var(--text-md);
}

.solo-brief ul {
  margin: 0.06rem 0px 0px;
  padding: 0px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  font-size: max(calc(.16 * var(--t)), 12px);
  color: var(--text-lo);
}

.specbar {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.14rem;
  padding: 0px 0.6rem 0.16rem;
  font-size: max(calc(.15 * var(--t)), 12px);
  color: var(--text-lo);
}

.specbar__label {
  display: flex;
  align-items: baseline;
  gap: 0.06rem;
  font-weight: 700;
  color: var(--text-md);
}

.specbar__label .icon {
  width: 0.18rem;
  height: 0.18rem;
  align-self: center;
  color: var(--mint-500);
}

.specbar__label b {
  color: var(--mint-400);
}

.specbar__who {
  display: inline-flex;
  align-items: center;
  gap: 0.06rem;
  min-height: 0.36rem;
  padding: 0px 0.14rem;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.32);
  color: var(--text-hi);
}

.specbar__who.is-me {
  border-color: var(--mint-600);
}

.specbar__who.is-offline {
  color: var(--text-dim);
}

.specbar__who > .icon {
  width: 0.16rem;
  height: 0.16rem;
}

.room-bar {
  position: relative;
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0px, 1fr) auto;
  grid-template-areas: "settings status actions";
  align-items: center;
  gap: 0.3rem;
  min-height: 1.5rem;
  padding: 0.16rem 0.6rem;
  background: linear-gradient(0deg, rgba(7, 9, 8, 0.96), rgba(10, 13, 12, 0.7));
  border-top: 1px solid var(--line);
}

.room-bar__left {
  grid-area: settings;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  min-width: 0px;
}

.room-bar__difficulty {
  display: flex;
  align-items: center;
  gap: 0.22rem;
  min-width: 0px;
}

.room-bar__label {
  display: flex;
  flex-direction: column;
  font-size: max(calc(.17 * var(--t)), 13px);
  font-weight: 700;
  color: var(--text-md);
  line-height: 1.35;
}

.room-bar__center {
  grid-area: status;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.06rem;
  min-width: 0px;
  text-align: center;
}

.room-bar__right {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 0.14rem;
  min-width: 0px;
  justify-content: flex-end;
}

.room-bar__status {
  font-size: max(calc(.15 * var(--t)), 12px);
}

.room-bar__status .icon {
  width: 1.1em;
  height: 1.1em;
  margin-right: 4px;
  vertical-align: -2px;
}

.dpick {
  display: flex;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.3);
}

.dpick__opt {
  --d-color: var(--amber);
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.06rem;
  height: 0.54rem;
  padding: 0px 0.2rem;
  border-top: 0px;
  border-bottom: 0px;
  border-left: 0px;
  border-image: none;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--text-lo);
  font-size: max(calc(.18 * var(--t)), 13px);
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: color var(--t-fast), background-color var(--t-med), box-shadow var(--t-med);
}

.dpick__opt:last-child {
  border-right: 0px;
}

.dpick__opt .icon {
  width: 0.2rem;
  height: 0.2rem;
  color: var(--d-color);
  opacity: 0.55;
  transition: opacity var(--t-fast);
}

.dpick__opt:hover:not(:disabled) {
  color: var(--text-hi);
  background: rgba(255, 255, 255, 0.03);
}

.dpick__opt:hover:not(:disabled) .icon {
  opacity: 1;
}

.dpick__opt:disabled {
  cursor: default;
}

.dpick__opt.is-active {
  color: var(--d-color);
  background: color-mix(in srgb, var(--d-color) 17%, transparent);
  box-shadow: inset 0 -3px 0 var(--d-color);
}

.dpick__opt.is-active .icon {
  opacity: 1;
  filter: drop-shadow(0 0 5px var(--d-color));
}

.dpick--ro {
  border: 0px;
  background: none;
  gap: 0.18rem;
  align-items: center;
  font-size: max(calc(.14 * var(--t)), 12px);
}

.ailast {
  display: flex;
  align-items: center;
  gap: 0.12rem;
  font-size: max(calc(.14 * var(--t)), 12px);
}

.ailast__opt {
  --d-color: var(--mint-400);
  height: auto;
  padding: 0.02rem 0.14rem;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.3);
  font-size: max(calc(.15 * var(--t)), 12px);
  letter-spacing: 0.04em;
  min-height: 0.36rem;
}

.ailast__opt:last-child {
  border-right: 1px solid var(--line-2);
}

.ailast__opt .icon {
  opacity: 0.25;
}

.ailast__opt .icon.is-on {
  opacity: 1;
}

.ready-count {
  display: flex;
  align-items: baseline;
  gap: 0.06rem;
  font-size: max(calc(.16 * var(--t)), 12px);
}

.ready-count .t-dim {
  font-size: max(calc(.22 * var(--t)), 14px);
}

@media (max-width: 1100px) {
  .room-bar {
    grid-template-columns: repeat(2, minmax(0px, 1fr));
    grid-template-areas: "settings actions" "status status";
    gap: max(0.12rem, 8px) 0.24rem;
  }

  .room-bar__difficulty, .room-bar .dpick {
    flex-wrap: wrap;
    max-width: 100%;
  }

  .room-bar__right {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 100%;
  }

  .room-bar__center {
    flex-flow: wrap;
    justify-content: center;
    gap: 0.16rem;
  }
}

@media (max-width: 600px) {
  .room-bar {
    grid-template-columns: minmax(0px, 1fr);
    grid-template-areas: "settings" "status" "actions";
  }

  .room-bar__left {
    align-items: center;
  }

  .room-bar__right {
    justify-self: stretch;
    justify-content: center;
  }
}

@media (max-width: 767px), (max-height: 460px) {
  .room-screen .topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    height: auto;
    min-height: 0px;
    padding: 4px calc(12px + var(--sa-r, 0px)) 4px calc(12px + var(--sa-l, 0px));
  }

  .room-screen .topbar__left {
    display: contents;
  }

  .room-screen .topbar__left .btn--square.btn--lg {
    --sq: 44px;
    height: 44px;
  }

  .room-screen .topbar__left > .btn:not(.btn--square) {
    order: 1;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0px;
    justify-content: center;
  }

  .room-screen .topbar__left > .btn:not(.btn--square) .btn__label {
    font-size: 0px;
    letter-spacing: 0px;
  }

  .room-screen .topbar__left > .btn .btn__icon, .room-screen .topbar__left > .btn .btn__label > .icon {
    width: 20px;
    height: 20px;
  }

  .room-screen .stats-entry .btn__icon + .btn__label {
    position: static;
    width: auto;
    height: auto;
    margin: 0px;
    clip: auto;
  }

  .room-screen .topbar__center {
    order: 2;
    flex: 1 1 100%;
    min-width: 0px;
  }

  .room-screen .topbar__center .micro {
    display: none;
  }

  .room-screen .topbar__title {
    font-size: max(calc(.25 * var(--t)), 15px);
  }

  .room-screen .topbar__right {
    order: 1;
    margin-left: auto;
  }

  .room-ping {
    order: 3;
    flex: 1 1 100%;
    flex-flow: wrap;
    min-width: 0px;
  }

  .room-ping .latency-status {
    flex-wrap: wrap;
    gap: 4px 6px;
  }

  .room-ping .ping, .room-ping .server-load-button, .room-ping .latency-status > * {
    min-height: 28px;
  }

  .invite {
    grid-template-columns: auto auto;
    padding: 4px 8px;
    column-gap: 8px;
  }

  .invite__label {
    display: none;
  }

  .invite__code span {
    width: 28px;
    height: 36px;
    font-size: 22px;
  }

  .invite__btns {
    flex-direction: row;
  }

  .invite__btns .btn {
    min-height: 36px;
    font-size: 12px;
    padding-inline: 8px;
  }

  .solo-note {
    font-size: 12px;
  }

  .solo-note .micro, .room-screen .seat .micro, .room-bar .micro {
    display: none;
  }

  .room-screen .seat__foot .btn, .room-bar .btn--sm, .room-bar .dpick button, .room-screen .ailast__opt {
    font-size: 12px;
    min-height: 36px;
    letter-spacing: 0.02em;
  }
}

@media (max-height: 460px) {
  .room-screen .topbar__center {
    display: none;
  }

  .room-bar {
    grid-template-columns: minmax(0px, 1fr) auto;
    grid-template-areas: "settings actions" "status actions";
    gap: 4px 12px;
    min-height: 0px;
    padding: 6px calc(12px + var(--sa-r, 0px)) calc(6px + var(--sa-b, 0px)) calc(12px + var(--sa-l, 0px));
  }

  .room-bar__label {
    display: none;
  }

  .room-bar__left {
    flex-flow: wrap;
    align-items: center;
    gap: 6px;
  }

  .room-bar__opts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
  }

  .room-bar__center {
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
  }

  .room-bar__right {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    max-width: 260px;
  }

  .room-bar__right .btn--lg {
    height: 36px;
    min-height: 36px;
    font-size: 12px;
    padding-inline: 10px;
  }

  .room-bar .btn--xl {
    height: 44px;
    min-width: 0px;
    font-size: 15px;
    letter-spacing: 0.1em;
  }

  .ready-count b {
    font-size: 18px;
  }

  .ready-count__icons {
    display: none;
  }
}

@media (max-width: 600px) and (min-height: 461px) {
  .seats:not(.seats--expanded):not(.seats--solo) {
    grid-template-columns: repeat(2, minmax(0px, 1fr));
    grid-template-rows: none;
    grid-auto-rows: minmax(0px, 1fr);
    align-content: stretch;
    gap: 10px;
    padding: 10px 12px;
  }
}

.seat__band {
  display: inline-flex;
  align-items: center;
  gap: 0.05rem;
  max-width: 100%;
  margin: 0.04rem auto 0px;
  padding: 0.02rem 0.08rem;
  border: 1px solid rgba(159, 212, 255, 0.3);
  background: rgba(159, 212, 255, 0.06);
  color: var(--text-md);
  font-size: max(calc(.13 * var(--t)), 12px);
}

.seat__band .bandicon {
  --bi: .26rem;
}

.seat__band .icon {
  width: 0.14rem;
  height: 0.14rem;
  flex: 0 0 auto;
}

.seat__band-k {
  color: var(--ice);
  font-weight: 700;
}

.seat__band-name {
  max-width: 1.6rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text-hi);
}

.seat__band.is-editable {
  cursor: pointer;
}

.seat__band.is-editable:hover {
  border-color: var(--ice);
}

.seat__band.is-editable:disabled {
  cursor: default;
  opacity: 0.7;
}

.botband-dlg__tip {
  margin: 0px 0px 0.12rem;
  font-size: max(calc(.13 * var(--t)), 12px);
}

.botband-dlg__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(1.4rem, 1fr));
  gap: 0.08rem;
}

.botband {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.04rem;
  padding: 0.08rem 0.06rem;
  cursor: pointer;
  background: rgba(12, 15, 14, 0.82);
  border: 1px solid var(--line);
  color: var(--text-md);
}

.botband:hover:not(:disabled) {
  border-color: var(--line-3);
}

.botband .bandicon {
  --bi: .7rem;
  border: 1px solid var(--line-2);
}

.botband__auto {
  display: grid;
  place-items: center;
  width: 0.7rem;
  height: 0.7rem;
  border: 1px dashed var(--line-3);
  color: var(--ice);
}

.botband__auto .icon {
  width: 0.36rem;
  height: 0.36rem;
}

.botband__name {
  font-size: max(calc(.14 * var(--t)), 12px);
  font-weight: 700;
  color: var(--text-hi);
  text-align: center;
}

.botband__eff, .botband__used {
  font-size: max(calc(.11 * var(--t)), 10px);
  color: var(--text-dim, #8a9590);
  text-align: center;
}

.botband__used {
  color: var(--gold, #f6a329);
}

.botband.is-sel {
  border-color: var(--mint-400);
  background: linear-gradient(rgba(78, 216, 175, 0.18), rgba(12, 15, 14, 0.85));
}

.botband.is-used {
  cursor: not-allowed;
}

.botband.is-used .bandicon {
  filter: grayscale(0.8) brightness(0.62);
}

.trusted-banner {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  z-index: 90;
  padding: 5px 16px;
  background: rgb(155, 32, 43);
  color: rgb(255, 255, 255);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.trusted-banner button {
  color: inherit;
  text-decoration: underline;
}

.trusted-hash {
  overflow-wrap: anywhere;
  font-family: monospace;
}

.rs {
  background: rgb(10, 11, 11);
  color: rgb(238, 240, 239);
}

.rs:lang(ko) {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.rs:lang(ja) {
  line-break: strict;
}

.rs-hint, .rs-brief p, .rs-brief li {
  text-wrap: pretty;
}

.rseat__add, .rseat__wait small, .rseat__invite small {
  text-wrap: balance;
}

.rseat__add:lang(ja) {
  word-break: auto-phrase;
}

.rs__bg {
  position: absolute;
  inset: 0px;
  pointer-events: none;
  background: radial-gradient(60% 50% at 30% 40%, rgba(23, 249, 183, 0.05), transparent 70%), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 4px), linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px) 0px 0px / 1.1rem 1.1rem, linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px) 0px 0px / 1.1rem 1.1rem, radial-gradient(120% 90% at 50% 30%, rgb(22, 24, 24), rgb(7, 8, 8));
}

.rs-top, .rs-seats, .rs .specbar, .rs-foot {
  position: relative;
}

.rs .rs-top {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.2rem;
  height: auto;
  padding: 0.16rem 0.3rem 0px 0.22rem;
  background: none;
  border-bottom: 0px;
  z-index: 3;
}

.rs-top__left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.16rem;
  min-width: 0px;
}

.rs-exit {
  display: grid;
  place-items: center;
  width: max(.6rem, 32px, calc(36px * var(--sp-ui, 1)));
  height: max(.6rem, 32px, calc(36px * var(--sp-ui, 1)));
  padding: 0px;
  color: rgb(27, 30, 29);
  background: linear-gradient(rgb(227, 231, 229), rgb(183, 191, 188));
  border: 0px;
  border-radius: 0.06rem;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 0.03rem 0.1rem;
}

.rs-exit:hover:not(:disabled), .rs-exit:focus-visible {
  filter: brightness(1.08);
}

.rs-exit .icon {
  width: 60%;
  height: 60%;
}

.rs-clock {
  display: flex;
  flex-direction: column;
  gap: 0.02rem;
  min-width: 0px;
}

.rs-clock > b {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  font-size: calc(.2 * var(--t));
  font-weight: 700;
  white-space: nowrap;
}

.rs-clock__sep {
  width: 1px;
  height: 0.9em;
  background: rgba(255, 255, 255, 0.3);
}

.rs-clock .room-mode {
  min-width: 0px;
  max-width: min(3.6rem, 30vw);
  overflow: hidden;
  padding: 0px 0.08rem;
  border: 1px solid rgba(255, 106, 61, 0.6);
  color: rgb(255, 138, 92);
  font-size: calc(.16 * var(--t));
  font-weight: 600;
  text-overflow: ellipsis;
}

.rs-clock__ping {
  display: inline-flex;
  align-items: center;
  gap: 0.08rem;
  font-size: calc(.15 * var(--t));
  color: rgb(154, 161, 158);
}

.rs-clock__ping .ping {
  height: auto;
  min-height: 0.32rem;
  padding-top: 1px;
  padding-bottom: 1px;
}

.rs-tools {
  display: flex;
  gap: 0.08rem;
  margin-left: 0.1rem;
}

.rs-top__right {
  display: flex;
  align-items: center;
  gap: 0.14rem;
}

.rs .rs-loadout {
  --pl-ink: #222b28;
  display: flex;
  align-items: center;
  gap: 0.1rem;
  height: max(.56rem, 32px, calc(34px * var(--sp-ui, 1)));
  padding: 0px 0.2rem 0px 0.14rem;
  font-size: calc(.18 * var(--t));
  color: rgb(17, 24, 22);
  background: linear-gradient(var(--pl-ink), var(--pl-ink)) left .05rem center / 2px 54% no-repeat,
    linear-gradient(var(--pl-ink), var(--pl-ink)) right .05rem center / 2px 54% no-repeat,
    linear-gradient(180deg, #e8edea, #c6cfcb);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: rgba(0, 0, 0, 0.5) 0px 0.04rem 0.14rem;
}

.rs .rs-loadout:not(:disabled):hover {
  border-color: rgb(255, 255, 255);
  filter: brightness(1.05);
}

.rs .rs-loadout .lo-entry__icon, .rs .rs-loadout > .btn__icon {
  width: max(0.36rem, 22px);
  height: max(0.36rem, 22px);
  padding: 0.04rem;
  box-sizing: border-box;
  color: var(--mint-400);
  background: rgb(24, 33, 32);
}

.rs .rs-loadout .btn__label {
  font-weight: 900;
  color: rgb(17, 24, 22);
}

.rs-key {
  display: flex;
  align-items: center;
  gap: 0.14rem;
  height: max(.56rem, 32px, calc(34px * var(--sp-ui, 1)));
  padding: 0px 0.06rem 0px 0.2rem;
  background: rgba(28, 30, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.06rem;
}

.rs-key__k {
  padding-right: 0.14rem;
  font-size: calc(.17 * var(--t));
  color: rgb(183, 189, 187);
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  white-space: nowrap;
}

.rs-key__code {
  font-size: calc(.28 * var(--t));
  letter-spacing: 0.06em;
  color: rgb(242, 244, 243);
  white-space: nowrap;
}

.rs-key__copy {
  height: 78%;
  padding: 0px 0.26rem;
  font-style: inherit;
  font-variant: inherit;
  font-stretch: inherit;
  font-family: inherit;
  font-optical-sizing: inherit;
  font-size-adjust: inherit;
  font-kerning: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-language-override: inherit;
  font-size: calc(.2 * var(--t));
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  color: rgb(27, 30, 29);
  background: linear-gradient(rgb(233, 237, 235), rgb(195, 202, 199));
  border: 0px;
  border-radius: 0.05rem;
}

.rs-key__copy:hover, .rs-key__copy:focus-visible {
  filter: brightness(1.06);
}

.rs-key__link {
  display: grid;
  place-items: center;
  width: max(0.44rem, 28px);
  height: 78%;
  padding: 0px;
  color: rgb(201, 206, 204);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.05rem;
}

.rs-key__link:hover, .rs-key__link:focus-visible {
  border-color: rgba(255, 255, 255, 0.4);
}

.rs-key__link .icon {
  width: 60%;
  height: 60%;
}

.rs-key--solo {
  gap: 0.1rem;
  padding-right: 0.2rem;
  font-size: calc(.16 * var(--t));
  color: rgb(183, 189, 187);
}

.rs-seats {
  flex: 1 1 auto;
  min-height: 0px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: max(0.3rem, 2.2vw);
  padding: 0.3rem 0.4rem 0.1rem;
  overflow: auto hidden;
  scrollbar-width: thin;
}

.rseat {
  --w: min(18vw, 3.4rem, calc((100vw - 1.6rem) / var(--n, 4) - .3rem));
  position: relative;
  flex: 0 0 auto;
  width: var(--w);
  display: flex;
  flex-direction: column;
  animation-duration: 480ms;
  animation-timing-function: cubic-bezier(0.16, 0.84, 0.3, 1);
  animation-iteration-count: 1;
  animation-direction: normal;
  animation-fill-mode: backwards;
  animation-play-state: running;
  animation-name: rseat-in;
  animation-timeline: auto;
  animation-range: normal;
  animation-delay: calc(150ms + var(--i) * 70ms);
}

@keyframes rseat-in {
  0% {
    opacity: 0;
    transform: translateY(0.16rem) scale(1.03);
    filter: brightness(1.9) saturate(0.3);
  }

  55% {
    filter: none;
  }
}

.rs__bg {
  animation: 440ms ease-out 0s 1 normal backwards running rs-fade;
}

.rs-top {
  animation: 320ms ease-out 120ms 1 normal backwards running rs-fade;
}

.rs-brief {
  animation: 440ms cubic-bezier(0.16, 0.84, 0.3, 1) 260ms 1 normal backwards running rs-right;
}

.rs-foot {
  animation: 420ms cubic-bezier(0.16, 0.84, 0.3, 1) 300ms 1 normal backwards running rs-rise;
}

@keyframes rs-fade {
  0% {
    opacity: 0;
  }
}

@keyframes rs-right {
  0% {
    opacity: 0;
    transform: translateX(0.36rem);
  }
}

@keyframes rs-rise {
  0% {
    opacity: 0;
    transform: translateY(0.22rem);
  }
}

.rseat.is-flash .rseat__art {
  animation: 700ms ease-out 0s 1 normal none running rseat-glow;
}

@keyframes rseat-glow {
  20% {
    box-shadow: rgba(120, 255, 215, 0.9) 0px 0px 0.5rem, rgb(185, 255, 233) 0px 0px 0.12rem;
    border-color: rgb(185, 255, 233);
  }
}

.rseat.is-flash .rseat__art::before {
  content: "";
  position: absolute;
  inset: 0px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(rgba(214, 255, 243, 0.95), rgba(79, 232, 192, 0.7));
  animation: 700ms ease-out 0s 1 normal forwards running rseat-wash;
}

@keyframes rseat-wash {
  0% {
    opacity: 0;
  }

  14% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.rseat.is-flash .rseat__clip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 6px;
  height: 0.16rem;
  transform-origin: 50% 100%;
  background: linear-gradient(0deg, rgb(201, 255, 240), rgba(93, 240, 198, 0));
  box-shadow: rgb(93, 240, 198) 0px 0px 8px;
  animation: 700ms ease-out 0s 1 normal forwards running rseat-beam;
}

@keyframes rseat-beam {
  0% {
    opacity: 0;
    transform: translateX(-50%) scaleY(0);
  }

  22% {
    opacity: 1;
    transform: translateX(-50%) scaleY(1);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) scaleY(1.3);
  }
}

.rseat.is-flash .rseat__state {
  animation: 380ms cubic-bezier(0.3, 1.7, 0.5, 1) 100ms 1 normal backwards running rseat-pop;
}

@keyframes rseat-pop {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
}

.rs--solo .rseat {
  --w: min(calc(2.7 * var(--t)), 34vw);
}

.rseat__clip {
  position: absolute;
  left: 50%;
  top: -0.14rem;
  z-index: 2;
  width: 0.16rem;
  height: 0.2rem;
  transform: translateX(-50%);
  background: rgb(58, 62, 61);
  border: 2px solid rgb(26, 28, 28);
}

.rseat.is-lit .rseat__clip {
  background: rgb(79, 232, 192);
}

.rseat__strip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: max(0.26rem, 16px);
  padding: 0px 0.08rem;
  background: rgb(43, 46, 46);
}

.rseat__strip i {
  width: 0.5rem;
  height: 4px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0px, rgba(255, 255, 255, 0.45) 3px, transparent 3px, transparent 5px);
}

.rseat__strip span {
  font-size: calc(.12 * var(--t));
  color: rgb(141, 147, 145);
}

.rseat.is-lit .rseat__strip {
  background: rgb(79, 232, 192);
}

.rseat.is-lit .rseat__strip i {
  background: repeating-linear-gradient(90deg, rgba(8, 34, 27, 0.6) 0px, rgba(8, 34, 27, 0.6) 3px, transparent 3px, transparent 5px);
}

.rseat.is-lit .rseat__strip span {
  color: rgb(8, 34, 27);
}

.rseat__art {
  position: relative;
  flex: 1 1 auto;
  min-height: 0px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(rgb(31, 34, 34), rgb(20, 22, 22));
  border-width: 0px 2px 2px;
  border-style: none solid solid;
  border-color: currentcolor rgb(43, 46, 46) rgb(43, 46, 46);
  border-image: none;
}

.rseat.is-lit .rseat__art {
  border-color: rgb(79, 232, 192);
  box-shadow: rgba(79, 232, 192, 0.35) 0px 0px 0.2rem;
}

.seat__art.rseat__art {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  gap: 0.04rem;
  padding: 0.14rem 0.08rem;
}

.seat__art.rseat__art > .avatar {
  align-self: center;
  flex: 0 1 var(--av);
  width: auto;
  height: auto;
  min-height: 0px;
  aspect-ratio: 1 / 1;
}

.rseat__top, .rseat__low {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.04rem;
  min-width: 0px;
}

.rseat__top {
  order: -1;
  align-items: center;
}

.rseat__low {
  align-items: stretch;
}

.rseat__art img {
  position: absolute;
  inset: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}

.rseat.is-lit .rseat__art::after {
  content: "";
  position: absolute;
  inset: 50% 0px 0px;
  background: linear-gradient(transparent, rgba(47, 207, 159, 0.85));
  pointer-events: none;
}

.rseat.is-offline .rseat__art img {
  filter: grayscale(0.8) brightness(0.6);
}

.seat__op {
  align-self: flex-start;
  max-width: 100%;
  padding: 0.02rem 0.08rem;
  font-size: calc(.14 * var(--t));
  font-weight: 700;
  color: rgb(238, 240, 239);
  background: rgba(0, 0, 0, 0.5);
  border-left: 2px solid rgb(79, 232, 192);
}

.rseat__host, .rseat__bot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.04rem;
  max-width: 100%;
  padding: 0.02rem 0.18rem;
  font-size: calc(.18 * var(--t));
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  color: rgb(8, 34, 27);
  background: rgb(79, 232, 192);
  border-radius: 0.04rem;
}

.rseat__bot {
  background: rgb(201, 206, 204);
}

.rseat__host .icon, .rseat__bot .icon {
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
}

.rseat__tag {
  align-self: flex-start;
  max-width: 100%;
  padding: 0.02rem 0.08rem;
  font-size: calc(.13 * var(--t));
  color: rgb(238, 240, 239);
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.rseat__lost {
  position: relative;
  z-index: 1;
  margin: 0px -0.08rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  padding: 0.14rem 0px;
  font-size: calc(.24 * var(--t));
  font-weight: 800;
  color: rgb(255, 122, 138);
  background: rgba(80, 10, 18, 0.85);
}

.rseat__lost .icon {
  width: 1.2em;
  height: 1.2em;
}

.rseat__state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  margin: 0px -0.08rem;
  font-size: calc(.26 * var(--t));
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  color: rgb(255, 255, 255);
  text-shadow: rgba(0, 0, 0, 0.6) 0px 1px 3px;
}

.rseat:not(.is-lit) .rseat__state {
  font-size: calc(.2 * var(--t));
  color: rgb(201, 206, 204);
}

.rseat__said {
  min-width: 0px;
  overflow-wrap: break-word;
}

.rseat__box {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: max(0.34rem, 20px);
  height: max(0.34rem, 20px);
  background: rgba(0, 0, 0, 0.25);
  border: 2px solid;
  border-radius: 4px;
}

.rseat__box .icon {
  width: 80%;
  height: 80%;
}

.rseat__kick {
  position: absolute;
  right: -0.08rem;
  top: -0.12rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  height: max(0.4rem, 24px);
  padding: 0px 0.1rem;
  color: rgb(255, 138, 150);
  background: rgb(59, 18, 24);
  border: 1px solid rgba(255, 120, 130, 0.6);
  border-radius: 999px;
}

.rseat__kick .icon {
  width: max(0.2rem, 12px);
  height: max(0.2rem, 12px);
}

.rseat__kick .icon + .icon {
  width: max(0.14rem, 9px);
  margin-left: -2px;
}

.rseat__kick:hover:not(:disabled), .rseat__kick:focus-visible {
  filter: brightness(1.3);
}

.rseat__pick {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 0.04rem;
  max-width: 100%;
  min-height: max(0.36rem, 22px);
  padding: 0.02rem 0.1rem;
  font-style: inherit;
  font-variant: inherit;
  font-stretch: inherit;
  font-family: inherit;
  font-optical-sizing: inherit;
  font-size-adjust: inherit;
  font-kerning: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-language-override: inherit;
  font-size: calc(.14 * var(--t));
  font-weight: 700;
  line-height: 1.1;
  text-align: left;
  color: rgb(238, 240, 239);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: max(.18rem, calc(11px * var(--sp-ui, 1)));
  opacity: 0.8;
  transition: opacity var(--t-fast), border-color var(--t-fast);
}

.rseat__pick .icon {
  flex: 0 0 auto;
  width: 1.1em;
  height: 1.1em;
}

.rseat__art:hover .rseat__pick, .rseat__pick:focus-visible {
  opacity: 1;
  border-color: rgb(93, 240, 198);
}

.rseat__plate {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0px, 1fr);
  grid-template-rows: auto auto;
  column-gap: 0.1rem;
  align-items: center;
  min-height: max(.76rem, 32px, calc(46px * var(--sp-ui, 1)));
  margin-top: 0.08rem;
  padding: 0.06rem 0.1rem;
  background: linear-gradient(90deg, rgb(35, 38, 38), rgb(22, 24, 24));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.rseat.is-lit .rseat__plate {
  border-color: rgba(79, 232, 192, 0.55);
}

.rseat.is-me .rseat__plate {
  background: linear-gradient(90deg, rgb(38, 48, 45), rgb(22, 26, 25));
}

.rseat__plate .avatar {
  grid-row: 1 / 3;
}

.rseat__who {
  display: flex;
  align-items: center;
  gap: 0.06rem;
  min-width: 0px;
  font-size: calc(.18 * var(--t));
}

.rseat__doc {
  font-size: calc(.11 * var(--t));
  letter-spacing: 0.1em;
  color: rgb(127, 133, 131);
}

.rseat__me {
  position: absolute;
  left: -0.1rem;
  top: -0.1rem;
  display: grid;
  place-items: center;
  width: max(0.26rem, 16px);
  height: max(0.26rem, 16px);
  color: rgb(8, 34, 27);
  background: rgb(79, 232, 192);
  border-radius: 3px;
}

.rseat__me .icon {
  width: 80%;
  height: 80%;
}

.rseat__plate--empty {
  display: flex;
  justify-content: center;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.12);
  background: none;
  font-size: calc(.15 * var(--t));
}

.rseat--empty .rseat__art {
  grid-template-rows: 1fr auto;
  padding-bottom: 0.5rem;
  background: linear-gradient(135deg, transparent 47%, rgba(255, 255, 255, 0.06) 50%, transparent 53%), rgb(20, 22, 22);
}

.rseat__invite {
  align-self: end;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 0.2rem 0.1rem;
  font: inherit;
  color: rgb(238, 240, 239);
  background: none;
  border: 0px;
}

.rseat__plus {
  position: relative;
  width: max(.9rem, 32px, calc(46px * var(--sp-ui, 1)));
  height: max(.9rem, 32px, calc(46px * var(--sp-ui, 1)));
}

.rseat__plus::before, .rseat__plus::after {
  content: "";
  position: absolute;
  background: rgb(242, 244, 243);
  box-shadow: rgba(255, 255, 255, 0.5) 0px 0px 0.1rem;
}

.rseat__plus::before {
  left: 50%;
  top: 0px;
  bottom: 0px;
  width: 7px;
  transform: translateX(-50%);
}

.rseat__plus::after {
  top: 50%;
  left: 0px;
  right: 0px;
  height: 7px;
  transform: translateY(-50%);
}

.rseat__invite b {
  font-size: calc(.26 * var(--t));
}

.rseat__invite small {
  font-size: calc(.15 * var(--t));
  color: rgb(141, 147, 145);
  text-align: center;
}

.rseat__invite:hover .rseat__plus::before, .rseat__invite:hover .rseat__plus::after, .rseat__invite:focus-visible .rseat__plus::before, .rseat__invite:focus-visible .rseat__plus::after {
  background: rgb(93, 240, 198);
}

.rseat__add {
  align-self: start;
  max-width: calc(100% - 0.12rem);
  height: auto;
  min-height: 0.36rem;
  padding-block: 0.03rem;
  margin-top: 0.1rem;
  white-space: normal;
  line-height: 1.1;
  text-align: center;
}

.rseat__wait {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  color: rgb(183, 189, 187);
}

.rseat__wait small {
  font-size: calc(.16 * var(--t));
  text-align: center;
}

.rseat__noinfo {
  position: absolute;
  right: 0.12rem;
  bottom: 0.14rem;
  font-family: var(--font-display);
  font-size: calc(.12 * var(--t));
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.15);
}

.rs-brief {
  align-self: center;
  max-width: min(5rem, 46vw);
  max-height: 100%;
  overflow-y: auto;
  scrollbar-width: thin;
  padding: 0.24rem 0.3rem;
  background: rgba(10, 13, 12, 0.8);
  border: 1px solid var(--line);
}

.rs-brief h2 {
  margin: 0.06rem 0px;
  font-size: calc(.32 * var(--t));
  color: var(--d-color);
}

.rs-brief h2 .num {
  white-space: nowrap;
}

.rs-brief p {
  margin: 0px 0px 0.1rem;
  font-size: calc(.17 * var(--t));
  color: var(--text-md);
}

.rs-brief ul {
  margin: 0px;
  padding-left: 0.24rem;
  font-size: calc(.16 * var(--t));
  color: var(--text-lo);
  line-height: 1.7;
}

@media (max-height: 640px) {
  .rs-brief {
    max-width: min(7rem, 46vw);
  }

  .rs-brief ul {
    line-height: 1.45;
  }
}

.cardpick .modal__body {
  flex: 1 1 auto;
  min-height: 0px;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  overflow: hidden;
}

.cardpick__bar {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.12rem;
}

.cardpick__search {
  flex: 1 1 2.6rem;
  min-width: 0px;
}

.cardpick__stars {
  display: inline-flex;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, 0.3);
}

.cardpick__stars button {
  min-height: 0.44rem;
  padding: 0px 0.16rem;
  border-top: 0px;
  border-bottom: 0px;
  border-left: 0px;
  border-image: none;
  border-right: 1px solid var(--line);
  background: none;
  color: var(--text-lo);
  font-size: calc(.16 * var(--t));
  font-weight: 700;
}

.cardpick__stars button:last-child {
  border-right: 0px;
}

.cardpick__stars button:hover {
  color: var(--text-hi);
}

.cardpick__stars button.is-on {
  background: var(--mint-500);
  color: var(--text-on-mint);
}

.cardpick__grid {
  flex: 1 1 auto;
  min-height: 0px;
  max-height: 5.2rem;
  display: grid;
  font-size: calc(.14 * var(--t));
  grid-template-columns: repeat(auto-fill, minmax(max(0.96rem, 6.6em), 1fr));
  align-content: start;
  gap: 0.08rem;
  padding: 2px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.cardpick__op {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.03rem;
  padding: 0.03rem;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-md);
  transition: border-color var(--t-fast), color var(--t-fast);
}

.cardpick__op:hover {
  border-color: var(--line-3);
  color: var(--text-hi);
}

.cardpick__op.is-on {
  border-color: var(--mint-400);
  box-shadow: 0 0 0 1px var(--mint-400);
  color: var(--text-hi);
}

.cardpick__img {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(rgb(42, 48, 45), rgb(21, 25, 23));
}

.cardpick__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cardpick__img .icon {
  width: 45%;
  height: 45%;
  color: var(--mint-400);
}

.cardpick__glyph {
  font-size: calc(.36 * var(--t));
  font-weight: 900;
  color: rgba(255, 255, 255, 0.3);
}

.cardpick__name {
  text-align: center;
  font-size: calc(.14 * var(--t));
  line-height: 1.15;
}

.cardpick__name {
  text-wrap: balance;
}

.cardpick__star {
  position: absolute;
  top: 0.04rem;
  right: 0.04rem;
  padding: 0px 0.04rem;
  background: rgb(217, 222, 220);
  color: rgb(17, 17, 17);
  font-size: calc(.12 * var(--t));
  font-weight: 800;
}

.cardpick__op.r6 .cardpick__star {
  background: rgb(255, 207, 90);
}

.cardpick__op.r5 .cardpick__star {
  background: rgb(242, 224, 107);
}

.cardpick__empty {
  flex: 0 0 auto;
  margin: 0px;
  font-size: calc(.16 * var(--t));
  color: var(--text-lo);
}

.cardpick__note {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.06rem;
  margin: 0px;
  font-size: calc(.15 * var(--t));
  color: var(--text-lo);
}

.cardpick__note .icon {
  flex: 0 0 auto;
  width: 0.18rem;
  height: 0.18rem;
}

.rs-foot {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(min-content, 1fr) auto minmax(min-content, 1fr);
  align-items: end;
  gap: 0.2rem;
  padding: 0.1rem 0.3rem 0.2rem 0.22rem;
  z-index: 2;
}

.rs-foot__left {
  min-width: 0px;
}

.rs-foot__center {
  min-width: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.08rem;
}

.rs-hint {
  margin: 0px;
  font-size: calc(.18 * var(--t));
  color: rgb(214, 218, 216);
  text-align: center;
}

.rs-ready {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-right: 0.14rem;
  font-size: calc(.16 * var(--t));
  color: rgb(154, 161, 158);
  vertical-align: middle;
}

.rs-ready .icon {
  width: max(0.2rem, 13px);
  height: max(0.2rem, 13px);
  color: rgb(75, 80, 78);
}

.rs-ready .icon.is-on {
  color: rgb(79, 232, 192);
}

.rs-ready b {
  margin-left: 0.06rem;
  color: rgb(238, 240, 239);
}

.rs-pill {
  position: relative;
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 0.14rem;
  height: max(.68rem, 32px, calc(40px * var(--sp-ui, 1)));
  padding: 0px 0.08rem;
  background: rgba(14, 15, 15, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 0.04rem 0.16rem;
}

.rs-pill__diff, .rs-pill__ver {
  display: inline-flex;
  align-items: center;
  gap: 0.08rem;
  height: 78%;
  padding: 0px 0.2rem;
  font-style: inherit;
  font-variant: inherit;
  font-stretch: inherit;
  line-height: inherit;
  font-family: inherit;
  font-optical-sizing: inherit;
  font-size-adjust: inherit;
  font-kerning: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-language-override: inherit;
  font-size: calc(.2 * var(--t));
  font-weight: 800;
  white-space: nowrap;
  border: 0px;
  border-radius: 999px;
}

.rs-pill__diff {
  color: var(--d-color);
  background: color-mix(in srgb, var(--d-color) 22%, #151616);
}

.rs-pill__diff .icon, .rs-pill__ver .icon {
  flex: 0 0 auto;
  width: 1.2em;
  height: 1.2em;
}

.rs-pill__code {
  font-size: calc(.13 * var(--t));
  color: rgb(154, 161, 158);
}

.rs-pill__diff:disabled {
  cursor: default;
}

.rs-pill__diff:hover:not(:disabled), .rs-pill__diff:focus-visible {
  filter: brightness(1.2);
}

.rs-pill__diff.is-ro {
  cursor: help;
}

.rs-pill__gear {
  display: grid;
  place-items: center;
  width: max(0.52rem, 32px);
  height: max(0.52rem, 32px);
  padding: 0px;
  color: rgb(27, 30, 29);
  background: linear-gradient(rgb(233, 237, 235), rgb(195, 202, 199));
  border: 2px solid rgb(14, 15, 15);
  border-radius: 50%;
}

.rs-pill__gear svg {
  width: 62%;
  height: 62%;
  fill: currentcolor;
}

.rs-pill__gear.is-on, .rs-pill__gear:hover, .rs-pill__gear:focus-visible {
  background: rgb(255, 255, 255);
}

.rs-opts {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.14rem);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  width: max-content;
  max-width: 92vw;
  padding: 0.16rem 0.2rem;
  transform: translateX(-50%);
  background: linear-gradient(rgb(32, 35, 35), rgb(20, 22, 22));
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: rgba(0, 0, 0, 0.7) 0px 0.1rem 0.4rem;
}

.rs-opts h4 {
  margin: 0px;
  font-size: calc(.2 * var(--t));
}

.rs-opts__row {
  display: flex;
  align-items: center;
  gap: 0.12rem;
  font-size: calc(.14 * var(--t));
}

.rs-opts__k {
  color: var(--text-lo);
}

.rs-opts__diff {
  display: inline-flex;
  align-items: center;
  gap: 0.06rem;
  min-height: 0.36rem;
  padding: 0.02rem 0.14rem;
  font-style: inherit;
  font-variant: inherit;
  font-stretch: inherit;
  line-height: inherit;
  font-family: inherit;
  font-optical-sizing: inherit;
  font-size-adjust: inherit;
  font-kerning: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-language-override: inherit;
  font-size: calc(.15 * var(--t));
  font-weight: 700;
  white-space: nowrap;
  color: var(--d-color);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--line-2);
}

.rs-opts__diff .icon {
  width: 1.1em;
  height: 1.1em;
}

.rs-opts__diff em {
  margin-left: 0.06rem;
  font-style: normal;
  color: var(--text-hi);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rs-opts__diff:hover:not(:disabled), .rs-opts__diff:focus-visible {
  border-color: var(--d-color);
}

.rs-opts__diff:disabled {
  cursor: default;
  opacity: 0.6;
}

.rs-go.proto-start {
  flex: 0 0 auto;
  width: min(4.6rem, 40vw);
}

.rs-go .proto-start__label {
  flex: 1 1 auto;
  padding-right: 8%;
  font-size: min(calc(.4 * var(--t)), .46rem);
  white-space: normal;
  line-height: 1.1;
}

.rs-go .proto-start__rook {
  font-size: min(calc(.36 * var(--t)), .4rem);
}

.rs-go .proto-start__mark small {
  font-size: min(calc(.08 * var(--t)), .1rem);
}

.rs-go__box {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: max(0.5rem, 28px);
  height: max(0.5rem, 28px);
  border: 3px solid;
  border-radius: 6px;
}

.rs-go__box .icon {
  width: 80%;
  height: 80%;
}

.rs-go__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: max(0.5rem, 28px);
  height: max(0.5rem, 28px);
}

.rs-go__icon .icon {
  width: 100%;
  height: 100%;
}

.rs-go.is-ready {
  background: linear-gradient(rgb(127, 243, 212), rgb(79, 224, 191));
}

@media (max-height: 520px) {
  .rs .rs-top {
    padding-top: 6px;
  }

  .rs-seats {
    padding-top: 14px;
    gap: 12px;
  }

  .rseat__plate {
    min-height: 36px;
    margin-top: 4px;
  }

  .rs--solo .rseat {
    --w: min(calc(2.7 * var(--t)), 3.4rem, 34vw);
  }

  .rseat__doc, .rseat__noinfo, .rseat__invite small, .seat__op {
    display: none;
  }

  .seat__art.rseat__art {
    gap: 2px;
    padding: 4px 3px;
  }

  .seat__art.rseat__art > .avatar--xl {
    --av: clamp(1rem, calc(3rem - var(--t)), 2rem);
  }

  .rseat__host, .rseat__bot {
    padding: 1px 6px;
    font-size: min(calc(.26 * var(--t)), calc(15px + var(--t-step) / 2));
  }

  .rseat__state {
    gap: 3px;
    margin-inline: -2px;
    font-size: min(calc(.34 * var(--t)), calc(17px + var(--t-step) / 2));
  }

  .rseat:not(.is-lit) .rseat__state {
    font-size: min(calc(.28 * var(--t)), calc(15px + var(--t-step) / 2));
  }

  .rseat__box {
    width: 16px;
    height: 16px;
  }

  .rseat__who {
    font-size: min(calc(.28 * var(--t)), calc(18px + var(--t-step) / 2));
  }

  .rseat__who .seat__you {
    display: none;
  }

  .seat__name-pre {
    display: none;
  }

  .rseat__pick {
    min-height: 22px;
    font-size: min(calc(.22 * var(--t)), calc(16px + var(--t-step) / 2));
  }

  .rseat__pick span {
    display: none;
  }

  .rseat__top {
    flex-flow: wrap;
    justify-content: center;
  }

  .rseat__top > .rseat__pick, .rseat__top > .rseat__tag {
    align-self: auto;
  }

  .rseat__lost, .rseat.is-offline .rseat__box {
    display: none;
  }

  .seat__content.is-ready {
    display: none;
  }

  .rseat--empty .rseat__art {
    padding-bottom: 6px;
  }

  .rseat__invite {
    gap: 2px;
    padding: 2px 4px;
  }

  .rseat__invite b {
    font-size: min(calc(.34 * var(--t)), calc(18px + var(--t-step) / 2));
    line-height: 1.15;
  }

  .rseat__wait small {
    font-size: min(calc(.16 * var(--t)), calc(15px + var(--t-step) / 2));
  }

  .rseat__add {
    margin-top: 2px;
  }

  .rseat__plus {
    width: 26px;
    height: 26px;
  }

  .rseat__plus::before {
    width: 5px;
  }

  .rseat__plus::after {
    height: 5px;
  }

  .cardpick__grid, .cardpick__name {
    font-size: min(calc(.14 * var(--t)), 11px);
  }

  .rs-foot {
    padding-bottom: 8px;
    gap: 8px;
  }

  .rs-clock > b {
    font-size: min(calc(.28 * var(--t)), calc(20px + var(--t-step)));
  }

  .rs-clock__ping, .rs-ready {
    font-size: min(calc(.22 * var(--t)), calc(15px + var(--t-step)));
  }

  .rs-hint {
    font-size: min(calc(.28 * var(--t)), calc(14px + var(--t-step) / 2));
  }

  .rs-brief {
    max-width: min(11rem, 62vw);
    padding: calc(6px - max(0px, var(--t-step))) 12px;
  }

  .rs-brief h2 {
    font-size: min(calc(.32 * var(--t)), calc(20px + var(--t-step)));
    line-height: calc(1.5em - 3 * max(0px, var(--t-step)));
  }

  .rs-brief p {
    font-size: min(calc(.17 * var(--t)), calc(14px + var(--t-step)));
  }

  .rs-brief ul {
    font-size: min(calc(.16 * var(--t)), calc(13px + var(--t-step)));
    line-height: calc(1.35em - max(0px, var(--t-step)));
  }

  .rs-pill__diff, .rs-pill__ver {
    font-size: min(calc(.28 * var(--t)), calc(20px + var(--t-step)));
  }

  .rs-key__code {
    font-size: calc(.36 * var(--t));
  }

  .rs-key__copy {
    font-size: min(calc(.26 * var(--t)), calc(18px + var(--t-step)));
  }

  .rs-key__copy:lang(en) {
    padding-bottom: calc(2 * max(0px, var(--t-step)));
  }

  .rs-go.proto-start {
    height: auto;
    min-height: 46px;
  }

  .rs-go .proto-start__mark {
    display: none;
  }

  .rs-go .proto-start__label {
    font-size: min(calc(.46 * var(--t)), calc(20px + var(--t-step)));
  }

  .rs .rs-loadout .btn__label {
    display: none;
  }

  .rs-tools, .rs-key__k {
    display: none;
  }
}

@media (max-height: 520px) and (min-height: 370px) {
  .rseat__plate {
    min-height: max(32px, calc(36px * var(--sp-ui, 1)), calc(2.2 * min(calc(.28 * var(--t)), calc(18px + var(--t-step) / 2)) + 8px));
  }

  .rseat__who {
    grid-row: 1 / 3;
    align-self: center;
  }

  .rseat__who .seat__name {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.1;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 900px) {
  .rs-foot {
    grid-template-columns: minmax(0px, 1fr) auto;
  }

  .rs-foot__left {
    display: none;
  }

  .rs-foot__center {
    justify-self: start;
    max-width: 100%;
  }
}

@media (max-aspect-ratio: 1 / 1) {
  .rs-seats {
    justify-content: flex-start;
  }

  .rseat {
    --w: max(1.8rem, 42vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rseat, .rs__bg, .rs-top, .rs-brief, .rs-foot {
    animation: auto ease 0s 1 normal none running none;
  }
}

.rs-clock__ver {
  margin-left: 0.1rem;
}

.rs-pill__version {
  height: 100%;
  min-width: 0px;
  align-items: center;
}

.rs-pill__ver {
  min-width: 0px;
  max-width: 2.6rem;
  color: rgb(207, 233, 255);
  background: rgba(120, 196, 255, 0.12);
}

.rs-pill__ver .icon {
  color: rgb(159, 211, 255);
}

.rs-pill__vername {
  min-width: 0px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rs-pill__ver:disabled {
  cursor: default;
  opacity: 0.7;
}

.rs-pill__ver.is-ro {
  cursor: help;
}

.rs-pill__ver:hover:not(:disabled), .rs-pill__ver:focus-visible {
  filter: brightness(1.2);
}

.rs-opts__ver {
  color: rgb(207, 233, 255);
}

.rs-verbanner {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  margin: 0px 0.6rem 0.1rem;
  padding: 0.06rem 0.16rem;
  color: var(--text-md);
  font-size: calc(.14 * var(--t));
  text-align: center;
  overflow-wrap: anywhere;
  background: rgba(120, 196, 255, 0.08);
  border: 1px solid rgba(120, 196, 255, 0.35);
}

.rs-verbanner .icon {
  flex: 0 0 auto;
  width: 1.1em;
  height: 1.1em;
  color: rgb(159, 211, 255);
}

@media (max-height: 520px) {
  .rs-verbanner {
    display: none;
  }

  .rs .vervote {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 30;
    width: min(-24px + 100vw, 9rem);
    max-height: 70svh;
    margin: 0px;
    overflow-y: auto;
    transform: translate(-50%, -50%);
    box-shadow: rgba(0, 0, 0, 0.8) 0px 0.1rem 0.5rem;
    flex-flow: column;
    align-items: stretch;
  }

  .rs .vervote .vervote__text {
    flex: 0 1 auto;
    min-height: 0px;
    overflow-y: auto;
  }

  .rs .vervote .vervote__actions {
    flex: 0 0 auto;
  }
}
