.playing-host {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  font-weight: 650;
  cursor: pointer;
}
.playing-host input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin: 0;
  accent-color: var(--pine);
}
.seating-plan {
  container-type: inline-size;
  align-self: start;
  min-width: 0;
  padding: clamp(12px, 2vw, 28px);
  border: 1px solid #b681573f;
  border-radius: 14px;
  background: linear-gradient(150deg, #fff8eb, #f2e5d5);
  box-shadow: 0 8px 24px #5220390d;
  color: var(--pine);
}
.seating-plan figcaption {
  margin-bottom: clamp(14px, 2.3vw, 30px);
  font: 800 clamp(1.1rem, 2vw, 1.55rem)/1.2 var(--display);
}
.seating-layout {
  display: grid;
  width: 100%;
  margin-inline: auto;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  grid-template-areas:
    "top top top"
    "host table tv"
    "bottom bottom bottom";
  gap: clamp(6px, 1vw, 14px) clamp(5px, 0.85vw, 12px);
  align-items: center;
  font-size: clamp(0.7rem, 1.4vw, 0.95rem);
  font-weight: 650;
}
.seating-side {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: clamp(3px, 0.75vw, 10px);
}
.seating-side-top {
  grid-area: top;
  align-items: end;
}
.seating-side-bottom {
  grid-area: bottom;
}
.seating-side-bottom .seating-people {
  order: -1;
}
.seating-team,
.seating-host {
  display: grid;
  justify-items: center;
  gap: 4px;
  white-space: nowrap;
}
.seating-host {
  grid-area: host;
  --seat-trim: #c48e46;
  --seat-sweater: #ba812e;
  --seat-hair: #66534d;
}
.seating-team-name {
  display: grid;
  min-block-size: 2.4em;
  text-align: center;
  white-space: normal;
  line-height: 1.2;
}
.seating-side-top .seating-team-name {
  align-content: end;
}
.seating-table {
  grid-area: table;
  display: grid;
  place-items: center;
  block-size: clamp(69px, 6.2vw, 90px);
  border: 1px solid #986144;
  border-radius: clamp(12px, 1.7vw, 22px);
  background:
    repeating-linear-gradient(0deg, transparent 0 calc(33.33% - 1px), #87533830 calc(33.33% - 1px) 33.33%),
    linear-gradient(115deg, #ddab79, #c58a60);
  box-shadow: inset 0 0 0 2px #ffdfab73, 0 4px 0 #986144, 0 7px 11px #633b2224;
  color: #3c251c;
  text-align: center;
  font-weight: 700;
}
.seating-tv {
  grid-area: tv;
  display: grid;
  place-items: center;
  position: relative;
  width: clamp(46px, 5.25vw, 74px);
  aspect-ratio: 16 / 11;
  border: 3px solid var(--deep);
  border-radius: 5px;
  background: linear-gradient(155deg, var(--felt), var(--deep));
  box-shadow: inset 0 0 0 1px #fff3e74d;
  color: #fff3e7;
  font-size: clamp(0.72rem, 1.15vw, 1rem);
  line-height: 1;
}
.seating-tv::after {
  content: "";
  position: absolute;
  top: 100%;
  inset-inline: 25%;
  height: 6px;
  border-radius: 0 0 2px 2px;
  background: var(--deep);
}
.seating-people {
  display: flex;
  gap: clamp(2px, 0.22vw, 3px);
}
.seating-person {
  display: block;
  position: relative;
  overflow: hidden;
  width: clamp(14px, 6cqi, 39px);
  aspect-ratio: 1;
  border: 1px solid var(--seat-trim, #7c9a80);
  border-radius: 50%;
  background: #fdf4e2;
}
.seating-playing-host {
  outline: 2px solid #9c631c;
  outline-offset: 1px;
}
.seating-you {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  color: #fff;
  background: var(--pine);
  padding: 0 .13em;
  border-radius: .24em;
  font: 700 clamp(9px, 2.6cqi, 13px)/1.05 var(--display);
}
.seating-role {
  color: #774813;
  font-size: .72rem;
  font-weight: 650;
}
.seating-plan .party-summary {
  margin: .9rem 0 0;
  text-align: center;
  font-size: .88rem;
}
.seating-people .seating-person:nth-child(2) {
  --seat-hair: #8c4a2e;
  --seat-complexion: #df9f78;
}
.seating-people .seating-person:nth-child(3) {
  --seat-hair: #372825;
  --seat-complexion: #bb805f;
}
.seating-person::before,
.seating-person::after,
.seating-face::after {
  content: "";
  position: absolute;
}
.seating-person::before {
  inset: 11% 23% 32%;
  border-radius: 48% 52% 39% 35%;
  background: var(--seat-hair, #51352b);
}
.seating-person::after {
  inset: 62% 9% -12%;
  border-radius: 46% 46% 0 0;
  background: var(--seat-sweater, var(--pine));
}
.seating-face {
  position: absolute;
  z-index: 1;
  inset: 25% 30% 34%;
  border-radius: 38% 42% 47% 47%;
  background:
    radial-gradient(circle at 29% 48%, #452d2a 0 6%, transparent 8%),
    radial-gradient(circle at 71% 48%, #452d2a 0 6%, transparent 8%),
    var(--seat-complexion, #f1b995);
}
.seating-face::after {
  inset: 60% 30% 17%;
  border-bottom: 1px solid #91444b;
  border-radius: 50%;
}
.seating-people .seating-person:nth-child(2)::before {
  inset-inline: 20%;
  bottom: 23%;
  border-radius: 42% 50% 24% 24%;
}
.seating-people .seating-person:nth-child(3)::before {
  inset-block: 16% 43%;
  border-radius: 52% 35% 35% 38%;
}
[data-seating-team="2"],
[data-seating-team="5"] {
  --seat-trim: #b07a82;
  --seat-sweater: var(--berry);
}
[data-seating-team="3"],
[data-seating-team="6"] {
  --seat-trim: #be9560;
  --seat-sweater: #aa6b39;
}
[data-seating-team="4"] {
  --seat-trim: #6c9a95;
  --seat-sweater: var(--felt);
}
