* {
  box-sizing: border-box;
}
:root {
  color-scheme: light;
  --ink: #203e32;
  --muted: #69776c;
  --green: #174e3d;
  --line: #d9dacf;
  --paper: #f6f5ed;
  --red: #bd4f37;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", Arial, sans-serif;
}
html {
  min-height: 100%;
  background: #f5f4eb;
}
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  background-color: var(--paper);
  background-image: radial-gradient(#455e3f0d 0.75px, transparent 0.85px);
  background-size: 5px 5px;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
input:focus-visible {
  outline: 3px solid #cc9352;
  outline-offset: 3px;
}
button {
  touch-action: manipulation;
}
h1,
h2,
h3,
p {
  margin: 0;
}
header {
  height: 73px;
  background: #fbfbf4;
  border-bottom: 1px solid #ccd2c5;
}
.header-inner,
main {
  width: min(1148px, calc(100% - 80px));
  margin: auto;
}
.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 700 31px/0.95 var(--serif);
  letter-spacing: -1.7px;
}
.brandmark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  background: var(--green);
  color: #f6f2d9;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px #ffffff24;
}
.online-mark,
.room-tag,
.small-label,
.round-count,
.edition-label,
.number-pill {
  font-family: var(--sans);
  font-weight: 700;
}
.online-mark {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #47765b;
  font-size: 9px;
  letter-spacing: 1.25px;
  border: 1px solid #cbd6c4;
  padding: 4px 7px;
  border-radius: 4px;
  background: #edf2e5;
}
.online-mark i,
.room-tag i,
.small-label i,
.turn-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5f865d;
}
.header-right,
.room-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.quiet,
.text-btn,
.tab,
.more {
  background: none;
  border: 0;
}
.quiet,
.text-btn,
.btn,
.cta,
.modal-primary,
.modal-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.quiet {
  font-weight: 600;
  font-size: 14px;
  padding: 8px 0;
}
.divider {
  height: 22px;
  width: 1px;
  background: var(--line);
}
.round-btn,
.avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid #cbd0c3;
  border-radius: 50%;
}
.avatar {
  background: #efe2cc;
  border-color: #dfc8a8;
  color: #84694c;
}
.round-btn:hover,
.quiet:hover,
.text-btn:hover {
  color: #a74531;
}
.table-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 27px 0 22px;
  gap: 14px;
}
.edition-label {
  color: #687d6d;
  letter-spacing: 2.25px;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 5px;
}
.edition-label > span {
  width: 23px;
  height: 2px;
  background: #ad7053;
}
h1 {
  font: 700 clamp(32px, 3.1vw, 46px)/1.08 var(--serif);
  letter-spacing: -1.8px;
}
.room-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  letter-spacing: 0.14px;
  font-weight: 600;
  color: #5b705d;
  white-space: nowrap;
}
.room-tag i {
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 3px #61815a17;
}
.room-tag .off {
  background: #b36939;
}
.btn {
  border: 1px solid #bac6b7;
  background: #fbfbf3;
  border-radius: 8px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 650;
}
.invite:hover {
  background: #e9efe2;
  border-color: #789481;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(300px, 27vw, 356px);
  gap: 25px;
  align-items: start;
}
.board-area {
  min-width: 0;
}
.frame {
  position: relative;
  background: #27513e;
  border: 1px solid #183b2b;
  border-radius: 12px;
  padding: 11px;
  box-shadow:
    inset 0 0 0 3px #315e49,
    inset 0 0 0 4px #7c93704d,
    0 4px 0 #133627,
    0 9px 21px #15382522;
}
.screw {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #c2b181;
  z-index: 5;
  box-shadow: 0 0 0 1px #153a29;
}
.s1 {
  top: 4px;
  left: 4px;
}
.s2 {
  right: 4px;
  top: 4px;
}
.s3 {
  left: 4px;
  bottom: 4px;
}
.s4 {
  right: 4px;
  bottom: 4px;
}
.board {
  position: relative;
  container-type: inline-size;
  display: grid;
  grid-template-columns: 1.54fr repeat(9, minmax(0, 1fr)) 1.54fr;
  grid-template-rows: 1.54fr repeat(9, minmax(0, 1fr)) 1.54fr;
  aspect-ratio: 1;
  isolation: isolate;
  background: #52664e;
  gap: 1px;
  border: 1px solid #354f3d;
  overflow: hidden;
  border-radius: 3px;
}
.tile {
  padding: 0;
  border: 0;
  position: relative;
  min-width: 0;
  min-height: 0;
  background: #f1efdf;
  color: #253f32;
  display: grid;
  place-items: center;
  --shine: #f1efdf;
}
.tile:hover,
.tile:focus-visible {
  z-index: 4;
  box-shadow: inset 0 0 0 2px #a87d38;
  filter: brightness(1.035);
}
.tile-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 0.38cqw;
  overflow: hidden;
  line-height: 1.03;
}
.tile .stripe {
  position: absolute;
  left: 0;
  right: 0;
  height: 17%;
  background: var(--tile);
  border-bottom: 1px solid #405a4560;
  top: 0;
}
.tile.top .stripe {
  top: auto;
  bottom: 0;
  border-bottom: 0;
  border-top: 1px solid #405a4560;
}
.tile b {
  font: 700 1.24cqw/1.04 var(--sans);
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  text-align: center;
  max-width: 98%;
}
.tile small {
  font: 650 1.1cqw/1.1 var(--sans);
  color: #3c5143;
  white-space: nowrap;
}
.tile.top.t-street .tile-content {
  padding-bottom: 16%;
}
.tile.bottom.t-street .tile-content {
  padding-top: 17%;
}
.tile .tile-icon {
  display: grid;
  place-items: center;
  line-height: 0;
}
.tile-icon svg {
  width: 3.55cqw;
  height: 3.55cqw;
}
.t-chance .tile-icon {
  color: #b35039;
}
.t-chance .tile-icon svg {
  width: 4.25cqw;
  height: 4.25cqw;
}
.t-chest .tile-icon {
  color: #7c643e;
}
.tile.left .tile-content,
.tile.right .tile-content {
  position: absolute;
  width: 8.17cqw;
  height: 12.52cqw;
}
.tile.left .tile-content {
  transform: rotate(90deg);
}
.tile.right .tile-content {
  transform: rotate(-90deg);
}
.tile.left.t-street .tile-content,
.tile.right.t-street .tile-content {
  padding-top: 2.12cqw;
}
.tile.corner b {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font: 800 1.28cqw/1 var(--sans);
}
.tile.corner .tile-content {
  gap: 0.15cqw;
}
.corner-art {
  display: grid;
  place-items: center;
}
.corner-art svg {
  width: 5.65cqw;
  height: 5.65cqw;
}
.t-park .corner-art {
  color: #a84935;
  transform: rotate(-10deg);
}
.t-arrest .corner-art {
  color: #3a6780;
  transform: rotate(2deg);
}
.t-jail .corner-art {
  color: #9b6d3a;
}
.tile.t-start {
  color: #a64531;
}
.t-start .tile-content {
  flex-direction: column-reverse;
  padding-bottom: 12%;
}
.t-start.corner b {
  font: 900 2.32cqw/0.95 var(--sans);
  letter-spacing: -0.03em;
}
.t-start .corner-art svg {
  width: 5.6cqw;
  height: 3.9cqw;
}
.pawns {
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  z-index: 3;
  pointer-events: none;
}
.pawns i {
  position: relative;
  display: grid;
  place-items: center;
  color: #fff5df;
  background: var(--pc);
  border: 1px solid #fff9d7;
  width: 2.9cqw;
  height: 2.9cqw;
  border-radius: 50%;
  box-shadow: 0 1px 2px #152a22a0;
  --shine: var(--pc);
}
.pawns i + i {
  margin-left: -0.3cqw;
}
.pawns i svg {
  width: 2.1cqw;
  height: 2.1cqw;
}
.ownership {
  position: absolute;
  pointer-events: none;
  --rail-size: clamp(3px, 0.65cqw, 7px);
  --rail-inset: clamp(1px, 0.32cqw, 3px);
  border-radius: 999px;
  background: var(--owner);
  box-shadow: 0 0 0 1px #fff8;
}
.tile:is(.top, .bottom) .ownership {
  left: var(--rail-inset);
  right: var(--rail-inset);
  height: var(--rail-size);
}
.tile.top .ownership {
  top: var(--rail-inset);
}
.tile.bottom .ownership {
  bottom: var(--rail-inset);
}
.tile:is(.left, .right) .ownership {
  top: var(--rail-inset);
  bottom: var(--rail-inset);
  width: var(--rail-size);
}
.tile.left .ownership {
  left: var(--rail-inset);
}
.tile.right .ownership {
  right: var(--rail-inset);
}
.center {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  grid-area: 2/2/11/11;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dce7c9;
  background-image: repeating-linear-gradient(
    42deg,
    transparent 0 3px,
    #84987908 3px 4px
  );
  box-shadow: inset 0 0 35px #72856022;
  --shine: #dce7c9;
}
.engraved {
  position: absolute;
  inset: 2.45%;
  border: 1px solid #849a74;
  outline: 1px solid #8da47a;
  outline-offset: 3px;
  pointer-events: none;
}
.center-lines {
  position: absolute;
  inset: 4%;
  border: 1px solid #8d9f7a80;
}
.center-lines > i {
  position: absolute;
  width: 6%;
  aspect-ratio: 1;
  border: 3px double #8d9f7a;
  border-radius: 0 0 100% 0;
  top: -1px;
  left: -1px;
}
.center-lines > i:nth-child(2) {
  left: auto;
  right: -1px;
  transform: rotate(90deg);
}
.center-lines > i:nth-child(3) {
  top: auto;
  bottom: -1px;
  transform: rotate(-90deg);
}
.center-lines > i:nth-child(4) {
  top: auto;
  left: auto;
  right: -1px;
  bottom: -1px;
  transform: rotate(180deg);
}
.city-wrap {
  position: absolute;
  top: 13.2%;
  left: 5.5%;
  width: 89%;
  height: 52%;
  mix-blend-mode: multiply;
  mask-image: linear-gradient(transparent, #000 8%, #000 88%, transparent);
}
.city-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.13) contrast(1.1);
  mask-image: radial-gradient(
    ellipse 66% 65% at 50% 53%,
    #000 63%,
    transparent 100%
  );
}
.wordmark {
  position: absolute;
  top: 54.5%;
  left: 50%;
  transform: translateX(-50%) rotate(-6deg);
  background: #b74732;
  color: #fff8df;
  padding: 0.25cqw 1.65cqw 0.67cqw;
  border: 0.42cqw solid #f5efcf;
  outline: 0.22cqw solid #244b39;
  box-shadow: 0.55cqw 0.65cqw 0 #244b39;
  white-space: nowrap;
}
.wordmark strong {
  display: block;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-stretch: condensed;
  font-size: 6.55cqw;
  letter-spacing: -0.25cqw;
  line-height: 1.11;
  font-weight: 900;
  text-shadow: 0.09cqw 0.14cqw #6a3929;
}
.edition {
  position: absolute;
  top: 74%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2cqw;
  font: 700 1.18cqw/1.1 var(--sans);
  letter-spacing: 0.26cqw;
  color: #4d6550;
}
.edition span {
  height: 1px;
  background: #81936f;
  width: 3.5cqw;
}
.center-stars {
  position: absolute;
  top: 79%;
  letter-spacing: 0.2cqw;
  font-size: 1.36cqw;
  color: #7f8d66;
}
.deck {
  position: absolute;
  display: grid;
  place-items: center;
  width: 15.5%;
  aspect-ratio: 1.55;
  border: 1px solid currentColor;
  border-radius: 4%;
  outline: 1px solid currentColor;
  outline-offset: -0.55cqw;
  isolation: isolate;
  box-shadow:
    1px 2px 0 #d9ddbd,
    2px 3px 0 currentColor,
    3px 5px 0 #d1d6b9,
    4px 6px 0 currentColor;
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0 3px,
    #667f6120 3px 4px
  );
}
.deck-chance {
  top: 8.4%;
  left: 8.5%;
  transform: rotate(-15deg);
  background-color: #dfc5a3;
  color: #a27f55;
}
.deck-chance span {
  font: italic bold 4.1cqw/1 Georgia;
  color: #9e7650;
}
.deck-chest {
  bottom: 10%;
  right: 8.5%;
  transform: rotate(14deg);
  background-color: #c3d3b3;
  color: #839b75;
}
.deck-chest svg {
  width: 4cqw;
  height: 4cqw;
}
.board-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #758071;
  font-size: 12px;
  margin: 15px 2px 25px;
  gap: 8px;
}
.board-footer > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.text-btn {
  font-weight: 600;
  color: #526859;
  font-size: 12px;
  padding: 3px 0;
}
aside {
  min-width: 0;
  display: grid;
  gap: 15px;
}
.turn-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #204f3d;
  color: #fcf8e8;
  border: 1px solid #163c2d;
  border-radius: 12px;
  padding: 17px 20px 18px;
  box-shadow:
    inset 0 0 0 3px #ffffff06,
    0 2px 5px #1a3c2a12;
}
.turn-card:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.5;
  background:
    repeating-linear-gradient(130deg, transparent 0 6px, #d5e9c406 6px 7px),
    radial-gradient(ellipse at 90% 60%, #70855e25, transparent 60%);
}
.turn-meta,
.panel-head,
.feed-head,
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.small-label,
.round-count {
  font-size: 9px;
  letter-spacing: 1.3px;
}
.small-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #d9e2c8;
}
.small-label i {
  background: #d9ac6d;
}
.round-count {
  color: #dbe0c9;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 3px 6px;
  background: #ffffff0a;
  border: 1px solid #bac9a738;
  border-radius: 4px;
  font-size: 9px;
}
.turn-content {
  position: relative;
  min-height: 84px;
  padding: 15px 72px 13px 0;
}
.turn-content h2 {
  font: 700 clamp(25px, 2.4vw, 35px)/1.05 var(--serif);
  letter-spacing: -1.1px;
  margin-bottom: 7px;
}
.turn-content p {
  font-size: 13px;
  line-height: 1.4;
  color: #d3ddcd;
  max-width: 208px;
}
.dice-art {
  position: absolute;
  width: 95px;
  height: 70px;
  right: -8px;
  top: 11px;
  filter: drop-shadow(1px 5px 2px #102b2055);
}
.turn-actions {
  display: flex;
  align-items: stretch;
  gap: 7px;
}
.cta,
.minor-cta {
  border: 1px solid #9b4230;
  border-top-color: #df8063;
  border-radius: 7px;
  background: #c05a41;
  color: white;
  font-weight: 700;
  font-size: 14px;
  min-height: 41px;
  flex: 1;
  box-shadow: 0 2px 0 #17392850;
}
.cta:hover:not(:disabled) {
  background: #cb6349;
}
.cta:disabled {
  background: #38624e;
  border-color: #63816b;
  color: #e1e9d9;
}
.minor-cta {
  border: 1px solid #86988366;
  background: #ffffff09;
  flex: 0 1 auto;
  padding: 0 10px;
  font-size: 12px;
}
.panel {
  background: #fbfaf3;
  border: 1px solid #ced4c5;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 2px 3px #344b2a05;
}
.panel-head {
  padding: 15px 18px 13px;
  border-bottom: 1px solid #d9ddd1;
}
.panel-head h2,
.modal-head h2 {
  font: 700 23px/1.05 var(--serif);
  letter-spacing: -0.7px;
}
.number-pill {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  color: #657962;
  background: #eaf0e3;
  border: 1px solid #d1dccb;
  padding: 2px 7px;
  border-radius: 4px;
}
.player-row {
  position: relative;
  background: none;
  display: flex;
  width: 100%;
  border: 0;
  text-align: left;
  align-items: center;
  gap: 11px;
  padding: 11px 19px;
  border-bottom: 1px solid #d9ddcf;
}
.player-row:last-child {
  border-bottom: 0;
}
.player-row.active {
  background: #eaf0df;
}
.player-row.active:before {
  content: "";
  position: absolute;
  width: 3px;
  background: #66865d;
  inset: 0 auto 0 0;
}
.player-row:hover {
  background: #edf0e5;
}
.token {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: var(--pc);
  background: color-mix(in srgb, var(--pc) 15%, #fbf5e8);
  border: 1px solid color-mix(in srgb, var(--pc) 28%, #eae8d8);
  --shine: #fbf6dc;
}
.player-name {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.player-name strong {
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.player-name small {
  font-size: 11px;
  color: #687567;
}
.player-name em {
  font: 500 10px var(--sans);
  color: #6b7a6a;
}
.balance {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}
.balance small {
  font: 600 13px var(--sans);
  color: #63765f;
}
.turn-dot {
  width: 6px;
  height: 6px;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}
.out {
  opacity: 0.54;
}
.feed-head {
  justify-content: flex-start;
  gap: 20px;
  border-bottom: 1px solid #d5dacd;
  padding: 0 17px;
}
.tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 14px 0 12px;
  font-weight: 600;
  color: #7c8779;
  font-size: 14px;
}
.tab.selected {
  color: var(--green);
}
.tab.selected:after {
  content: "";
  position: absolute;
  height: 2px;
  background: #42634b;
  left: 0;
  right: 0;
  bottom: -1px;
}
.tab small {
  font-size: 10px;
  background: #e0e7da;
  border-radius: 4px;
  padding: 2px 4px;
}
.log-list {
  padding: 5px 17px;
  max-height: 230px;
  overflow: auto;
}
.log-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 0;
  border-bottom: 1px dashed #d7dace;
}
.log-row:last-child {
  border: 0;
}
.log-row > span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #e8eddf;
  flex-shrink: 0;
  color: #637d60;
}
.log-row p {
  line-height: 1.4;
  font-size: 12px;
  margin-top: 2px;
  color: #4a594c;
}
.log-row time {
  margin: 4px 0 0 auto;
  color: #8a9285;
  font-size: 10px;
}
.more {
  width: 100%;
  padding: 8px;
  color: var(--green);
  border-top: 1px solid #e2e4d8;
  font-size: 12px;
}
.chat-list {
  max-height: 200px;
  overflow: auto;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.chat-list > div + div {
  margin-top: 6px;
}
.empty {
  font-size: 13px;
  color: var(--muted);
}
#chatForm {
  display: flex;
  border-top: 1px solid #d5d9cd;
}
#chatForm input {
  border: 0;
  min-width: 0;
  background: none;
  font-size: 13px;
  padding: 10px 13px;
  flex: 1;
}
#chatForm button {
  display: grid;
  place-items: center;
  background: none;
  border: none;
  padding: 0 14px;
  color: var(--green);
}
dialog {
  width: min(443px, calc(100% - 30px));
  max-height: min(85dvh, 700px);
  overflow: auto;
  border: 1px solid #b6c1b0;
  border-top: 5px solid #295a42;
  border-radius: 14px;
  background: #fbfaf2;
  color: var(--ink);
  padding: 23px;
  box-shadow: 0 24px 80px #102c2945;
}
dialog::backdrop {
  background: #132d24a9;
  backdrop-filter: blur(3px);
}
dialog[open] {
  animation: pop 0.16s ease-out;
}
dialog p,
dialog li {
  font-size: 15px;
  line-height: 1.55;
  color: #516454;
}
dialog p {
  margin: 13px 0 19px;
}
dialog label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 17px 0 6px;
}
.modal-head {
  gap: 15px;
  margin-bottom: 15px;
}
.modal-head h2 {
  font-size: 28px;
}
.modal-head .round-btn {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
dialog input {
  display: block;
  background: #fffef8;
  border: 1px solid #bfcab8;
  border-radius: 7px;
  padding: 11px;
  width: 100%;
  min-width: 0;
  color: var(--ink);
}
.modal-primary,
.modal-secondary {
  width: 100%;
  padding: 11px;
  border-radius: 7px;
  margin-top: 11px;
  font-weight: 650;
  font-size: 14px;
}
.modal-primary {
  background: var(--green);
  border: 1px solid var(--green);
  color: #fcf8e8;
}
.modal-secondary {
  background: none;
  border: 1px solid #c5cdbc;
}
.modal-primary:disabled {
  opacity: 0.55;
}
.copy-field {
  display: flex;
  gap: 6px;
}
.icon-copy {
  display: grid;
  place-items: center;
  min-width: 42px;
  border-radius: 7px;
  border: 1px solid #bfcab8;
  background: #ecf0e2;
}
.facts {
  margin: 14px 0;
}
.facts > div,
.lobby-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #daddd0;
  font-size: 14px;
}
.facts span,
.lobby-meta span {
  color: var(--muted);
}
.lobby-meta b {
  margin-left: auto;
}
.deed-plate {
  background: #e9eddd;
  border: 1px solid #becbb5;
  border-top: 12px solid var(--stripe);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.rules h3 {
  font: 700 19px var(--serif);
  margin-top: 18px;
}
.rules p,
.rules ol {
  margin: 7px 0 13px;
}
.rules ol {
  padding-left: 22px;
}
.rules li {
  padding-left: 3px;
  margin: 6px 0;
}
.profile-card {
  display: flex;
  align-items: center;
  gap: 12px;
}
.property-list button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  border: none;
  border-bottom: 1px solid #d8ddcd;
  padding: 12px 0;
  background: none;
  text-align: left;
  font-size: 14px;
}
.property-list i {
  width: 9px;
  height: 17px;
  border-radius: 2px;
}
.property-list b {
  margin-left: auto;
}
.zoomed {
  overflow: hidden;
}
.zoomed .board-area {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #e9eddf;
  z-index: 15;
  padding: 10px;
}
.zoomed .frame {
  width: min(94vw, calc(100dvh - 70px));
}
.zoomed .board-footer {
  width: min(94vw, calc(100dvh - 70px));
  margin: 14px 0 0;
}
#toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 8px);
  opacity: 0;
  pointer-events: none;
  transition: 0.18s;
  background: #203e32;
  color: white;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  text-align: center;
  max-width: 90vw;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.rolling .dice-art {
  animation: shake 0.55s ease-in-out;
}
@keyframes shake {
  20%,
  65% {
    transform: translateY(-7px) rotate(-12deg);
  }
  45%,
  85% {
    transform: translateY(1px) rotate(9deg);
  }
}
@keyframes pop {
  from {
    transform: translateY(5px);
    opacity: 0.5;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@media (min-width: 1500px) {
  .header-inner,
  main {
    width: min(1210px, calc(100% - 100px));
  }
  .layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
  }
  .table-heading {
    margin: 32px 0 25px;
  }
}
@media (min-width: 1050px) and (max-height: 820px) {
  .header-inner,
  main {
    width: min(1060px, calc(100% - 80px));
  }
  .layout {
    grid-template-columns: minmax(0, 1fr) 327px;
    gap: 23px;
  }
  header {
    height: 61px;
  }
  .table-heading {
    margin: 17px 0 16px;
  }
  .turn-content {
    min-height: 76px;
  }
  .player-row {
    padding-block: 9px;
  }
  .panel-head {
    padding-block: 12px;
  }
}
@media (max-width: 1000px) {
  .header-inner,
  main {
    width: calc(100% - 38px);
  }
  .layout {
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 16px;
  }
  .player-row {
    padding: 9px 17px;
  }
  .turn-card {
    padding: 14px 15px;
  }
  .turn-content {
    padding-right: 61px;
  }
  .dice-art {
    width: 76px;
    right: -7px;
  }
  .turn-content p {
    font-size: 12px;
  }
  .table-heading {
    margin: 20px 0 17px;
  }
  .frame {
    padding: 8px;
  }
  .board-footer {
    font-size: 11px;
  }
  .text-btn {
    font-size: 11px;
  }
  .header-right {
    gap: 13px;
  }
}
@media (max-width: 760px) {
  header {
    height: 57px;
  }
  .header-inner,
  main {
    width: min(620px, calc(100% - 24px));
  }
  .brand {
    font-size: 25px;
    gap: 7px;
  }
  .brandmark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  .brandmark svg {
    width: 27px;
  }
  .header-inner {
    gap: 10px;
  }
  .header-right {
    gap: 9px;
  }
  .avatar,
  .round-btn {
    width: 31px;
    height: 31px;
  }
  .quiet {
    font-size: 13px;
  }
  .layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .board-area,
  aside {
    width: 100%;
  }
  .table-heading {
    margin: 16px 0 14px;
    align-items: center;
  }
  .edition-label {
    font-size: 8px;
    letter-spacing: 1.6px;
    margin-bottom: 4px;
  }
  .edition-label > span {
    width: 14px;
  }
  h1 {
    font-size: 31px;
    letter-spacing: -1.3px;
  }
  .room-tools {
    gap: 7px;
    align-items: flex-end;
    flex-direction: column-reverse;
  }
  .room-tag {
    font-size: 10px;
  }
  .room-tag i {
    width: 5px;
    height: 5px;
  }
  .invite {
    font-size: 12px;
    padding: 7px 10px;
    border-radius: 6px;
    gap: 6px;
  }
  .invite svg {
    width: 14px;
    height: 14px;
  }
  .frame {
    padding: 6px;
    border-radius: 8px;
  }
  .screw {
    width: 2px;
    height: 2px;
  }
  .s1,
  .s2 {
    top: 2px;
  }
  .s3,
  .s4 {
    bottom: 2px;
  }
  .s1,
  .s3 {
    left: 2px;
  }
  .s2,
  .s4 {
    right: 2px;
  }
  .board {
    gap: 0.7px;
  }
  .board-footer {
    margin: 10px 1px 14px;
  }
  .board-footer > span {
    gap: 4px;
  }
  .board-footer > span span {
    font-size: 10px;
  }
  .board-footer svg {
    width: 13px;
    height: 13px;
  }
  aside {
    gap: 11px;
    padding-bottom: 20px;
  }
  .turn-card {
    padding: 13px 16px 15px;
  }
  .turn-content {
    min-height: 69px;
    padding: 11px 70px 9px 0;
  }
  .turn-content h2 {
    font-size: 28px;
  }
  .turn-content p {
    max-width: none;
  }
  .dice-art {
    top: 0;
    right: 2px;
    width: 94px;
  }
  .panel-head h2 {
    font-size: 22px;
  }
  .player-row {
    padding: 8px 18px;
  }
  .turn-actions .cta {
    min-height: 39px;
  }
  .tile b {
    font-size: 1.15cqw;
  }
  .deck {
    border-radius: 2px;
  }
  .screw {
    z-index: 1;
  }
  .panel,
  .turn-card {
    border-radius: 9px;
  }
}
@media (max-width: 400px) {
  .rules-button {
    font-size: 0;
    gap: 0;
  }
  .divider {
    display: none;
  }
  .board-footer > span span {
    max-width: 176px;
  }
  .online-mark {
    font-size: 8px;
    padding: 3px 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}

@media (min-width: 1050px) {
  .header-inner,
  main {
    width: min(1180px, calc(100% - 80px), calc(100svh + 158px));
  }
}
@media (min-width: 490px) and (max-width: 760px) {
  .header-inner,
  main {
    width: min(620px, calc(100% - 30px), calc(100svh - 285px));
  }
}
