/* Real party rooms. All gameplay stays on a quiet, warm canvas. */
.mp-shell {
  --mp-ink: #46392f;
  --mp-muted: #927f71;
  --mp-line: #e9dfd2;
  --mp-purple: #74508f;
  --mp-cream: #fffaf0;
  width: min(100%, 520px);
  margin: 0 auto;
  padding: 18px 20px 36px;
  color: var(--mp-ink);
  font-family: inherit;
  box-sizing: border-box;
}
.mp-shell * {
  box-sizing: border-box;
}
.mp-shell button,
.mp-help-dialog button {
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.mp-shell button:focus-visible,
.mp-help-dialog button:focus-visible {
  outline: 3px solid #9b77bd;
  outline-offset: 4px;
}
.mp-shell button:disabled {
  cursor: default;
  opacity: 0.48;
  transform: none !important;
}
.mp-header {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.mp-header h1 {
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.7px;
  margin: 3px 0;
  font-weight: 900;
}
.mp-eyebrow {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.7px;
  color: var(--mp-muted);
}
.mp-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--mp-line);
  background: #fffaf1;
  color: var(--mp-ink);
  font-size: 24px;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 0 #e5d8c6;
}
.mp-icon svg {
  width: 21px;
  height: 21px;
}
.mp-primary,
.mp-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  width: 100%;
  border-radius: 18px;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 900 !important;
  line-height: 1.2;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  border: 1px solid transparent;
}
.mp-primary {
  background: #f7c969;
  color: #513b27;
  border-color: #ffe5a1;
  box-shadow:
    0 4px 0 #cb9d48,
    inset 0 2px 0 #fff1c8;
}
.mp-secondary {
  background: #fffaf1;
  color: #6b4e7f;
  border-color: #e8dacc;
  box-shadow: 0 3px 0 #e3d4c2;
}
.mp-primary:active,
.mp-secondary:active,
.mp-icon:active {
  transform: translateY(3px);
  box-shadow: none;
}
.mp-primary svg,
.mp-secondary svg {
  width: 20px;
  height: 20px;
}
.mp-footnote {
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: var(--mp-muted);
  margin: 17px 12px 0;
}
.mp-party-art {
  height: 172px;
  position: relative;
  width: 220px;
  margin: 0 auto 5px;
}
.mp-party-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 7px #a07d5430);
  animation: mp-float 4s ease-in-out infinite;
}
.mp-orbit {
  position: absolute;
  color: #dfad60;
  font-size: 28px;
}
.mp-orbit-one {
  left: 8px;
  top: 25px;
  transform: rotate(-10deg);
}
.mp-orbit-two {
  right: 2px;
  bottom: 30px;
  color: #a386b4;
  transform: rotate(15deg);
}
.mp-intro {
  text-align: center;
}
.mp-intro h2,
.mp-lobby-top h2,
.mp-result-intro h2 {
  font-size: 31px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -1px;
  margin: 10px 0;
}
.mp-intro p,
.mp-challenge-card p {
  color: var(--mp-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 12px 0 22px;
}
.mp-game-picker {
  margin: 24px 0;
}
.mp-game-picker > span {
  font-size: 10px;
  letter-spacing: 1.6px;
  font-weight: 900;
  color: var(--mp-muted);
  display: block;
  margin: 0 0 11px 3px;
}
.mp-game-picker > button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 80px;
  background: #fffaf1;
  border: 1.5px solid var(--mp-line);
  border-radius: 20px;
  padding: 12px 16px;
  margin-bottom: 10px;
  text-align: left;
  color: var(--mp-ink);
  box-shadow: 0 3px 0 #e8dfd4;
}
.mp-game-picker > button.selected {
  border-color: #ac87bc;
  background: #f5edf7;
  box-shadow: 0 3px 0 #c6add4;
}
.mp-game-picker b {
  flex: 1;
  font-size: 17px;
}
.mp-game-picker b small {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--mp-muted);
  margin-top: 4px;
}
.mp-game-picker svg {
  width: 18px;
  height: 18px;
  color: #9b8777;
}
.mp-four-mini,
.mp-word-mini {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  font-style: normal;
  font-weight: 900;
  flex-shrink: 0;
}
.mp-four-mini {
  background: #e4b550;
  color: #fff7ce;
  font-size: 20px;
  line-height: 15px;
  letter-spacing: 4px;
  padding: 7px 2px 7px 6px;
  box-shadow:
    0 3px 0 #b88d37,
    inset 0 2px 0 #ffe7a6;
}
.mp-word-mini {
  background: #b9d0b3;
  color: #3e6144;
  font-size: 25px;
  box-shadow:
    0 3px 0 #8ba483,
    inset 0 2px 0 #dfeadb;
}
.mp-challenge-selection {
  padding: 16px 18px;
  border: 1.5px solid #ac87bc;
  border-radius: 18px;
  background: #f5edf7;
}
.mp-challenge-selection span {
  display: block;
  font-size: 12px;
  color: var(--mp-muted);
  margin-top: 4px;
}
.mp-error {
  background: #fbe7df;
  color: #9b503b;
  border: 1px solid #eec6b7;
  padding: 13px 15px;
  border-radius: 15px;
  font-size: 13px;
  line-height: 1.5;
  margin-top: 18px;
}
.mp-error button {
  display: block;
  background: transparent;
  border: 0;
  text-decoration: underline;
  color: inherit;
  font-weight: 800;
  padding: 10px 0 0;
  min-height: 44px;
}
.mp-loading,
.mp-empty {
  text-align: center;
  padding: 50px 6px;
}
.mp-loading img {
  height: 150px;
  width: 180px;
  object-fit: contain;
  animation: mp-float 2s ease-in-out infinite;
}
.mp-loading h2,
.mp-empty h2 {
  font-size: 26px;
  line-height: 1.2;
}
.mp-empty p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--mp-muted);
  margin: 18px 0 25px;
}
.mp-empty button + button {
  margin-top: 16px;
}
.mp-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border-radius: 9px;
  font-size: 9px;
  letter-spacing: 1.1px;
  font-weight: 900;
  background: #eee6f0;
  color: #755683;
}
.mp-lobby-top,
.mp-result-intro {
  text-align: center;
  padding: 15px 0 10px;
}
.mp-seats {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 22px 0 30px;
}
.mp-seat {
  width: 135px;
  min-height: 160px;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.mp-portrait {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #eadcf0;
  border: 2px solid #fff9ee;
  border-radius: 50%;
  box-shadow: 0 3px 0 #d4c4db;
  width: 76px;
  height: 76px;
  flex-shrink: 0;
}
.mp-portrait img {
  width: 110%;
  height: 110%;
  object-fit: contain;
  transform: translateY(4px);
}
.mp-avatar-1 {
  background: #e1e9d6;
  box-shadow: 0 3px 0 #c7d0bc;
}
.mp-avatar-2 {
  background: #f6e0b8;
  box-shadow: 0 3px 0 #ddc492;
}
.mp-avatar-3 {
  background: #f2d4ca;
  box-shadow: 0 3px 0 #d8b5a7;
}
.mp-seat > b {
  font-size: 16px;
  margin-top: 13px;
  max-width: 135px;
  overflow-wrap: anywhere;
}
.mp-seat b small {
  font-weight: 600;
  color: var(--mp-muted);
  font-size: 10px;
  margin-left: 5px;
}
.mp-seat > span:not(.mp-portrait) {
  font-size: 11px;
  color: var(--mp-muted);
  margin-top: 6px;
}
.mp-seat > span.mp-ready {
  color: #55814f;
  font-weight: 800;
}
.mp-empty-seat {
  background: transparent;
  border: 0;
  color: var(--mp-muted);
  padding: 0;
}
.mp-empty-seat > span {
  display: grid;
  place-items: center;
  font-size: 34px !important;
  width: 76px;
  height: 76px;
  border: 2px dashed #d8cbbb;
  border-radius: 50%;
  margin: 0 !important;
  color: #af9a84 !important;
}
.mp-empty-seat small {
  font-size: 11px;
  margin-top: 5px;
}
.mp-lobby-actions {
  display: grid;
  gap: 13px;
}
.mp-link-line {
  display: flex;
  border: 1px solid var(--mp-line);
  border-radius: 13px;
  background: #fffaf1;
  overflow: hidden;
  align-items: center;
  margin: 3px 0 7px;
}
.mp-link-line input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--mp-muted);
  font: inherit;
  font-size: 11px;
  padding: 12px;
}
.mp-link-line button {
  min-height: 44px;
  border: 0;
  border-left: 1px solid var(--mp-line);
  background: #eee5d8;
  padding: 0 15px;
  color: #715d4e;
  font-size: 12px;
  font-weight: 800;
}
.mp-start {
  background: #b8cfab;
  border-color: #dcebd1;
  box-shadow:
    0 4px 0 #8da879,
    inset 0 2px 0 #e6f0dc;
  color: #355431;
}
.mp-connection {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 22px 0 0;
  font-size: 10px;
  color: #8d9a82;
  min-height: 24px;
}
.mp-connection i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8fac79;
}
.mp-connection-warning {
  color: #ab8655;
}
.mp-connection-warning i {
  background: #d7a664;
  animation: mp-pulse 1s ease-in-out infinite;
}
.mp-connection button {
  background: transparent;
  border: 0;
  text-decoration: underline;
  color: inherit;
  font-size: 11px;
  min-height: 44px;
  padding: 0 8px;
}
.mp-scoreboard {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0 15px;
}
.mp-score-player {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  flex: 1;
}
.mp-score-player + .mp-score-player {
  justify-content: flex-end;
}
.mp-score-player .mp-portrait {
  width: 40px;
  height: 40px;
  border-width: 1px;
  box-shadow: 0 2px 0 #d6c6dc;
}
.mp-score-player > span {
  min-width: 0;
}
.mp-score-player b {
  display: block;
  max-width: 92px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
}
.mp-score-player small {
  display: block;
  color: var(--mp-muted);
  font-size: 10px;
  margin-top: 2px;
}
.mp-score-player strong {
  font-size: 24px;
  letter-spacing: -1px;
  margin-left: 2px;
}
.mp-score-player.is-you strong {
  color: #77558b;
}
.mp-game-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 8px 0 18px;
}
.mp-game-meta > strong {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  font-size: 18px;
}
.mp-rules-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--mp-line);
  color: #978374;
  font-size: 16px;
  font-weight: 800;
}
.mp-live-status {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  color: #8c7461;
  line-height: 1.4;
  margin: 14px 0 0;
}
.mp-four-actions {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  padding: 0 10px;
  margin-bottom: 8px;
}
.mp-four-actions button {
  min-width: 0;
  height: 44px;
  border: 0;
  border-radius: 12px;
  color: #aa8655;
  background: #f5e6c8;
  font-size: 23px;
  font-weight: 800;
}
.mp-four-board {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  padding: 16px 12px 19px;
  background: #a788ba;
  border: 2px solid #ccb5d7;
  border-radius: 24px;
  box-shadow:
    0 7px 0 #765b8d,
    inset 0 2px 0 #e6d6ee;
  position: relative;
}
.mp-four-board button {
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f5ede2;
  box-shadow: inset 0 3px 5px #59436445;
  color: transparent;
  position: relative;
  opacity: 1 !important;
}
.mp-four-board button[data-piece="1"] {
  background: #f2c75d;
  box-shadow:
    inset 0 3px 0 #ffe699,
    inset 0 -3px 0 #c89439,
    0 2px 4px #63476d60;
}
.mp-four-board button[data-piece="2"] {
  background: #e89580;
  box-shadow:
    inset 0 3px 0 #ffc1a7,
    inset 0 -3px 0 #bc6d58,
    0 2px 4px #63476d60;
}
.mp-four-board button[data-piece="1"]:after,
.mp-four-board button[data-piece="2"]:after {
  content: "";
  position: absolute;
  inset: 21%;
  border: 2px solid #ffffff37;
  border-radius: 50%;
}
.mp-four-board .mp-drop {
  animation: mp-drop 0.35s cubic-bezier(0.3, 0.9, 0.5, 1.25);
}
.mp-four-board .mp-winning {
  outline: 3px solid #fff5c9;
  outline-offset: -5px;
}
.mp-word-board {
  display: grid;
  grid-template-columns: repeat(var(--mp-size, 4), minmax(0, 1fr));
  gap: 10px;
  padding: 14px 14px 20px;
  background: #d7bc96;
  border: 2px solid #ecd7b5;
  border-radius: 26px;
  box-shadow:
    0 6px 0 #b49a76,
    inset 0 2px 0 #fff1d6;
  position: relative;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.mp-word-board > button {
  aspect-ratio: 1;
  border-radius: 15px;
  border: 1px solid #f9e9c8;
  background: #fff4d7;
  box-shadow:
    0 4px 0 #bca27b,
    inset 0 2px 0 #fffef2;
  font-size: clamp(24px, 7vw, 35px);
  font-weight: 900;
  color: #5c4633;
  line-height: 1;
  padding: 0;
  position: relative;
  z-index: 1;
  opacity: 1 !important;
}
.mp-word-board > button:disabled {
  color: #9e8c73;
}
.mp-word-board > button.selected {
  background: #c8d5b4;
  border-color: #eaf1da;
  box-shadow:
    0 2px 0 #829a6b,
    inset 0 2px 0 #eef4e0;
  transform: translateY(2px);
  color: #355536;
}
.mp-word-trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 2;
}
.mp-word-trail polyline {
  fill: none;
  stroke: #426e3b44;
  stroke-width: 10;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.mp-word-current {
  display: block;
  min-height: 49px;
  margin: 15px auto 6px;
  text-align: center;
  letter-spacing: 2px;
  font-size: 23px;
  font-weight: 900;
  background: transparent;
  border: 0;
  color: #6c8257;
}
.mp-word-actions {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 12px;
}
.mp-word-actions button {
  min-height: 46px;
  font-size: 14px;
  border-radius: 15px;
}
.mp-accepted-words {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 116px;
  overflow-y: auto;
  margin-top: 22px;
  padding: 3px 0;
}
.mp-accepted-words span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #748762;
  background: #e9efdf;
  padding: 5px 8px;
  border-radius: 7px;
}
.mp-accepted-words .mp-word-hint {
  color: var(--mp-muted);
  font-weight: 500;
  letter-spacing: 0;
  background: transparent;
  font-size: 11px;
}
.mp-word-pop {
  animation: mp-score-pop 0.45s cubic-bezier(0.2, 0.7, 0.2, 1.5);
}
.mp-challenge-card {
  text-align: center;
  padding: 30px 12px 24px;
  border-top: 1px solid var(--mp-line);
}
.mp-challenge-card h2 {
  font-size: 27px;
  line-height: 1.12;
  letter-spacing: -0.8px;
  margin: 16px 0;
}
.mp-challenge-players {
  margin-bottom: 25px;
}
.mp-challenge-players > div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--mp-line);
}
.mp-challenge-players .mp-portrait {
  width: 38px;
  height: 38px;
}
.mp-challenge-players b {
  font-size: 13px;
  flex: 1;
}
.mp-challenge-players > div > span:last-child {
  color: var(--mp-muted);
  font-size: 12px;
}
.mp-result-intro {
  margin-bottom: 15px;
}
.mp-result-intro h2 {
  font-size: 30px;
}
.mp-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 22px;
  padding: 30px 10px 22px;
  overflow-x: auto;
}
.mp-place {
  display: flex;
  align-items: center;
  flex-direction: column;
  min-width: 105px;
  position: relative;
  animation: mp-rise 0.7s cubic-bezier(0.2, 0.8, 0.25, 1.15) both;
}
.mp-place .mp-portrait {
  width: 83px;
  height: 83px;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  z-index: 1;
  filter: drop-shadow(0 5px 4px #83613e20);
}
.mp-place .mp-portrait img {
  width: 125%;
  height: 125%;
  transform: translateY(10px);
}
.mp-plinth {
  height: 60px;
  width: 105px;
  position: relative;
  background: #c9b8cf;
  border-radius: 50% / 15px;
  box-shadow:
    inset -13px 0 16px #89729428,
    inset 13px 0 14px #ffffff36;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 15px;
}
.mp-plinth:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 30px;
  border-radius: 50%;
  background: #e6d9ec;
  box-shadow: inset 0 2px 0 #ffffff70;
}
.mp-plinth > span {
  position: relative;
  font-size: 23px;
}
.mp-place-1 .mp-plinth {
  height: 95px;
  background: #e7bb65;
}
.mp-place-1 .mp-plinth:before {
  background: #f9d78d;
}
.mp-place-3 .mp-plinth {
  height: 42px;
  background: #cfa78c;
}
.mp-place-3 .mp-plinth:before {
  background: #edc9ad;
}
.mp-place > b {
  font-size: 13px;
  margin: 15px 0 4px;
  max-width: 120px;
  text-align: center;
  overflow-wrap: anywhere;
}
.mp-place > small {
  font-size: 11px;
  color: var(--mp-muted);
}
.mp-rating-result {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 20px 0 28px;
  font-size: 12px;
  color: var(--mp-muted);
}
.mp-rating-result strong {
  font-size: 25px;
  color: var(--mp-ink);
  letter-spacing: -1px;
}
.mp-rating-result > b {
  background: #e4eddb;
  color: #5e7d46;
  border-radius: 8px;
  font-size: 13px;
  padding: 5px 7px;
}
.mp-result-intro ~ .mp-secondary {
  margin-top: 15px;
}
.mp-help-dialog {
  color: #46392f;
  background: #fffaf0;
  border: 1px solid #ebddc9;
  border-radius: 27px;
  box-shadow: 0 18px 80px #38273c35;
  padding: 25px;
  width: min(390px, calc(100% - 38px));
  font-family: inherit;
}
.mp-help-dialog::backdrop {
  background: #34253a60;
  backdrop-filter: blur(4px);
}
.mp-help-dialog h2 {
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.7px;
  margin: 10px 0;
}
.mp-help-dialog p {
  font-size: 15px;
  color: #8c7865;
  line-height: 1.65;
  margin: 15px 0 26px;
}
.mp-help-dialog > button[aria-label] {
  float: right;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  font-size: 28px;
  color: #927c69;
}
.mp-help-dialog .mp-primary + .mp-secondary {
  margin-top: 15px;
}
@keyframes mp-float {
  50% {
    transform: translateY(-5px) rotate(-1deg);
  }
}
@keyframes mp-pulse {
  50% {
    opacity: 0.3;
  }
}
@keyframes mp-drop {
  from {
    transform: translateY(-35px) scale(0.9);
    opacity: 0.2;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
@keyframes mp-score-pop {
  50% {
    transform: scale(1.16);
  }
}
@keyframes mp-rise {
  from {
    transform: translateY(25px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@media (max-width: 370px) {
  .mp-shell {
    padding: 14px 14px 30px;
  }
  .mp-header {
    gap: 9px;
  }
  .mp-header h1 {
    font-size: 21px;
  }
  .mp-word-board {
    gap: 8px;
    padding: 11px 11px 16px;
  }
  .mp-word-board > button {
    border-radius: 12px;
  }
  .mp-four-board {
    gap: 6px;
    padding: 13px 10px 16px;
  }
  .mp-score-player b {
    max-width: 63px;
  }
  .mp-score-player strong {
    font-size: 21px;
  }
  .mp-score-player .mp-portrait {
    width: 34px;
    height: 34px;
  }
  .mp-seats {
    gap: 12px;
  }
  .mp-podium {
    gap: 14px;
  }
}
@media (min-width: 700px) {
  .mp-shell {
    padding-top: 28px;
  }
  .mp-header {
    margin-bottom: 28px;
  }
  .mp-party-art {
    height: 190px;
  }
  .mp-four-board {
    gap: 10px;
    padding: 18px 16px 22px;
  }
  .mp-word-board {
    gap: 12px;
    padding: 18px 18px 24px;
  }
  .mp-word-board > button {
    font-size: 37px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mp-shell *,
  .mp-help-dialog * {
    animation: none !important;
    transition: none !important;
  }
}
.mp-more-games {
  display: block;
  margin-top: 17px;
}
.mp-more-games > span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--mp-muted);
  margin: 0 3px 7px;
}
.mp-more-games select {
  appearance: auto;
  width: 100%;
  height: 48px;
  border-radius: 13px;
  border: 1px solid var(--mp-line);
  padding: 0 12px;
  background: #fffaf1;
  color: #756153;
  font: inherit;
  font-size: 14px;
  outline-offset: 3px;
}
.mp-result-rest {
  margin: 0 0 25px;
}
.mp-result-rest > div {
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--mp-line);
  padding: 14px 7px;
  font-size: 13px;
}
.mp-result-rest b {
  flex: 1;
}
.mp-result-rest span,
.mp-result-rest small {
  color: var(--mp-muted);
}
@media (max-width: 370px) {
  .mp-podium {
    gap: 7px;
    padding-left: 0;
    padding-right: 0;
  }
  .mp-place {
    min-width: 85px;
  }
  .mp-plinth {
    width: 85px;
  }
  .mp-place .mp-portrait {
    width: 72px;
    height: 72px;
  }
  .mp-place > b {
    max-width: 90px;
  }
}
.mp-player-counter {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #efc35c;
  box-shadow:
    inset 0 2px 0 #ffe6a0,
    inset 0 -2px 0 #c99b40;
}
.mp-player-counter[data-piece="2"] {
  background: #e59682;
  box-shadow:
    inset 0 2px 0 #ffc2ac,
    inset 0 -2px 0 #ba6c58;
}
.mp-level-picker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 2px 0;
  color: var(--mp-muted);
  font-size: 12px;
  font-weight: 700;
}
.mp-level-picker select {
  font: inherit;
  font-size: 13px;
  color: #755e80;
  height: 44px;
  min-width: 125px;
  padding: 0 12px;
  background: #f5edf6;
  border: 1px solid #dfcde6;
  border-radius: 12px;
}
.mp-level-fixed {
  text-align: center;
  color: var(--mp-muted);
  font-size: 12px;
  margin: 14px 0;
}
