/* game/brand.css */
.pq-game-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  margin-inline: auto;
  color: #235db8;
  font-family: system-ui, sans-serif;
}
.pq-game-brand > img {
  display: block;
  width: 39px;
  height: 39px;
  object-fit: contain;
  flex: none;
}
.pq-game-brand .pq-brand-lines {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
}
.pq-game-brand .pq-brand-title {
  display: block;
  white-space: nowrap;
  font-size: 21px;
  line-height: 23px;
  letter-spacing: -.6px;
  font-weight: 900;
}
.pq-game-brand .pq-brand-title > span:first-child {
  color: #c45114;
}
.pq-game-brand .pq-brand-title > span:last-child {
  color: #235db8;
}
.pq-game-brand small {
  display: block;
  font: 650 10px/12px system-ui, sans-serif;
  color: #566781;
  white-space: nowrap;
  letter-spacing: 0;
}
.illustrated-duel .pq-game-brand {
  font-family: Nunito, sans-serif;
}
@media (max-width: 350px) {
  .pq-game-brand .pq-brand-title {
    font-size: 18px;
    line-height: 21px;
  }
  .pq-game-brand > img {
    width: 36px;
    height: 36px;
  }
  .pq-game-brand small {
    font-size: 9px;
  }
}
.pq-game-brand[data-mode-brand] > img {
  transform: scale(1.18);
  transform-origin: center;
  position: relative;
}

/* public/shared/header.css */
#header,
.game-standard-header,
.duel-live .duel-header {
  display: grid;
  grid-template-columns: minmax(44px, 1fr) auto minmax(44px, 1fr);
  align-items: center;
  gap: 6px;
  min-height: 48px;
  position: relative;
}
#header > .brand,
.game-standard-header > .brand,
.duel-live .duel-header > .brand {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 5px;
  font-size: clamp(18px, 4vw, 25px);
  white-space: nowrap;
}
#header > .brand img,
.game-standard-header > .brand img {
  width: 34px;
  height: 38px;
  object-fit: contain;
}
#header > #back,
.game-standard-header > .header-return,
.duel-live .duel-header > .back {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 2px 4px;
  font-size: 14px;
  background: transparent;
  border: 0;
  color: #235db8;
  white-space: nowrap;
}
#header > details,
.game-standard-header > details,
.duel-live .duel-header > details {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}
.app-header-menu > summary,
.game-standard-header summary {
  display: grid;
  place-items: center;
  min-height: 44px;
  min-width: 44px;
  color: #235db8;
  background: white;
  border: 1px solid #cad5e5;
  border-radius: 10px;
  cursor: pointer;
  list-style: none;
  font-size: 26px;
}
.app-header-menu > summary::-webkit-details-marker,
.game-standard-header summary::-webkit-details-marker {
  display: none;
}
.game-standard-header summary {
  list-style: none;
}
.app-menu-panel {
  position: absolute;
  right: 0;
  top: 100%;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 210px;
  padding: 10px;
  background: white;
  border: 1px solid #cad5e5;
  border-radius: 10px;
  box-shadow: 0 5px 16px #172c4820;
  max-height: 70dvh;
  overflow: auto;
}
.app-menu-panel > * {
  min-height: 44px;
  text-align: left;
}
.app-menu-panel a {
  display: flex;
  align-items: center;
  padding: 8px;
}
.favorite-star svg {
  width: 26px;
  height: 30px;
  fill: none;
  stroke: #667388;
  stroke-width: 1.7;
}
.favorite-star[aria-pressed=true] svg,
.favorite-indicator[data-selected=true] svg {
  fill: #c45114;
  stroke: #87370e;
  filter: drop-shadow(0 0 1px #fff) drop-shadow(1px 2px 1px #172c4850);
}
.favorite-star {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: #c45114 !important;
}
.retention-help {
  min-width: 44px;
  min-height: 44px;
}
.retention-dialog {
  max-width: 420px;
  border: 1px solid #cad5e5;
  border-radius: 14px;
  padding: 20px;
  color: #172c48;
}
.retention-dialog::backdrop {
  background: #172c4860;
}
.retention-dialog p {
  line-height: 1.5;
}
.retention-dialog form {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.retention-dialog button {
  min-height: 44px;
  padding: 8px 12px;
}
.launch-teams {
  width: min(520px, calc(100vw - 24px));
  max-height: 90dvh;
  overflow: auto;
  border: 1px solid #cad5e5;
  border-radius: 16px;
  padding: 20px;
}
.launch-teams h2 {
  font-size: 25px;
  margin: 0 0 8px;
}
.launch-teams .team-name-field {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  background: #e5eefc;
  border-radius: 12px;
  padding: 12px;
  margin: 12px 0;
}
.launch-teams .team-name-field:nth-of-type(2) {
  background: #fff1e9;
}
.launch-teams label {
  margin: 0;
  min-width: 0;
}
.launch-teams input {
  width: 100%;
  min-height: 46px;
  font-size: 18px;
}
.launch-teams .team-number {
  font-weight: 800;
  font-size: 24px;
  color: #235db8;
}
.launch-teams .row {
  justify-content: flex-end;
}
.launch-teams button {
  min-height: 44px;
}
@media (max-width: 360px) {
  #header > .brand,
  .game-standard-header > .brand {
    font-size: 18px;
  }
  #header > .brand img,
  .game-standard-header > .brand img {
    width: 27px;
  }
}
.retention-offer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 5px;
  color: #172c48;
  background: #e5eefc;
  border-radius: 8px;
  font-size: 14px;
}
.retention-offer button {
  min-height: 44px;
  color: #235db8;
  background: white;
  border: 1px solid #cad5e5;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.retention-offer svg {
  height: 23px;
  width: 20px;
  fill: #c45114;
  stroke: #87370e;
}
.cps-v2 [data-pq=notifications]:has(.retention-offer) {
  max-height: 120px;
}
.card > .favorite-star,
.detail-cover > .favorite-star,
.party-top > .favorite-star {
  top: 0;
  right: 10px;
  padding: 0 7px;
  height: 44px;
  min-height: 44px;
  align-content: start;
}
.card > .favorite-star svg,
.detail-cover > .favorite-star svg,
.party-top > .favorite-star svg {
  height: 32px;
  width: 32px;
  align-self: start;
  transform: translateY(-4px);
}
.collection-bookmark {
  position: relative;
}
.favorite-star .bookmark-link {
  position: absolute;
  right: 0;
  top: 18px;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: #87370e;
  font: 800 12px system-ui;
  box-shadow: 0 1px 2px #172c4830;
  pointer-events: none;
}
.party-photo-count {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  background: #172c48e8;
  color: white;
  padding: 4px 8px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.card:has(.party-photo-count) .cover-name {
  bottom: 40px;
}
#unfinished-parties > h2,
#retained-parties > h2 {
  font-size: 21px;
  margin: 18px 0 10px;
}
.collection-retention-dialog {
  max-width: 460px;
  border: 1px solid #cad5e5;
  border-radius: 14px;
  padding: 20px;
}
.collection-retention-dialog h2 {
  font-size: 24px;
}
.collection-retention-dialog button {
  min-height: 44px;
  padding: 8px 18px;
}
.collection-retention-dialog::backdrop {
  background: #172c4860;
}
.favorite-star .bookmark-link svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: #87370e;
  stroke-width: 2;
  transform: none;
  filter: none;
}
.collection-bookmark > svg {
  fill: #c45114;
  stroke: #87370e;
  filter: drop-shadow(0 0 1px #fff) drop-shadow(1px 2px 1px #172c4850);
}
[data-page=games] .party-photo-count {
  transform: scaleX(-1);
}
#unfinished-parties:has(> .cards:empty) {
  display: none;
}
.favorite-star[aria-pressed=false] > svg {
  stroke: #b52c32;
  fill: rgba(255, 255, 255, .2);
}
.favorite-star .bookmark-link {
  top: 10px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: 17px;
  height: 17px;
  border-radius: 4px;
  background: #fff;
  color: #87370e;
  box-shadow: none;
}
.favorite-star .bookmark-link svg {
  width: 13px;
  height: 13px;
  stroke-width: 2.3;
}
.pq-next-photo {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  min-width: 56px;
  min-height: 56px;
  padding: 5px;
  border: 1px solid #235db8;
  border-radius: 10px;
  background: #e5eefc;
  color: #235db8;
}
.pq-next-photo svg {
  width: 44px;
  height: 42px;
}
.photo-year-dispute {
  width: min(480px, calc(100vw - 24px));
  max-height: 90dvh;
  overflow: auto;
  padding: 22px;
  border: 1px solid #cad5e5;
  border-radius: 16px;
  color: #172c48;
}
.photo-year-dispute::backdrop {
  background: #172c4870;
}
.photo-year-dispute h2 {
  font-size: 24px;
  margin: 0 0 12px;
}
.photo-year-dispute p {
  line-height: 1.4;
}
.photo-year-dispute label {
  display: grid;
  gap: 5px;
  font-weight: 700;
}
.photo-year-dispute input {
  min-height: 44px;
  font-size: 20px;
  padding: 8px;
  width: 100%;
}
.photo-year-dispute button {
  min-height: 44px;
  padding: 9px 12px;
  margin: 4px;
}
.photo-year-dispute .hint {
  font-size: 14px;
}
.pq-close-x {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  min-height: 40px !important;
  min-width: 40px;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 1px solid #cad5e5;
  background: #fff;
  color: #172c48;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}
html[data-theme=dark] .pq-close-x {
  background: #22375f;
  border-color: #3a5585;
  color: #e3ebf8;
}
.pq-has-x {
  position: relative;
  padding-top: 56px;
}
.pq-close-x.pq-close-inline {
  position: static;
  flex: none;
}

/* game/invitation.css */
.shell section.pq-invite {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.pq-lobby:has(.pq-invite) .pq-lobby-head {
  display: none;
}
.pq-invite {
  max-width: 460px;
  margin: 0 auto;
  padding: 18px 4px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #1d2b44;
}
.pq-invite h3 {
  margin: 0 0 10px;
  font-size: 17px;
}
.pq-invite-card {
  background:
    linear-gradient(
      160deg,
      #fff7e8,
      #ffe9c7);
  border: 1px solid #f1d7a8;
  border-radius: 18px;
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(80, 55, 10, .12);
}
.pq-invite-from {
  margin: 0 0 6px;
  color: #8a5a12;
  font-weight: 700;
}
.pq-invite-card h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.shell .pq-invite-how,
.shell .pq-invite-surprises {
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: 16px;
  padding: 16px;
}
.pq-invite-scene {
  position: relative;
  height: 118px;
  margin: 0 0 12px;
  overflow: hidden;
}
.pq-invite-line {
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 3px solid #c6cfdd;
  padding-top: 6px;
}
.pq-invite-pin {
  font-size: 13px;
  font-weight: 800;
  color: #566781;
  background: #eef2f8;
  border-radius: 8px;
  padding: 2px 7px;
}
.pq-invite-gap {
  width: 52px;
}
.pq-invite-photo {
  position: absolute;
  left: 50%;
  width: 52px;
  height: 40px;
  margin-left: -26px;
  border-radius: 6px;
  background:
    linear-gradient(
      135deg,
      #9ab6d8,
      #e7c79a);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .2);
  animation: pq-invite-photo 6s ease-in-out infinite;
}
.pq-invite-year {
  position: absolute;
  left: 50%;
  top: -24px;
  transform: translateX(-50%);
  font-weight: 900;
  font-size: 15px;
  color: #1a7f37;
  opacity: 0;
  animation: pq-invite-year 6s ease-in-out infinite;
}
@keyframes pq-invite-photo {
  0% {
    top: -50px;
    transform: translateX(70px) rotate(-8deg);
  }
  12%, 33% {
    top: 8px;
    transform: translateX(70px) rotate(-4deg);
  }
  55%, 100% {
    top: 62px;
    transform: translateX(0) rotate(0);
  }
}
@keyframes pq-invite-year {
  0%, 64% {
    opacity: 0;
    transform: translate(-50%, 6px);
  }
  74%, 100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
.pq-invite-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.pq-invite-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  border-radius: 10px;
  padding: 5px 8px;
  animation: pq-invite-step 6s infinite;
}
.pq-invite-steps li:nth-child(2) {
  animation-delay: 2s;
}
.pq-invite-steps li:nth-child(3) {
  animation-delay: 4s;
}
.pq-invite-steps b {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1d2b44;
  color: #fff;
  font-size: 13px;
}
@keyframes pq-invite-step {
  0%, 30% {
    background: #eef4ff;
  }
  34%, 100% {
    background: transparent;
  }
}
.pq-invite-surprises ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.pq-invite-surprises li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.35;
}
.pq-invite-icon {
  font-size: 22px;
  flex: none;
}
.pq-invite-wait {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: #566781;
  font-weight: 700;
}
.pq-invite-dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2f7de1;
  animation: pq-invite-dot 1.4s ease-in-out infinite;
}
@keyframes pq-invite-dot {
  50% {
    opacity: .25;
  }
}
.pq-invite-discover {
  align-self: center;
  color: #566781;
  font-size: 14px;
}
@media (prefers-reduced-motion: reduce) {
  .pq-invite-photo,
  .pq-invite-year,
  .pq-invite-steps li,
  .pq-invite-dot {
    animation: none;
  }
  .pq-invite-photo {
    top: 62px;
  }
  .pq-invite-year {
    opacity: 1;
  }
}
html[data-theme=dark] .pq-invite {
  color: #e8eef7;
}
html[data-theme=dark] .pq-invite-card {
  background:
    linear-gradient(
      160deg,
      #3a2e17,
      #2c2414);
  border-color: #5a4520;
}
html[data-theme=dark] .pq-invite-from {
  color: #f1c97a;
}
html[data-theme=dark] .shell .pq-invite-how,
html[data-theme=dark] .shell .pq-invite-surprises {
  background: #1c2636;
  border-color: #2e3a4f;
}
html[data-theme=dark] .pq-invite-steps b {
  background: #e8eef7;
  color: #1c2636;
}
html[data-theme=dark] .pq-invite-wait,
html[data-theme=dark] .pq-invite-discover,
html[data-theme=dark] .pq-invite-pin {
  color: #c8d3e3;
}
html[data-theme=dark] .pq-invite-pin {
  background: #2a3548;
}
@keyframes pq-invite-step-dark {
  0%, 30% {
    background: #25324a;
  }
  34%, 100% {
    background: transparent;
  }
}
html[data-theme=dark] .pq-invite-steps li {
  animation-name: pq-invite-step-dark;
}

/* game/tournament-welcome.css */
.pq-tw {
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  gap: 14px;
  font-family:
    -apple-system,
    system-ui,
    sans-serif;
}
.pq-tw-sequel {
  background: var(--m-group,#fff);
  color: var(--m-text,#000);
  border-radius: 14px;
  padding: 12px 16px;
}
.pq-tw-name {
  margin: 0;
  font:
    700 18px/1.25 -apple-system,
    system-ui,
    sans-serif;
}
.pq-tw-intro {
  margin: 8px 0 4px;
  font-size: 14px;
  color: var(--m-sub,#6d6d72);
}
.pq-tw-parties {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.pq-tw-parties li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 6px 0;
  border-top: 1px solid var(--m-sep,#c6c6c8);
  font-size: 15px;
}
.pq-tw-parties li:first-child {
  border-top: 0;
}
.pq-tw-parties small {
  color: var(--m-sub,#6d6d72);
  white-space: nowrap;
  font-size: 13.5px;
}
.pq-tw-parties .pq-tw-more {
  color: var(--m-sub,#6d6d72);
  font-size: 13.5px;
}
.pq-tw-ask {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  padding: 8px 0;
}
.pq-tw-ask h2 {
  margin: 0;
  font:
    700 24px/1.2 -apple-system,
    system-ui,
    sans-serif;
  color: var(--m-text,#000);
}
.pq-tw-icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--m-group,#fff);
  font-size: 48px;
}
.pq-tw-rank {
  margin: 0;
  color: var(--m-sub,#6d6d72);
}
.pq-tw-ask button.primary,
.pq-tw-ask button.outline,
.pq-tw-list > button {
  width: 100%;
  min-height: 50px;
}
html body .pq-tw .pq-tw-link,
html[data-theme][data-ui] body main.shell .pq-tw button.pq-tw-link {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--m-blue,#0a6cff) !important;
  font:
    500 15px/1.35 -apple-system,
    system-ui,
    sans-serif;
  padding: 6px 4px !important;
  min-height: 0 !important;
  text-align: center;
  white-space: normal;
  cursor: pointer;
}
.pq-tw-top {
  justify-self: center;
}
.pq-tw-list {
  display: grid;
  gap: 10px;
}
.pq-tw-list h2 {
  margin: 0 4px;
  font:
    700 22px/1.2 -apple-system,
    system-ui,
    sans-serif;
  color: var(--m-text,#000);
}
.pq-tw-hint {
  margin: 0 4px;
  color: var(--m-sub,#6d6d72);
  font-size: 14px;
}
.pq-tw-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--m-group,#fff);
  border-radius: 12px;
  overflow: hidden;
}
.pq-tw-list li + li button {
  border-top: 1px solid var(--m-sep,#c6c6c8) !important;
}
.pq-tw-list li button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 8px 14px !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--m-text,#000) !important;
  font:
    500 16px -apple-system,
    system-ui,
    sans-serif;
  text-align: left;
}
.pq-tw-list li button:disabled {
  opacity: .45;
}
.pq-tw-av {
  font-size: 26px;
  line-height: 1;
}
.pq-tw-who {
  flex: 1;
  display: grid;
  font-weight: 600;
}
.pq-tw-who small {
  font-weight: 400;
  font-size: 13px;
  color: var(--m-sub,#6d6d72);
}
.pq-tw-badge {
  color: var(--m-sub,#6d6d72);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.pq-tw-hintline {
  margin: 0 4px;
  color: var(--m-sub,#6d6d72);
  font-size: 14px;
}
html[data-theme=dark] .pq-tw :is(.pq-tw-ask, .pq-tw-list) > button.primary {
  background: #3b7be0 !important;
  border-color: #3b7be0 !important;
  color: #fff !important;
}

/* game/lobby.css */
.pq-lobby-screen {
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 0 16px;
}
.pq-lobby-screen h2 {
  margin: 4px 0 0;
  font-size: 22px;
  color: #172C48;
}
.pq-lobby-hint {
  margin: 0;
  font-size: 13px;
  color: #566781;
}
.pq-lobby-main {
  width: 100%;
  min-height: 52px;
  font-size: 17px !important;
}
.pq-radio-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #CAD5E5;
  border-radius: 12px;
  padding: 13px;
  background: #fff;
  font-size: 16px;
  cursor: pointer;
}
.pq-radio-tile[data-selected=true] {
  border-color: #235DB8;
  background: #E5EEFC;
}
.pq-radio-tile input {
  width: 20px;
  height: 20px;
  accent-color: #235DB8;
  margin: 0;
}
.pq-team-tiles {
  display: flex;
  gap: 10px;
  border: 0;
  padding: 10px 0 0;
  margin: 0;
}
.pq-team-tiles legend {
  padding: 0;
  margin-bottom: 12px;
  font-weight: 700;
}
.pq-team-tile {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border-radius: 14px;
  padding: 16px 6px 12px;
  color: #fff;
  cursor: pointer;
  opacity: .55;
}
.pq-team-tile[data-team="0"] {
  background: #235DB8;
}
.pq-team-tile[data-team="1"] {
  background: #C45114;
}
.pq-team-tile[data-selected=true] {
  opacity: 1;
  outline: 3px solid #172C48;
  outline-offset: 2px;
}
.pq-team-tile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pq-team-tile strong {
  font-size: 17px;
}
.pq-team-tile small {
  font-size: 12px;
  opacity: .9;
}
.pq-team-medal {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #235DB8;
  border: 1px solid #235DB8;
  border-radius: 9px;
  font: 700 11px system-ui, sans-serif;
  padding: 1px 8px;
  white-space: nowrap;
}
.pq-team-tile[data-team="1"] .pq-team-medal {
  color: #C45114;
  border-color: #C45114;
}
.pq-you {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #E5EEFC;
  border-radius: 12px;
  padding: 9px 11px;
}
.pq-you-icon {
  font-size: 24px;
}
.pq-you small {
  display: block;
  font-size: 11px;
  color: #566781;
}
.pq-you strong {
  font-size: 18px;
}
.pq-you-change {
  margin-left: auto;
  background: #fff !important;
  border: 1px solid #CAD5E5 !important;
  border-radius: 9px !important;
  padding: 6px 11px !important;
  color: #235DB8 !important;
  font-weight: 700;
  min-height: 36px;
}
.pq-you-edit {
  margin-left: auto;
  background: transparent !important;
  border: 0 !important;
  font-size: 18px;
  min-height: 36px;
  padding: 4px 6px !important;
}
.pq-you-change + .pq-you-edit {
  margin-left: 0;
}
.pq-team-counts {
  display: flex;
  gap: 8px;
}
.pq-team-counts div {
  flex: 1;
  border-radius: 12px;
  padding: 9px 12px;
  color: #fff;
}
.pq-team-counts strong {
  display: block;
  font-size: 16px;
}
.pq-team-counts small {
  font-size: 13px;
  opacity: .92;
}
.pq-roster summary {
  font-weight: 700;
  color: #235DB8;
  cursor: pointer;
}
.pq-roster ul {
  margin: 6px 0 0;
  padding-left: 20px;
}
.pq-invite {
  background: #fff;
  border: 1px solid #CAD5E5;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.pq-invite .room-code {
  font-size: 26px;
  letter-spacing: 3px;
  font-weight: 800;
  color: #172C48;
}
.pq-invite .qr-button img {
  width: 132px;
  height: 132px;
}
.pq-lobby-wait {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #566781;
  font-weight: 600;
  margin: 4px 0;
}
.pq-master-section {
  background: #FFF8EA;
  border: 1px solid #F2B33D;
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pq-master-section h3 {
  margin: 0;
  font-size: 15px;
  color: #7a4b00;
}
.pq-master-link {
  display: block;
  text-align: left;
  background: transparent !important;
  border: 0 !important;
  padding: 2px 0 !important;
  min-height: 0 !important;
  color: #235DB8 !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  box-shadow: none !important;
}
.pq-master-link small {
  display: block;
  font-weight: 500;
  font-size: 11px;
  color: #566781;
}
.pq-master-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
}
.pq-master-check input {
  width: 18px;
  height: 18px;
  accent-color: #235DB8;
  margin: 0;
}
.pq-master-sub {
  margin: 4px 0 0;
  font-weight: 800;
  font-size: 14px;
  color: #7a4b00;
}
.pq-indent {
  margin-left: 24px !important;
}
.pq-dialog-layer {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: #0d1b3399;
  display: grid;
  place-items: center;
  padding: 16px;
}
.pq-dialog {
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  max-width: 340px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pq-dialog h3 {
  margin: 0;
  font-size: 18px;
}
.pq-dialog p {
  margin: 0;
  color: #566781;
}
.pq-countdown {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #F3F6FB;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px;
  text-align: center;
}
.pq-countdown p {
  margin: 0;
  font-weight: 700;
  font-size: 18px;
  color: #172C48;
}
.pq-countdown > strong {
  font: 900 140px/1 system-ui, sans-serif;
  color: #235DB8;
  animation: pq-count .9s ease-out;
}
.pq-countdown-team {
  border-radius: 14px;
  padding: 12px 20px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}
.pq-countdown-team b {
  display: block;
  font-size: 26px;
}
@keyframes pq-count {
  from {
    transform: scale(1.3);
    opacity: .7;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pq-countdown > strong {
    animation: none;
  }
}
.pq-lobby-game {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px auto 0;
  max-width: 460px;
  width: 100%;
  font-size: 13px;
  color: #566781;
}
.pq-lobby-game img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.pq-registration {
  max-width: 460px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pq-registration .pq-team-tiles {
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}
.pq-registration > button {
  width: 100%;
  min-height: 50px;
}
.pq-waiting-room > button:not(.primary):not(.pq-you-change),
.pq-waiting-room > details.game-management,
.pq-waiting-room > .party-stop {
  width: 100%;
}
.pq-waiting-room > button:not(.primary) {
  background: #fff;
  border: 1px solid #CAD5E5;
  border-radius: 12px;
  min-height: 44px;
  color: #235DB8;
  font-weight: 700;
}
.pq-card {
  background: #fff;
  border: 1px solid #CAD5E5;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pq-card h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 900;
  color: #172C48;
}
.pq-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border-top: 1px solid #edf1f7;
  color: #172C48;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
}
.pq-card h3 + .pq-row {
  border-top: 0;
}
a.pq-row {
  color: #235DB8;
}
.pq-row-go {
  margin-left: auto;
  color: #566781;
  font-size: 20px;
}
.pq-row small {
  font-weight: 600;
  color: #566781;
  font-size: 12px;
}
.pq-switch-row {
  cursor: pointer;
}
.pq-switch {
  appearance: none;
  -webkit-appearance: none;
  margin: 0 0 0 auto;
  width: 50px;
  height: 30px;
  border-radius: 15px;
  background: #c3cede;
  position: relative;
  cursor: pointer;
  transition: background .2s;
  flex: 0 0 auto;
}
.pq-switch:after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px #0004;
  transition: left .2s;
}
.pq-switch:checked {
  background: #1f8a4c;
}
.pq-switch:checked:after {
  left: 23px;
}
.pq-fict {
  background: #f7f9fd;
  border: 1px solid #e6ecf5;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pq-fict-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}
.pq-fict-line .pq-stepper {
  margin-left: auto;
}
.pq-fict .pq-stepper b {
  min-width: 36px;
  text-align: center;
  font-size: 17px;
  font-weight: 900;
  color: #172C48;
}
.pq-fict-add {
  width: 100%;
  min-height: 44px;
}
.pq-fict-added small {
  display: block;
  color: #566781;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 6px;
}
.pq-fict-added div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pq-fict-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border: 1px solid #CAD5E5;
  border-radius: 999px;
  padding: 2px 10px 2px 6px;
  font-weight: 800;
  font-size: 13px;
  color: #172C48;
}
.pq-tv-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pq-tv-tile {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  min-height: 0 !important;
  height: auto !important;
  padding: 12px 8px !important;
  border-radius: 16px !important;
  border: 1.5px solid #cfdcf0 !important;
  background: #eef4fd !important;
  color: #172C48 !important;
  text-align: center;
  white-space: normal !important;
}
.pq-tv-tile strong {
  color: #186bd0;
  font-size: 15px;
  font-weight: 900;
}
.pq-tv-tile small {
  color: #566781;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
}
html[data-theme=dark] .pq-card {
  background: var(--pq-surface,#16212f);
  border-color: #2c3c52;
}
html[data-theme=dark] .pq-card h3,
html[data-theme=dark] .pq-row,
html[data-theme=dark] .pq-fict-line,
html[data-theme=dark] .pq-fict .pq-stepper b {
  color: #f2f5fa;
}
html[data-theme=dark] a.pq-row,
html[data-theme=dark] .pq-tv-tile strong {
  color: #89bdff;
}
html[data-theme=dark] .pq-fict {
  background: #1c2938;
  border-color: #2c3c52;
}
html[data-theme=dark] .pq-fict-pill {
  background: #26365a;
  border-color: #4a5d82;
  color: #fff;
}
html[data-theme=dark] .pq-tv-tile {
  background: #1c2938 !important;
  border-color: #2c3c52 !important;
  color: #f2f5fa !important;
}
html[data-theme=dark] .pq-tv-icon g[stroke="#186bd0"] {
  stroke: #89bdff;
}
html body .pq-switch {
  width: 50px !important;
  height: 30px !important;
  min-width: 50px !important;
  min-height: 30px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 15px !important;
  box-shadow: none !important;
  accent-color: auto;
}
html body .pq-switch::before {
  display: none;
}
.pq-lobby-title {
  margin: 8px auto 0;
  max-width: 460px;
  width: 100%;
  font-size: 28px;
  font-weight: 900;
  color: #172C48;
}
.pq-lobby .pq-lobby-game {
  gap: 12px;
  margin: 8px auto 4px;
  font-size: 16px;
}
.pq-lobby .pq-lobby-game img {
  width: 72px;
  height: 72px;
}
.pq-lobby-game p {
  margin: 0;
  color: #566781;
}
.pq-lobby-game p strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: #172C48;
}
.pq-lobby-goal {
  display: inline-block;
  margin-top: 6px;
  padding: 3px 11px;
  border-radius: 999px;
  background: #eef4fd;
  color: #186bd0;
  font-weight: 900;
  font-size: 14px;
}
.pq-waiting-room > .pq-prep-band:first-child {
  margin-top: 4px;
}
.pq-prep-band {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
  padding: 10px 12px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 14px;
  background: #fff4e8;
  border: 1px solid #f3cfa6;
  color: #8a4a13;
}
.pq-prep-band.open {
  background: #e7f6ec;
  border-color: #b9e2c6;
  color: #1c6b3b;
}
.pq-lobby-main.pq-open-room {
  background: #1f8a4c;
  border-color: #1f8a4c;
}
.pq-prep-wait {
  text-align: center;
  padding: 24px 6px;
}
.pq-prep-wait .pq-prep-lock {
  font-size: 52px;
}
.pq-prep-wait p {
  color: #566781;
  font-weight: 700;
  margin: 4px 0 14px;
}
.pq-stepper .pq-stepper-input {
  width: 46px;
  height: 36px;
  border: 0;
  border-left: 1px solid #dce4f0;
  border-right: 1px solid #dce4f0;
  border-radius: 0;
  text-align: center;
  font: 900 17px inherit;
  font-weight: 900;
  font-size: 17px;
  color: #172C48;
  background: #fff;
  padding: 0;
  min-height: 0;
}
.pq-dialog-pair {
  display: flex;
  gap: 8px;
}
.pq-dialog-pair button {
  flex: 1;
}
html[data-theme=dark] .pq-lobby-title,
html[data-theme=dark] .pq-lobby-game p strong {
  color: #f2f5fa;
}
html[data-theme=dark] .pq-lobby-game p,
html[data-theme=dark] .pq-prep-wait p {
  color: #c8d3e3;
}
html[data-theme=dark] .pq-stepper .pq-stepper-input {
  background: #1c2a40;
  color: #f2f5fa;
  border-color: #33465f;
}
.pq-lobby .pq-waiting-room button.pq-open-room {
  background: #1f8a4c;
  border-color: #1f8a4c;
  color: #fff;
}
.pq-master-card > .pq-switch-row:first-child {
  border-top: 0;
  padding-top: 0;
}
.pq-lobby-tag {
  margin: 8px auto 0;
  max-width: 460px;
  width: 100%;
  font:
    800 12px/1.2 system-ui,
    -apple-system,
    sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #5b6b82;
}
.pq-lobby-head {
  display: grid;
  gap: 2px;
  margin: 2px auto 6px;
  max-width: 460px;
  width: 100%;
}
.pq-lobby-head strong {
  font:
    900 26px/1.15 Nunito,
    system-ui,
    sans-serif;
  color: #172c48;
  overflow-wrap: anywhere;
}
.pq-lobby-head span {
  font-size: 14px;
  color: #5b6b82;
}
.pq-grouped {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pq-sect {
  margin: 8px 4px 0;
  font:
    800 11.5px/1.2 system-ui,
    -apple-system,
    sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #5b6b82;
}
.pq-list {
  background: #fff;
  border: 1px solid #d6dfec;
  border-radius: 16px;
  overflow: hidden;
}
.pq-li {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  border: 0;
  border-top: 1px solid #d6dfec;
  background: none;
  font:
    500 15px/1.3 system-ui,
    -apple-system,
    sans-serif;
  color: #172c48;
  text-align: left;
}
.pq-li:first-child {
  border-top: 0;
}
.pq-li .pq-r {
  margin-left: auto;
  color: #5b6b82;
  font-size: 13px;
}
.pq-ok {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1f7a45;
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  flex: none;
}
.pq-li-code .room-code {
  font:
    900 28px/1 Nunito,
    system-ui,
    sans-serif;
  letter-spacing: 3px;
  color: #235db8;
}
.pq-qr {
  margin-left: auto;
  position: relative;
  border: 0;
  background: none;
  padding: 0;
  cursor: zoom-in;
}
.pq-qr img {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 6px;
}
.pq-zoom {
  position: absolute;
  right: -7px;
  bottom: -7px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #235db8;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 3px #0004;
}
.pq-li-action {
  cursor: pointer;
  color: #235db8;
  font-weight: 700;
}
.pq-li-action .pq-share-icon {
  flex: none;
}
.pq-scroll {
  max-height: 220px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.pq-li-player {
  padding: 6px 14px;
  font-size: 14.5px;
}
.pq-av {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f3f6fb;
  border: 1px solid #d6dfec;
  font-size: 14px;
  flex: none;
  text-decoration: none;
}
.pq-me-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: #235db8;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.pq-me-link > span:nth-child(2) {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.pq-me-link .pq-r {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #235db8;
}
.pq-grouped .pq-card {
  margin-top: 8px;
}
.pq-grouped .pq-lobby-main {
  margin-top: 14px;
  background: #235db8 !important;
  border-color: #235db8 !important;
  color: #fff !important;
}
.pq-prep-lock .pq-noentry {
  display: block;
}
html[data-theme=dark] .pq-list {
  background: #16253b;
  border-color: #2c3f5a;
}
html[data-theme=dark] .pq-li {
  color: #eef3fa;
  border-top-color: #2c3f5a;
}
html[data-theme=dark] :is(.pq-sect, .pq-lobby-tag, .pq-lobby-head span, .pq-li .pq-r) {
  color: #a7b5c9;
}
html[data-theme=dark] .pq-lobby-head strong {
  color: #eef3fa;
}
html[data-theme=dark] :is(.pq-li-action, .pq-me-link, .pq-me-link .pq-r, .pq-li-code .room-code) {
  color: #80b9ff;
}
html[data-theme=dark] .pq-av {
  background: #122033;
  border-color: #2c3f5a;
}
html body .game-standard-header > .header-return.pq-exit {
  width: 38px;
  height: 38px;
  min-height: 38px;
  padding: 0;
  border: 1px solid #cfdaeb !important;
  border-radius: 12px;
  background: #fff !important;
  color: #235db8;
  display: grid;
  place-items: center;
}
html[data-theme=dark] body .game-standard-header > .header-return.pq-exit {
  background: #1a2d4d !important;
  border-color: #3a5683 !important;
  color: #e2ebf7;
}
.pq-prep-text {
  color: #c62828;
  font-weight: 800;
}
html[data-theme=dark] .pq-prep-text {
  color: #ff7a7a;
}
.pq-lobby-tag {
  font:
    900 20px/1.2 Nunito,
    system-ui,
    sans-serif;
  letter-spacing: .5px;
  color: #235db8;
}
html[data-theme=dark] .pq-lobby-tag {
  color: #80b9ff;
}
.pq-lobby-head strong {
  font-size: 20px;
}
.pq-li-code {
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}
.pq-li-code .pq-qr {
  margin: 0 auto;
}
.pq-qr img {
  width: min(50vw, 230px) !important;
  height: auto !important;
  aspect-ratio: 1;
  max-width: none;
  border-radius: 8px;
  background: #fff;
}
.pq-li-welcome > span:last-child {
  display: grid;
  gap: 2px;
}
.pq-li-welcome small {
  color: #5b6b82;
  font-size: 13.5px;
}
html[data-theme=dark] .pq-li-welcome small {
  color: #a7b5c9;
}
.pq-qr-zoom {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #0b1626e6;
  display: grid;
  place-items: center;
  padding: 16px;
}
.pq-qr-zoom img {
  width: min(92vw, 80dvh, 640px);
  height: auto;
  aspect-ratio: 1;
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  box-sizing: border-box;
}
.pq-x {
  position: absolute;
  top: max(14px, env(safe-area-inset-top));
  right: 14px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 0;
  background: #ffffffe6;
  color: #172c48;
  font-size: 20px;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px #0005;
}
.pq-lobby .pq-lobby-screen.pq-waiting-room {
  width: 100%;
  box-sizing: border-box;
}
@media (min-width: 700px) {
  .pq-lobby .pq-lobby-screen,
  .pq-lobby-tag,
  .pq-lobby-head {
    max-width: min(66vw, 720px);
  }
  .pq-li {
    font-size: 17px;
  }
  .pq-li-player {
    font-size: 16.5px;
  }
  .pq-sect {
    font-size: 13px;
  }
  .pq-lobby-tag {
    font-size: 24px;
  }
  .pq-lobby-head strong {
    font-size: 24px;
  }
  .pq-lobby-head span {
    font-size: 16px;
  }
  .pq-li-code .room-code {
    font-size: 34px;
  }
  .pq-qr img {
    width: min(36vw, 300px) !important;
  }
  .pq-scroll {
    max-height: 320px;
  }
}
.pq-progress-row select {
  margin: 0 0 0 auto;
  width: auto;
  max-width: 55%;
}
.pq-switch-row .pq-switch {
  margin-left: auto;
}
.pq-registration {
  display: grid;
  gap: 6px;
  max-width: 520px;
  margin: 0 auto;
}
.pq-registration h2 {
  font:
    700 24px/1.2 system-ui,
    -apple-system,
    sans-serif;
  margin: 8px 4px 10px;
}
.pq-registration > label,
.pq-registration legend {
  display: grid;
  gap: 6px;
  margin: 8px 4px 0;
  padding: 0;
  font:
    800 11.5px/1.2 system-ui,
    -apple-system,
    sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #5b6b82;
}
.pq-registration > label input {
  margin: 0 -4px;
  padding: 12px 14px;
  border: 1px solid #d6dfec;
  border-radius: 14px;
  background: #fff;
  color: #172c48;
  font:
    500 17px/1.3 system-ui,
    -apple-system,
    sans-serif;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: none;
}
.pq-registration fieldset {
  border: 0;
  padding: 0;
  margin: 4px 0 0;
  min-width: 0;
}
.pq-registration legend {
  margin-bottom: 6px;
}
.pq-registration .icon-grid {
  background: #fff;
  border: 1px solid #d6dfec;
  border-radius: 16px;
  padding: 10px;
  gap: 6px;
}
.pq-registration .icon-grid button {
  border: 0;
  border-radius: 12px;
  background: #f1f4f9;
  box-shadow: none;
}
.pq-registration .icon-grid button[aria-pressed=true] {
  background: #e3ebf7;
  box-shadow: 0 0 0 2px #235db8;
}
.pq-registration .primary,
.pq-registration .outline {
  min-height: 50px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 650;
}
.pq-registration .primary {
  margin-top: 12px;
}
html[data-theme=dark] .game-lobby {
  background: #0f1a2b;
  color: #e6edf7;
}
html[data-theme=dark] .game-lobby .pq-lobby-head strong,
html[data-theme=dark] .pq-registration h2 {
  color: #f2f6fc;
}
html[data-theme=dark] .game-lobby .pq-lobby-head span {
  color: #9fb0c8;
}
html[data-theme=dark] .pq-registration > label,
html[data-theme=dark] .pq-registration legend,
html[data-theme=dark] .pq-sect {
  color: #9fb0c8;
}
html[data-theme=dark] .pq-registration > label input {
  background: #16253b;
  border-color: #2c3f5a;
  color: #f2f6fc;
}
html[data-theme=dark] .pq-registration .icon-grid {
  background: #16253b;
  border-color: #2c3f5a;
}
html[data-theme=dark] .pq-registration .icon-grid button {
  background: #22344f;
}
html[data-theme=dark] .pq-registration .icon-grid button[aria-pressed=true] {
  background: #2a4670;
  box-shadow: 0 0 0 2px #6aa5ff;
}
html[data-theme=dark] .pq-registration .primary {
  background: #3b7be0;
  border-color: #3b7be0;
  color: #fff;
}
html[data-theme=dark] .pq-progress-row select {
  background: #16253b;
  color: #f2f6fc;
  border-color: #2c3f5a;
}
.identity.pq-registration fieldset {
  border: 0 !important;
  background: none !important;
  padding: 0 !important;
  box-shadow: none !important;
}
html[data-theme=dark] .identity.pq-registration button.primary {
  background: #3b7be0 !important;
  border-color: #3b7be0 !important;
  color: #fff !important;
}
html[data-theme=dark] .identity.pq-registration > label input {
  color: #f2f6fc !important;
}
html[data-theme=dark] body input.pq-switch {
  background-color: #4a5a78 !important;
}
html[data-theme=dark] body input.pq-switch:checked {
  background-color: #34c759 !important;
}
.pq-switch:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.pq-test-note {
  display: block;
  color: #8a4b12;
  margin: 4px 0 0;
  font-size: 13px;
}
html[data-theme=dark] .pq-test-note {
  color: #ffb977;
}
.pq-waiting-room.pq-has-bar {
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
}
.pq-lobby-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: #f3f6fb;
  border-top: 1px solid #cad5e5;
  display: flex;
  justify-content: center;
}
.pq-lobby-bar .pq-lobby-main {
  max-width: 460px;
  margin: 0 !important;
}
html[data-theme=dark] .pq-lobby-bar {
  background: #101923;
  border-top-color: #2c3c52;
}
.pq-lobby-head .pq-objective {
  justify-self: start;
  margin-top: 4px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fde7d4;
  color: #172c48;
  font:
    800 17px/1.2 Nunito,
    system-ui,
    sans-serif;
}
html[data-theme=dark] .pq-lobby-head .pq-objective {
  background: #5a3417;
  color: #fff3e8;
}
.pq-tv-section .pq-tv-seconds input {
  width: 58px;
  min-height: 36px !important;
  text-align: center;
  padding: 4px !important;
}
.pq-tv-block {
  display: grid !important;
  gap: 6px;
}
.pq-tv-block > button {
  width: 100%;
}
.pq-tv-note {
  color: #566781;
  font-size: 13px;
  line-height: 1.35;
}
.pq-tv-options {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}
.pq-tv-options p {
  margin: 0;
  font-size: 14px;
}
.pq-tv-options .pq-dialog-pair {
  width: 100%;
}
.pq-tv-status {
  margin: 6px 12px;
  font-size: 13px;
  color: #566781;
}
html[data-theme=dark] :is(.pq-tv-note, .pq-tv-status) {
  color: #b0bfd2;
}
.pq-open-mark {
  font-size: 44px;
  color: #1f8a4c;
}
.pq-test-row small {
  display: block;
  font-weight: 500;
  font-size: 12px;
  color: #566781;
}
html[data-theme=dark] .pq-test-row small {
  color: #a7b5c9;
}
.pq-fict-open {
  width: 100%;
  margin-top: 8px;
}
.pq-fict-dialog {
  display: grid;
  gap: 10px;
}
small.pq-li.pq-tv-note {
  display: block;
}
.pq-lobby-main .pq-btn-sub {
  display: block;
  font-size: 13px;
  font-weight: 500;
  opacity: .9;
  margin-top: 1px;
}
.pq-fict-row {
  display: block !important;
}
.pq-fict-row .pq-fict-line {
  font-weight: 400;
}
.pq-fict-row span.pq-stepper-input {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pq-fict-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.pq-alert {
  text-align: center;
  max-width: 290px;
}
.pq-alert p {
  color: inherit;
}
.pq-lobby-bar .pq-lobby-main {
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.pq-lobby-bar .pq-lobby-main .pq-btn-sub {
  display: block;
  width: 100%;
}
.pc-steps {
  display: flex;
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  flex-basis: 100%;
}
.pc-steps li {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: #8a97ab;
  position: relative;
  line-height: 1.2;
}
.pc-steps i {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #cfd6e1;
  margin: 0 auto 5px;
  position: relative;
  z-index: 1;
}
.pc-steps li + li::before {
  content: "";
  position: absolute;
  top: 6px;
  right: 50%;
  width: 100%;
  height: 2px;
  background: #cfd6e1;
}
.pc-steps li.done {
  color: #172c48;
}
.pc-steps li.done i,
.pc-steps li.done::before,
.pc-steps li.cur::before,
.pc-steps li.cur i {
  background: #235db8;
}
.pc-steps li.cur {
  color: #235db8;
  font-weight: 700;
}
.pc-steps li.cur i {
  box-shadow: 0 0 0 4px #235db833;
}
.pc-steps li.cur.pause {
  color: #c45114;
}
.pc-steps li.cur.pause i {
  background: #e8870e;
  box-shadow: 0 0 0 4px #e8870e33;
}
html[data-theme=dark] .pc-steps li {
  color: #7d8aa0;
}
html[data-theme=dark] .pc-steps li.done {
  color: #dbe4f2;
}
html[data-theme=dark] .pc-steps i,
html[data-theme=dark] .pc-steps li + li::before {
  background: #3a465a;
}
html[data-theme=dark] .pc-steps li.done i,
html[data-theme=dark] .pc-steps li.done::before,
html[data-theme=dark] .pc-steps li.cur::before,
html[data-theme=dark] .pc-steps li.cur i {
  background: #6aa5ff;
}
html[data-theme=dark] .pc-steps li.cur {
  color: #9cc2ff;
}
.pq-steps {
  margin: 6px 0 12px !important;
}
.pc-steps li {
  white-space: normal;
  overflow-wrap: break-word;
  padding: 0 2px;
}
.pq-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 10px;
  margin: 0 4px 10px;
  font-size: 14px;
  color: #566781;
}
.pq-summary .pq-link {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: 0 !important;
  color: #235db8 !important;
  font: 600 14px system-ui !important;
  width: auto !important;
}
.pq-tv-now {
  display: block !important;
}
.pq-tv-now button {
  width: 100%;
}
html[data-theme=dark] .pq-summary {
  color: #a9b6c9;
}
html[data-theme=dark] .pq-summary .pq-link {
  color: #89bdff !important;
}
.pq-pills {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px 10px;
  padding: 12px !important;
}
.pq-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 64px;
  max-width: 90px;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: inherit !important;
  font: inherit;
  text-align: center;
  min-height: 0 !important;
}
.pq-pill .pq-av {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px #0003;
  font-size: 26px;
}
.pq-pill-name {
  font-weight: 800;
  font-size: 13px;
  line-height: 1.15;
  overflow-wrap: anywhere;
  color: #172c48;
}
.pq-pill small {
  font-size: 11px;
  color: #6b7a90;
  line-height: 1;
}
.pq-pill.mine .pq-av {
  box-shadow: 0 0 0 2px #235db8;
}
html[data-theme=dark] .pq-pill-name {
  color: #f2f5fa;
}
html[data-theme=dark] .pq-pill small {
  color: #a9b6c9;
}
.pq-invite-note {
  display: block !important;
  font-size: 13px;
  color: #566781;
}
.pq-v606 .pq-foot {
  margin: 6px 14px 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: #6d6d72;
}
.pq-v606 .pq-foot a,
.pq-sheet .pq-foot a {
  color: #235db8;
}
.pq-row-link {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: inherit !important;
  font: inherit !important;
  text-align: left;
  min-height: 44px;
  cursor: pointer;
}
.pq-chev {
  color: #c4c4c7;
  font-size: 20px;
  line-height: 1;
  margin-left: 6px;
}
.pq-sheet-layer {
  align-items: flex-end !important;
}
.pq-sheet {
  max-width: 520px !important;
  border-radius: 16px 16px 0 0 !important;
  padding-bottom: calc(18px + env(safe-area-inset-bottom)) !important;
}
.pq-sheet h4 {
  margin: 8px 0 0;
  font-size: 13px;
  text-transform: uppercase;
  color: #6d6d72;
  font-weight: 600;
}
.pq-sheet .pq-tv-options {
  text-align: center;
}
.pq-sheet .pq-tv-options img {
  margin: 6px auto;
}
.pq-invite-small {
  display: flex !important;
  align-items: center;
  gap: 12px;
}
.pq-invite-small .pq-qr {
  margin: 0 !important;
}
.pq-invite-small .pq-qr img {
  width: 84px !important;
}
.pq-invite-small .room-code {
  font:
    900 24px/1 Nunito,
    system-ui,
    sans-serif;
  letter-spacing: 2px;
  color: #235db8;
}
.pq-invite-small .pq-invite-note {
  margin-top: 4px;
  color: #6d6d72;
}
.pq-invite-hero {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  padding-top: 14px !important;
  margin-top: 12px;
}
.pq-invite-hero .pq-qr {
  margin: 0 auto !important;
}
.pq-invite-hero .room-code {
  font:
    900 34px/1.1 Nunito,
    system-ui,
    sans-serif;
  letter-spacing: 3px;
  color: #235db8;
  margin: 6px 0 4px;
}
.pq-invite-hero .pq-li-action {
  justify-content: center;
  width: 100%;
}
.pq-wait {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin: 12px 0 4px;
  font-weight: 700;
}
.pq-dots {
  display: inline-flex;
  gap: 4px;
}
.pq-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #235db8;
  animation: pqdot 1.2s infinite ease-in-out;
}
.pq-dots i:nth-child(2) {
  animation-delay: .2s;
}
.pq-dots i:nth-child(3) {
  animation-delay: .4s;
}
@keyframes pqdot {
  0%, 80%, 100% {
    opacity: .25;
  }
  40% {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pq-dots i {
    animation: none;
    opacity: .7;
  }
}
.pq-v606 .pq-summary {
  margin-top: 2px;
}
@keyframes pqpop {
  from {
    transform: scale(.6);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
.pq-v606 .pq-pill {
  animation: pqpop .3s ease-out;
}
html[data-theme=dark] .pq-wait {
  background: #1c2a40;
}
html[data-theme=dark] .pq-v606 .pq-foot {
  color: #8d8d93;
}
html[data-theme=dark] .pq-invite-hero .room-code,
html[data-theme=dark] .pq-invite-small .room-code {
  color: #80b9ff;
}
.pq-dialog-layer:not(.pq-sheet-layer) {
  background: #0006;
}
.pq-dialog-layer:not(.pq-sheet-layer) .pq-dialog {
  max-width: 290px;
  padding: 18px 0 0;
  gap: 4px;
  border-radius: 14px;
  background: #f2f2f7;
  text-align: center;
  overflow: hidden;
}
.pq-dialog-layer:not(.pq-sheet-layer) .pq-dialog h3 {
  margin: 0 16px;
  font: 600 17px/1.3 -apple-system, system-ui;
}
.pq-dialog-layer:not(.pq-sheet-layer) .pq-dialog p {
  margin: 0 16px;
  font-size: 13px;
  color: #3c3c43;
}
.pq-dialog-layer:not(.pq-sheet-layer) .pq-dialog :is(.pq-dialog-pair, > button) {
  margin-top: 12px;
}
.pq-dialog-layer:not(.pq-sheet-layer) .pq-dialog .pq-dialog-pair {
  display: flex;
  gap: 0;
  border-top: 1px solid #3c3c4333;
}
.pq-dialog-layer:not(.pq-sheet-layer) .pq-dialog button {
  flex: 1;
  min-height: 44px;
  margin: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #0a6cff !important;
  font: 400 17px -apple-system, system-ui !important;
  box-shadow: none !important;
}
.pq-dialog-layer:not(.pq-sheet-layer) .pq-dialog > button {
  border-top: 1px solid #3c3c4333 !important;
}
.pq-dialog-layer:not(.pq-sheet-layer) .pq-dialog .pq-dialog-pair button + button {
  border-left: 1px solid #3c3c4333 !important;
  font-weight: 600 !important;
}
.pq-dialog-layer:not(.pq-sheet-layer) .pq-dialog button.primary {
  font-weight: 600 !important;
}
html[data-theme=dark] .pq-dialog-layer:not(.pq-sheet-layer) .pq-dialog {
  background: #2c2c2e;
  color: #fff;
}
html[data-theme=dark] .pq-dialog-layer:not(.pq-sheet-layer) .pq-dialog p {
  color: #ebebf5cc;
}
html[data-theme=dark] .pq-dialog-layer:not(.pq-sheet-layer) .pq-dialog button {
  color: #409cff !important;
}
.pc-row.pc-preparation {
  --pc-c:#235db8;
}
.pc-row.pc-waiting {
  --pc-c:#e0661a;
}
.pc-row.pc-playing {
  --pc-c:#1f8a4c;
}
.pc-row.pc-paused {
  --pc-c:#9a7400;
}
.pc-row:is(.pc-finished, .pc-history, .pc-closed, .pc-deleted) {
  --pc-c:#8a8a8e;
}
html[data-theme=dark] .pc-row.pc-preparation {
  --pc-c:#89bdff;
}
html[data-theme=dark] .pc-row.pc-waiting {
  --pc-c:#ff9f43;
}
html[data-theme=dark] .pc-row.pc-playing {
  --pc-c:#34c759;
}
html[data-theme=dark] .pc-row.pc-paused {
  --pc-c:#ffd60a;
}
html[data-theme=dark] .pc-row:is(.pc-finished, .pc-history, .pc-closed, .pc-deleted) {
  --pc-c:#98989d;
}
.pc-steps {
  --st:#235db8;
  --st-dot:#235db8;
}
.pc-steps.pc-st-waiting {
  --st:#e0661a;
  --st-dot:#e0661a;
}
.pc-steps.pc-st-playing {
  --st:#1f8a4c;
  --st-dot:#1f8a4c;
}
.pc-steps.pc-st-paused {
  --st:#9a7400;
  --st-dot:#f5c400;
}
html[data-theme=dark] .pc-steps {
  --st:#89bdff;
  --st-dot:#89bdff;
}
html[data-theme=dark] .pc-steps.pc-st-waiting {
  --st:#ff9f43;
  --st-dot:#ff9f43;
}
html[data-theme=dark] .pc-steps.pc-st-playing {
  --st:#34c759;
  --st-dot:#34c759;
}
html[data-theme=dark] .pc-steps.pc-st-paused {
  --st:#ffd60a;
  --st-dot:#ffd60a;
}
html .pc-steps li.cur,
html .pc-steps li.cur.pause {
  color: var(--st) !important;
}
html .pc-steps li.cur i,
html .pc-steps li.cur.pause i {
  background: var(--st-dot) !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--st-dot) 25%, transparent) !important;
}
html .pc-steps li.cur::before,
html .pc-steps li.done::before,
html .pc-steps li.done i {
  background: var(--st-dot) !important;
}
html[data-theme=dark] .pq-sheet {
  background: #1c1c1e !important;
  color: #fff !important;
  border: 0 !important;
}
html[data-theme=dark] .pq-sheet h3 {
  color: #fff !important;
}
html[data-theme=dark] .pq-sheet :is(p, .pq-foot, .pq-tv-options p) {
  color: #98989d !important;
}
html[data-theme=dark] .pq-sheet h4 {
  color: #8d8d93 !important;
}
html[data-theme=dark] .pq-sheet button {
  background: #2c2c2e !important;
  color: #409cff !important;
  border: 0 !important;
  box-shadow: none !important;
}
html[data-theme=dark] .pq-sheet button.primary {
  background: #0a84ff !important;
  color: #fff !important;
}
html[data-theme=dark] .pq-sheet button:disabled {
  opacity: .45;
}
html[data-theme=dark] .pq-sheet .pq-foot a {
  color: #409cff;
}
.pq-pill.pq-fict .pq-av {
  box-shadow: none !important;
  outline: 2px dashed #8e8e93;
  outline-offset: 1px;
}
.pq-pill.pq-fict .pq-pill-name {
  color: #8e8e93 !important;
}
.pq-consent-line {
  margin: 10px 4px 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: #6d6d72;
  text-align: center;
}
.pq-consent-line a {
  color: #235db8;
}
html[data-theme=dark] .pq-consent-line {
  color: #98989d;
}
html[data-theme=dark] .pq-consent-line a {
  color: #89bdff;
}
:root {
  --j-bg:#f2f2f7;
  --j-group:#fff;
  --j-text:#000;
  --j-sub:#6d6d72;
  --j-sep:#c6c6c8;
  --j-blue:#0a6cff;
  --j-field:#f2f2f7;
}
html[data-theme=dark] {
  --j-bg:var(--pq-bg);
  --j-group:var(--pq-surface);
  --j-text:#fff;
  --j-sub:#98a6b8;
  --j-sep:#2c3d52;
  --j-blue:#5ea0ff;
  --j-field:var(--pq-surface-alt);
}
.game-secondary:has(.pq-join) {
  background: var(--j-bg) !important;
}
.pq-join.pq-join,
html[data-theme=dark] .pq-join.pq-join.entry {
  max-width: 460px;
  margin: 0 auto;
  padding: 8px 16px 24px !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: center;
  color: var(--j-text);
}
.pq-join .eyebrow {
  color: var(--j-sub) !important;
}
.pq-join h1 {
  color: var(--j-text) !important;
  margin: 4px 0 0;
}
.pq-join .join-art {
  height: 180px !important;
  margin: 8px auto !important;
}
html[data-theme=dark] .pq-join .join-art {
  background: #f2f2f7;
  border-radius: 14px;
  padding: 6px;
}
.pq-join-group {
  display: grid;
  gap: 10px;
  background: var(--j-group);
  border-radius: 12px;
  padding: 14px;
  text-align: left;
}
.pq-join-group label {
  font:
    400 13px -apple-system,
    system-ui,
    sans-serif;
  color: var(--j-sub);
  text-transform: uppercase;
  letter-spacing: .02em;
}
html body .pq-join-group input#pq-join-number,
.pq-join-group input {
  width: 100%;
  box-sizing: border-box;
  min-height: 56px;
  border: 0 !important;
  border-radius: 10px;
  background: var(--j-field) !important;
  color: var(--j-text) !important;
  font:
    600 30px/1 -apple-system,
    system-ui,
    sans-serif;
  letter-spacing: .18em;
  text-align: center;
  padding: 8px;
}
.pq-join-group input::placeholder {
  color: var(--j-sub);
  opacity: .5;
}
.pq-join-group button.primary {
  min-height: 50px;
  border: 0 !important;
  border-radius: 12px !important;
  background: #0a84ff !important;
  color: #fff !important;
  font:
    600 17px -apple-system,
    system-ui,
    sans-serif !important;
  opacity: 1;
}
html body .pq-join-group button.primary:disabled,
.pq-join-group button.primary:disabled {
  background: var(--j-field) !important;
  color: var(--j-sub) !important;
}
.pq-join-or {
  margin: 12px 0 !important;
  color: var(--j-sub) !important;
  font-size: 15px;
}
html body .pq-join-scan.pq-join-scan {
  display: block;
  width: 100%;
  min-height: 50px;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--j-group) !important;
  color: var(--j-blue) !important;
  font:
    600 17px -apple-system,
    system-ui,
    sans-serif !important;
  box-shadow: none !important;
}
.pq-join-note {
  margin: 14px 4px 0 !important;
  font-size: 13px;
  color: var(--j-sub) !important;
}
.pq-join-organizer {
  margin: 28px 4px 0 !important;
  font-size: 12px;
  color: var(--j-sub) !important;
  text-align: center;
}
.pq-join-organizer a {
  color: inherit;
  text-decoration: underline;
}
.pq-join .alert {
  margin-top: 12px;
  text-align: left;
}
.pq-registering .pq-lobby-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 6px;
  margin-top: 16px;
}
.pq-registering .pq-lobby-head strong {
  font:
    600 17px/1.3 -apple-system,
    system-ui,
    sans-serif;
}
.pq-registering .pq-lobby-head .pq-objective {
  padding: 0;
  background: none !important;
  color: var(--j-sub) !important;
  font:
    400 15px -apple-system,
    system-ui,
    sans-serif;
}
.pq-registering .pq-lobby-head .pq-objective::before {
  content: "\b7  ";
}
.pq-registration .pq-id-preview {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin: 4px 0 6px;
}
.pq-registration .pq-id-round {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--j-group);
  box-shadow: 0 0 0 3px #0a84ff;
  font-size: 46px;
}
.pq-registration .pq-id-preview b {
  font:
    600 20px -apple-system,
    system-ui,
    sans-serif;
  color: var(--j-text);
  min-height: 24px;
}
.pq-registration .pq-id-hint {
  margin: -2px 4px 4px;
  font-size: 12.5px;
  color: var(--j-sub);
}
.pq-registration input::placeholder {
  color: var(--j-sub);
  opacity: .6;
}
html body .pq-registration .pq-id-random {
  display: block;
  width: 100%;
  min-height: 44px;
  margin: 0 0 4px;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--j-group) !important;
  color: var(--j-blue) !important;
  font:
    400 16px -apple-system,
    system-ui,
    sans-serif !important;
  text-align: left;
  padding: 0 14px !important;
  box-shadow: none !important;
}
.pq-registration .pq-id-group h3 {
  margin: 14px 4px 6px;
  font:
    400 12.5px -apple-system,
    system-ui,
    sans-serif;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--j-sub);
}
.pq-registration .icon-grid.icon-grid {
  max-height: none !important;
  overflow: visible !important;
}
.pq-registration .pq-id-bar {
  position: sticky;
  bottom: 0;
  z-index: 2;
  display: grid;
  gap: 4px;
  margin: 8px -16px 0;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: var(--j-bg);
  border-top: 1px solid var(--j-sep);
}
.pq-registration .pq-id-bar .primary {
  margin-top: 0;
}
.pq-registration .pq-id-bar .primary:disabled {
  opacity: .45;
}
.pq-registration .pq-id-bar .pq-consent-line {
  margin: 2px 0 0;
}

/* game/player-claims.css */
.pq-claim-list {
  list-style: none;
  margin: .6em 0 1em;
  padding: 0;
  display: grid;
  gap: .5em;
}
.pq-claim-list button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8em;
  padding: .6em .9em;
  border-radius: 12px;
  border: 1px solid #c9d3e2;
  background: #eef1f6;
  color: #5d6b80;
  font: inherit;
  text-align: left;
}
.pq-claim-who {
  font-weight: 700;
}
.pq-claim-me {
  color: #235db8;
  font-weight: 800;
  white-space: nowrap;
}
.pq-claim-removed {
  background: #fff4e5;
  border: 1px solid #f0b46e;
  border-radius: 10px;
  padding: .6em .8em;
}
.pq-claim-ask {
  position: fixed;
  left: 50%;
  top: calc(env(safe-area-inset-top, 0px) + 12px);
  transform: translateX(-50%);
  z-index: 9000;
  width: min(92vw, 420px);
  box-sizing: border-box;
  background: #fff;
  color: #172c48;
  border: 2px solid #235db8;
  border-radius: 14px;
  box-shadow: 0 8px 28px #0004;
  padding: .8em 1em;
  font-family: system-ui, sans-serif;
}
.pq-claim-ask p {
  margin: 0 0 .6em;
}
.pq-claim-ask div {
  display: flex;
  gap: .6em;
}
.pq-claim-ask button {
  flex: 1;
}
.pq-remove-player ul {
  list-style: none;
  margin: .4em 0;
  padding: 0;
  display: grid;
  gap: .3em;
}
.pq-remove-player li button {
  width: 100%;
  text-align: left;
}
.pq-remove-player .pq-off {
  color: #7a8597;
}
[data-pq=player][data-removed=true] {
  opacity: .55;
  filter: grayscale(1);
}
.cps-removed {
  font-size: .7em;
  font-weight: 600;
  color: #7a8597;
}
.pq-remove {
  position: fixed;
  inset: 0;
  z-index: 3600;
  background: #0009;
  display: grid;
  place-items: center;
  padding: 16px;
}
.pq-remove-box {
  width: min(380px, 100%);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  background: #fff;
  color: #172c48;
  border-radius: 16px;
  padding: 18px;
  display: grid;
  gap: 12px;
}
.pq-remove-box h2 {
  margin: 0;
  font-size: 19px;
  text-align: center;
}
.pq-remove-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.pq-remove-box li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 6px 6px 12px;
  border-radius: 12px;
  background: #f2f5fa;
  font-weight: 700;
}
.pq-remove-box li .pq-off {
  opacity: .6;
}
.pq-remove-box li small {
  font-weight: 500;
  font-style: italic;
}
.pq-remove-btn {
  flex: none;
  width: 42px;
  height: 42px;
  min-height: 0 !important;
  padding: 0 !important;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fdecec !important;
  color: #c62828 !important;
  border: 1px solid #f3c4c1 !important;
}
.pq-remove-ask p {
  margin: 0 0 12px;
  text-align: center;
}
.pq-remove-ask > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pq-remove-ask button {
  min-height: 46px;
}
.pq-remove-go {
  background: #c62828 !important;
  border-color: #c62828 !important;
  color: #fff !important;
}
.pq-remove-note {
  font-size: 12.5px;
  color: #596b83;
  margin: 10px 0 0;
  text-align: left;
}
.pq-registrations-closed {
  margin: 4px 0;
  font-size: 13px;
  color: #596b83;
  font-weight: 600;
}
.pq-photo-removal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px;
  max-height: 55vh;
  overflow: auto;
}
.pq-photo-removal-list button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: none;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
}
.pq-photo-removal-list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pq-photo-removal .pq-remove-box > img {
  max-width: 100%;
  max-height: 40vh;
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}
.pq-photo-removal .pq-remove-box {
  display: grid;
  gap: 10px;
}
.pq-blocked {
  margin-top: 12px;
  text-align: left;
}
.pq-blocked h3 {
  font-size: 15px;
  margin: 0 0 6px;
}
.pq-blocked ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.pq-blocked li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.pq-claim-ask div {
  flex-wrap: wrap;
}
.pq-claim-ask button {
  flex: 1 1 calc(50% - .6em);
  min-width: 0;
  white-space: normal;
}
.pq-player-exit .pq-exit-big {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: auto !important;
  padding: 12px 14px !important;
  white-space: normal;
}
.pq-player-exit .pq-exit-big small {
  font-weight: 500;
  font-size: 13.5px;
  line-height: 1.3;
  opacity: .85;
}

/* game/what-next.css */
.pq-what-next {
  display: grid;
  gap: 8px;
  margin: 8px 0;
  padding: 12px;
  background: #fff;
  color: #172c48;
  border: 1px solid #dce4f0;
  border-radius: 14px;
  box-shadow: 0 3px 10px #172c4814;
  font:
    15px/1.35 Nunito,
    system-ui,
    sans-serif;
  text-align: left;
}
.pq-what-next h2 {
  margin: 0;
  font:
    900 18px/1.2 Nunito,
    system-ui,
    sans-serif;
  color: #172c48;
}
.pq-what-next-left {
  margin: 0;
  background: #eef4fd;
  border-radius: 9px;
  padding: 6px 10px;
  font-size: 14px;
}
.pq-what-next-option {
  display: grid;
  gap: 7px;
  border: 1.5px solid #dce4f0;
  border-radius: 12px;
  padding: 10px;
}
.pq-what-next-option.pq-main {
  border-color: #186bd0;
  background: #f1f6fd;
}
.pq-what-next-option.pq-off > .pq-what-next-title {
  opacity: .45;
}
.pq-what-next-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 15px;
}
.pq-what-next-title svg {
  flex: none;
  color: #186bd0;
}
.pq-what-next small {
  color: #566781;
  font-size: 13px;
}
.pq-what-next-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pq-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dce4f0;
  border-radius: 9px;
  overflow: hidden;
  background: #fff;
}
.pq-stepper b {
  min-width: 36px;
  text-align: center;
  font-size: 16px;
}
.pq-stepper button {
  width: 34px !important;
  min-width: 34px !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #eef4fd !important;
  color: #186bd0 !important;
  font: 900 18px/1 system-ui !important;
}
.pq-stepper button:disabled {
  opacity: .35;
}
.pq-what-next-check {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}
.pq-what-next-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #186bd0;
}
.pq-what-next button.primary {
  justify-self: start;
  background: #186bd0 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 9px !important;
  padding: 8px 16px !important;
  font-weight: 900;
}
.pq-what-next button.ghost {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent !important;
  color: #186bd0 !important;
  border: 1.5px solid #186bd0 !important;
  border-radius: 9px !important;
  padding: 6px 12px !important;
  font-weight: 800;
}
.pq-what-next button.ghost svg {
  width: 16px;
  height: 16px;
}
.pq-what-next button.pq-danger {
  color: #c32220 !important;
  border-color: #c32220 !important;
}
.pq-what-next-why {
  color: #c32220;
  font-size: 13px;
  font-weight: 700;
}
.pq-what-next [role=alert] {
  margin: 0;
  color: #c32220;
  font-weight: 700;
}
.pq-what-next-wait {
  justify-items: center;
  text-align: center;
  padding: 16px;
}
.pq-what-next-wait strong {
  font-size: 16px;
}
.pq-what-next .pq-dots {
  display: flex;
  gap: 6px;
}
.pq-what-next .pq-dots > i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8b9db5;
  animation: pq-dot 1.2s infinite ease-in-out;
}
.pq-what-next .pq-dots > i:nth-child(2) {
  animation-delay: .2s;
}
.pq-what-next .pq-dots > i:nth-child(3) {
  animation-delay: .4s;
}
@media (prefers-reduced-motion: reduce) {
  .pq-what-next .pq-dots > i {
    animation: none;
    opacity: .6;
  }
}
html body .pq-cps-board [data-pq=photo]:has(> .pq-what-next) {
  overflow: auto !important;
}
html body .pq-cps-board [data-pq=photo]:has(> .pq-what-next) > [data-current-photo] {
  display: none !important;
}
html body .pq-cps-board [data-pq=photo]:has(> .pq-what-next) > .cps-photo-result {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0 4px !important;
}
html body .pq-cps-board [data-pq=photo]:has(> .pq-what-next:not(.pq-what-next-wait)) > .cps-photo-result {
  display: none !important;
}
html body .illustrated-duel :has(> .pq-what-next:not(.pq-what-next-wait)) > [data-current-photo] {
  display: none !important;
}
html body .illustrated-duel :has(> .pq-what-next) {
  overflow: auto !important;
  align-content: start;
}
html body .illustrated-duel .pq-what-next {
  width: 100%;
  box-sizing: border-box;
}
.pq-what-next-tokens {
  display: grid;
  gap: 5px;
  border: 0;
  margin: 0;
  padding: 0;
}
.pq-what-next-tokens legend {
  font-weight: 800;
  font-size: 14px;
  padding: 0;
  margin-bottom: 2px;
}
.pq-what-next-tokens input[type=radio] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #186bd0;
}
.pq-what-next-ends {
  display: grid;
  gap: 10px;
}
.pq-what-next-ends > div {
  display: grid;
  gap: 4px;
}
.pq-stepper b {
  color: #172c48;
  font-weight: 900;
}
html[data-theme=dark] .pq-stepper {
  background: #26365a !important;
  border-color: #4a5d82 !important;
}
html[data-theme=dark] .pq-stepper b {
  color: #fff !important;
  background: #26365a !important;
}
html body .cps-v2 [data-pq=photo] .pq-what-next h2 {
  position: static;
  left: auto;
  top: auto;
  z-index: auto;
  padding: 0;
  background: none;
  border-radius: 0;
  pointer-events: auto;
}

/* game/reference/app/version3/board.module.css */
.board_shell.shell {
  max-width: 1100px;
  padding: 8px;
  background: #fff;
  color: #111827;
  min-height: 100svh;
}
.board_shell .topbar {
  margin: 0 0 6px;
  height: 40px;
  min-height: 36px;
  padding: 0 4px;
}
.board_shell .hostHelp {
  display: none;
}
.board_board {
  --thumb-height:96px;
  --team-height:158px;
  --photo-height:clamp(220px,calc(100svh - 490px),300px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: var(--team-height) 56px var(--photo-height) 56px var(--team-height);
  gap: 0;
  position: relative;
  background: #fff;
  color: #111827;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  max-width: 700px;
  margin: auto;
  width: 100%;
  isolation: isolate;
}
.board_board,
.board_board * {
  box-sizing: border-box;
}
.board_board h2 {
  font-family: inherit;
  letter-spacing: normal;
}
.board_board button {
  cursor: pointer;
  font-family: inherit;
  box-shadow: none;
  touch-action: manipulation;
}
.board_board button:disabled {
  cursor: default;
}
.board_board button:focus-visible,
.board_track:focus-visible {
  outline: 3px solid #111827;
  outline-offset: 2px;
}
.board_team {
  min-width: 0;
  margin: 0 0;
  border: 2px solid var(--owner);
  border-radius: 10px;
  background: var(--pale);
  padding: 3px 7px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: 26px minmax(0, 1fr);
}
.board_team0 {
  grid-row: 1;
}
.board_team1 {
  grid-row: 5;
}
.board_teamHeading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  position: relative;
  z-index: 2;
  background: var(--pale);
  height: 26px;
}
.board_teamIdentity {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding-right: 4px;
}
.board_teamIdentity > svg {
  color: var(--name);
  flex-shrink: 0;
}
.board_teamHeading h2 {
  font-size: 16px;
  line-height: 20px;
  font-weight: 750;
  color: var(--name);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}
.board_metrics {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 13px;
  white-space: nowrap;
  min-width: 0;
  color: #111827;
}
.board_score {
  display: grid;
  grid-template-columns: 24px auto 24px;
  align-items: center;
  justify-items: center;
  font-size: 13px;
  color: #111827;
  white-space: nowrap;
}
.board_score strong {
  font-family: var(--score-font,Arial,Helvetica,sans-serif);
}
.board_score small {
  font-size: 12px;
}
.board_metrics > span {
  display: flex;
  gap: 3px;
  align-items: center;
}
.board_metrics small {
  font-size: 12px;
}
.board_reserveToken {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--owner);
  color: white;
}
.board_reserveToken svg {
  width: 17px;
  height: 17px;
}
.board_progress {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: conic-gradient(var(--owner) var(--progress), #c9d2dd 0);
  position: relative;
  justify-content: center;
}
.board_progress:before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--pale);
}
.board_progress svg {
  width: 15px;
  height: 15px;
  color: var(--owner);
  z-index: 1;
  opacity: .45;
}
.board_track {
  overflow: auto hidden;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  margin-top: -18px;
  margin-inline: -9px;
  width: calc(100% + 18px);
  padding-top: 18px;
  height: calc(var(--thumb-height) + 42px);
  min-width: 0;
  position: relative;
  z-index: 3;
}
.board_track::-webkit-scrollbar {
  display: none;
}
.board_rail {
  display: flex;
  align-items: flex-end;
  min-width: max-content;
  padding: 0 20px 4px;
  border-bottom: 2px solid #b5c6d8;
  position: relative;
}
.board_item {
  flex: 0 0 auto;
  min-width: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: max-content;
  position: relative;
}
.board_year {
  height: 20px;
  min-width: 44px;
  font-size: 16px;
  font-weight: 750;
  line-height: 20px;
  text-align: center;
  white-space: nowrap;
}
.board_thumb {
  display: block;
  width: calc(var(--thumb-height) * var(--ratio,1));
  height: var(--thumb-height);
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: #dce8f0;
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.board_thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.board_awarded:after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 3px var(--owner);
  border-radius: inherit;
  pointer-events: none;
  z-index: 7;
}
.board_awardSlot {
  overflow: hidden;
  will-change: width;
}
.board_awardSlot[style*=--award-open] {
  min-width: 0;
  width: calc(var(--award-width,100px) * var(--award-open,1));
}
.board_awardSlot > [data-award-target] {
  flex: none;
}
.board_gap {
  flex: 0 0 8px;
  width: 8px;
  height: calc(var(--thumb-height) + 12px);
  position: relative;
}
.board_stem {
  position: absolute;
  left: var(--indicator-axis,50%);
  transform: translateX(-50%);
  top: 18px;
  bottom: 0;
  border-left: 2px dashed var(--owner);
  pointer-events: none;
}
.board_locked .board_stem {
  border-left-style: solid;
}
.board_gapButton {
  position: absolute;
  left: var(--indicator-axis,50%);
  top: -14px;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  padding: 2px;
  background: transparent;
  z-index: 5;
  display: grid;
  place-items: center;
  overflow: visible;
}
.board_gapButton:disabled {
  opacity: 1;
  cursor: default;
}
.board_indicator {
  width: 40px;
  height: 40px;
  flex: none;
  display: inline-grid;
  place-items: center;
  position: relative;
  border: 2px dashed var(--owner);
  border-radius: 10px;
  background: #fff;
  color: var(--owner);
  vertical-align: middle;
}
.board_indicator > svg {
  width: 36px;
  height: 36px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.board_indicator.board_contest {
  border-radius: 50%;
}
.board_indicator.board_contest > svg {
  width: 29px;
  height: 29px;
}
.board_available:not(.board_contest) {
  color: #d95000;
  border-color: #e65b08;
  background: #fff4e9;
}
.board_chosen {
  border-style: solid;
  background: #fff;
}
.board_confirmed {
  border-style: solid;
  background: var(--owner);
  color: #fff;
}
.board_small {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border-width: 2px;
}
.board_small > svg {
  width: 25px;
  height: 25px;
}
.board_small.board_contest > svg {
  width: 22px;
  height: 22px;
}
.board_outcome {
  position: absolute;
  right: -5px;
  top: -3px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px #0002;
  z-index: 2;
}
.board_outcome > svg {
  width: 18px;
  height: 18px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.board_correct {
  color: #168344;
}
.board_incorrect {
  color: #bd2430;
}
.board_action {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 56px;
  padding: 4px 8px;
  background: var(--action);
  border: 1px solid var(--owner);
  border-radius: 9px;
  color: #111827;
  margin: 0;
}
.board_action0 {
  grid-row: 2;
}
.board_action1 {
  grid-row: 4;
}
.board_waiting {
  background: #f5f7fa;
  border-color: #e2e7ee;
  color: #617186;
}
.board_actionLabel {
  flex: 0 0 90px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  line-height: 16px;
}
.board_actionLabel strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.board_actionLabel > span {
  font-size: 12px;
  line-height: 14px;
}
.board_commands {
  flex: 1;
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
}
.board_commands button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 44px;
  min-width: 0;
  max-width: 320px;
  padding: 5px 6px;
  border: 1px solid #b8c7d6;
  border-radius: 7px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
}
.board_commands button:disabled {
  opacity: .55;
}
.board_commands svg {
  flex: none;
}
.board_commands .board_placementHint {
  border-color: transparent;
  background: transparent;
}
.board_commands .board_placementHint {
  padding-block: 0;
}
.board_placementSource {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.board_placementSource .board_indicator > svg {
  width: 36px;
  height: 36px;
}
.board_indicator.board_chosen:not(.board_contest) {
  background: var(--owner);
  color: #fff;
}
.board_placementFlight {
  position: fixed;
  box-sizing: border-box;
  z-index: 1100;
  pointer-events: none;
  touch-action: none;
  will-change: left, top;
}
.board_placementSource .board_indicator {
  border: 1px solid #fff;
}
.board_gapButton[data-draggable=true] {
  touch-action: none;
}
.board_receptacle {
  position: absolute;
  inset: 2px;
  display: none;
  pointer-events: none;
}
.board_gapButton[data-token-flying] > [data-choice-kind=contest] {
  visibility: hidden;
}
.board_gapButton[data-token-flying] .board_receptacle {
  display: grid;
  place-items: center;
}
.board_choices > div {
  background: color-mix(in srgb, var(--pale) 12%, transparent);
}
.board_result .board_bonusIcon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: none;
  background: #1683F8;
  color: #fff;
  border-radius: 3px;
}
.board_reserveToken[data-reserve-source=true],
.board_photo[data-photo-draggable=true] {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.board_reserveToken[data-reserve-empty=true] {
  visibility: hidden;
}
.board_placementFlight.board_reserveToken svg {
  width: 29px;
  height: 29px;
}
.board_photoDrag {
  border-radius: 5px;
  background: #dce8f0;
  overflow: hidden;
}
.board_photoDrag img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.board_center {
  grid-row: 3;
  margin: 2px 0;
  min-width: 0;
  min-height: 0;
}
.board_photo {
  height: 100%;
  width: 100%;
  background: #dce8f0;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.board_mainImage {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.board_choices {
  position: absolute;
  right: 6px;
  top: 6px;
  max-width: calc(100% - 12px);
  background: #ffffff99;
  border-radius: 10px;
  padding: 5px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 2px 6px #183b5015;
  z-index: 8;
  pointer-events: none;
}
.board_choices > div {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--name);
  font-size: 14px;
  line-height: 18px;
}
.board_choices .board_noContest {
  color: #667085;
}
.board_noContest .board_indicator {
  border-color: #98a2b3;
  color: #667085;
  border-style: solid;
  background: transparent;
}
.board_noContest strong {
  font-size: 24px;
  line-height: 18px;
}
.board_zoom {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: #ffffffe8;
  color: #24496c;
  display: grid;
  place-items: center;
  z-index: 9;
}
.board_result {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  max-width: calc(100% - 20px);
  padding: 8px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #ffffffeb;
  border-radius: 12px;
  color: #111827;
  text-align: center;
  z-index: 6;
  line-height: 20px;
  font-size: 16px;
  width: max-content;
}
.board_result > strong {
  font-size: 26px;
  line-height: 29px;
}
.board_result > svg {
  width: 26px;
  height: 26px;
  color: #a7770b;
}
.board_result small {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-basis: 100%;
  gap: 4px;
  color: var(--name);
  font-size: 14px;
  font-weight: 700;
}
.board_result small svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.board_final {
  position: absolute;
  inset: 0;
  background: #fffffff0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
  z-index: 10;
}
.board_final > svg {
  color: #b78a12;
  width: 32px;
  height: 32px;
}
.board_final h2 {
  font-size: 22px;
  line-height: 26px;
  margin: 6px 0;
}
.board_final p {
  font-size: 14px;
  margin: 0;
}
.board_flight {
  position: fixed;
  z-index: 1000;
  border-radius: 6px;
  overflow: hidden;
  background: #dce8f0;
  pointer-events: none;
  box-shadow: inset 0 0 0 3px var(--owner);
  will-change:
    left,
    top,
    width,
    height;
}
.board_flight img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.board_flight:after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 3px var(--owner);
  border-radius: inherit;
}
.board_tokenFlight,
.board_bonusFlight {
  position: fixed;
  z-index: 1001;
  width: 40px;
  height: 40px;
  border: 2px solid var(--owner);
  border-radius: 50%;
  background: #fff;
  color: var(--owner);
  display: grid;
  place-items: center;
  pointer-events: none;
}
.board_tokenFlight svg {
  width: 29px;
  height: 29px;
}
.board_bonusFlight {
  width: 48px;
  height: 32px;
  border-radius: 18px;
  background: var(--owner);
  color: #fff;
  font-weight: 750;
}
@media (max-width: 360px) {
  .board_metrics {
    gap: 5px;
    font-size: 12px;
  }
  .board_score {
    font-size: 12px;
  }
  .board_teamHeading h2 {
    font-size: 15px;
  }
  .board_teamIdentity > svg {
    display: none;
  }
  .board_actionLabel {
    flex-basis: 76px;
  }
  .board_commands,
  .board_commands button {
    font-size: 13px;
  }
  .board_commands svg {
    width: 15px;
  }
  .board_choices > div {
    font-size: 13px;
  }
}
@media (orientation: portrait) and (min-width: 600px) {
  .board_board {
    --thumb-height:128px;
    --team-height:190px;
    --photo-height:clamp(260px,calc(100svh - 554px),520px);
    max-width: 850px;
  }
  .board_teamHeading h2 {
    font-size: 20px;
  }
  .board_metrics {
    font-size: 16px;
    gap: 12px;
  }
  .board_score {
    font-size: 16px;
  }
  .board_actionLabel {
    flex-basis: 150px;
    font-size: 16px;
  }
  .board_commands,
  .board_commands button {
    font-size: 16px;
  }
  .board_choices > div {
    font-size: 16px;
  }
}
@media (orientation: landscape) {
  .board_shell.shell {
    max-width: 1400px;
  }
  .board_board {
    max-width: 1040px;
    --photo-height:230px;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.4fr);
    grid-template-rows: 158px 62px 56px 56px;
    column-gap: 8px;
  }
  .board_team0 {
    grid-column: 2;
    grid-row: 1;
  }
  .board_team1 {
    grid-column: 2;
    grid-row: 2/5;
    align-self: end;
    height: 158px;
  }
  .board_center {
    grid-column: 1;
    grid-row: 1/3;
  }
  .board_action0 {
    grid-column: 1;
    grid-row: 3;
  }
  .board_action1 {
    grid-column: 1;
    grid-row: 4;
  }
  .board_teamHeading h2 {
    font-size: 16px;
  }
  .board_result {
    max-width: 95%;
    font-size: 14px;
    gap: 5px;
  }
  .board_result strong {
    font-size: 23px;
  }
  .board_result > svg {
    width: 22px;
    height: 22px;
  }
}
@media (orientation: landscape) and (min-height: 600px) {
  .board_board {
    --thumb-height:128px;
    --team-height:188px;
    max-width: 1360px;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    grid-template-rows: 188px 108px 108px 188px;
    column-gap: 10px;
  }
  .board_team0 {
    grid-column: 1/-1;
    grid-row: 1;
    height: 188px;
  }
  .board_team1 {
    grid-column: 1/-1;
    grid-row: 4;
    height: 188px;
  }
  .board_center {
    grid-column: 1;
    grid-row: 2/4;
  }
  .board_action0 {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
  }
  .board_action1 {
    grid-column: 2;
    grid-row: 3;
    align-self: center;
  }
  .board_teamHeading h2 {
    font-size: 20px;
  }
  .board_metrics {
    font-size: 16px;
    gap: 12px;
  }
  .board_score {
    font-size: 16px;
  }
  .board_commands,
  .board_commands button {
    font-size: 16px;
  }
  .board_actionLabel {
    flex-basis: 115px;
  }
  .board_choices > div {
    font-size: 16px;
  }
}
.board_tv {
  max-width: none;
}
@media (prefers-reduced-motion: reduce) {
  .board_board * {
    scroll-behavior: auto !important;
  }
}
.board_gapButton > .board_receptacle[data-placement-placeholder] {
  display: grid;
  place-items: center;
  inset: 2px;
  z-index: 0;
}
.board_gapButton > [data-choice-kind] {
  z-index: 1;
}

/* game/duel/duel.css */
.duel-live * {
  box-sizing: border-box;
}
.duel-live {
  margin: 0;
  background: #F3F6FB;
  color: #172C48;
  font: 15px system-ui, sans-serif;
}
.duel-live button,
.duel-live a,
.duel-live summary {
  touch-action: manipulation;
}
.duel-live button {
  font: inherit;
  cursor: pointer;
  min-height: 44px;
  border: 1px solid #CAD5E5;
  border-radius: 9px;
  background: white;
  color: #235DB8;
  padding: 6px 10px;
}
.duel-live button:focus-visible,
.duel-live a:focus-visible,
.duel-live summary:focus-visible {
  outline: 3px solid #C45114;
  outline-offset: 3px;
}
.duel-live {
  max-width: 1280px;
  margin: auto;
  padding: 10px 14px;
}
.duel-live .duel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  margin-bottom: 4px;
}
.duel-live .brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 6px;
  font-size: 23px;
  font-weight: 750;
  color: #172C48;
  letter-spacing: -1px;
}
.duel-live .brand > img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.duel-live .brand > span > span:last-child {
  color: #235DB8;
}
.duel-live .back {
  color: #235DB8;
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 13px;
}
.duel-live .name {
  margin-left: auto;
  font-size: 13px;
}
.duel-live .example-code {
  font-size: 12px;
  color: #566781;
  white-space: nowrap;
}
.duel-live .duel-header details {
  position: relative;
  font-size: 12px;
}
.duel-live .duel-header summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: #235DB8;
  padding: 7px;
}
.duel-live .duel-header details[open] {
  background: white;
  border: 1px solid #CAD5E5;
  border-radius: 9px;
  padding: 8px;
}
.duel-live .duel-header details p {
  max-width: 180px;
}
.duel-live .preview-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12px;
  margin: 6px 0;
}
.duel-live .preview-controls strong {
  margin-right: 6px;
}
.duel-live .preview-controls button {
  font-size: 12px;
  min-height: 36px;
  padding: 5px 9px;
}
.duel-live .preview-controls button[aria-pressed=true] {
  background: #E5EEFC;
  border-color: #235DB8;
  font-weight: 650;
}
.duel-live .preview-note {
  font-size: 11px;
  color: #566781;
  margin: 4px 0 8px;
  line-height: 1.4;
}
.duel-live .turn-message {
  font-size: 13px;
  font-weight: 650;
  margin: 8px 0;
  padding: 6px 9px;
  border-left: 3px solid #235DB8;
  background: white;
  border-radius: 5px;
}
.duel-live .notice,
.duel-live footer {
  font-size: 11px;
  line-height: 1.5;
  color: #566781;
  margin: 12px 0;
}
.duel-live footer {
  border-top: 1px solid #CAD5E5;
  padding-top: 9px;
}
.duel-live .photoLightbox {
  z-index: 2000;
}
@media (max-width: 600px) {
  .duel-live {
    padding: 6px 8px;
  }
  .duel-live .duel-header {
    gap: 7px;
    flex-wrap: wrap;
  }
  .duel-live .name {
    display: none;
  }
  .duel-live .example-code {
    margin-left: auto;
  }
  .duel-live .brand {
    font-size: 21px;
  }
  .duel-live .brand > img {
    width: 38px;
    height: 38px;
  }
  .duel-live .preview-controls {
    gap: 4px;
  }
  .duel-live .preview-controls strong {
    width: 100%;
  }
  .duel-live .preview-controls button {
    min-height: 36px;
  }
  .duel-live .turn-message {
    font-size: 12px;
  }
  .duel-live .preview-note {
    font-size: 10px;
  }
}
@media (orientation: landscape) and (max-height: 600px) {
  .duel-live .preview-controls strong {
    width: auto;
  }
  .duel-live .duel-header .brand > img {
    width: 32px;
    height: 32px;
  }
  .duel-live .duel-header {
    min-height: 40px;
  }
  .duel-live .preview-controls {
    margin: 2px 0;
  }
  .duel-live .preview-note {
    margin-bottom: 4px;
  }
}
.duel-live .festive-result {
  position: absolute;
  inset: 6px;
  z-index: 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 12px;
  border-radius: 13px;
  background: #ffffffed;
  box-shadow: inset 0 0 0 1px #CAD5E5;
  pointer-events: none;
  text-align: center;
  overflow: hidden;
}
.duel-live .celebrate-title {
  font-size: 17px;
  color: #235DB8;
  position: relative;
  z-index: 1;
}
.duel-live .winning-interval {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  position: relative;
  z-index: 1;
  max-width: 100%;
  width: 310px;
}
.duel-live .winning-interval > span:not(.interval-line) {
  font-size: 17px;
  color: #566781;
  font-weight: 650;
}
.duel-live .winning-interval > strong {
  font-size: 48px;
  line-height: 1.08;
  letter-spacing: -1px;
  color: #235DB8;
  background: #E5EEFC;
  border-radius: 13px;
  padding: 4px 11px;
  border: 2px solid #235DB8;
}
.duel-live .interval-line {
  flex: 1;
  height: 2px;
  min-width: 12px;
  background: #C45114;
  border-radius: 3px;
}
.duel-live .leading-score {
  font-size: 15px;
  font-weight: 700;
  color: #172C48;
  line-height: 1.3;
  margin: 0;
  position: relative;
  z-index: 1;
}
.duel-live .new-token {
  margin: 0;
  font-size: 13px;
  font-weight: 650;
  background: #FFF1E9;
  color: #934015;
  border-radius: 8px;
  padding: 6px 9px;
  position: relative;
  z-index: 1;
}
.duel-live .confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.duel-live .confetti i {
  position: absolute;
  top: 0;
  width: 5px;
  height: 9px;
  opacity: 0;
  animation: confetti-fall 1.3s ease-out forwards;
}
.duel-live .bonus-example {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  min-height: 36px;
  color: #566781;
}
.duel-live .bonus-example input {
  width: 18px;
  height: 18px;
  accent-color: #235DB8;
}
@keyframes confetti-fall {
  0% {
    opacity: 0;
    translate: 0 -10px;
  }
  15% {
    opacity: .75;
  }
  100% {
    opacity: 0;
    translate: 12px 200px;
  }
}
@media (max-width: 500px) {
  .duel-live .winning-interval {
    gap: 7px;
    width: 280px;
  }
  .duel-live .winning-interval > strong {
    font-size: 43px;
    padding: 4px 9px;
  }
  .duel-live .leading-score {
    font-size: 14px;
  }
  .duel-live .new-token {
    font-size: 12px;
  }
  .duel-live .festive-result {
    padding: 9px;
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .duel-live .confetti i {
    animation: none;
  }
}
@media (orientation: landscape) and (max-height: 600px) {
  .duel-live .festive-result {
    padding: 7px;
    gap: 5px;
  }
  .duel-live .winning-interval > strong {
    font-size: 42px;
  }
  .duel-live .new-token {
    padding: 4px 8px;
  }
}
.duel-live .festive-result {
  animation: result-uncover .8s step-end both;
}
.duel-live .encouragement {
  font-size: 13px;
  margin: 0;
  color: #934015;
  position: relative;
  z-index: 1;
}
.duel-live .encouragement b {
  font-weight: 650;
}
.duel-live .winner-token {
  white-space: nowrap;
  color: #934015;
  background: #FFF1E9;
  border-radius: 8px;
  padding: 3px 6px;
}
.duel-live .quote-picker {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
}
.duel-live .quote-picker select {
  max-width: 190px;
  min-height: 36px;
  border: 1px solid #CAD5E5;
  border-radius: 7px;
  color: #172C48;
  background: white;
}
.duel-live .leading-score {
  font-size: 13px;
}
.duel-live .celebrate-title {
  font-size: 16px;
}
@keyframes result-uncover {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .duel-live .festive-result {
    animation: none;
  }
}
@media (max-width: 500px) {
  .duel-live .celebrate-title {
    font-size: 14px;
  }
  .duel-live .encouragement,
  .duel-live .leading-score {
    font-size: 12px;
  }
}
@media (orientation: landscape) and (max-height: 600px) {
  .duel-live .winning-interval > strong {
    font-size: 36px;
  }
  .duel-live .festive-result {
    gap: 4px;
    padding: 6px;
  }
}
.duel-live .festive-result {
  padding: 12px 54px 12px 14px;
  gap: 9px;
}
.duel-live .winner-announcement {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}
.duel-live .winner-announcement[data-ready=false] {
  visibility: hidden;
}
.duel-live .celebrate-title {
  font-size: 27px;
  line-height: 1.1;
  font-weight: 850;
  color: #235DB8;
}
.duel-live .wins-photo {
  font-size: 19px;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 8px;
}
.duel-live .winner-token,
.duel-live .result-token-flight {
  display: inline-grid;
  place-items: center;
  border: 0;
  background: #235DB8;
  color: white;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  padding: 0;
}
.duel-live .winner-token svg,
.duel-live .result-token-flight svg {
  width: 24px;
  height: 24px;
}
.duel-live .leading-score {
  font-size: 21px;
  line-height: 1.2;
}
.duel-live .encouragement {
  font-size: 16px;
  line-height: 1.25;
}
.duel-live .next-on-result {
  pointer-events: auto;
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  min-height: 48px;
  padding: 4px;
  background: #E5EEFC;
  color: #235DB8;
  border: 1px solid #235DB8;
}
.duel-live .next-on-result:disabled {
  opacity: .35;
}
.duel-live .reveal-on-photo {
  position: absolute;
  right: 6px;
  top: 97px;
  z-index: 9;
  padding: 7px 10px;
  background: #235DB8;
  color: white;
  border-color: #235DB8;
  font-size: 16px;
}
.duel-live .winning-interval > strong {
  font-size: 52px;
}
.duel-live .winning-interval > span:not(.interval-line) {
  font-size: 20px;
}
@media (max-width: 500px) {
  .duel-live .celebrate-title {
    font-size: 24px;
  }
  .duel-live .wins-photo {
    font-size: 17px;
  }
  .duel-live .leading-score {
    font-size: 17px;
  }
  .duel-live .encouragement {
    font-size: 14px;
  }
  .duel-live .festive-result {
    gap: 8px;
    padding-left: 9px;
  }
  .duel-live .winning-interval {
    width: 100%;
    gap: 5px;
  }
  .duel-live .winning-interval > strong {
    font-size: 43px;
    padding: 4px 7px;
  }
  .duel-live .winning-interval > span:not(.interval-line) {
    font-size: 17px;
  }
}
@media (orientation: landscape) and (max-height: 600px) {
  .duel-live .festive-result {
    gap: 3px;
    padding-block: 5px;
  }
  .duel-live .celebrate-title {
    font-size: 23px;
  }
  .duel-live .wins-photo {
    font-size: 16px;
  }
  .duel-live .winner-token {
    width: 24px;
    height: 24px;
  }
  .duel-live .winner-token svg {
    width: 18px;
    height: 18px;
  }
  .duel-live .winning-interval > strong {
    font-size: 35px;
    padding-block: 2px;
  }
  .duel-live .leading-score {
    font-size: 17px;
  }
  .duel-live .encouragement {
    font-size: 14px;
  }
}
.duel-live [data-action-team][data-revealing=true] {
  background: white !important;
  color: #172C48 !important;
  border-color: #CAD5E5 !important;
}
.duel-live .photo-topbar {
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  z-index: 10;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  pointer-events: none;
}
.duel-live .photo-topbar > div {
  position: relative;
  top: auto;
  right: auto;
  max-width: calc(100% - 58px);
  flex: 0 1 auto;
}
.duel-live .photo-topbar .reveal-on-photo {
  position: static;
  flex: none;
  width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 6px;
  background: white;
  border: 1px solid #235DB8;
  color: #235DB8;
  pointer-events: auto;
}
.duel-live .reveal-on-photo svg {
  width: 32px;
  height: 32px;
  display: block;
}
.duel-live .won-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #235DB8;
  height: 29px;
}
.duel-live .award-plus {
  font-size: 19px;
}
.duel-live .winner-token {
  width: 27px;
  height: 27px;
}
.duel-live .winner-token svg {
  width: 20px;
  height: 20px;
}
.duel-live .result-scores {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.duel-live .result-scores strong {
  font-size: 1.15em;
}
.duel-live .next-on-result svg {
  width: 32px;
  height: 30px;
  display: block;
}
.duel-live .celebrate-title {
  font-size: 26px;
}
.duel-live .festive-result {
  gap: 8px;
}
.duel-live .winner-announcement {
  gap: 7px;
}
@media (max-width: 500px) {
  .duel-live .celebrate-title {
    font-size: 22px;
  }
  .duel-live .result-scores {
    margin-top: 10px;
  }
  .duel-live .photo-topbar {
    gap: 6px;
  }
  .duel-live .festive-result {
    gap: 8px;
  }
  .duel-live .next-on-result {
    width: 44px;
  }
}
@media (orientation: landscape) and (max-height: 600px) {
  .duel-live .festive-result {
    gap: 6px;
  }
  .duel-live .result-scores {
    margin-top: 8px;
    gap: 4px;
  }
  .duel-live .celebrate-title {
    font-size: 23px;
  }
  .duel-live .winner-token {
    width: 26px;
    height: 26px;
  }
}
.duel-live .result-scores .leading-score:first-child {
  color: #235DB8;
}
.duel-live .result-scores .leading-score:last-child {
  color: #C45114;
}
.duel-live .photo-topbar .reveal-on-photo {
  margin-left: auto;
  width: 58px;
  height: 58px;
  min-height: 58px;
  padding: 6px;
}
.duel-live .photo-topbar > div {
  max-width: calc(100% - 66px);
}
.duel-live .reveal-on-photo svg {
  width: 44px;
  height: 44px;
}
.duel-live .festive-result {
  z-index: 20;
  background: white;
  padding: 68px 14px;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.duel-live .next-on-result {
  top: 6px;
  right: 6px;
  transform: none;
  width: 58px;
  height: 58px;
  min-height: 58px;
  padding: 6px;
}
.duel-live .next-on-result svg {
  width: 44px;
  height: 42px;
}
.duel-live .result-scores {
  align-items: center;
}
.duel-live .encouragement {
  max-width: 100%;
}
@media (max-width: 500px) {
  .duel-live .festive-result {
    padding: 68px 10px;
  }
}
@media (orientation: landscape) and (max-height: 600px) {
  .duel-live .festive-result {
    padding: 66px 12px;
  }
}
.duel-live .festive-result {
  padding: 12px;
}
.duel-live .winning-interval {
  max-width: calc(100% - 100px);
}
@media (max-width: 500px) {
  .duel-live .festive-result {
    padding: 12px;
  }
  .duel-live .winning-interval {
    width: 260px;
  }
}
@media (orientation: landscape) and (max-height: 600px) {
  .duel-live .festive-result {
    padding: 12px;
  }
}
.duel-live .festive-result {
  border: 1px solid #CAD5E5;
  box-shadow: 0 3px 14px #172C4812;
  gap: 12px;
  padding: 12px;
}
.duel-live .celebrate-title {
  color: var(--winner-color);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 25px;
  line-height: 1.05;
}
.duel-live .wins-word {
  font-size: 24px;
}
.duel-live .celebration-rays {
  position: absolute;
  right: -25px;
  top: 22px;
  font-size: 18px;
  color: #C45114;
  transform: rotate(15deg);
}
.duel-live .celebrate-title:before {
  content: "\2726";
  position: absolute;
  left: -25px;
  top: 6px;
  color: #235DB8;
  font-size: 15px;
  transform: rotate(-15deg);
}
.duel-live .won-icons {
  color: var(--winner-color);
}
.duel-live .winner-token {
  background: var(--winner-color);
}
.duel-live .result-scores {
  width: 310px;
  max-width: 100%;
  gap: 7px;
  margin-top: 7px;
}
.duel-live .leading-score {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  width: 100%;
  font-size: 18px;
  text-align: left;
}
.duel-live .leading-score strong {
  font-size: 28px;
  line-height: 1;
}
.duel-live .encouragement {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: var(--encouragement-color);
  width: 320px;
  max-width: 100%;
}
.duel-live .encouragement > b {
  font-size: 12px;
  font-weight: 650;
}
.duel-live .encouragement > p {
  position: relative;
  margin: 0;
  border-radius: 13px;
  padding: 8px 14px;
  background: var(--encouragement-bg);
  font-size: 16px;
  font-weight: 650;
}
.duel-live .encouragement > p:before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--encouragement-bg);
}
.duel-live [data-ready=true] .winning-interval > strong {
  animation: year-bounce .5s ease-out both;
}
.duel-live [data-ready=true] .won-icons {
  animation: prize-pop .35s ease-out both;
}
@keyframes year-bounce {
  0% {
    transform: scale(.92);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes prize-pop {
  from {
    opacity: 0;
    transform: translateY(6px) scale(.8);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 500px) {
  .duel-live .festive-result {
    gap: 11px;
  }
  .duel-live .celebrate-title {
    font-size: 22px;
  }
  .duel-live .wins-word {
    font-size: 22px;
  }
  .duel-live .leading-score {
    font-size: 17px;
  }
  .duel-live .leading-score strong {
    font-size: 26px;
  }
  .duel-live .encouragement > p {
    font-size: 15px;
  }
  .duel-live .result-scores {
    width: 285px;
  }
}
@media (orientation: landscape) and (max-height: 600px) {
  .duel-live .festive-result {
    gap: 7px;
  }
  .duel-live .celebrate-title,
  .duel-live .wins-word {
    font-size: 20px;
  }
  .duel-live .leading-score {
    font-size: 16px;
  }
  .duel-live .leading-score strong {
    font-size: 24px;
  }
  .duel-live .encouragement > p {
    padding: 6px 12px;
    font-size: 14px;
  }
  .duel-live .encouragement {
    gap: 4px;
  }
  .duel-live .won-icons {
    height: 26px;
  }
  .duel-live .result-scores {
    gap: 4px;
    margin-top: 3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .duel-live [data-ready=true] .winning-interval > strong,
  .duel-live [data-ready=true] .won-icons {
    animation: none;
  }
}
.duel-live .result-scores {
  width: auto;
  min-width: 0;
}
.duel-live .leading-score {
  justify-content: center;
  gap: 9px;
}
.duel-live .timeline-zoom-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2100;
  background: #172C4870;
  padding: 12px;
  display: grid;
  place-items: center;
}
.duel-live .timeline-zoom {
  background: white;
  color: #172C48;
  border: 1px solid #CAD5E5;
  border-radius: 16px;
  padding: 16px;
  width: min(1100px, 100%);
  max-height: calc(100dvh - 24px);
  overflow: auto;
  --thumb-height:220px;
}
.duel-live .timeline-zoom header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.duel-live .timeline-zoom h2 {
  font-size: 20px;
  margin: 0;
}
.duel-live .timeline-zoom p {
  font-size: 14px;
}
.duel-live .timeline-zoom [data-track-team] {
  margin-top: 12px;
  margin-inline: 0;
  width: 100%;
  height: 265px;
  scroll-snap-type: x proximity;
}
.duel-live .timeline-zoom [data-photo-id] {
  scroll-snap-align: center;
}
.duel-live .timeline-zoom [data-timeline-photo] {
  pointer-events: none;
}
.duel-live .timeline-zoom [data-placement-target],
.duel-live .timeline-zoom [data-contest-target] {
  transition: transform .25s ease;
}
.duel-live .zoom-mystery {
  display: flex;
  gap: 14px;
  align-items: center;
  border-top: 1px solid #CAD5E5;
  padding: 12px 0;
  margin-top: 8px;
}
.duel-live .zoom-mystery > img {
  width: 145px;
  height: 100px;
  object-fit: contain;
  background: #E5EEFC;
  border-radius: 8px;
}
.duel-live .zoom-mystery > div {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.duel-live .zoom-drag-marker {
  touch-action: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.duel-live .zoom-demo {
  margin: 6px 0;
}
.duel-live .zoom-demo summary {
  min-height: 44px;
  cursor: pointer;
  color: #566781;
}
.duel-live .zoom-demo button,
.duel-live .zoom-demo label {
  margin: 4px;
}
.duel-live .zoom-demo select {
  min-height: 44px;
}
.duel-live .zoom-photo-flight {
  position: fixed;
  z-index: 2200;
  pointer-events: none;
  object-fit: contain;
  transform-origin: top left;
  border-radius: 6px;
}
.duel-live .timeline-zoom small {
  font-size: 12px;
  color: #566781;
}
@media (max-width: 600px) {
  .duel-live .timeline-zoom {
    padding: 10px;
    --thumb-height:190px;
  }
  .duel-live .timeline-zoom [data-track-team] {
    height: 235px;
  }
  .duel-live .timeline-zoom h2 {
    font-size: 16px;
  }
  .duel-live .zoom-mystery > img {
    width: 100px;
    height: 80px;
  }
  .duel-live .zoom-mystery {
    gap: 8px;
  }
  .duel-live .zoom-mystery strong {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .duel-live .timeline-zoom [data-placement-target],
  .duel-live .timeline-zoom [data-contest-target] {
    transition: none;
  }
}
.duel-live .zoom-carousel-controls {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 4px;
}
@media (orientation: landscape) {
  .duel-live {
    max-width: none;
    width: 100%;
    padding-inline: 10px;
  }
  .duel-live .festive-result {
    padding: 70px 12px 12px;
    justify-content: center;
    gap: 6px;
  }
  .duel-live .winning-interval {
    max-width: 100%;
    width: 100%;
  }
  .duel-live .winning-interval > strong {
    font-size: 34px;
    padding: 3px 8px;
  }
  .duel-live .winning-interval > span:not(.interval-line) {
    font-size: 16px;
  }
  .duel-live .celebrate-title,
  .duel-live .wins-word {
    font-size: 20px;
  }
  .duel-live .winner-announcement {
    gap: 4px;
  }
  .duel-live .result-scores {
    gap: 4px;
    margin-top: 3px;
  }
  .duel-live .encouragement > p {
    font-size: 13px;
    padding: 5px 10px;
  }
  .duel-live .encouragement > b {
    font-size: 11px;
  }
  .duel-live .leading-score {
    font-size: 16px;
  }
  .duel-live .won-icons {
    height: 24px;
  }
  .duel-live .winner-token {
    width: 24px;
    height: 24px;
  }
}
@media (orientation: landscape) and (min-height: 600px) {
  .duel-live .festive-result {
    gap: 9px;
  }
  .duel-live .winning-interval > strong {
    font-size: 44px;
  }
  .duel-live .celebrate-title,
  .duel-live .wins-word {
    font-size: 24px;
  }
  .duel-live .leading-score {
    font-size: 18px;
  }
  .duel-live .encouragement > p {
    font-size: 15px;
  }
}
.duel-live .duel-header {
  position: relative;
  z-index: 25;
}
.duel-live .invite-button {
  font-size: 13px;
}
.duel-live .invite-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: #172C4870;
  display: grid;
  place-items: center;
  padding: 12px;
}
.duel-live .invite-card {
  background: white;
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  max-width: 420px;
  width: 100%;
  max-height: calc(100dvh - 24px);
  overflow: auto;
}
.duel-live .invite-close {
  float: right;
}
.duel-live .invite-card h2 {
  clear: both;
  padding-top: 12px;
}
.duel-live .invite-number {
  display: block;
  font-size: 38px;
  letter-spacing: 5px;
  color: #235DB8;
}
.duel-live .invite-card img {
  display: block;
  width: 180px;
  height: 180px;
  margin: 12px auto;
}
.duel-live .invite-limit {
  font-size: 13px;
  color: #566781;
}
.duel-live .invite-card input {
  width: 100%;
  font-size: 12px;
  padding: 10px;
  margin-top: 12px;
}
.duel-live .invite-card button {
  margin: 3px;
}
.duel-live .see-marker {
  position: absolute;
  right: 10px;
  bottom: 5px;
  z-index: 15;
  font-size: 12px;
  background: white;
  border-color: #235DB8;
}
.duel-live .timeline-zoom .see-marker {
  position: sticky;
  top: 5px;
  float: right;
}
.duel-live .right-timelines {
  display: contents;
}
@media (orientation: landscape) {
  .duel-live .right-timelines {
    display: flex;
    flex-direction: column;
    grid-column: 2;
    grid-row: 1/-1;
    gap: 8px;
    min-width: 0;
    min-height: 0;
  }
  .duel-live .right-timelines > [data-team] {
    flex: 1;
    min-height: 0;
    height: auto;
    grid-row: auto;
    grid-column: auto;
  }
}
.duel-live .festive-result {
  padding-top: 70px;
}
@media (max-width: 500px) {
  .duel-live .festive-result {
    padding-top: 70px;
  }
}
@media (orientation: landscape) and (max-height: 600px) {
  .duel-live .festive-result {
    padding-top: 70px;
  }
}
.duel-live .scenario-drawer {
  margin-top: 12px;
  font-size: 12px;
  color: #566781;
}
.duel-live .scenario-drawer > summary {
  min-height: 44px;
  cursor: pointer;
}
.duel-live .zoom-mystery img[data-zoom-photo-draggable=true] {
  touch-action: none;
  cursor: grab;
}
.duel-live .zoom-gesture-preview {
  position: fixed;
  z-index: 2300;
  pointer-events: none;
  width: 70px;
  height: 60px;
  object-fit: contain;
  background: #E5EEFC;
  border-radius: 7px;
  border: 2px solid #235DB8;
  padding: 2px;
  box-shadow: 0 3px 10px #172C4830;
}
.duel-live .zoom-edge-notice {
  min-height: 16px;
  margin: 3px 0 !important;
  text-align: center;
  font-size: 12px !important;
}
.duel-live .duel-header .name {
  display: none;
}
.duel-live .duel-header {
  margin-bottom: 5px;
}
.duel-live {
  padding-top: 6px;
}
.duel-live .duel-header .brand > img {
  width: 34px;
  height: 34px;
}
.duel-live .duel-header .brand {
  font-size: 21px;
}
.duel-live .duel-header .example-code {
  display: none;
}
@media (orientation: portrait) and (max-width: 600px) {
  .duel-live {
    padding: 4px 6px;
  }
  .duel-live .duel-header {
    flex-wrap: nowrap;
    gap: 5px;
    min-height: 48px;
  }
  .duel-live .duel-header .brand {
    font-size: 19px;
  }
  .duel-live .duel-header .brand > img {
    width: 30px;
    height: 30px;
  }
  .duel-live .duel-header .invite-button {
    margin-left: auto;
    padding-inline: 7px;
  }
  .duel-live .duel-header .back {
    font-size: 11px;
  }
  .duel-live .duel-header details summary {
    padding: 4px;
  }
  .duel-live .festive-result {
    padding: 64px 8px 8px;
    gap: 5px;
    overflow: auto;
  }
  .duel-live .winning-interval > strong {
    font-size: 35px;
    padding: 3px 7px;
  }
  .duel-live .winning-interval > span:not(.interval-line) {
    font-size: 15px;
  }
  .duel-live .celebrate-title,
  .duel-live .wins-word {
    font-size: 19px;
  }
  .duel-live .winner-announcement {
    gap: 4px;
  }
  .duel-live .leading-score {
    font-size: 15px;
  }
  .duel-live .leading-score strong {
    font-size: 22px;
  }
  .duel-live .result-scores {
    gap: 4px;
    margin-top: 3px;
  }
  .duel-live .encouragement > b {
    font-size: 11px;
  }
  .duel-live .encouragement > p {
    font-size: 13px;
    padding: 5px 9px;
  }
  .duel-live .won-icons {
    height: 23px;
  }
  .duel-live .winner-token {
    height: 23px;
    width: 23px;
  }
  .duel-live .next-on-result {
    width: 50px;
    height: 50px;
    min-height: 50px;
  }
  .duel-live .next-on-result svg {
    width: 36px;
    height: 35px;
  }
  .duel-live .photo-topbar .reveal-on-photo {
    width: 50px;
    height: 50px;
    min-height: 50px;
  }
  .duel-live .photo-topbar .reveal-on-photo svg {
    width: 36px;
    height: 36px;
  }
}
.duel-live .timeline-zoom [data-track-team] {
  scroll-snap-type: none;
}
@media (orientation: portrait) and (max-width: 600px) and (max-height: 720px) {
  .duel-live .festive-result {
    gap: 3px;
    padding-top: 62px;
  }
  .duel-live .celebrate-title,
  .duel-live .wins-word {
    font-size: 17px;
  }
  .duel-live .winning-interval > strong {
    font-size: 31px;
  }
  .duel-live .winner-announcement {
    gap: 2px;
  }
  .duel-live .won-icons {
    height: 21px;
  }
  .duel-live .result-scores {
    gap: 3px;
    margin-top: 2px;
  }
  .duel-live .encouragement {
    gap: 3px;
  }
  .duel-live .encouragement > p {
    font-size: 12px;
    padding: 4px 8px;
  }
}
@media (orientation: portrait) and (max-width: 600px) and (max-height: 720px) {
  .duel-live .winner-announcement {
    gap: 0;
  }
  .duel-live .result-scores {
    gap: 1px;
  }
  .duel-live .festive-result {
    padding-bottom: 4px;
  }
}
@media (orientation: landscape) {
  .duel-live {
    padding: 4px 6px;
  }
  .duel-live .duel-header {
    min-height: 48px;
    margin-bottom: 4px;
    flex-wrap: nowrap;
    gap: 7px;
  }
  .duel-live .right-timelines {
    gap: 4px;
  }
  .duel-live .festive-result {
    padding: 54px 8px 6px;
    gap: 4px;
    overflow: auto;
  }
  .duel-live .next-on-result {
    width: 44px;
    height: 44px;
    min-height: 44px;
    top: 4px;
    right: 4px;
    padding: 4px;
  }
  .duel-live .next-on-result svg {
    width: 34px;
    height: 32px;
  }
  .duel-live .photo-topbar .reveal-on-photo {
    width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 4px;
  }
  .duel-live .photo-topbar .reveal-on-photo svg {
    width: 36px;
    height: 36px;
  }
}
@media (orientation: landscape) and (max-height: 500px) {
  .duel-live .festive-result {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    align-content: center;
    justify-items: center;
    padding-top: 50px;
    gap: 3px 6px;
  }
  .duel-live .winning-interval {
    grid-column: 1/-1;
  }
  .duel-live .winning-interval > strong {
    font-size: 27px;
    padding: 2px 6px;
  }
  .duel-live .winning-interval > span:not(.interval-line) {
    font-size: 13px;
  }
  .duel-live .winner-announcement {
    grid-column: 1;
    grid-row: 2;
    gap: 3px;
  }
  .duel-live .celebrate-title,
  .duel-live .wins-word {
    font-size: 15px;
  }
  .duel-live .won-icons {
    height: 21px;
  }
  .duel-live .won-photo-icon {
    width: 21px;
    height: 21px;
  }
  .duel-live .winner-token {
    width: 21px;
    height: 21px;
  }
  .duel-live .winner-token svg {
    width: 16px;
    height: 16px;
  }
  .duel-live .celebration-rays,
  .duel-live .celebrate-title:before {
    display: none;
  }
  .duel-live .result-scores {
    grid-column: 2;
    grid-row: 2;
    gap: 4px;
    margin: 0;
    width: 100%;
  }
  .duel-live .leading-score {
    font-size: 12px;
    gap: 5px;
  }
  .duel-live .leading-score strong {
    font-size: 18px;
  }
  .duel-live .encouragement {
    grid-column: 1/-1;
    gap: 2px;
  }
  .duel-live .encouragement > b {
    font-size: 10px;
  }
  .duel-live .encouragement > p {
    font-size: 12px;
    padding: 3px 8px;
  }
  .duel-live .photo-topbar > div {
    font-size: 12px;
  }
}
@media (orientation: landscape) and (max-height: 380px) {
  .duel-live .festive-result {
    padding-top: 48px;
    gap: 2px;
  }
  .duel-live .winning-interval > strong {
    font-size: 22px;
  }
  .duel-live .celebrate-title,
  .duel-live .wins-word {
    font-size: 13px;
  }
  .duel-live .encouragement > b {
    display: none;
  }
  .duel-live .encouragement > p {
    font-size: 11px;
  }
}
.pq-duel-flight {
  z-index: 2 !important;
}
.pq-duel-token-flight {
  display: grid;
  place-items: center;
  background: #235DB8;
  color: white;
  border-radius: 50%;
}
.pq-duel-token-flight svg {
  width: 24px;
  height: 24px;
}
.pq-duel-zoom-photo-flight,
.pq-duel-gesture-preview {
  position: fixed;
  z-index: 2400;
  pointer-events: none;
  object-fit: contain;
  transform-origin: top left;
  border-radius: 6px;
}
.pq-duel-gesture-preview {
  width: 70px;
  height: 60px;
  background: #E5EEFC;
  border: 2px solid #235DB8;
  padding: 2px;
}
.duel-live {
  max-width: none;
  padding-inline: 3px;
}
.duel-live .duel-header {
  padding-inline: 3px;
}
.duel-live .text-link {
  background: none;
  border: 0;
  border-radius: 0;
  text-decoration: underline;
  padding: 4px;
  color: #235DB8;
  font-weight: 650;
}
.duel-live .festive-result {
  padding-top: 12px;
  gap: 9px;
  overflow: auto;
}
.duel-live .winner-announcement {
  align-self: center;
  width: calc(100% - 84px);
  min-height: 65px;
}
.duel-live .winning-interval {
  max-width: 100%;
  width: 310px;
}
.duel-live .nobody-result {
  background: #ffffffc9;
  box-shadow: none;
  inset: 8px;
  border: 0;
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
}
.duel-live .nobody-result .winner-announcement,
.duel-live .nobody-result .winning-interval,
.duel-live .nobody-result .encouragement {
  background: #fffffff0;
  border-radius: 10px;
  padding: 5px;
}
.duel-live .nobody-result .winning-interval > strong {
  color: #566781;
  background: #F1F3F6;
  border-color: #AEB7C3;
}
.duel-live .nobody-result .interval-line {
  background: #AEB7C3;
}
.duel-live .nobody-result .celebration-rays,
.duel-live .nobody-result .celebrate-title:before {
  display: none;
}
.duel-live .score-gained {
  animation: pq-score-gained .4s ease-out both;
}
.duel-live .marker-space {
  position: absolute;
  right: 4px;
  bottom: 2px;
  z-index: 15;
  height: 44px;
}
.duel-live .marker-space .see-marker {
  position: static;
  border: 0;
  background: none;
  text-decoration: underline;
  padding: 2px 6px;
}
.duel-live .timeline-zoom .marker-space {
  position: relative;
  right: auto;
  bottom: auto;
  height: 44px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  float: none;
}
.duel-live .timeline-zoom .see-marker {
  position: static;
  float: none;
}
.duel-live .zoom-title p {
  margin: 3px 0 0;
  font-size: 13px;
}
.duel-live .timeline-zoom header {
  align-items: flex-start;
}
.duel-live .timeline-zoom h2 {
  margin: 0;
}
.duel-live .timeline-zoom [data-track-team] {
  margin-top: 0;
}
.duel-live .zoom-mystery > img {
  width: clamp(140px, 24vw, 250px);
  height: clamp(125px, 22svh, 200px);
}
.duel-live .zoom-mystery {
  padding: 8px 0;
  margin-top: 4px;
}
.duel-live .zoom-drag-marker {
  padding: 2px;
  border: 0;
  background: transparent;
  min-width: 44px;
  min-height: 44px;
}
.duel-live .game-final {
  position: relative;
  overflow: hidden;
  background: white;
  border: 1px solid #CAD5E5;
  border-radius: 18px;
  padding: 24px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}
.duel-live .final-hero {
  animation: pq-final-arrive .55s ease-out both;
}
.duel-live .final-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  color: #566781;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.duel-live .final-hero h1 {
  color: var(--final-color);
  font: 800 clamp(24px, 4vw, 38px)/1.12 system-ui;
  margin: 8px 0;
}
.duel-live .final-hero h1 span {
  display: block;
  font-size: .75em;
  font-weight: 650;
  margin-top: 5px;
}
.duel-live .final-trophy {
  width: 70px;
  height: 70px;
  color: #C45114;
  animation: pq-trophy-bounce .7s ease-out both;
}
.duel-live .final-neutral .final-trophy {
  color: #566781;
}
.duel-live .final-scores {
  width: min(390px, 100%);
  display: grid;
  gap: 9px;
  animation: pq-final-arrive .45s .1s both;
}
.duel-live .final-scores p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 14px;
  margin: 0;
  background: #E5EEFC;
  color: #235DB8;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 750;
}
.duel-live .final-scores p.copper {
  color: #C45114;
  background: #FFF1E9;
}
.duel-live .final-scores strong {
  font-size: 34px;
  line-height: 1;
}
.duel-live .final-totals {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 14px;
  color: #566781;
}
.duel-live .final-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.duel-live .final-actions a {
  min-height: 44px;
  padding: 10px;
  color: #235DB8;
}
.duel-live .final-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.duel-live .final-confetti i {
  position: absolute;
  top: -10px;
  width: 6px;
  height: 10px;
  opacity: 0;
  animation: pq-final-confetti 1.6s ease-out forwards;
}
.duel-live .ended-transition {
  text-align: center;
  padding: 12px;
}
.duel-live .ended-transition p {
  margin: 4px;
}
@keyframes pq-score-gained {
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes pq-final-arrive {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pq-trophy-bounce {
  0% {
    transform: scale(.6) rotate(-10deg);
  }
  60% {
    transform: scale(1.1) rotate(4deg);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes pq-final-confetti {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  15% {
    opacity: .8;
  }
  100% {
    opacity: 0;
    transform: translateY(450px) rotate(190deg);
  }
}
@media (orientation: landscape) and (max-height: 500px) {
  .duel-live .festive-result {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 2px;
    padding: 5px 6px;
  }
  .duel-live .winner-announcement {
    grid-column: 1;
    grid-row: 1;
    width: calc(100% - 64px);
    min-height: 45px;
    gap: 2px;
  }
  .duel-live .winning-interval {
    grid-column: 1;
    grid-row: 2;
  }
  .duel-live .result-scores {
    grid-column: 1;
    grid-row: 3;
    gap: 2px;
  }
  .duel-live .encouragement {
    grid-column: 1;
    grid-row: 4;
    gap: 2px;
  }
  .duel-live .celebrate-title,
  .duel-live .wins-word {
    font-size: 14px;
  }
  .duel-live .winning-interval > strong {
    font-size: 25px;
  }
  .duel-live .leading-score {
    font-size: 12px;
  }
  .duel-live .leading-score strong {
    font-size: 18px;
  }
  .duel-live .encouragement > p {
    font-size: 12px;
    padding: 3px 6px;
  }
  .duel-live .game-final {
    min-height: 0;
    height: calc(100svh - 68px);
    padding: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 18px;
  }
  .duel-live .final-hero {
    grid-column: 1;
    grid-row: 1/3;
  }
  .duel-live .final-hero h1 {
    font-size: 25px;
  }
  .duel-live .final-trophy {
    width: 54px;
    height: 54px;
  }
  .duel-live .final-scores {
    grid-column: 2;
    grid-row: 1;
  }
  .duel-live .final-totals {
    grid-column: 2;
    grid-row: 2;
    font-size: 12px;
  }
  .duel-live .final-actions {
    grid-column: 1/-1;
  }
  .duel-live .final-scores p {
    font-size: 16px;
  }
  .duel-live .final-scores strong {
    font-size: 28px;
  }
}
@media (orientation: portrait) and (max-width: 600px) {
  .duel-live {
    padding-inline: 3px;
  }
  .duel-live .festive-result {
    padding: 8px;
    gap: 6px;
  }
  .duel-live .winner-announcement {
    min-height: 63px;
    width: calc(100% - 84px);
  }
  .duel-live .zoom-mystery > img {
    width: 140px;
    height: 150px;
  }
  .duel-live .game-final {
    min-height: 410px;
    padding: 20px 14px;
  }
  .duel-live .final-scores p {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .duel-live .score-gained,
  .duel-live .final-hero,
  .duel-live .final-scores,
  .duel-live .final-trophy,
  .duel-live .final-confetti i {
    animation: none;
  }
  .duel-live .final-confetti {
    display: none;
  }
}
.duel-live .nobody-result {
  width: min(370px, calc(100% - 16px));
  max-height: calc(100% - 16px);
  left: 50%;
  right: auto;
  top: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
  overflow: auto;
}
.shell.duel-live {
  max-width: none;
  padding-inline: 3px;
}
.duel-live .final-confetti {
  overflow: hidden;
}
.duel-live .nobody-result {
  background: rgba(255, 255, 255, .25);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.duel-live .nobody-result .winner-announcement,
.duel-live .nobody-result .winning-interval,
.duel-live .nobody-result .encouragement {
  background: rgba(255, 255, 255, .18);
}
.duel-live .nobody-result .encouragement p {
  background: transparent;
}
.duel-live .reveal-eye {
  transform-box: fill-box;
  transform-origin: center;
  animation: pq-eye-blink 1.2s ease-in-out 1;
}
.duel-live .next-arrow {
  animation: pq-next-nudge 1.2s ease-in-out 1;
}
@keyframes pq-eye-blink {
  0%, 20%, 40%, 60%, 100% {
    transform: scaleY(1);
  }
  30%, 50% {
    transform: scaleY(.12);
  }
}
@keyframes pq-next-nudge {
  0%, 40%, 80%, 100% {
    transform: translateX(0);
  }
  20%, 60% {
    transform: translateX(2px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .duel-live .reveal-eye,
  .duel-live .next-arrow {
    animation: none;
  }
}
.duel-live .photo-topbar[hidden] {
  display: none;
}
.duel-live .nobody-result {
  background: rgba(255, 255, 255, .87);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.duel-live .nobody-result .winner-announcement,
.duel-live .nobody-result .winning-interval,
.duel-live .nobody-result .encouragement {
  background: transparent;
}
.duel-live .nobody-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.duel-live .nobody-result .next-on-result {
  position: static;
  align-self: flex-end;
  order: -1;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 5px;
}
.duel-live .nobody-result .winner-announcement {
  width: 100%;
  min-height: 0;
  flex-shrink: 0;
}
.duel-live .nobody-result > .winning-interval,
.duel-live .nobody-result > .result-scores,
.duel-live .nobody-result > .encouragement {
  flex-shrink: 0;
}
.duel-live .presentation-menu {
  position: relative;
  margin: 2px 0 5px;
  font-size: 13px;
}
.duel-live .presentation-menu summary {
  cursor: pointer;
  color: #285DB4;
  width: max-content;
}
.duel-live .presentation-menu label {
  display: block;
}
.duel-live .presentation-menu small {
  display: block;
  max-width: 36em;
}
.duel-live .presentation-menu select {
  max-width: 100%;
  padding: 7px;
  font: inherit;
}
.duel-live .duel-game-menu {
  position: relative;
  margin-left: auto;
  flex-shrink: 0;
  z-index: 1100;
}
.duel-live .duel-game-menu > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid #b9c9df;
  border-radius: 10px;
  background: white;
  color: #235DB8;
}
.duel-live .duel-game-menu > summary::-webkit-details-marker {
  display: none;
}
.duel-live .duel-game-menu > summary svg {
  width: 28px;
  height: 28px;
}
.duel-live .duel-menu-panel {
  position: absolute;
  right: 0;
  top: 50px;
  width: min(350px, calc(100vw - 24px));
  max-height: 75dvh;
  overflow: auto;
  background: white;
  border: 1px solid #b9c9df;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 10px 30px #172c4830;
  color: #172c48;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.duel-live .duel-menu-panel .invite-button {
  align-self: stretch;
}
.duel-live .duel-menu-panel .presentation-menu {
  margin: 0;
}
.duel-live .duel-menu-panel .game-management {
  margin: 0;
}
.duel-live .duel-menu-panel button,
.duel-live .duel-menu-panel select {
  min-height: 44px;
}
.duel-live .photo-topbar .reveal-on-photo {
  width: 62px;
  height: 62px;
  min-height: 62px;
  padding: 5px;
  flex-shrink: 0;
}
.duel-live .photo-topbar .reveal-on-photo svg {
  width: 50px;
  height: 48px;
}
.duel-live .next-on-result {
  width: 64px;
  height: 64px;
  min-height: 64px;
  padding: 5px;
  top: 5px;
  right: 5px;
}
.duel-live .next-on-result svg {
  width: 50px;
  height: 48px;
}
.duel-live .festive-result .winner-announcement {
  width: calc(100% - 80px);
  max-width: calc(100% - 80px);
  justify-self: start;
  margin: 0;
  min-height: 64px;
}
.duel-live .festive-result .winner-announcement {
  align-self: flex-start;
}
.duel-live [data-contest-action-source] {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-width: 44px;
  min-height: 44px;
  touch-action: none;
}
.duel-live [data-contest-action-source] > span {
  pointer-events: none;
}
.duel-live .duel-header {
  display: grid;
  grid-template-columns: minmax(44px, 1fr) auto minmax(44px, 1fr);
}
.duel-live .duel-header > .brand {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
}
.duel-live .duel-header > .back {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}
.duel-live .duel-header > .duel-game-menu {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}
.duel-live .festive-result {
  justify-content: flex-start;
  overflow: auto;
  padding: 8px;
  gap: 6px;
}
.duel-live .festive-result .next-on-result {
  position: static;
  align-self: flex-end;
  order: -1;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  min-height: 52px;
  transform: none;
}
.duel-live .festive-result .next-on-result svg {
  width: 40px;
  height: 38px;
}
.duel-live .festive-result .winner-announcement {
  width: 100%;
  max-width: 100%;
  align-self: center;
  min-height: 0;
  flex-shrink: 0;
}
.duel-live .festive-result > * {
  flex-shrink: 0;
}
.duel-live .celebrate-title {
  overflow-wrap: anywhere;
}
.duel-live .winning-interval {
  max-width: 100%;
  width: 100%;
}
.duel-live [data-contest-action-source] {
  touch-action: pinch-zoom !important;
}
@media (orientation: landscape) and (max-height: 600px) {
  .duel-live .festive-result {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    grid-template-rows: auto auto auto auto;
    align-content: start;
    gap: 4px;
    padding: 7px;
  }
  .duel-live .festive-result .winner-announcement {
    grid-column: 1;
    grid-row: 1;
  }
  .duel-live .festive-result .next-on-result {
    grid-column: 2;
    grid-row: 1;
    width: 46px;
    height: 46px;
    min-height: 46px;
    margin: 0;
  }
  .duel-live .festive-result > .winning-interval,
  .duel-live .festive-result > .result-scores,
  .duel-live .festive-result > .encouragement {
    grid-column: 1/-1;
    justify-self: center;
  }
  .duel-live .celebrate-title,
  .duel-live .wins-word {
    font-size: 18px;
  }
  .duel-live .won-icons {
    height: 22px;
  }
  .duel-live .encouragement > p {
    font-size: 12px;
  }
  .duel-live .winning-interval > strong {
    font-size: 32px;
  }
}
.duel-live[data-browser-zoom=true],
.duel-live[data-browser-zoom=true] * {
  touch-action: auto !important;
}
.duel-live [data-reserve] > span {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  line-height: 1;
}
.duel-live [data-reserve] > span > [data-choice-kind] {
  box-sizing: border-box;
  width: 24px !important;
  height: 24px !important;
  border-width: 1.5px;
}
.duel-live [data-reserve] > span > [data-choice-kind] > svg {
  width: 18px !important;
  height: 18px !important;
}
.duel-live [data-reserve] {
  gap: 5px !important;
  align-items: center;
  min-height: 32px;
}
.duel-live .festive-result.compact-reveal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 12px 10px;
  overflow: auto;
}
.duel-live .compact-reveal > .winning-interval {
  order: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: max-content;
  max-width: 100%;
  margin: 0;
  flex: none;
}
.duel-live .compact-reveal .interval-line {
  width: clamp(8px, 2vw, 20px);
  flex: 0 0 auto;
}
.duel-live .compact-reveal .winning-interval > span:not(.interval-line) {
  font-size: clamp(17px, 2vw, 22px);
  white-space: nowrap;
}
.duel-live .compact-reveal .winning-interval > strong {
  font-size: clamp(38px, 6vh, 60px);
  padding: 3px 9px;
}
.duel-live .festive-result.compact-reveal .winner-announcement {
  order: 1;
  min-height: 0;
  max-width: 100%;
  width: 100%;
  align-self: center;
  animation: pq-reveal-step .35s .25s both;
}
.duel-live .compact-reveal .celebrate-title {
  font-size: clamp(19px, 2.5vw, 25px);
  display: block;
  line-height: 1.15;
}
.duel-live .compact-reveal .celebrate-title:before {
  display: none;
}
.duel-live .compact-reveal .won-icons:empty {
  display: none;
}
.result-consequence {
  font-weight: 800;
  margin: 0;
  line-height: 1.25;
}
.duel-live .compact-reveal > .result-consequence {
  order: 2;
  font-size: clamp(16px, 2vw, 21px);
  color: var(--winner-color);
  animation: pq-reveal-step .35s .5s both;
}
.duel-live .compact-reveal > .result-bonus {
  order: 3;
  display: flex;
  align-items: center;
  gap: 6px;
}
.duel-live .compact-reveal > .result-ended {
  order: 4;
}
.duel-live .festive-result.compact-reveal > .next-on-result {
  order: 5;
  align-self: flex-end;
  position: static;
  flex: none;
  margin: 0;
}
@keyframes pq-reveal-step {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (orientation: landscape) and (max-height: 600px) {
  .duel-live .festive-result.compact-reveal {
    padding: 8px;
    gap: 5px;
  }
  .duel-live .compact-reveal .winning-interval > strong {
    font-size: 36px;
  }
  .duel-live .compact-reveal .winning-interval > span:not(.interval-line) {
    font-size: 18px;
  }
  .duel-live .compact-reveal .won-icons {
    display: none;
  }
  .duel-live .compact-reveal .celebrate-title {
    font-size: 20px;
  }
  .duel-live .compact-reveal > .result-consequence {
    font-size: 17px;
  }
  .duel-live .festive-result.compact-reveal > .next-on-result {
    width: 46px;
    height: 46px;
    min-height: 46px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .compact-reveal * {
    animation: none !important;
  }
}
.duel-live .compact-reveal > .result-competition {
  order: 3;
  flex: none;
  margin-top: 12px;
  width: 100%;
  padding-top: 9px;
  border-top: 1px solid #dce4f0;
}
.result-competition p {
  font-size: 17px;
  font-weight: 750;
  line-height: 1.2;
  margin: 0 0 8px;
  text-align: center;
}
.competition-scores {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  line-height: 1;
}
.competition-scores strong {
  font-size: 38px;
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  min-width: 2ch;
  text-align: center;
}
.competition-scores [data-team="0"] {
  color: #235db8;
}
.competition-scores [data-team="1"] {
  color: #c45114;
}
.duel-live .compact-reveal > .result-bonus {
  order: 4;
}
.duel-live .compact-reveal > .result-ended {
  order: 5;
}
.duel-live [data-result-actions] {
  display: flex;
  justify-content: flex-end;
  margin-left: auto;
}
.duel-live [data-result-actions]:empty {
  display: none;
}
.duel-live [data-result-actions] .next-in-action {
  position: static;
  transform: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 4px;
  border: 1px solid #235db8;
  border-radius: 9px;
  background: #e5eefc;
  display: grid;
  place-items: center;
  flex: none;
}
.duel-live .next-in-action svg {
  width: 36px;
  height: 34px;
}
.duel-live .next-in-action:disabled {
  opacity: .4;
}
@media (orientation: landscape) and (max-height: 600px) {
  .duel-live .compact-reveal > .result-competition {
    margin-top: 7px;
    padding-top: 6px;
  }
  .result-competition p {
    font-size: 15px;
    margin-bottom: 6px;
  }
  .competition-scores strong {
    font-size: 30px;
  }
}
.competition-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: 1;
  min-width: 0;
  max-width: 48%;
}
.competition-team small {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-align: center;
}
.duel-live .competition-scores {
  align-items: flex-start;
  gap: 16px;
}
.duel-live .reveal-in-action {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 4px;
  display: grid;
  place-items: center;
  background: #e5eefc;
  border-color: #235db8;
}
.duel-live .reveal-in-action svg {
  width: 36px;
  height: 34px;
}
.duel-live .compact-reveal[data-result-stage=flying] .winner-announcement {
  animation: pq-reveal-step .35s .15s both;
}
.duel-live .compact-reveal .result-competition {
  animation: pq-reveal-step .35s both;
}
.duel-live .festive-result.compact-reveal {
  animation: pq-reveal-step .3s both;
}
.duel-live [data-current-photo][data-award-moving=true] > img,
.duel-live [data-current-photo][data-source-deposited=true] > img {
  visibility: hidden;
}
.duel-live .festive-result.nobody-result.compact-reveal {
  inset: 6px;
  width: auto;
  max-height: none;
  transform: none;
}
.duel-live .contest-placement-prompt {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.duel-live .contest-placement-prompt strong {
  font-size: clamp(11px, 3.1vw, 15px);
  line-height: 1.15;
}
.duel-live [data-neutral-action=true] {
  background: #fff !important;
  color: #172c48 !important;
  border-color: #cad5e5 !important;
}
.duel-live [data-action-team] {
  padding-block: 4px !important;
}
.duel-live [data-result-actions] .next-in-action {
  width: 44px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px;
  flex: none;
  padding: 4px !important;
}
.duel-live [data-result-actions] .next-in-action svg {
  width: 34px !important;
  height: 34px !important;
}
@media (orientation: portrait) and (max-width: 900px) {
  .duel-live [data-duel-board] {
    height: var(--duel-space,calc(100dvh - 66px));
    --team-height:clamp(115px,calc((var(--duel-space,700px) - 116px)*.24),175px);
    --thumb-height:calc(var(--team-height) - 50px);
    grid-template-rows: var(--team-height) 58px minmax(100px, 1fr) 58px var(--team-height);
  }
  .duel-live section[data-team] {
    height: auto;
    min-height: 0;
  }
  .duel-live [data-action-team] {
    height: 58px;
    min-height: 58px;
  }
  .duel-live[data-presentation=active] [data-duel-board] {
    grid-template-rows: minmax(135px, 1fr) 58px minmax(140px, 1.15fr) 80px;
  }
  .duel-live[data-presentation=active] section[data-team] {
    --thumb-height:clamp(95px,calc((var(--duel-space,700px) - 138px)*.43 - 40px),235px);
  }
}
.final-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
}
.final-navigation > a {
  padding: 10px;
  color: #235db8;
}
.duel-live .final-eyebrow {
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 900;
}
.duel-header .back,
.game-standard-header .header-return {
  max-width: 100px;
  white-space: normal;
  line-height: 1.15;
  font-size: 11px;
  flex-shrink: 1;
}

/* game/illustrated/illustrated.css */
.illustrated-duel {
  --ink:#101d50;
  --blue:#186bd0;
  --copper:#ce4d10;
  --line:#cfdaeb;
  color: var(--ink);
  font:
    15px Nunito,
    "Trebuchet MS",
    sans-serif;
  background:
    linear-gradient(
      155deg,
      #f1faff,
      #fffefa 75%);
  width: 100%;
  max-width: 1100px;
  min-height: 100svh;
  margin: auto;
  padding: 5px 10px 10px;
  display: grid;
  grid-template-areas: "header" "guide" "board";
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
  align-content: start;
  isolation: isolate;
}
.illustrated-duel,
.illustrated-duel * {
  box-sizing: border-box;
}
.illustrated-duel > .duel-shell {
  display: contents !important;
}
.illustrated-duel .duel-shell > .duel-header {
  grid-area: header;
  width: 100%;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 3px;
  flex-wrap: nowrap !important;
  gap: 6px;
}
.illustrated-duel .duel-header > .name {
  display: none;
}
.illustrated-duel .duel-header .brand {
  margin: auto;
  font: 1000 26px/1 Nunito, sans-serif;
  letter-spacing: -1px;
}
.illustrated-duel .duel-header .brand > img {
  display: none;
}
.illustrated-duel .duel-header .brand > span {
  display: flex;
  flex-direction: row;
  gap: 0;
}
.illustrated-duel .duel-header .brand > span > span:first-child {
  color: #1764bf;
}
.illustrated-duel .duel-header .brand > span > span:last-child {
  color: #cf4d0e;
}
.illustrated-duel .duel-header .back {
  font-size: 11px;
  min-height: 40px;
}
.illustrated-duel .duel-header > details {
  z-index: 100;
}
.illustrated-duel .duel-header summary {
  width: 38px;
  height: 38px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 0 #d4dfed;
  padding: 7px;
}
.illustrated-duel .duel-menu-panel {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 16px;
  max-height: 80svh;
  overflow: auto;
  min-width: 240px;
}
.illustrated-duel .duel-menu-panel .illustrated-other {
  display: flex;
  align-items: center;
  gap: 7px;
  text-align: left;
  font-size: 14px;
  min-height: 44px;
}
.illustrated-duel .illustrated-guide {
  grid-area: guide;
  text-align: center;
  font-size: 11px;
  line-height: 15px;
  height: 15px;
  margin: 0;
}
.illustrated-duel .illustrated-token-help {
  border-block: 1px solid var(--line);
  margin-block: 6px;
  padding: 5px 0;
}
.illustrated-duel .illustrated-token-help > summary {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  width: auto;
  height: auto;
  min-height: 44px;
  font-size: 13px;
  box-shadow: none;
  border: 0;
  background: transparent;
}
.illustrated-duel .illustrated-token-help > div {
  font-size: 13px;
  line-height: 1.4;
  padding: 4px 8px;
}
.illustrated-duel .illustrated-token-help p {
  margin: 5px 0;
}
.illustrated-duel .illustrated-token-help p > svg {
  vertical-align: middle;
  color: #168344;
}
.illustrated-duel .duel-shell [data-duel-board] {
  --ill-thumb:clamp(96px,19svh,180px);
  --thumb-height:var(--ill-thumb);
  grid-area: board;
  width: 100%;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: 68px auto calc(var(--ill-thumb) + 40px) minmax(130px, 1fr) 56px !important;
  gap: 7px !important;
  height: calc(100svh - 78px) !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  background: transparent !important;
  overflow: visible !important;
  font-family: inherit;
  isolation: isolate;
}
.illustrated-duel .illustrated-teams {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  height: 68px;
  padding-top: 3px;
}
.illustrated-duel .duel-shell .illustrated-teams > [data-team-heading] {
  position: relative;
  display: block !important;
  height: 65px !important;
  min-height: 0 !important;
  min-width: 0 !important;
  padding: 3px !important;
  border: 0 !important;
  border-radius: 11px;
  background: linear-gradient(#287fe1, #1460bf) !important;
  color: white !important;
  box-shadow: 0 2px 2px #165ab820;
  pointer-events: auto !important;
  z-index: 5;
  font-family: inherit;
  overflow: visible !important;
}
.illustrated-duel .duel-shell .illustrated-teams > [data-team-heading="1"] {
  background: linear-gradient(#dd671e, #c7450c) !important;
}
.illustrated-duel .illustrated-team-inner {
  display: grid;
  grid-template-rows: 24px 28px;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 1px 3px;
  min-width: 0;
  height: 100%;
}
.illustrated-duel [data-team-heading][data-acting=true] .illustrated-team-inner {
  border-color: #ffdc82;
  background: #ffffff20;
  box-shadow: inset 0 0 0 1px #fff6;
}
.illustrated-duel .illustrated-team-name {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  white-space: nowrap;
}
.illustrated-duel .illustrated-team-name h2 {
  font: 900 12px/1.2 Nunito, sans-serif !important;
  color: white !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0;
  min-width: 0;
  flex: 1;
}
.illustrated-duel .illustrated-team-name > svg {
  flex: none;
  width: 17px;
  height: 17px;
}
.illustrated-duel .illustrated-team-name > span {
  font-size: 11px;
  font-weight: 900;
  flex: none;
}
.illustrated-duel .illustrated-team-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  width: 100%;
  min-width: 0;
  font: 800 11px/1 Nunito, sans-serif;
  background: #ffffffed;
  color: #164e91;
  border-radius: 6px;
  padding: 2px 4px;
}
.illustrated-duel [data-team-heading="1"] .illustrated-team-tools {
  color: #9b400d;
}
.illustrated-duel .illustrated-team-score,
.illustrated-duel [data-reserve],
.illustrated-duel .illustrated-perseverance {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
  flex: none;
}
.illustrated-duel .illustrated-team-score small {
  font-size: 10px;
}
.illustrated-duel [data-reserve] > span {
  display: grid;
  place-items: center;
  min-width: 26px;
  width: 26px;
  height: 26px;
  touch-action: pinch-zoom;
}
.illustrated-duel [data-reserve] [data-choice-kind] {
  width: 24px;
  height: 24px;
  border: 1px solid white;
  background: var(--owner);
  color: white;
  border-radius: 50%;
}
.illustrated-duel [data-reserve] [data-choice-kind] > svg {
  width: 19px;
  height: 19px;
}
.illustrated-duel .illustrated-progress-ring {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  position: relative;
  background: conic-gradient(var(--owner) var(--progress), #d9e0e9 0);
  border-radius: 50%;
}
.illustrated-duel .illustrated-progress-ring:before {
  content: "";
  position: absolute;
  inset: 3px;
  background: #fff;
  border-radius: 50%;
}
.illustrated-duel .illustrated-progress-ring svg {
  z-index: 1;
  color: var(--owner);
}
.illustrated-duel .illustrated-your-team {
  position: absolute;
  top: -4px;
  right: 8px;
  color: #164e91;
  background: #e7f3ff;
  border: 1px solid #4984cb;
  border-radius: 4px;
  font-size: 8px;
  line-height: 10px;
  padding: 0 4px;
  white-space: nowrap;
}
.illustrated-duel .illustrated-board-cue {
  grid-column: 1;
  grid-row: 2;
  text-align: center;
  padding: 0;
}
.illustrated-duel .illustrated-board-cue h1 {
  font: 1000 clamp(19px, 5.1vw, 27px)/1.12 Nunito, sans-serif;
  letter-spacing: -.6px;
  margin: 0 0 3px;
  color: var(--ink);
}
.illustrated-duel .illustrated-board-cue p {
  font: 600 12px/1.25 Nunito, sans-serif;
  color: #253b60;
  margin: 0;
}
.illustrated-duel .duel-shell [data-duel-board] > .right-timelines {
  display: contents !important;
}
.illustrated-duel .duel-shell [data-duel-board] section[data-team] {
  display: block !important;
  grid-column: 1 !important;
  grid-row: 3 !important;
  position: relative;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  align-self: stretch !important;
}
.illustrated-duel[data-show-other=false] .duel-shell[data-focused-team="0"] section[data-team="1"],
.illustrated-duel[data-show-other=false] .duel-shell[data-focused-team="1"] section[data-team="0"] {
  display: none !important;
}
.illustrated-duel[data-show-other=true] .duel-shell [data-duel-board] {
  height: auto !important;
  min-height: calc(100svh - 78px) !important;
  grid-template-rows: 68px auto calc(var(--ill-thumb) + 40px) clamp(180px, 35svh, 400px) 56px calc(var(--ill-thumb) + 40px) !important;
}
.illustrated-duel[data-show-other=true] .duel-shell[data-focused-team="0"] section[data-team="1"],
.illustrated-duel[data-show-other=true] .duel-shell[data-focused-team="1"] section[data-team="0"] {
  grid-row: 6 !important;
}
.illustrated-duel .duel-shell [data-duel-board] section[data-team] > .marker-space {
  position: absolute;
  top: 0;
  right: 0;
  height: 20px;
  z-index: 20;
}
.illustrated-duel .see-marker {
  font-size: 10px !important;
  min-height: 24px !important;
  padding: 2px 5px !important;
}
.illustrated-duel .duel-shell [data-track-team] {
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  padding-top: 5px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: thin;
  touch-action: pan-x pinch-zoom;
}
.illustrated-duel .duel-shell [data-track-team] > div {
  padding-inline: 12px !important;
  min-height: calc(var(--ill-thumb) + 30px) !important;
  height: calc(var(--ill-thumb) + 30px) !important;
  align-items: flex-start !important;
  border: 0 !important;
  background: linear-gradient(#9aaac0, #9aaac0) center calc(var(--ill-thumb) / 2) / 100% 3px no-repeat;
}
.illustrated-duel .duel-shell [data-timeline-photo] {
  height: var(--ill-thumb) !important;
  width: calc((var(--ill-thumb) - 8px) * var(--ratio,1) + 8px) !important;
  background: white !important;
  border: 4px solid white !important;
  border-radius: 7px !important;
  box-shadow: 0 2px 6px #142a4930 !important;
  overflow: hidden !important;
  padding: 0 !important;
}
.illustrated-duel .duel-shell [data-timeline-photo] img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 3px;
}
.illustrated-duel .duel-shell [data-track-team] > div > div[data-photo-id] > span:first-child {
  position: absolute !important;
  top: calc(var(--ill-thumb) + 2px) !important;
  bottom: auto !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
  min-width: 47px !important;
  padding: 3px 7px !important;
  border-radius: 5px !important;
  background: white !important;
  color: #122652 !important;
  box-shadow: 0 2px 4px #142a4928 !important;
  text-align: center !important;
  z-index: 30 !important;
}
.illustrated-duel .duel-shell [data-gap] {
  height: var(--ill-thumb) !important;
}
.illustrated-duel .duel-shell [data-gap] > span {
  display: none !important;
}
.illustrated-duel .duel-shell [data-gap] > button {
  top: calc(var(--ill-thumb) / 2 - 20px) !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.illustrated-duel .duel-shell [data-placement-placeholder] {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.illustrated-duel .duel-shell [data-gap] > button:hover {
  background: #d9ecff80 !important;
  border-radius: 10px !important;
}
.illustrated-duel .duel-shell [data-choice-kind=placement] {
  border: 0 !important;
  background: transparent !important;
  color: var(--owner) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  filter: none !important;
}
.illustrated-duel .duel-shell [data-choice-kind=placement] > .illustrated-pin {
  width: 100% !important;
  height: 100% !important;
  stroke: none !important;
}
.illustrated-duel .duel-shell [data-choice-kind=placement][data-choice-state=available] > .illustrated-pin {
  opacity: 0;
}
.illustrated-duel .duel-shell [data-choice-kind=placement][data-choice-state=available]::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #7e91ab;
  border: 2px solid white;
  box-shadow: 0 1px 2px #17335820;
}
.illustrated-duel .duel-shell [data-duel-board] > section:has(> [data-current-photo]) {
  grid-column: 1 !important;
  grid-row: 4 !important;
  width: 96% !important;
  min-width: 0;
  min-height: 0 !important;
  height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  position: relative;
  justify-self: center;
  padding: 0 0 18px !important;
  overflow: visible !important;
}
.illustrated-duel .duel-shell [data-current-photo] {
  height: 100% !important;
  max-height: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: #fff !important;
  border: 5px solid white !important;
  border-radius: 7px !important;
  box-shadow: 0 2px 7px #15294428;
  overflow: visible !important;
  transform: none !important;
}
.illustrated-duel .duel-shell [data-current-photo] > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 2px !important;
  background: transparent !important;
}
.illustrated-duel .duel-shell [data-current-photo]:not([data-source-deposited=true])::before {
  content: "Photo \e0  placer";
  position: absolute;
  bottom: -17px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11;
  background: #fffffff0;
  color: #44577c;
  padding: 2px 10px;
  font: 800 10px/1.2 Nunito, sans-serif;
  white-space: nowrap;
  border-radius: 4px;
  box-shadow: 0 1px 3px #142a4920;
  pointer-events: none;
}
.illustrated-duel .duel-shell [data-current-photo]:has(.festive-result)::before {
  display: none;
}
.illustrated-duel .duel-shell [data-duel-board] > [data-action-team] {
  position: relative;
  grid-column: 1 !important;
  grid-row: 5 !important;
  height: 56px !important;
  min-height: 56px !important;
  max-height: none !important;
  display: flex !important;
  align-items: center;
  flex-direction: row !important;
  gap: 5px !important;
  padding: 8px 7px 4px !important;
  margin: 0 !important;
  border: 1px solid var(--owner) !important;
  border-radius: 12px !important;
  background: var(--pale) !important;
  color: var(--ink) !important;
  overflow: visible !important;
  box-shadow: none !important;
}
.illustrated-duel .duel-shell [data-duel-board] > [data-action-team][data-active=false] {
  display: none !important;
}
.illustrated-duel .duel-shell [data-action-team][data-neutral-action=true] {
  background: #eff5ff !important;
  border-color: #aabedb !important;
}
.illustrated-duel .illustrated-action-medallion {
  position: absolute !important;
  left: 10px;
  top: -11px;
  max-width: calc(100% - 20px);
  height: 20px;
  display: flex !important;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: var(--owner);
  color: white;
  border-radius: 5px;
  border: 1px solid white;
  box-shadow: 0 1px 3px #142a4920;
  font: 900 11px/1 Nunito, sans-serif;
  z-index: 8;
  pointer-events: none;
}
.illustrated-duel .illustrated-action-medallion strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.illustrated-duel .illustrated-action-medallion[data-action-owner=all] {
  background: #406ba7;
}
.illustrated-duel .duel-shell [data-action-team] > div:last-child {
  width: 100%;
  min-width: 0;
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
  font: 800 13px Nunito, sans-serif;
}
.illustrated-duel .illustrated-choice {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  margin: 0;
  text-align: left;
  font: 900 12px/1.2 Nunito, sans-serif;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.illustrated-duel .duel-shell [data-action-team] button {
  font: 900 14px/1.1 Nunito, sans-serif !important;
  white-space: nowrap;
  min-height: 40px !important;
  height: 40px !important;
  border-radius: 9px !important;
  padding: 5px 8px !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 4px !important;
}
.illustrated-duel .duel-shell [data-action-team] button:has([data-placement-source]) {
  flex: 1 1 auto !important;
  width: auto !important;
  flex-direction: row !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--ink) !important;
  box-shadow: none !important;
}
.illustrated-duel .duel-shell [data-action-team] [data-placement-source] {
  width: 30px !important;
  height: 32px !important;
  display: inline-grid !important;
  place-items: center;
  padding: 0 !important;
  flex: none;
  background: transparent !important;
}
.illustrated-duel .duel-shell [data-action-team] [data-choice-kind] {
  width: 28px;
  height: 30px;
  min-width: 28px;
}
.illustrated-duel .duel-shell [data-action-team] [data-choice-kind] > svg {
  width: 24px;
  height: 24px;
}
.illustrated-duel .duel-shell [data-action-team] [data-confirmation-source] {
  display: inline-flex;
  align-items: center;
}
.illustrated-duel .duel-shell [data-action-team] [data-confirmation-check] {
  width: 14px;
  height: 14px;
  right: -2px;
  top: -2px;
}
.illustrated-duel .duel-shell [data-action-team] [data-confirmation-check] svg {
  width: 11px;
  height: 11px;
}
.illustrated-duel .duel-shell [data-action-team] button:has([data-confirmation-source]),
.illustrated-duel .duel-shell .reveal-in-action,
.illustrated-duel .duel-shell .next-in-action {
  background: linear-gradient(#277fe4, #1460bf) !important;
  color: white !important;
  border: 1px solid #1753a1 !important;
  box-shadow: inset 0 1px 0 #71adf9, 0 2px 0 #104c9b !important;
}
.illustrated-duel .duel-shell [data-action-team] button:has([data-confirmation-source]) .illustrated-pin {
  color: white !important;
}
.illustrated-duel .duel-shell .contest-placement-prompt {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex: 1;
  white-space: nowrap;
}
.illustrated-duel .duel-shell .contest-placement-prompt strong {
  font: 900 12px Nunito, sans-serif;
  min-width: 0;
}
.illustrated-duel .duel-shell .contest-placement-prompt button {
  padding: 0 !important;
  width: 34px !important;
  min-width: 34px !important;
  border: 0 !important;
  background: transparent !important;
}
.illustrated-duel .duel-shell [data-result-actions] {
  display: contents !important;
}
.illustrated-duel .duel-shell [data-current-photo]:has(.festive-result) {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.illustrated-duel .duel-shell [data-duel-board]:has(.festive-result) > section:has(> [data-current-photo]) {
  width: 100% !important;
  padding: 0 !important;
}
.illustrated-duel .duel-shell .festive-result {
  inset: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  background: #ffffffde !important;
  border: 1px solid #b9c9df !important;
  border-radius: 12px;
  box-shadow: 0 2px 7px #142a4910 !important;
  padding: 9px !important;
  gap: 6px !important;
  overflow: auto !important;
  font-family: Nunito, sans-serif !important;
  animation: none !important;
}
.illustrated-duel .duel-shell .festive-result > * {
  flex-shrink: 0 !important;
}
.illustrated-duel .duel-shell .winning-interval {
  width: auto !important;
  gap: 6px !important;
}
.illustrated-duel .duel-shell .winning-interval > strong {
  font-size: 32px !important;
  border: 0 !important;
  border-radius: 10px;
  padding: 1px 12px !important;
  background: #fff !important;
  box-shadow: 0 2px 4px #142a491a !important;
}
.illustrated-duel .duel-shell .winning-interval > span:not(.interval-line) {
  font-size: 14px !important;
}
.illustrated-duel .duel-shell .winner-announcement {
  min-height: 0 !important;
  gap: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
.illustrated-duel .duel-shell .won-icons {
  display: none !important;
}
.illustrated-duel .duel-shell .celebrate-title {
  font: 1000 22px/1.1 Nunito, sans-serif !important;
}
.illustrated-duel .duel-shell .result-consequence {
  font-size: 13px !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}
.illustrated-duel .duel-shell .result-competition {
  width: 100% !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.illustrated-duel .duel-shell .result-competition > p {
  font-size: 14px !important;
  margin: 0 0 5px !important;
  line-height: 1.2 !important;
}
.illustrated-duel .duel-shell .competition-scores {
  width: 100% !important;
  gap: 9px !important;
  justify-content: center;
}
.illustrated-duel .duel-shell .competition-scores > div {
  background: #e5f3ff;
  border-radius: 12px;
  padding: 6px 10px !important;
  min-height: 67px;
}
.illustrated-duel .duel-shell .competition-scores > div[data-team="1"] {
  background: #ffecde;
}
.illustrated-duel .duel-shell .competition-scores strong {
  font-size: 36px !important;
  line-height: 1 !important;
}
.illustrated-duel .duel-shell .competition-scores small {
  font-size: 12px !important;
}
.illustrated-duel .duel-shell .encouragement {
  font-size: 12px !important;
}
.illustrated-duel .duel-shell .game-final {
  grid-area: board;
  width: 100%;
  height: auto !important;
  max-height: none !important;
  min-height: 350px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fffdf7;
  padding: 18px !important;
}
.illustrated-duel .duel-shell > .alert,
.illustrated-duel .duel-shell > p,
.illustrated-duel .duel-shell > [role=status] {
  grid-column: 1;
  max-width: 100%;
  margin: 0;
  font-size: 12px;
}
.illustrated-duel button:focus-visible,
.illustrated-duel a:focus-visible,
.illustrated-duel summary:focus-visible {
  outline: 3px solid #c45114 !important;
  outline-offset: 3px;
}
.illustrated-duel.illustrated-tie {
  display: block;
}
.illustrated-duel.illustrated-tie > .game-secondary {
  background: transparent;
  max-width: 1000px;
  margin: auto;
}
@media (max-width: 350px) {
  .illustrated-duel {
    padding-inline: 6px;
  }
  .illustrated-duel .duel-header .brand {
    font-size: 23px;
  }
  .illustrated-duel .illustrated-team-name h2 {
    font-size: 11px !important;
  }
  .illustrated-duel .illustrated-team-tools {
    gap: 2px;
    font-size: 10px;
    padding-inline: 2px;
  }
  .illustrated-duel .illustrated-team-score small {
    font-size: 9px;
  }
  .illustrated-duel .illustrated-board-cue p {
    font-size: 11px;
  }
  .illustrated-duel .duel-shell [data-action-team] button {
    font-size: 12px !important;
    padding-inline: 6px !important;
  }
  .illustrated-duel .illustrated-choice {
    font-size: 11px;
  }
}
@media (orientation: portrait) and (max-height: 640px) {
  .illustrated-duel .duel-shell [data-duel-board] {
    --ill-thumb:clamp(86px,17svh,108px);
    grid-template-rows: 68px auto calc(var(--ill-thumb) + 40px) minmax(120px, 1fr) 56px !important;
    gap: 5px !important;
  }
  .illustrated-duel .illustrated-board-cue h1 {
    font-size: 18px;
  }
  .illustrated-duel .illustrated-board-cue p {
    font-size: 11px;
  }
  .illustrated-duel .duel-shell [data-duel-board]:has(.festive-result) {
    height: auto !important;
    min-height: calc(100svh - 78px) !important;
    grid-template-rows: 68px auto calc(var(--ill-thumb) + 40px) 230px 56px !important;
  }
}
@media (orientation: landscape) {
  .illustrated-duel {
    max-width: 1400px;
  }
  .illustrated-duel .duel-shell [data-duel-board] {
    height: calc(100svh - 78px) !important;
    min-height: 280px !important;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) !important;
    grid-template-rows: 64px auto minmax(120px, 1fr) 56px !important;
    gap: 8px !important;
    --ill-thumb:clamp(80px,calc(100svh - 330px),220px);
  }
  .illustrated-duel .illustrated-teams {
    grid-column: 1/-1;
    grid-row: 1;
    max-width: 660px;
    width: 100%;
    height: 64px;
    justify-self: center;
  }
  .illustrated-duel .illustrated-board-cue {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .illustrated-duel .illustrated-board-cue h1 {
    font-size: 20px;
  }
  .illustrated-duel .duel-shell [data-duel-board] section[data-team] {
    grid-column: 1 !important;
    grid-row: 3 !important;
  }
  .illustrated-duel .duel-shell [data-duel-board] > section:has(> [data-current-photo]) {
    grid-column: 2 !important;
    grid-row: 3/5 !important;
    width: 96% !important;
  }
  .illustrated-duel .duel-shell [data-duel-board] > [data-action-team] {
    grid-column: 1 !important;
    grid-row: 4 !important;
  }
  .illustrated-duel[data-show-other=true] .duel-shell [data-duel-board] {
    height: auto !important;
    grid-template-rows: 64px auto calc(var(--ill-thumb) + 40px) 56px calc(var(--ill-thumb) + 40px) !important;
  }
  .illustrated-duel[data-show-other=true] .duel-shell[data-focused-team="0"] section[data-team="1"],
  .illustrated-duel[data-show-other=true] .duel-shell[data-focused-team="1"] section[data-team="0"] {
    grid-column: 1/-1 !important;
    grid-row: 5 !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .illustrated-duel * {
    scroll-behavior: auto !important;
  }
  .illustrated-duel .confetti {
    display: none;
  }
}
.illustrated-duel .duel-shell [data-current-photo][data-photo-held=true] > img {
  opacity: .2;
}
.illustrated-duel [data-photo-draggable=true],
.illustrated-duel [data-photo-draggable=true] > img {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  cursor: grab;
}
.illustrated-duel .duel-shell .illustrated-result {
  gap: 12px !important;
  padding: 14px 10px !important;
}
.illustrated-duel .illustrated-result > [data-result-order=winner] {
  order: 0;
}
.illustrated-duel .illustrated-result > [data-result-order=year] {
  order: 1;
  margin-block: 3px;
}
.illustrated-duel .illustrated-result > [data-result-order=evolution] {
  order: 2;
}
.illustrated-duel .illustrated-result > [data-result-order=scores] {
  order: 3;
}
.illustrated-duel .illustrated-result > .result-bonus {
  order: 4;
}
.illustrated-duel .illustrated-result > .result-ended {
  order: 5;
}
.illustrated-duel .illustrated-result-winner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  color: var(--winner-color);
  font: 1000 clamp(20px, 5.6vw, 27px)/1.15 Nunito, sans-serif;
  text-align: center;
}
.illustrated-duel .illustrated-result-winner strong {
  overflow-wrap: anywhere;
}
.illustrated-duel .illustrated-result-winner b {
  flex: none;
  white-space: nowrap;
}
.illustrated-duel .illustrated-result-evolution {
  margin: 3px 0 !important;
  font: 800 15px/1.3 Nunito, sans-serif;
  text-align: center;
  color: #314967;
  max-width: 100%;
}
.illustrated-duel .duel-shell .illustrated-result .competition-scores {
  margin-top: 4px;
  width: 100% !important;
}
.illustrated-duel .duel-shell .illustrated-result .competition-team {
  padding: 9px 10px !important;
  min-height: 82px;
}
.illustrated-duel .illustrated-rolling-score {
  display: inline-flex;
  white-space: nowrap;
  line-height: 1.05;
  height: 1.05em;
  font-variant-numeric: tabular-nums;
}
.illustrated-duel .illustrated-score-digit {
  display: inline-block;
  height: 1.05em;
  line-height: 1.05em;
  overflow: hidden;
  min-width: .6em;
}
.illustrated-duel .illustrated-score-reel {
  display: flex;
  flex-direction: column;
  transform: translateY(-50%);
  animation: pq-score-roll 1.1s .15s cubic-bezier(.22, .7, .2, 1) both;
}
.illustrated-duel .illustrated-score-digit[data-changing=false] .illustrated-score-reel {
  animation: none;
}
.illustrated-duel .illustrated-score-reel > span {
  height: 1.05em;
  line-height: 1.05em;
  flex: none;
}
.illustrated-duel .illustrated-score-before::before {
  content: attr(data-number);
  white-space: pre;
}
@keyframes pq-score-roll {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .illustrated-duel .illustrated-score-reel {
    animation: none;
    transform: translateY(-50%);
  }
}
.illustrated-duel .duel-live[data-browser-zoom=true] [data-current-photo][data-photo-draggable=true],
.illustrated-duel .duel-live[data-browser-zoom=true] [data-current-photo][data-photo-draggable=true] *,
.illustrated-duel .duel-live[data-browser-zoom=true] [data-draggable=true],
.illustrated-duel .duel-live[data-browser-zoom=true] [data-draggable=true] *,
.illustrated-duel .duel-live[data-browser-zoom=true] [data-reserve-source=true],
.illustrated-duel .duel-live[data-browser-zoom=true] [data-reserve-source=true] * {
  touch-action: pinch-zoom !important;
}
.illustrated-duel .duel-shell [data-duel-board] section[data-team] > .marker-space[data-marker-direction=left] {
  left: 0;
  right: auto;
}
.illustrated-duel .duel-shell [data-duel-board] section[data-team] > .marker-space[data-marker-direction=right] {
  right: 0;
  left: auto;
}
.illustrated-duel [data-current-photo] > img[hidden] {
  display: none !important;
}
.illustrated-duel .illustrated-hit-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}
.illustrated-duel .duel-shell [data-track-team] .illustrated-hit-layer > button {
  position: absolute;
  top: 0;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  box-shadow: none !important;
  pointer-events: auto;
  touch-action: pan-x pinch-zoom;
}
.illustrated-duel .illustrated-hit-layer > button:disabled {
  pointer-events: none;
}
.illustrated-duel [data-placement-miniature] {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  width: 27px;
  height: 24px;
  object-fit: cover;
  border: 2px solid white;
  border-radius: 3px;
  box-shadow: 0 1px 3px #172c4850;
  pointer-events: none;
}
.illustrated-duel .duel-shell [data-duel-board] {
  grid-template-rows: 84px auto calc(var(--ill-thumb) + 40px) minmax(140px, 1fr) !important;
}
.illustrated-duel .illustrated-teams {
  height: 84px;
}
.illustrated-duel .duel-shell .illustrated-teams > [data-team-heading] {
  height: 81px !important;
}
.illustrated-duel .illustrated-team-inner {
  grid-template-rows: 26px 26px 18px;
}
.illustrated-duel .illustrated-team-name h2 {
  font-size: 15px !important;
}
.illustrated-duel .illustrated-team-name > svg {
  width: 15px;
  height: 15px;
}
.illustrated-duel .illustrated-team-name .illustrated-team-score {
  padding: 2px 4px;
  border-radius: 5px;
  background: #fff5d9;
  color: #172c48;
  font-size: 13px;
  gap: 2px;
}
.illustrated-duel .illustrated-team-name .illustrated-team-score b {
  font-size: 20px;
  line-height: 1;
}
.illustrated-duel .illustrated-team-name .illustrated-team-score > svg {
  display: none;
}
.illustrated-duel .illustrated-team-tools > small {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}
.illustrated-duel .illustrated-team-interval {
  font: 800 10px/17px Nunito, sans-serif;
  margin: 0;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.illustrated-duel .illustrated-board-cue {
  padding-top: 8px;
  text-align: left;
}
.illustrated-duel .illustrated-board-cue > [data-contextual-action] {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  height: auto;
  min-height: 62px;
  margin: 0;
  padding: 12px 8px 6px;
  border: 1px solid var(--owner);
  border-radius: 12px;
  background: var(--pale);
}
.illustrated-duel .illustrated-board-cue > [data-neutral-action=true] {
  padding-top: 7px;
  background: #fffdf7;
  border-color: var(--line);
}
.illustrated-duel .illustrated-context-question h1 {
  font: 900 15px/1.2 Nunito, sans-serif;
  margin: 0;
  letter-spacing: 0;
  color: var(--ink);
}
.illustrated-duel .illustrated-board-cue [data-contextual-action] .illustrated-action-medallion {
  position: absolute;
  top: -8px;
  left: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--owner);
  color: white;
  border-radius: 5px;
  padding: 2px 6px;
  max-width: 90%;
  font: 800 11px/1.2 Nunito, sans-serif;
}
.illustrated-duel [data-contextual-action] [class*=commands] {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
  min-width: 0;
}
.illustrated-duel [data-contextual-action] button {
  min-height: 44px;
  padding: 5px 8px;
  font: 800 13px Nunito, sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
}
.illustrated-duel [data-contextual-action] [data-confirmation-source] > [data-choice-kind] {
  width: 25px;
  height: 28px;
}
.illustrated-duel [data-contextual-action] .reveal-in-action {
  font-size: 0;
  min-width: 44px;
}
.illustrated-duel [data-contextual-action] .reveal-in-action svg {
  width: 26px;
  height: 26px;
  display: block;
}
.illustrated-duel [data-contextual-action] .reveal-in-action::before,
.illustrated-duel [data-contextual-action] .reveal-in-action::after {
  display: none;
}
.illustrated-duel [data-contextual-action] .next-in-action {
  width: 48px;
  height: 46px;
  padding: 3px;
}
.illustrated-duel [data-contextual-action] .next-in-action > svg {
  width: 37px;
  height: 34px;
}
.illustrated-duel .illustrated-context-wait {
  font: 700 11px Nunito, sans-serif;
  color: #566781;
}
.illustrated-duel .duel-shell [data-duel-board] > section:has(> [data-current-photo]) {
  padding-bottom: 0 !important;
  align-self: start !important;
}
.illustrated-duel .duel-shell [data-current-photo]:not([data-source-deposited=true])::before {
  bottom: 5px;
  left: 8px;
  transform: none;
  background: #ffffffb8;
  color: #172c48;
  font-size: 11px;
}
.illustrated-duel[data-show-other=true] .duel-shell [data-duel-board] {
  grid-template-rows: 84px auto calc(var(--ill-thumb) + 40px) clamp(180px, 35svh, 400px) calc(var(--ill-thumb) + 40px) !important;
}
.illustrated-duel[data-show-other=true] .duel-shell[data-focused-team="0"] section[data-team="1"],
.illustrated-duel[data-show-other=true] .duel-shell[data-focused-team="1"] section[data-team="0"] {
  grid-row: 5 !important;
}
@media (orientation: portrait) and (max-height: 640px) {
  .illustrated-duel .duel-shell [data-duel-board],
  .illustrated-duel .duel-shell [data-duel-board]:has(.festive-result) {
    height: auto !important;
    min-height: calc(100svh - 70px) !important;
    grid-template-rows: 84px auto calc(var(--ill-thumb) + 40px) minmax(150px, 1fr) !important;
  }
}
@media (orientation: landscape) {
  .illustrated-duel .duel-shell [data-duel-board] {
    grid-template-rows: 84px auto minmax(130px, 1fr) !important;
  }
  .illustrated-duel .illustrated-teams {
    height: 84px;
  }
  .illustrated-duel .illustrated-board-cue {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .illustrated-duel .duel-shell [data-duel-board] > section:has(> [data-current-photo]) {
    grid-row: 3 !important;
  }
  .illustrated-duel[data-show-other=true] .duel-shell [data-duel-board] {
    grid-template-rows: 84px auto calc(var(--ill-thumb) + 40px) calc(var(--ill-thumb) + 40px) !important;
  }
  .illustrated-duel[data-show-other=true] .duel-shell[data-focused-team="0"] section[data-team="1"],
  .illustrated-duel[data-show-other=true] .duel-shell[data-focused-team="1"] section[data-team="0"] {
    grid-row: 4 !important;
  }
}
.illustrated-duel [data-track-team]:has(.illustrated-hit-layer) [data-gap] {
  pointer-events: none;
}
.illustrated-duel [data-track-team]:has(.illustrated-hit-layer) [data-gap] > button {
  pointer-events: auto;
}
.illustrated-duel [data-track-team]:has(.illustrated-hit-layer) [data-timeline-photo] {
  pointer-events: none;
}
.illustrated-duel .duel-shell [data-contextual-action] .reveal-in-action > svg {
  display: block !important;
}
.illustrated-duel .duel-shell [data-contextual-action] .next-in-action {
  height: 46px !important;
  min-height: 44px !important;
  padding: 5px 9px !important;
  font-size: 12px !important;
}
.illustrated-duel .duel-shell .illustrated-result {
  gap: 14px !important;
}
.illustrated-marker-flight[data-choice-kind=placement] {
  border: 0;
  background: transparent;
  color: var(--owner);
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
.illustrated-marker-flight > .illustrated-pin {
  width: 100%;
  height: 100%;
  stroke: none;
}
.illustrated-marker-miniature {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  width: 27px;
  height: 24px;
  object-fit: cover;
  border: 2px solid white;
  border-radius: 3px;
  box-shadow: 0 1px 3px #172c4850;
}
.illustrated-duel .duel-shell [data-duel-board] {
  grid-template-rows: 112px auto calc(var(--ill-thumb) + 40px) minmax(140px, 1fr) !important;
}
.illustrated-duel .illustrated-teams {
  height: 112px !important;
}
.illustrated-duel .duel-shell .illustrated-teams > [data-team-heading] {
  height: 109px !important;
}
.illustrated-duel .illustrated-team-inner {
  grid-template-columns: minmax(0, 1fr) 48px;
  grid-template-rows: 34px 30px minmax(28px, 1fr);
  column-gap: 4px;
}
.illustrated-duel .illustrated-team-name {
  grid-column: 1;
  grid-row: 1;
}
.illustrated-duel .illustrated-team-name h2 {
  white-space: normal;
  overflow-wrap: anywhere;
  text-overflow: clip;
  font-size: 15px !important;
  line-height: 1.08 !important;
}
.illustrated-duel .illustrated-team-tools {
  grid-column: 1;
  grid-row: 2;
  padding: 2px 3px;
  gap: 4px;
  font-size: 13px;
}
.illustrated-duel [data-reserve] strong {
  font-size: 14px;
}
.illustrated-duel .illustrated-perseverance {
  font-size: 12px;
}
.illustrated-duel .illustrated-team-inner > .illustrated-team-score {
  grid-column: 2;
  grid-row: 1/3;
  align-self: center;
  justify-self: center;
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  color: white !important;
}
.illustrated-duel .illustrated-team-inner > .illustrated-team-score b {
  font: 1000 48px/1 Nunito, sans-serif;
  color: white;
}
.illustrated-duel .illustrated-team-interval {
  grid-column: 1/-1;
  grid-row: 3;
  align-self: center;
  font: 900 13px/1.2 Nunito, sans-serif;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  padding: 2px 0;
  color: white;
}
.illustrated-duel [data-team-heading][data-acting=true] .illustrated-team-inner {
  border: 2px solid #ffe58a;
  box-shadow: none;
}
.illustrated-duel .duel-shell [data-contextual-action] {
  background: var(--pale) !important;
  color: #172c48 !important;
  min-height: 56px !important;
  height: auto !important;
  padding: 9px 8px 4px !important;
}
.illustrated-duel .duel-shell [data-contextual-action][data-neutral-action=true] {
  background: #f0f4ff !important;
}
.illustrated-duel .illustrated-context-question h1 {
  color: #172c48 !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
}
.illustrated-duel .illustrated-message-team,
.illustrated-duel .illustrated-message-line {
  display: block;
  max-width: 100%;
  overflow-wrap: normal;
}
.illustrated-duel .illustrated-message-team:empty {
  display: none;
}
.illustrated-duel .illustrated-message-team {
  font-weight: 1000;
}
.illustrated-duel .illustrated-context-question {
  min-height: 34px;
  display: flex;
  align-items: center;
}
.illustrated-duel .duel-shell [data-contextual-action] button:has([data-placement-source]),
.illustrated-duel .duel-shell [data-contextual-action] [data-contest-action-source] {
  min-width: 44px !important;
  min-height: 44px !important;
  border: 1px solid var(--owner) !important;
  border-radius: 10px !important;
  background: #ffffffdd !important;
  box-shadow: 0 2px 2px #172c4826 !important;
  padding: 5px !important;
}
.illustrated-duel .duel-shell [data-duel-board] > section:has(> [data-current-photo]) {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.illustrated-duel .duel-shell [data-current-photo]:not(:has(.festive-result)) {
  width: var(--fitted-photo-width,100%) !important;
  height: var(--fitted-photo-height,100%) !important;
  max-width: 100%;
  max-height: 100% !important;
  flex: none;
}
.illustrated-duel .duel-shell [data-award-slot] {
  --award-color:#59697e;
}
.illustrated-duel .duel-shell [data-award-slot][data-award-owner="0"] {
  --award-color:#186bd0;
}
.illustrated-duel .duel-shell [data-award-slot][data-award-owner="1"] {
  --award-color:#ce4d10;
}
.illustrated-duel .duel-shell [data-award-slot][data-award-settled=true] {
  overflow: visible !important;
}
.illustrated-duel .duel-shell [data-award-slot] > [data-new-photo-year] {
  background: var(--award-color) !important;
  color: white !important;
}
.illustrated-duel .duel-shell [data-award-slot] [data-timeline-photo] {
  border-color: var(--award-color) !important;
}
.illustrated-duel .duel-shell [data-award-settled=true] [data-timeline-photo]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  box-shadow: inset 0 0 6px 2px var(--award-color);
  pointer-events: none;
  animation: pq-award-halo .9s ease-out both;
}
@keyframes pq-award-halo {
  from {
    opacity: .35;
  }
  to {
    opacity: 0;
  }
}
.illustrated-duel .illustrated-result .competition-team[data-round-winner=true] {
  outline: 2px solid currentColor;
  outline-offset: 1px;
  box-shadow: 0 3px 8px #172c4826;
}
.illustrated-duel .illustrated-result .competition-team[data-round-winner=true] small {
  font-weight: 1000;
  font-size: 14px !important;
}
.illustrated-duel .illustrated-winner-badge {
  display: block;
  font: 800 10px/1.2 Nunito, sans-serif;
  margin-top: 5px;
}
@media (prefers-reduced-motion: reduce) {
  .illustrated-duel .duel-shell [data-award-settled=true] [data-timeline-photo]::before {
    animation: none;
    opacity: 0;
  }
}
.illustrated-duel[data-show-other=true] .duel-shell [data-duel-board] {
  grid-template-rows: 112px auto calc(var(--ill-thumb) + 40px) clamp(160px, 32svh, 400px) calc(var(--ill-thumb) + 40px) !important;
}
@media (orientation: portrait) and (max-height: 640px) {
  .illustrated-duel .duel-shell [data-duel-board],
  .illustrated-duel .duel-shell [data-duel-board]:has(.festive-result) {
    grid-template-rows: 112px auto calc(var(--ill-thumb) + 40px) minmax(140px, 1fr) !important;
  }
}
@media (orientation: landscape) {
  .illustrated-duel .duel-shell [data-duel-board] {
    grid-template-rows: 112px auto minmax(130px, 1fr) !important;
  }
  .illustrated-duel[data-show-other=true] .duel-shell [data-duel-board] {
    grid-template-rows: 112px auto calc(var(--ill-thumb) + 40px) calc(var(--ill-thumb) + 40px) !important;
  }
}
.illustrated-duel .duel-shell [data-track-team] > div > [data-award-slot][data-photo-id] > [data-new-photo-year] {
  background: var(--award-color) !important;
  color: white !important;
}
.illustrated-duel .illustrated-team-inner > .illustrated-team-score b {
  font-size: min(48px, calc(80px / var(--score-digits,1)));
}
@media (max-width: 350px) {
  .illustrated-duel .duel-shell [data-duel-board],
  .illustrated-duel .duel-shell [data-duel-board]:has(.festive-result) {
    grid-template-rows: 128px auto calc(var(--ill-thumb) + 40px) minmax(140px, 1fr) !important;
  }
  .illustrated-duel .illustrated-teams {
    height: 128px !important;
  }
  .illustrated-duel .duel-shell .illustrated-teams > [data-team-heading] {
    height: 125px !important;
  }
  .illustrated-duel .illustrated-team-inner {
    grid-template-columns: minmax(0, 1fr) 40px;
    grid-template-rows: 46px 28px minmax(28px, 1fr);
  }
  .illustrated-duel .illustrated-team-name h2 {
    font-size: 14px !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
  .illustrated-duel .illustrated-team-name > svg {
    width: 13px;
    height: 13px;
  }
  .illustrated-duel .illustrated-team-tools {
    gap: 3px;
    padding-inline: 2px;
    font-size: 11px;
  }
  .illustrated-duel [data-reserve] strong {
    font-size: 12px;
  }
  .illustrated-duel [data-reserve] > span {
    width: 22px;
    min-width: 22px;
    height: 22px;
  }
  .illustrated-duel [data-reserve] [data-choice-kind] {
    width: 20px;
    height: 20px;
    min-width: 20px;
  }
  .illustrated-duel .illustrated-perseverance {
    font-size: 11px;
  }
  .illustrated-duel .illustrated-progress-ring {
    width: 18px;
    height: 18px;
  }
  .illustrated-duel .illustrated-team-inner > .illustrated-team-score b {
    font-size: min(42px, calc(68px / var(--score-digits,1)));
  }
  .illustrated-duel[data-show-other=true] .duel-shell [data-duel-board] {
    grid-template-rows: 128px auto calc(var(--ill-thumb) + 40px) minmax(140px, 1fr) calc(var(--ill-thumb) + 40px) !important;
  }
}
.illustrated-duel .next-in-action {
  color: white !important;
}
.illustrated-duel .final-eyebrow {
  font-size: clamp(23px, 6vw, 32px);
  font-weight: 900;
  letter-spacing: .02em;
  color: #172c48;
}
.final-congratulations {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 750;
  max-width: 32em;
  margin: 0;
}
.pq-award-marker-overlay {
  position: fixed !important;
  z-index: 1201 !important;
  pointer-events: none !important;
  margin: 0 !important;
}
.illustrated-duel .duel-shell [data-track-team] [data-gap] > button:not([data-draggable=true]) {
  touch-action: pan-x pinch-zoom !important;
}
.illustrated-duel .duel-shell [data-award-slot] [data-timeline-photo]::after {
  content: none !important;
  box-shadow: none !important;
}
.illustrated-duel .duel-shell [data-contextual-action] .next-in-action,
.illustrated-duel .duel-shell [data-contextual-action] .reveal-in-action {
  display: grid !important;
  place-items: center;
  width: 46px !important;
  min-width: 46px !important;
  max-width: 46px !important;
  height: 46px !important;
  flex: none !important;
  padding: 2px !important;
}
.illustrated-duel .duel-shell [data-contextual-action] .next-in-action > svg,
.illustrated-duel .duel-shell [data-contextual-action] .reveal-in-action > svg {
  display: block !important;
  width: 40px !important;
  height: 40px !important;
}
.illustrated-duel .duel-shell [data-contextual-action] .next-in-action::before,
.illustrated-duel .duel-shell [data-contextual-action] .next-in-action::after,
.illustrated-duel .duel-shell [data-contextual-action] .reveal-in-action::before,
.illustrated-duel .duel-shell [data-contextual-action] .reveal-in-action::after {
  content: none !important;
}
.illustrated-duel .duel-shell [data-contextual-action] .illustrated-contest-token {
  border-radius: 50% !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  padding: 0 !important;
  border: 2px solid white !important;
  background: var(--owner) !important;
  color: white !important;
  box-shadow: 0 2px 4px #172c4833 !important;
  display: grid;
  place-items: center;
}
.illustrated-duel .duel-shell .illustrated-contest-token > [data-choice-kind] {
  width: 38px;
  height: 38px;
  border: 0 !important;
  border-radius: 50% !important;
  background: var(--owner) !important;
  color: white !important;
}
.illustrated-duel .illustrated-pending-token {
  opacity: .4;
  animation: pq-pending-token 1.4s ease-in-out infinite;
}
.illustrated-duel .illustrated-pending-token [data-choice-kind] {
  width: 18px !important;
  height: 18px !important;
  border-radius: 50% !important;
  background: var(--owner) !important;
  color: white !important;
  border: 0 !important;
}
.illustrated-duel .illustrated-pending-token svg {
  width: 15px !important;
  height: 15px !important;
}
@keyframes pq-pending-token {
  50% {
    opacity: .65;
  }
}
@media (prefers-reduced-motion: reduce) {
  .illustrated-duel .illustrated-pending-token {
    animation: none;
  }
}
.illustrated-duel .illustrated-context-question:has(h1:empty) {
  display: none;
}
.illustrated-marker-flight[data-choice-kind=contest] {
  border-radius: 50% !important;
  background: var(--owner);
  color: white;
  border: 2px solid white;
}
.illustrated-duel [data-reserve] {
  position: relative;
}
.illustrated-duel [data-reserve] > .illustrated-pending-token {
  position: absolute;
  left: 14px;
  top: -7px;
  min-width: 16px !important;
  width: 16px !important;
  height: 16px !important;
  pointer-events: none;
}
.illustrated-duel .illustrated-pending-token [data-choice-kind] {
  width: 16px !important;
  height: 16px !important;
}
.illustrated-duel .duel-shell [data-contextual-action] {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 8px 10px !important;
}
.illustrated-duel .illustrated-context-question {
  flex: 1 1 auto;
  min-width: 0;
  align-self: center;
}
.illustrated-duel .duel-shell [data-contextual-action] > div:last-child {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 6px !important;
  margin-left: auto !important;
  flex: 0 0 auto !important;
  align-self: center !important;
}
.illustrated-duel .duel-shell [data-contextual-action] button {
  margin-block: 0 !important;
  align-self: center !important;
}
.illustrated-duel .illustrated-team-inner {
  grid-template-columns: minmax(0, 1fr) 42px;
  grid-template-rows: minmax(32px, auto) 34px minmax(22px, auto);
  gap: 3px 6px;
}
.illustrated-duel .illustrated-team-name {
  grid-column: 1/-1;
}
.illustrated-duel .illustrated-team-inner > .illustrated-team-score {
  grid-column: 2;
  grid-row: 2;
  align-self: center;
  justify-self: center;
}
.illustrated-duel .illustrated-team-score b {
  font-size: min(38px, calc(64px/var(--score-digits,1))) !important;
  line-height: 1;
}
.illustrated-duel .illustrated-team-tools {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
}
.illustrated-duel .illustrated-team-interval {
  grid-row: 3;
  align-self: center;
  padding-top: 0;
}
@media (max-width: 350px) {
  .illustrated-duel .illustrated-team-inner {
    grid-template-columns: minmax(0, 1fr) 34px;
    grid-template-rows: 46px 30px 24px;
  }
  .illustrated-duel .illustrated-team-score b {
    font-size: min(32px, calc(52px/var(--score-digits,1))) !important;
  }
}
.illustrated-duel .final-eyebrow {
  font-size: clamp(30px, 8vw, 42px) !important;
  font-weight: 1000;
}
.illustrated-duel .illustrated-result .result-ended {
  font-size: 20px !important;
  font-weight: 900;
}
.illustrated-duel[data-contest-result=true] .duel-shell [data-duel-board] {
  --ill-thumb:clamp(65px,11svh,105px);
  grid-template-rows: 112px auto calc(2 * (var(--ill-thumb) + 48px)) minmax(170px, 1fr) !important;
}
.illustrated-duel[data-contest-result=true] .duel-shell .right-timelines {
  display: grid !important;
  grid-column: 1 !important;
  grid-row: 3 !important;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  min-height: 0;
}
.illustrated-duel[data-contest-result=true] .duel-shell .right-timelines > section[data-team] {
  display: block !important;
  grid-row: auto !important;
  grid-column: auto !important;
  position: relative;
}
.illustrated-duel[data-contest-result=true] .duel-shell .right-timelines > section[data-playing=true] {
  order: 0;
}
.illustrated-duel[data-contest-result=true] .duel-shell .right-timelines > section[data-playing=false] {
  order: 1;
}
.illustrated-duel[data-contest-result=true] .duel-shell .right-timelines > section[data-team]::before {
  content: "Ligne de " attr(data-line-name);
  position: absolute;
  left: 6px;
  top: 0;
  font: 800 10px/14px Nunito, sans-serif;
  color: #172c48;
  z-index: 35;
}
.illustrated-duel[data-contest-result=true] .duel-shell [data-track-team] {
  padding-top: 16px !important;
}
@media (orientation: landscape) {
  .illustrated-duel[data-contest-result=true] .duel-shell [data-duel-board] {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    grid-template-rows: 112px auto minmax(230px, 1fr) !important;
  }
  .illustrated-duel[data-contest-result=true] .duel-shell .right-timelines {
    grid-column: 1 !important;
    grid-row: 3 !important;
  }
  .illustrated-duel[data-contest-result=true] .duel-shell [data-duel-board] > section:has(> [data-current-photo]) {
    grid-column: 2 !important;
    grid-row: 3 !important;
  }
}
@media (orientation: portrait) {
  .illustrated-duel[data-contest-result=true] .duel-shell [data-duel-board] > section:has(> [data-current-photo]) {
    height: clamp(220px, 32svh, 340px) !important;
  }
}
.duel-live .duel-header > .back,
.game-standard-header > .header-return {
  white-space: normal !important;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 10px;
  line-height: 1.15;
}
.illustrated-duel .duel-shell [data-contextual-action] > .illustrated-context-question {
  flex: 1 1 0 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
}
.illustrated-duel .duel-shell [data-contextual-action] > [data-action-commands] {
  width: max-content !important;
  min-width: 0 !important;
  max-width: none !important;
  flex: 0 0 auto !important;
  justify-content: flex-end !important;
  margin-left: 0 !important;
}
.illustrated-duel .duel-shell [data-contextual-action] > .illustrated-context-question h1 {
  width: 100%;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}
.illustrated-duel .duel-shell [data-contextual-action] button:has([data-placement-source]) {
  width: 44px !important;
  min-width: 44px !important;
  max-width: 44px !important;
  flex: 0 0 44px !important;
  padding: 4px !important;
}
.illustrated-duel .duel-shell [data-gap] > button > [data-choice-kind] {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
}
.illustrated-duel .confirmation-wait {
  font-size: 11px;
  color: #566781;
}
.illustrated-duel .duel-shell .illustrated-teams > [data-team-heading] {
  box-shadow:
    inset 0 1px 1px #ffffff66,
    0 2px 0 #17335826,
    0 4px 7px #1733581a !important;
}
.illustrated-duel .duel-shell [data-contextual-action] {
  box-shadow: inset 0 1px 0 #ffffffcc, 0 2px 4px #17335812 !important;
}
.illustrated-duel .duel-shell [data-timeline-photo] {
  box-shadow:
    inset 0 1px 0 #fff,
    0 2px 1px #17335814,
    0 4px 7px #17335822 !important;
}
.illustrated-duel .duel-shell [data-contextual-action] button:not(:disabled):active {
  box-shadow: inset 0 2px 3px #17335833 !important;
}
.illustrated-duel .duel-shell [data-gap] > button > [data-choice-kind=contest][data-choice-state=chosen],
.illustrated-duel .duel-shell .illustrated-contest-token {
  box-shadow: inset 0 1px 1px #ffffff88, 0 2px 4px #17335833 !important;
}
@media (orientation: landscape) {
  .illustrated-duel .illustrated-board-cue {
    grid-column: 1 !important;
    grid-row: 2 !important;
    min-width: 0;
  }
  .illustrated-duel .duel-shell [data-duel-board] > section:has(> [data-current-photo]),
  .illustrated-duel[data-contest-result=true] .duel-shell [data-duel-board] > section:has(> [data-current-photo]) {
    grid-column: 2 !important;
    grid-row: 2/4 !important;
    height: 100% !important;
    align-self: stretch !important;
  }
  .illustrated-duel .illustrated-board-cue h1 {
    font-size: 16px !important;
  }
  .illustrated-duel .duel-shell [data-contextual-action] {
    height: auto !important;
    min-height: 62px !important;
  }
}
@media (pointer: coarse) {
  .illustrated-duel::after {
    content: "";
    display: block;
    grid-column: 1;
    grid-row: 4;
    height: max(240px, 70dvh);
    width: 100%;
    pointer-events: none;
  }
}
.illustrated-duel .duel-shell [data-contextual-action] {
  height: 76px !important;
  min-height: 76px !important;
  max-height: 76px !important;
  box-sizing: border-box;
}
.illustrated-duel .duel-shell [data-team-heading][data-acting=true] .illustrated-team-inner {
  outline: 2px solid #ffdc82;
  outline-offset: 0;
  border-color: transparent;
}
.illustrated-duel .duel-shell .illustrated-teams > [data-team-heading] {
  padding: 2px !important;
}
.illustrated-duel .duel-header:has(details[open]) {
  position: relative;
  z-index: 3000 !important;
}
.illustrated-duel .duel-header details[open] {
  z-index: 3001 !important;
}
.illustrated-duel .duel-shell [data-award-slot] {
  margin-right: 10px !important;
}
@media (orientation: landscape) {
  .illustrated-duel .illustrated-board-cue {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }
  .illustrated-duel .duel-shell .right-timelines,
  .illustrated-duel[data-contest-result=true] .duel-shell .right-timelines {
    grid-column: 2 !important;
    grid-row: 3 !important;
  }
  .illustrated-duel .duel-shell [data-duel-board] > section:has(> [data-current-photo]),
  .illustrated-duel[data-contest-result=true] .duel-shell [data-duel-board] > section:has(> [data-current-photo]) {
    grid-column: 1 !important;
    grid-row: 2/4 !important;
  }
}
@media (orientation: landscape) and (pointer: coarse) {
  .illustrated-duel {
    padding-top: 36px;
  }
}
.illustrated-duel .duel-menu-panel:popover-open {
  position: fixed !important;
  inset: auto !important;
  top: var(--menu-top) !important;
  right: 12px !important;
  margin: 0 !important;
  max-width: calc(100vw - 24px);
  max-height: calc(100svh - var(--menu-top) - 12px);
}
@media (orientation: landscape) {
  .illustrated-duel .duel-shell .right-timelines > section[data-team] {
    grid-column: 2 !important;
    grid-row: 3 !important;
  }
}

/* game/cps/game-end.css */
.pq-cps-board [data-pq=photo]:has(> .pq-end) {
  position: relative;
}
.pq-end {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: auto;
  max-height: none;
  z-index: 40;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 8px 12px;
  border-radius: 14px;
  background: rgba(10, 18, 36, .92);
  color: #f2f5fa;
  font-family: system-ui, sans-serif;
  box-sizing: border-box;
}
.pq-end .pq-end-title {
  display: block;
  margin: 0;
  font: 900 22px system-ui, sans-serif;
  color: #fff;
}
.pq-end .pq-end-was {
  display: block;
  margin: 0;
  font: 800 15px system-ui, sans-serif;
  color: #f3c969;
}
.pq-end-podium {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 6px;
  align-items: end;
  margin-top: 6px;
}
.pq-end-box {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  filter: brightness(.55);
  transition: filter .3s;
}
.pq-end-box.lit {
  filter: none;
}
.pq-end-step {
  border-radius: 10px 10px 3px 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 6px;
  color: #1b2b4d;
  font-family: system-ui, sans-serif;
  transition: min-height .2s;
}
.pq-end-step b {
  font: 900 20px/1 system-ui, sans-serif;
}
.pq-end-step span {
  font: 800 12px/1.3 system-ui, sans-serif;
}
.pq-end-box.lit .pq-end-step {
  box-shadow: 0 0 16px #fff5;
}
.pq-end-box.b1 .pq-end-step {
  background: linear-gradient(#ffe08a, #f2c230);
  min-height: 96px;
}
.pq-end-box.b2 .pq-end-step {
  background: linear-gradient(#eef2f8, #b8c4d2);
  min-height: 70px;
}
.pq-end-box.b3 .pq-end-step {
  background: linear-gradient(#f0c08f, #c9773b);
  min-height: 50px;
}
.pq-end.low .pq-end-box.b1 .pq-end-step {
  min-height: 44px;
}
.pq-end.low .pq-end-box.b2 .pq-end-step {
  min-height: 36px;
}
.pq-end.low .pq-end-box.b3 .pq-end-step {
  min-height: 30px;
}
.pq-end.low .pq-end-step b {
  font-size: 15px;
}
.pq-end-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  justify-items: stretch;
}
.pq-end-grid.w2 {
  grid-template-columns: 1fr 1fr;
}
.pq-end-grid.w3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.pq-end-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  overflow: visible;
  background: #fff;
  border: 0;
  border-radius: 999px;
  padding: 3px 8px 3px 4px;
  color: #111;
  font: 800 13px system-ui, sans-serif;
  white-space: nowrap;
  box-shadow: 0 2px 4px #0005;
}
.b1 .pq-end-pill {
  background: #F2C230;
}
.b2 .pq-end-pill {
  background: #B8C4D2;
}
.b3 .pq-end-pill {
  background: #C9773B;
}
.pq-end-grid.w2 .pq-end-pill,
.pq-end-grid.w3 .pq-end-pill {
  font-size: 10px;
  padding: 2px 4px 2px 2px;
  gap: 2px;
  text-overflow: ellipsis;
}
.pq-end-pill.me {
  outline: 3px solid #4c8dff;
  outline-offset: 1px;
}
.pq-end-mine {
  margin: 4px 0 0;
  padding: 6px 14px;
  border-radius: 12px;
  background: #fff;
  color: #111;
  font: 800 15px system-ui, sans-serif;
}
.pq-end-av {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
}
.pq-end-grid:is(.w2, .w3) .pq-end-av {
  width: 15px;
  height: 15px;
  font-size: 10px;
}
.pq-end.done .b1 .pq-end-pill {
  animation: pq-end-hop .5s ease-in-out 2;
}
.pq-end-crown {
  position: absolute;
  top: -15px;
  left: 4px;
  font-size: 15px;
}
.pq-end-wait {
  margin: 4px 0 0;
  color: #b9c6de;
  font-weight: 700;
  display: flex;
  gap: 6px;
  align-items: center;
}
.pq-end-bubble {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #172c48;
  font: 800 11px system-ui, sans-serif;
  border-radius: 8px;
  padding: 1px 6px;
  white-space: nowrap;
}
.pq-end-fly {
  position: fixed;
  z-index: 4000;
  pointer-events: none;
  margin: 0;
}
.pq-end-confetti {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 4100;
}
.pq-end-back {
  position: fixed;
  left: 50%;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 3000;
}
.pq-end-dialog {
  position: fixed;
  inset: 0;
  z-index: 3500;
  background: #0009;
  display: grid;
  place-items: center;
  padding: 16px;
}
.pq-end-dialog-box {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  border-radius: 16px;
  background: #fff;
  color: #172c48;
}
.pq-end-dialog-box .pq-what-next {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  margin: 0 !important;
  max-height: none !important;
}
.pq-end-close {
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 2;
  border: 0;
  background: #eef2f8;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  min-height: 0;
  padding: 0;
  font-size: 16px;
}
@keyframes pq-end-hop {
  50% {
    transform: translateY(-8px) scale(1.06);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pq-end-box {
    transition: none;
  }
  .pq-end.done .b1 .pq-end-pill {
    animation: none;
  }
}
.pq-end-suite {
  min-width: 110px;
}
.pq-suite {
  display: grid;
  gap: 10px;
  padding: 18px 16px 16px;
}
.pq-suite h2 {
  margin: 0 0 4px;
}
.pq-suite > button,
.pq-suite-go > button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  width: 100%;
}
.pq-suite small {
  font-weight: 500;
  font-size: 12px;
  color: #5b6b82;
}
.pq-suite-go {
  display: flex;
  gap: 8px;
  align-items: center;
}
.pq-suite-go > button {
  flex: 1;
}
.pq-suite-back {
  margin: 0 16px 16px;
}
.pq-end {
  animation: pq-end-rise 1.6s cubic-bezier(.22, 1, .36, 1) both;
}
.pq-end-choices {
  animation: pq-end-rise 1.6s cubic-bezier(.22, 1, .36, 1) .5s both;
}
@keyframes pq-end-rise {
  from {
    opacity: 0;
    transform: translateY(48px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pq-end,
  .pq-end-choices {
    animation: none;
  }
}
.pq-end-over {
  margin-left: auto;
  align-self: center;
  padding: 6px 12px;
  border-radius: 10px;
  background: #eef2f8;
  color: #172c48;
  font: 800 14px system-ui, sans-serif;
  white-space: nowrap;
}
html[data-theme=dark] .pq-end-over {
  background: #26365a;
  color: #fff;
}
.pq-suite-continue {
  display: grid;
  gap: 8px;
  border: 1.5px solid #dce4f0;
  border-radius: 12px;
  padding: 10px;
}
.pq-suite-head {
  font-weight: 900;
  font-size: 15px;
}
.pq-suite-seg {
  display: flex;
  padding: 2px;
  border-radius: 9px;
  background: #7676802e;
}
.pq-suite-seg > label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 4px 6px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}
.pq-suite-seg > label input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pq-suite-seg > label:has(input:checked) {
  background: #fff;
  color: #172c48;
  box-shadow: 0 1px 3px #0002;
}
.pq-suite-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pq-suite-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.pq-suite-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #186bd0;
}
.pq-suite-line {
  display: grid;
  gap: 6px;
  border: 0;
  margin: 0;
  padding: 0;
}
.pq-suite-line legend {
  font-weight: 800;
  font-size: 14px;
  padding: 0;
  margin-bottom: 2px;
}
html body .pq-end-dialog-box .pq-stepper b {
  color: #172c48 !important;
}
.pq-cps-board [data-pq=photo]:has(> .pq-end) > :not(.pq-end):not(.pq-end-choices):not(h2) {
  display: none !important;
}
html body .pq-cps-board .cps-v2.shell.shell [data-pq=photo]:has(> .pq-end-choices) {
  overflow-y: auto !important;
  overscroll-behavior: contain;
  display: block !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  align-content: start !important;
}
.pq-cps-board [data-pq=photo]:has(> .pq-end) > .pq-end:not(.tall) {
  position: relative;
  width: auto;
  align-self: stretch;
  flex: none;
}
html body .pq-end-choices.pq-end-dialog-box {
  flex: none;
  width: auto;
  max-height: none;
  overflow: visible;
  margin: 8px 0 0;
  scroll-margin-top: 12px;
}
html body .pq-cps-board .cps-v2.shell.shell [data-pq=photo].pq-end-over-line {
  background: rgb(10, 18, 36) !important;
  border-radius: 14px;
  -webkit-overflow-scrolling: touch;
}
.pq-end-over-line > .pq-end {
  background: transparent;
}
.pq-end-ad {
  margin: 10px auto 0;
  max-width: 420px;
  width: 100%;
  border-radius: 18px;
  padding: 12px 14px;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background:
    radial-gradient(
      120% 90% at 0% 0%,
      #FF9F0A 0%,
      #FF453A 45%,
      #7a1fd6 100%);
  animation: pq-end-ad-in .6s ease-out both;
}
.pq-end-ad > strong {
  font-size: clamp(17px, 4.6vw, 22px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.01em;
}
.pq-end-ad > span {
  font-size: 14px;
  font-weight: 700;
}
.pq-end-ad-store {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  color: #fff;
  border: 1.5px solid #a6a6a6;
  border-radius: 12px;
  padding: 5px 14px 5px 10px;
  text-align: left;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 8px 20px rgb(0 0 0 / 30%);
}
.pq-end-ad-store svg {
  width: 18px;
  height: 22px;
  fill: #fff;
  flex: none;
}
.pq-end-ad-store small {
  display: block;
  font-size: 11px;
  line-height: 1.1;
}
.pq-end-ad-store b {
  display: block;
  font-size: 17px;
  line-height: 1.05;
}
.pq-end-ad-store:focus-visible {
  outline: 3px solid #89bdff;
  outline-offset: 3px;
}
@keyframes pq-end-ad-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pq-end-ad {
    animation: none;
  }
}
@media (max-height: 740px) {
  .pq-end:has(.pq-end-ad) .pq-end-box.b1 .pq-end-step {
    min-height: 44px;
  }
  .pq-end:has(.pq-end-ad) .pq-end-box.b2 .pq-end-step {
    min-height: 36px;
  }
  .pq-end:has(.pq-end-ad) .pq-end-box.b3 .pq-end-step {
    min-height: 30px;
  }
  .pq-end-ad {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    margin-top: 6px;
    text-align: left;
  }
  .pq-end-ad > strong {
    font-size: 15px;
    line-height: 1.15;
    flex: 1;
  }
  .pq-end-ad > span {
    display: none;
  }
  .pq-end-ad-store {
    margin-top: 0;
    flex: none;
  }
}

/* game/cps/poster.css */
.pq-poster {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: calc(env(safe-area-inset-top, 0px) + 16px) 16px calc(env(safe-area-inset-bottom, 0px) + 16px);
  background: #050b14eb;
  animation: pq-poster-in .45s ease both;
}
.pq-poster img {
  max-width: 100%;
  max-height: calc(100% - 90px);
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 18px 50px #000a;
  animation: pq-poster-pop .55s cubic-bezier(.3, 1.3, .5, 1) both;
}
.pq-poster-actions {
  display: flex;
  gap: 10px;
}
.pq-poster-actions button {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
}
html body .pq-poster-actions .primary {
  background: #fff;
  color: #0b1a2e;
  border: 0;
}
html body .pq-poster-actions .outline {
  background: transparent;
  color: #fff;
  border: 2px solid #ffffff80;
}
html body .pq-poster p {
  margin: 0;
  color: #ffd7c2;
  font-size: 14px;
}
.pq-poster-open {
  margin: 10px auto 0;
  display: block;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 700;
}
@keyframes pq-poster-in {
  from {
    opacity: 0;
  }
}
@keyframes pq-poster-pop {
  from {
    opacity: 0;
    transform: scale(.92) rotate(-1deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pq-poster,
  .pq-poster img {
    animation: none;
  }
}

/* game/cps/reference/app/solo/solo.module.css */
.solo_shell {
  color: #edf5f7;
  min-height: 100dvh;
  padding-bottom: 20px;
  box-sizing: border-box;
}
.solo_headerActions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.solo_headerActions a {
  color: inherit;
}
.solo_setup,
.solo_board {
  padding-top: 16px;
  min-width: 0;
}
.solo_board {
  --timeline-height:170px;
}
.solo_setup h1,
.solo_heading h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0;
}
.solo_setup > h1 {
  margin-bottom: 20px;
}
.solo_setupGrid,
.solo_lobby {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr);
  gap: 18px;
}
.solo_panel {
  background: #102b38;
  border: 1px solid #44616b;
  border-radius: 18px;
  padding: 18px;
  min-width: 0;
  box-sizing: border-box;
}
.solo_panel h2 {
  font-size: 1.2rem;
  margin: 0 0 12px;
}
.solo_panel p {
  color: #d9e6e9;
}
.solo_panel a {
  color: #7ce1dc;
}
.solo_panel label {
  color: #edf5f7;
}
.solo_panel input[type=number],
.solo_panel input:not([type]) {
  background: #071b25;
  color: #fff;
  border-color: #6b929a;
  min-height: 44px;
  font-size: 1rem;
}
.solo_panel fieldset {
  border: 1px solid #44616b;
  border-radius: 10px;
  margin: 14px 0;
  padding: 12px;
}
.solo_collection {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 12px 0;
  font-size: 1rem;
}
.solo_collection input[type=checkbox] {
  width: 22px;
  height: 22px;
  min-height: 0;
  margin: 0;
  accent-color: #5ec9c5;
}
.solo_collection small {
  display: block;
  color: #b7cdd3;
  margin-top: 3px;
}
.solo_fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 18px 0;
}
.solo_fields small {
  display: block;
  margin-top: 8px;
  line-height: 1.4;
}
.solo_heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.solo_heading > span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .9rem;
}
.solo_players {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  max-height: 90px;
  overflow-y: auto;
  gap: 0;
  background: #153a48;
  border: 1px solid #5f8b91;
  border-radius: 12px;
  margin-bottom: 12px;
  min-height: 0;
}
.solo_player {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  min-width: 0;
  border-right: 1px solid #52727a;
  border-bottom: 1px solid #52727a;
}
.solo_player.solo_me {
  box-shadow: inset 0 -2px #f0d66b;
}
.solo_playerIcon {
  font-size: 1.4rem;
}
.solo_player strong {
  font-size: 1.05rem;
}
.solo_player small {
  font-size: .8rem;
  color: #8bddd8;
}
.solo_score {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 1.15rem;
  font-weight: 800;
}
.solo_score svg {
  flex-shrink: 0;
}
.solo_roster {
  padding: 0;
  list-style: none;
}
.solo_roster li {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #173e49;
  padding: 12px;
  margin: 8px 0;
  border-radius: 10px;
}
.solo_roster li > span {
  font-size: 1.6rem;
}
.solo_roster small {
  margin-left: auto;
}
.solo_panel progress {
  width: 100%;
  height: 12px;
  accent-color: #66d3c9;
}
.solo_icons {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.solo_icons button {
  font-size: 1.6rem;
  border: 2px solid transparent;
  background: #173e49;
  border-radius: 10px;
  min-width: 48px;
  min-height: 48px;
}
.solo_icons .solo_chosenIcon {
  border-color: #f0d66b;
}
.solo_panel form {
  margin: 22px 0;
}
.solo_invite {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}
.solo_code {
  font-size: 2.1rem;
  letter-spacing: .12em;
}
.solo_roundGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(165px, 1fr);
  gap: 14px;
  min-height: 0;
}
.solo_photoPanel {
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.solo_photoPanel h2 {
  flex-shrink: 0;
}
.solo_currentPhoto {
  display: block;
  width: 100%;
  height: clamp(160px, 35dvh, 380px);
  object-fit: contain;
  border-radius: 10px;
  background: #06141b;
  min-height: 0;
}
.solo_actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-height: 0;
  overflow-y: auto;
}
.solo_actions h2 {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin: 0 0 4px;
}
.solo_actions p {
  font-size: .9rem;
  line-height: 1.35;
  margin: 6px 0;
}
.solo_actions > button,
.solo_actions > a {
  flex-shrink: 0;
  min-height: 44px;
}
.solo_voteInfo {
  min-height: 0;
  overflow-y: auto;
  flex: 1 1 auto;
}
.solo_confirmedIcons {
  display: flex;
  gap: 3px;
  flex-wrap: wrap;
  align-items: center;
  min-height: 20px;
  margin: 4px 0;
}
.solo_confirmedIcons span {
  font-size: 1.2rem;
  line-height: 1.2;
}
.solo_confirmVote {
  margin-top: auto;
}
.solo_finishVotes {
  min-height: 44px;
  width: 100%;
  margin-top: 4px;
}
.solo_nextPhoto {
  margin-top: auto;
}
.solo_ranking {
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-y: auto;
  min-height: 0;
}
.solo_ranking li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #44616b;
  font-size: 1rem;
}
.solo_ranking li > span:first-child {
  font-size: 1.4rem;
}
.solo_rankScore {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.solo_ranking small {
  color: #f0d66b;
  font-size: .8rem;
}
.solo_trophy {
  color: #f0d66b;
  flex-shrink: 0;
  width: 21px;
  height: 21px;
}
.solo_wrong {
  color: #ff6569;
  stroke-width: 3;
  flex-shrink: 0;
  width: 21px;
  height: 21px;
}
.solo_revealedDate {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 8px 0 0;
  max-height: 110px;
  overflow-y: auto;
  flex-shrink: 0;
}
.solo_revealedDate small {
  display: block;
  font-size: .9rem;
  font-weight: 400;
  line-height: 1.4;
  margin-top: 3px;
}
.solo_timelineSection {
  margin-top: 16px;
  min-width: 0;
  min-height: 0;
}
.solo_timelineSection h2 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}
.solo_timeline {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 5px 0 12px;
  scrollbar-color: #5baea9 #102b38;
}
.solo_timelinePair {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-shrink: 0;
}
.solo_intervalGroup {
  display: flex;
  gap: 10px;
}
.solo_interval {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 56px;
  min-width: 56px;
  height: var(--timeline-height);
  min-height: var(--timeline-height);
  max-height: var(--timeline-height);
  box-sizing: border-box;
  padding: 6px;
  background: #173846;
  border: 2px dashed #6ea5b3;
  border-radius: 14px;
  color: #e6f3f6;
  font-size: .9rem;
  line-height: 1.35;
}
.solo_interval:disabled {
  opacity: 1;
  cursor: default;
}
.solo_interval.solo_selected {
  background: #294b48;
  border-color: #f0d66b;
  border-style: solid;
}
.solo_interval.solo_correct {
  border-color: #f0d66b;
  background: #284941;
}
.solo_interval.solo_hasVotes {
  width: 96px;
  min-width: 96px;
}
.solo_slotPrompt {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.solo_slotPrompt > svg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.solo_slotPrompt .placementFinger {
  color: #efc870;
}
.solo_voters {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-weight: 700;
  max-height: calc(var(--timeline-height) - 40px);
  overflow-y: auto;
  min-height: 0;
  flex-shrink: 1;
}
.solo_voters > span {
  white-space: nowrap;
}
.solo_card {
  margin: 0;
  width: 160px;
  height: var(--timeline-height);
  min-height: var(--timeline-height);
  box-sizing: border-box;
  background: #071923;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #52707a;
  position: relative;
  flex-shrink: 0;
}
.solo_card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.solo_card figcaption {
  position: absolute;
  left: 6px;
  top: 6px;
  background: #06131dde;
  padding: 5px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 1rem;
}
.solo_lastCard {
  border: 2px solid #f0d66b;
}
.solo_panel .primary {
  min-height: 44px;
}
.solo_shell .topbar {
  position: relative;
}
.solo_shell a:focus-visible,
.solo_shell button:focus-visible {
  outline: 3px solid #f0d66b;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  .solo_setupGrid,
  .solo_lobby {
    grid-template-columns: 1fr;
  }
  .solo_panel {
    padding: 12px;
  }
  .solo_roundGrid {
    gap: 8px;
  }
  .solo_players {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .solo_player {
    padding: 7px 9px;
    gap: 5px;
  }
  .solo_player small {
    display: none;
  }
  .solo_playerIcon {
    font-size: 1.2rem;
  }
  .solo_player strong {
    font-size: .95rem;
  }
  .solo_score {
    font-size: 1rem;
  }
  .solo_fields {
    grid-template-columns: 1fr;
  }
  .solo_heading {
    gap: 6px;
  }
  .solo_currentPhoto {
    height: 27dvh;
  }
  .solo_actions h2,
  .solo_photoPanel h2 {
    font-size: 1rem;
  }
  .solo_ranking li {
    gap: 5px;
    font-size: .9rem;
  }
  .solo_ranking li > span:first-child {
    font-size: 1.2rem;
  }
  .solo_ranking small {
    font-size: .75rem;
  }
  .solo_ranking .solo_trophy {
    width: 17px;
    height: 17px;
  }
  .solo_actions > button,
  .solo_finishVotes {
    font-size: .9rem;
    padding: 7px;
  }
  .solo_invite {
    gap: 14px;
  }
}
@media (orientation: landscape) and (max-height: 500px) {
  .solo_shell:has(.solo_board) {
    height: 100dvh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: 0 12px 6px;
    overflow-y: auto;
  }
  .solo_shell:has(.solo_board) .topbar {
    height: 40px;
    min-height: 40px;
    flex: 0 0 40px;
    padding: 0;
  }
  .solo_shell .brand {
    font-size: 1.65rem !important;
    gap: 6px;
  }
  .solo_shell .brandIcon {
    width: 30px;
    height: 30px;
  }
  .solo_board {
    --timeline-height:clamp(90px,25dvh,110px);
    flex: 1 1 auto;
    min-height: 0;
    padding-top: 4px;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    gap: 6px;
  }
  .solo_board:has(.solo_lobby) {
    display: block;
    overflow-y: auto;
  }
  .solo_heading {
    margin: 0;
    min-height: 20px;
  }
  .solo_heading h1 {
    font-size: 1rem;
  }
  .solo_heading > span {
    font-size: .85rem;
  }
  .solo_players {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-height: 38px;
    margin: 0;
  }
  .solo_player {
    padding: 5px 8px;
    gap: 6px;
  }
  .solo_playerIcon {
    font-size: 1.15rem;
  }
  .solo_player strong,
  .solo_score {
    font-size: .95rem;
  }
  .solo_player small {
    display: none;
  }
  .solo_roundGrid {
    grid-template-columns: minmax(0, 1fr) minmax(190px, 1fr);
    gap: 10px;
    height: 100%;
    min-height: 0;
  }
  .solo_panel {
    padding: 8px 10px;
    border-radius: 12px;
  }
  .solo_currentPhoto {
    height: 100%;
    flex: 1 1 auto;
  }
  .solo_photoPanel h2 {
    font-size: .9rem;
    line-height: 1.2;
    margin: 0 0 4px;
  }
  .solo_revealedDate {
    max-height: 45px;
    font-size: 1.1rem;
    margin-top: 4px;
  }
  .solo_revealedDate small {
    font-size: .85rem;
  }
  .solo_actions {
    gap: 4px;
  }
  .solo_actions h2 {
    font-size: .95rem;
  }
  .solo_actions p {
    font-size: .85rem;
    margin: 3px 0;
  }
  .solo_confirmedIcons {
    margin: 2px 0;
    min-height: 18px;
  }
  .solo_confirmedIcons span {
    font-size: 1rem;
  }
  .solo_ranking {
    flex: 1 1 auto;
  }
  .solo_ranking li {
    padding: 3px 0;
    font-size: .9rem;
    gap: 6px;
    min-height: 22px;
  }
  .solo_ranking li > span:first-child {
    font-size: 1rem;
  }
  .solo_ranking small {
    font-size: .75rem;
  }
  .solo_timelineSection {
    margin: 0;
  }
  .solo_timelineSection h2 {
    font-size: .9rem;
    line-height: 1.2;
    margin: 0 0 3px;
  }
  .solo_timeline {
    padding: 3px 0 6px;
  }
  .solo_voters {
    font-size: .85rem;
    gap: 3px;
  }
  .solo_card figcaption {
    font-size: .9rem;
    padding: 3px;
  }
  .solo_actions .primary,
  .solo_actions .outline {
    font-size: .9rem;
    padding: 7px 10px;
    min-height: 44px;
  }
  .solo_board .solo_lobby {
    margin-top: 12px;
  }
  .solo_shell > .solo_alert {
    flex-shrink: 0;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .solo_interval {
    transition: border-color .2s, background .2s;
  }
}
.solo_exit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.solo_exit:hover {
  background: #ffffff12;
}
.solo_exit:disabled {
  opacity: .5;
  cursor: wait;
}
.solo_photoInteraction {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
}
.solo_photoInteraction > .solo_currentPhoto {
  flex: 1 1 auto;
}
.solo_enlarge {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffffff80;
  border-radius: 8px;
  background: #06141bd9;
  color: white;
  z-index: 2;
  cursor: pointer;
}
.solo_dragging {
  opacity: .5;
}
.solo_dragGhost {
  position: fixed;
  width: 90px;
  height: 90px;
  object-fit: contain;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2000;
  background: #071923dc;
  border: 3px solid #66e2e1;
  border-radius: 10px;
}
.solo_intervalGroup {
  position: relative;
}
.solo_choicePhoto {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: var(--timeline-height);
  box-sizing: border-box;
  z-index: 1;
  border-radius: 14px;
  overflow: hidden;
}
.solo_choicePending {
  border: 3px solid #66e2e1;
  box-shadow: 0 0 0 2px #06141b, inset 0 0 0 2px #06141b;
}
.solo_choiceLocked {
  border: 2px solid #9fb2ba;
}
.solo_placedPhoto {
  position: relative;
  height: 100%;
  width: 100%;
  background: #071923;
}
.solo_placedImage {
  height: 100%;
  width: 100%;
  object-fit: contain;
  display: block;
}
.solo_choiceBadge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #052e35;
  color: #bffffa;
  font-size: 10px;
  line-height: 13px;
  font-weight: 800;
  text-align: center;
  pointer-events: none;
  padding: 3px 0;
}
.solo_choiceLocked .solo_choiceBadge {
  background: #13242d;
  color: #d9e6e9;
}
.solo_choicePhoto .solo_enlarge {
  width: 44px;
  height: 44px;
  right: 2px;
  top: 2px;
  background: #06141b99;
}
.solo_locked {
  border-color: #9fb2ba;
  border-style: solid;
}
.solo_voteSummary {
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: #173846;
  border: 1px solid #6ea5b3;
  border-radius: 9px;
  color: inherit;
  padding: 8px;
  text-align: left;
  width: 100%;
  cursor: pointer;
  min-height: 44px;
}
.solo_voteSummary > span {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.solo_voteSummary strong {
  font-size: .85rem;
}
.solo_voteSummary > span > span {
  display: flex;
  gap: 3px;
}
.solo_overlay {
  position: fixed;
  inset: 0;
  background: #000b;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  box-sizing: border-box;
}
.solo_summaryPanel,
.solo_zoomPanel {
  position: relative;
  background: #102b38;
  border: 1px solid #66d3c9;
  border-radius: 14px;
  padding: 16px;
  width: min(650px, 100%);
  max-height: 90dvh;
  overflow: auto;
  box-sizing: border-box;
}
.solo_summaryClose {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 44px;
  height: 44px;
  background: transparent;
  color: inherit;
  border: 0;
}
.solo_summaryGroup {
  border-top: 1px solid #44616b;
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.solo_summaryGroup > div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.solo_zoomPanel {
  width: min(1000px, 100%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  max-height: 95dvh;
}
.solo_zoomControls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.solo_zoomControls button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #6ea5b3;
  border-radius: 7px;
  color: inherit;
  background: #173846;
}
.solo_zoomControls button:last-child {
  margin-left: auto;
}
.solo_zoomViewport {
  overflow: auto;
  max-height: calc(95dvh - 120px);
  touch-action: none;
}
.solo_zoomViewport img {
  display: block;
  height: auto;
  -webkit-user-select: none;
  user-select: none;
}
.solo_zoomPanel small {
  flex-shrink: 0;
}
.solo_summaryPanel h2 {
  padding-right: 35px;
}
.solo_choicePhoto {
  width: 96px;
}
.solo_testPlayer {
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  min-height: 44px;
  border: 1px solid #44616b;
}
.solo_testPlayer.solo_controlledPlayer {
  background: #254d54;
  border: 2px solid #66e2e1;
  box-shadow: inset 0 0 0 1px #06141b;
}
.solo_testHint {
  color: #9df4e7;
  font-size: .8rem;
}
.solo_players:has(.solo_testPlayer) {
  max-height: 90px;
}
.solo_testPlayer:disabled {
  cursor: wait;
  opacity: .7;
}

/* game/cps/reference/app/solo/version3.module.css */
.version3_shell {
  color: #111827;
  background: #fff;
}
.version3_shell [data-pq=players] {
  background: #f5f7fa;
}
.version3_shell [data-pq=player] {
  background: var(--pale);
  color: var(--name);
  box-shadow: inset 0 0 0 1px var(--owner);
}
.version3_shell [data-pq=player][aria-pressed=true] {
  background: var(--pale);
  color: var(--name);
  box-shadow: inset 0 0 0 2px var(--owner);
}
.version3_shell [data-pq=player] small {
  color: var(--name);
}
.version3_shell [data-pq=player] > span:last-of-type {
  font-family:
    Arial,
    Helvetica,
    sans-serif;
  color: #111827;
}
.version3_shell [data-pq=photo] {
  background: #dce8f0;
  color: #111827;
  box-shadow: inset 0 0 0 1px #b8c7d6;
}
.version3_shell [data-pq=photo] h2,
.version3_shell [data-pq=photo] p {
  color: #24496c;
}
.version3_shell [data-pq=photo] img {
  background: #dce8f0;
}
.version3_shell [data-pq=actions] {
  color: #111827;
  background: #f5f7fa;
  box-shadow: inset 0 0 0 1px #e2e7ee;
}
.version3_shell [data-pq=actions] button {
  background: #fff;
  color: #111827;
  border-color: #b8c7d6;
  box-shadow: inset 0 0 0 1px #b8c7d6;
  font-weight: 600;
}
.version3_shell [data-pq=actions] button:hover {
  background: #fff;
  color: #111827;
  transform: none;
}
.version3_shell [data-pq=actions] .version3_placementHint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  width: 100%;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}
.version3_shell [data-pq=timeline-panel] {
  background: #fff;
}
.version3_viewport {
  --thumb-height:96px;
  display: block !important;
  height: calc(var(--timeline-height) + 20px);
  min-height: calc(var(--timeline-height) + 20px);
  overflow: hidden !important;
  box-sizing: border-box;
}
.version3_track {
  display: block;
  width: 100%;
  margin: 0;
  padding-top: 18px;
  --thumb-height:min(96px,calc(var(--solo-card-height) - 42px));
}
@media (orientation: portrait) and (min-width: 600px), (orientation: landscape) and (min-height: 600px) {
  .version3_track {
    --thumb-height:min(128px,calc(var(--solo-card-height) - 42px));
  }
}
@media (orientation: landscape) and (max-height: 600px) {
  .version3_viewport {
    height: calc(var(--timeline-height) + 12px);
    min-height: calc(var(--timeline-height) + 12px);
  }
}
.version3_shell [data-pq=actions] .version3_initialPlacement {
  position: relative;
}
.version3_initialPlacement [data-placement-source] {
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
}
.version3_reserveLabel {
  visibility: hidden;
  font-weight: 700;
}
.version3_hintLabel {
  position: absolute;
  left: 52px;
  right: 6px;
  inset-block: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 17px;
}
.version3_shell [data-pq=photo] button[aria-label="Agrandir la photo"] {
  top: auto;
  bottom: 5px;
  background: #ffffffe8;
  color: #24496c;
}
.version3_shell [data-pq=round] {
  height: auto;
  min-height: 0;
  align-items: start;
}
.version3_shell [data-pq=board] {
  grid-template-rows: auto auto auto minmax(145px, 1fr);
}
.version3_shell [data-pq=board] > [data-pq=photo] {
  min-width: 0;
}
.version3_shell.cps-v2 [data-pq=photo].version3_photoPanel {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
.version3_shell.cps-v2 [data-pq=board] {
  display: flex;
  flex-direction: column;
  flex: none;
  min-height: 0;
}
.version3_shell.cps-v2 [data-pq=timeline-panel] {
  flex: none;
  min-height: max-content;
}

/* game/cps/reference/app/version3/board.module.css */
.board_shell2.shell {
  max-width: 1100px;
  padding: 8px;
  background: #fff;
  color: #111827;
  min-height: 100svh;
}
.board_shell2 .topbar {
  margin: 0 0 6px;
  height: 40px;
  min-height: 36px;
  padding: 0 4px;
}
.board_shell2 .hostHelp {
  display: none;
}
.board_board2 {
  --thumb-height:96px;
  --team-height:158px;
  --photo-height:clamp(220px,calc(100svh - 490px),300px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: var(--team-height) 56px var(--photo-height) 56px var(--team-height);
  gap: 0;
  position: relative;
  background: #fff;
  color: #111827;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  max-width: 700px;
  margin: auto;
  width: 100%;
  isolation: isolate;
}
.board_board2,
.board_board2 * {
  box-sizing: border-box;
}
.board_board2 h2 {
  font-family: inherit;
  letter-spacing: normal;
}
.board_board2 button {
  cursor: pointer;
  font-family: inherit;
  box-shadow: none;
  touch-action: manipulation;
}
.board_board2 button:disabled {
  cursor: default;
}
.board_board2 button:focus-visible,
.board_track2:focus-visible {
  outline: 3px solid #111827;
  outline-offset: 2px;
}
.board_team2 {
  min-width: 0;
  margin: 0 0;
  border: 2px solid var(--owner);
  border-radius: 10px;
  background: var(--pale);
  padding: 3px 7px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: 26px minmax(0, 1fr);
}
.board_team02 {
  grid-row: 1;
}
.board_team12 {
  grid-row: 5;
}
.board_teamHeading2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  position: relative;
  z-index: 2;
  background: var(--pale);
  height: 26px;
}
.board_teamIdentity2 {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding-right: 4px;
}
.board_teamIdentity2 > svg {
  color: var(--name);
  flex-shrink: 0;
}
.board_teamHeading2 h2 {
  font-size: 16px;
  line-height: 20px;
  font-weight: 750;
  color: var(--name);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}
.board_metrics2 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 13px;
  white-space: nowrap;
  min-width: 0;
  color: #111827;
}
.board_score2 {
  display: grid;
  grid-template-columns: 24px auto 24px;
  align-items: center;
  justify-items: center;
  font-size: 13px;
  color: #111827;
  white-space: nowrap;
}
.board_score2 strong {
  font-family: var(--score-font,Arial,Helvetica,sans-serif);
}
.board_score2 small {
  font-size: 12px;
}
.board_metrics2 > span {
  display: flex;
  gap: 3px;
  align-items: center;
}
.board_metrics2 small {
  font-size: 12px;
}
.board_reserveToken2 {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--owner);
  color: white;
}
.board_reserveToken2 svg {
  width: 17px;
  height: 17px;
}
.board_progress2 {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: conic-gradient(var(--owner) var(--progress), #c9d2dd 0);
  position: relative;
  justify-content: center;
}
.board_progress2:before {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--pale);
}
.board_progress2 svg {
  width: 15px;
  height: 15px;
  color: var(--owner);
  z-index: 1;
  opacity: .45;
}
.board_track2 {
  overflow: auto hidden;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  margin-top: -18px;
  margin-inline: -9px;
  width: calc(100% + 18px);
  padding-top: 18px;
  height: calc(var(--thumb-height) + 42px + var(--votes-height,0px));
  min-width: 0;
  position: relative;
  z-index: 3;
}
.board_track2::-webkit-scrollbar {
  display: none;
}
.board_rail2 {
  display: flex;
  align-items: flex-end;
  min-width: max-content;
  padding: 0 70px calc(4px + var(--votes-height,0px));
  border-bottom: 2px solid #b5c6d8;
  position: relative;
}
.board_item2 {
  flex: 0 0 auto;
  min-width: 84px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: max-content;
  position: relative;
}
.board_year2 {
  position: absolute;
  bottom: 7px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  min-width: 44px;
  font-size: 16px;
  font-weight: 750;
  line-height: 24px;
  text-align: center;
  white-space: nowrap;
  color: white;
  background: #172c48df;
  border-radius: 7px;
  padding: 1px 8px;
  pointer-events: none;
}
.board_thumb2 {
  display: block;
  width: calc(var(--thumb-height) * var(--ratio,1));
  height: var(--thumb-height);
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: #dce8f0;
  position: relative;
  overflow: hidden;
  min-width: 0;
}
.board_thumb2 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.board_awarded2:after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 3px var(--owner);
  border-radius: inherit;
  pointer-events: none;
  z-index: 7;
}
.board_awardSlot2 {
  overflow: hidden;
  will-change: width;
}
.board_awardSlot2[style*=--award-open] {
  min-width: 0;
  width: calc(var(--award-width,100px) * var(--award-open,1));
}
.board_awardSlot2 > [data-award-target] {
  flex: none;
}
.board_gap2 {
  z-index: 10;
  flex: 0 0 8px;
  width: 8px;
  height: calc(var(--thumb-height) + 12px);
  position: relative;
}
.board_stem2 {
  position: absolute;
  left: var(--indicator-axis,50%);
  transform: translateX(-50%);
  top: 18px;
  bottom: 0;
  border-left: 2px dashed var(--owner);
  pointer-events: none;
}
.board_locked2 .board_stem2 {
  border-left-style: solid;
}
.board_gapButton2 {
  position: absolute;
  left: var(--indicator-axis,50%);
  top: -14px;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  padding: 2px;
  background: transparent;
  z-index: 5;
  display: grid;
  place-items: center;
  overflow: visible;
}
.board_gapButton2:disabled {
  opacity: 1;
  cursor: default;
}
.board_indicator2 {
  width: 40px;
  height: 40px;
  flex: none;
  display: inline-grid;
  place-items: center;
  position: relative;
  border: 2px dashed var(--owner);
  border-radius: 10px;
  background: #fff;
  color: var(--owner);
  vertical-align: middle;
}
.board_indicator2 > svg {
  width: 36px;
  height: 36px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.board_indicator2.board_contest2 {
  border-radius: 50%;
}
.board_indicator2.board_contest2 > svg {
  width: 29px;
  height: 29px;
}
.board_available2:not(.board_contest2) {
  color: #d95000;
  border-color: #e65b08;
  background: #fff4e9;
}
.board_chosen2 {
  border-style: solid;
  background: #fff;
}
.board_confirmed2 {
  border-style: solid;
  background: var(--owner);
  color: #fff;
}
.board_small2 {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border-width: 2px;
}
.board_small2 > svg {
  width: 25px;
  height: 25px;
}
.board_small2.board_contest2 > svg {
  width: 22px;
  height: 22px;
}
.board_outcome2 {
  position: absolute;
  right: -5px;
  top: -3px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px #0002;
  z-index: 2;
}
.board_outcome2 > svg {
  width: 18px;
  height: 18px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.board_correct2 {
  color: #168344;
}
.board_incorrect2 {
  color: #bd2430;
}
.board_action2 {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 56px;
  padding: 4px 8px;
  background: var(--action);
  border: 1px solid var(--owner);
  border-radius: 9px;
  color: #111827;
  margin: 0;
}
.board_action02 {
  grid-row: 2;
}
.board_action12 {
  grid-row: 4;
}
.board_waiting2 {
  background: #f5f7fa;
  border-color: #e2e7ee;
  color: #617186;
}
.board_actionLabel2 {
  flex: 0 0 90px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  line-height: 16px;
}
.board_actionLabel2 strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.board_actionLabel2 > span {
  font-size: 12px;
  line-height: 14px;
}
.board_commands2 {
  flex: 1;
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
}
.board_commands2 button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 44px;
  min-width: 0;
  max-width: 320px;
  padding: 5px 6px;
  border: 1px solid #b8c7d6;
  border-radius: 7px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  line-height: 17px;
}
.board_commands2 button:disabled {
  opacity: .55;
}
.board_commands2 svg {
  flex: none;
}
.board_commands2 .board_placementHint2 {
  border-color: transparent;
  background: transparent;
}
.board_commands2 .board_placementHint2 {
  padding-block: 0;
}
.board_placementSource2 {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.board_placementSource2 .board_indicator2 > svg {
  width: 36px;
  height: 36px;
}
.board_indicator2.board_chosen2:not(.board_contest2) {
  background: var(--owner);
  color: #fff;
}
.board_placementFlight2 {
  position: fixed;
  box-sizing: border-box;
  z-index: 1100;
  pointer-events: none;
  touch-action: none;
  will-change: left, top;
}
.board_placementSource2 .board_indicator2 {
  border: 1px solid #fff;
}
.board_gapButton2[data-draggable=true] {
  touch-action: none;
}
.board_receptacle2 {
  position: absolute;
  inset: 2px;
  display: none;
  pointer-events: none;
}
.board_gapButton2[data-token-flying] > [data-choice-kind=contest] {
  visibility: hidden;
}
.board_gapButton2[data-token-flying] .board_receptacle2 {
  display: grid;
  place-items: center;
}
.board_choices2 > div {
  background: color-mix(in srgb, var(--pale) 12%, transparent);
}
.board_result2 .board_bonusIcon2 {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: none;
  background: #1683F8;
  color: #fff;
  border-radius: 3px;
}
.board_reserveToken2[data-reserve-source=true],
.board_photo2[data-photo-draggable=true] {
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.board_reserveToken2[data-reserve-empty=true] {
  visibility: hidden;
}
.board_placementFlight2.board_reserveToken2 svg {
  width: 29px;
  height: 29px;
}
.board_photoDrag2 {
  border-radius: 5px;
  background: #dce8f0;
  overflow: hidden;
}
.board_photoDrag2 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.board_center2 {
  grid-row: 3;
  margin: 2px 0;
  min-width: 0;
  min-height: 0;
}
.board_photo2 {
  height: 100%;
  width: 100%;
  background: #dce8f0;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.board_mainImage2 {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.board_choices2 {
  position: absolute;
  right: 6px;
  top: 6px;
  max-width: calc(100% - 12px);
  background: #ffffff99;
  border-radius: 10px;
  padding: 5px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 2px 6px #183b5015;
  z-index: 8;
  pointer-events: none;
}
.board_choices2 > div {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--name);
  font-size: 14px;
  line-height: 18px;
}
.board_choices2 .board_noContest2 {
  color: #667085;
}
.board_noContest2 .board_indicator2 {
  border-color: #98a2b3;
  color: #667085;
  border-style: solid;
  background: transparent;
}
.board_noContest2 strong {
  font-size: 24px;
  line-height: 18px;
}
.board_zoom2 {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: #ffffffe8;
  color: #24496c;
  display: grid;
  place-items: center;
  z-index: 9;
}
.board_result2 {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  max-width: calc(100% - 20px);
  padding: 8px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #ffffffeb;
  border-radius: 12px;
  color: #111827;
  text-align: center;
  z-index: 6;
  line-height: 20px;
  font-size: 16px;
  width: max-content;
}
.board_result2 > strong {
  font-size: 26px;
  line-height: 29px;
}
.board_result2 > svg {
  width: 26px;
  height: 26px;
  color: #a7770b;
}
.board_result2 small {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-basis: 100%;
  gap: 4px;
  color: var(--name);
  font-size: 14px;
  font-weight: 700;
}
.board_result2 small svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.board_final2 {
  position: absolute;
  inset: 0;
  background: #fffffff0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
  z-index: 10;
}
.board_final2 > svg {
  color: #b78a12;
  width: 32px;
  height: 32px;
}
.board_final2 h2 {
  font-size: 22px;
  line-height: 26px;
  margin: 6px 0;
}
.board_final2 p {
  font-size: 14px;
  margin: 0;
}
.board_flight2 {
  position: fixed;
  z-index: 1000;
  border-radius: 6px;
  overflow: hidden;
  background: #dce8f0;
  pointer-events: none;
  box-shadow: inset 0 0 0 3px var(--owner);
  will-change:
    left,
    top,
    width,
    height;
}
.board_flight2 img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.board_flight2:after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 3px var(--owner);
  border-radius: inherit;
}
.board_tokenFlight2,
.board_bonusFlight2 {
  position: fixed;
  z-index: 1001;
  width: 40px;
  height: 40px;
  border: 2px solid var(--owner);
  border-radius: 50%;
  background: #fff;
  color: var(--owner);
  display: grid;
  place-items: center;
  pointer-events: none;
}
.board_tokenFlight2 svg {
  width: 29px;
  height: 29px;
}
.board_bonusFlight2 {
  width: 48px;
  height: 32px;
  border-radius: 18px;
  background: var(--owner);
  color: #fff;
  font-weight: 750;
}
@media (max-width: 360px) {
  .board_metrics2 {
    gap: 5px;
    font-size: 12px;
  }
  .board_score2 {
    font-size: 12px;
  }
  .board_teamHeading2 h2 {
    font-size: 15px;
  }
  .board_teamIdentity2 > svg {
    display: none;
  }
  .board_actionLabel2 {
    flex-basis: 76px;
  }
  .board_commands2,
  .board_commands2 button {
    font-size: 13px;
  }
  .board_commands2 svg {
    width: 15px;
  }
  .board_choices2 > div {
    font-size: 13px;
  }
}
@media (orientation: portrait) and (min-width: 600px) {
  .board_board2 {
    --thumb-height:128px;
    --team-height:190px;
    --photo-height:clamp(260px,calc(100svh - 554px),520px);
    max-width: 850px;
  }
  .board_teamHeading2 h2 {
    font-size: 20px;
  }
  .board_metrics2 {
    font-size: 16px;
    gap: 12px;
  }
  .board_score2 {
    font-size: 16px;
  }
  .board_actionLabel2 {
    flex-basis: 150px;
    font-size: 16px;
  }
  .board_commands2,
  .board_commands2 button {
    font-size: 16px;
  }
  .board_choices2 > div {
    font-size: 16px;
  }
}
@media (orientation: landscape) {
  .board_shell2.shell {
    max-width: 1400px;
  }
  .board_board2 {
    max-width: 1040px;
    --photo-height:230px;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.4fr);
    grid-template-rows: 158px 62px 56px 56px;
    column-gap: 8px;
  }
  .board_team02 {
    grid-column: 2;
    grid-row: 1;
  }
  .board_team12 {
    grid-column: 2;
    grid-row: 2/5;
    align-self: end;
    height: 158px;
  }
  .board_center2 {
    grid-column: 1;
    grid-row: 1/3;
  }
  .board_action02 {
    grid-column: 1;
    grid-row: 3;
  }
  .board_action12 {
    grid-column: 1;
    grid-row: 4;
  }
  .board_teamHeading2 h2 {
    font-size: 16px;
  }
  .board_result2 {
    max-width: 95%;
    font-size: 14px;
    gap: 5px;
  }
  .board_result2 strong {
    font-size: 23px;
  }
  .board_result2 > svg {
    width: 22px;
    height: 22px;
  }
}
@media (orientation: landscape) and (min-height: 600px) {
  .board_board2 {
    --thumb-height:128px;
    --team-height:188px;
    max-width: 1360px;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    grid-template-rows: 188px 108px 108px 188px;
    column-gap: 10px;
  }
  .board_team02 {
    grid-column: 1/-1;
    grid-row: 1;
    height: 188px;
  }
  .board_team12 {
    grid-column: 1/-1;
    grid-row: 4;
    height: 188px;
  }
  .board_center2 {
    grid-column: 1;
    grid-row: 2/4;
  }
  .board_action02 {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
  }
  .board_action12 {
    grid-column: 2;
    grid-row: 3;
    align-self: center;
  }
  .board_teamHeading2 h2 {
    font-size: 20px;
  }
  .board_metrics2 {
    font-size: 16px;
    gap: 12px;
  }
  .board_score2 {
    font-size: 16px;
  }
  .board_commands2,
  .board_commands2 button {
    font-size: 16px;
  }
  .board_actionLabel2 {
    flex-basis: 115px;
  }
  .board_choices2 > div {
    font-size: 16px;
  }
}
.board_tv2 {
  max-width: none;
}
@media (prefers-reduced-motion: reduce) {
  .board_board2 * {
    scroll-behavior: auto !important;
  }
}
.board_gapButton2 > .board_receptacle2[data-placement-placeholder] {
  display: grid;
  place-items: center;
  inset: 2px;
  z-index: 0;
}
.board_gapButton2 > [data-choice-kind] {
  z-index: 1;
}

/* game/cps/discover-zones.css */
.cps-discover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}
.cps-discover path {
  fill: transparent;
  pointer-events: all;
  cursor: pointer;
  outline: none;
}
.cps-discover path:focus-visible {
  stroke: #fff;
  stroke-width: .012;
  stroke-dasharray: .02 .015;
}
.cps-discover-values {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  min-height: 28px;
  border-radius: 999px;
  background: #0b1a2ecc;
  pointer-events: none;
  line-height: 1;
}
.cps-discover-values b {
  min-width: 16px;
  padding: 2px 3px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: #ffffff66;
  transition:
    color .4s ease,
    font-size .4s cubic-bezier(.2, .8, .2, 1),
    font-weight .4s;
}
.cps-discover-values b[data-past] {
  color: #ffffff40;
}
.cps-discover-values b[data-lit] {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
}
.cps-discover-intro {
  position: absolute;
  left: 8px;
  top: 38px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: min(calc(100% - 16px), 300px);
  margin: 0;
  padding: 4px 4px 4px 10px;
  border-radius: 12px;
  background: #0b1a2ecc;
  color: #ffffffd9;
  font-size: 12px;
  line-height: 1.3;
}
.cps-discover-intro button {
  flex: none;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #ffffff26;
  color: #fff;
  font: inherit;
  font-size: 12px;
  line-height: 24px;
  cursor: pointer;
}
.cps-discover-fade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 3;
  pointer-events: none;
  animation: cps-discover-out .8s ease-in forwards;
}
@keyframes cps-discover-out {
  to {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cps-discover-values b {
    transition: none;
  }
  .cps-discover-fade {
    animation-duration: .01s;
  }
}

/* game/cps/bet-panel.css */
.cps-bet {
  position: absolute;
  z-index: 6;
  color: #fff;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    system-ui,
    sans-serif;
  line-height: 1.25;
}
.cps-bet-cover {
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 10px;
  background:
    radial-gradient(
      circle at 50% 40%,
      #1d3560,
      #0b1a2e 75%);
}
.cps-bet-open {
  position: relative;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 10px 12px;
  border-radius: 16px;
  text-align: center;
  animation: cps-bet-in .45s cubic-bezier(.3, 1.3, .5, 1) both;
}
.cps-bet-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.01em;
}
.cps-bet-open > span {
  font-size: 15px;
  font-weight: 700;
}
.cps-bet-open p {
  margin: 0;
  font-size: 13px;
  color: #ffffffd9;
  max-width: 360px;
}
.cps-bet-amounts {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.cps-bet-amounts button {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 2px solid #ffffff59;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: 700 18px/1 inherit;
  cursor: pointer;
  transition:
    background .2s,
    border-color .2s,
    transform .2s;
}
.cps-bet-amounts button[aria-pressed=true] {
  background: #f07a2e;
  border-color: #f07a2e;
  transform: scale(1.08);
}
.cps-bet-confirm {
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #0b1a2e;
  font: 700 15px/1 inherit;
  cursor: pointer;
}
.cps-bet button:disabled {
  opacity: .45;
  cursor: default;
}
.cps-bet-small {
  left: 50%;
  top: 8px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: #0b1a2ecc;
  font-size: 13px;
  white-space: nowrap;
  pointer-events: none;
}
.cps-bet-small strong {
  font-weight: 800;
}
@keyframes cps-bet-in {
  from {
    opacity: 0;
    transform: scale(.9);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cps-bet-open {
    animation: none;
  }
  .cps-bet-amounts button {
    transition: none;
  }
}
.pq-cps-board [data-pq=photo] .cps-bet p,
.pq-cps-board [data-pq=photo] p.cps-bet {
  color: #ffffffd9;
}
.pq-cps-board [data-pq=photo] .cps-bet strong {
  color: #fff;
}

/* game/cps/copy-friend.css */
.cps-cheat-stack {
  align-items: flex-start;
}
.cps-cheat-card {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 2px 4px;
  padding: 8px 16px;
  border: 2px solid #c45114;
  border-radius: 12px;
  background:
    linear-gradient(
      160deg,
      #fff 0%,
      #fff1e6 100%);
  color: #7a2f08;
  font:
    700 15px/1.2 -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    system-ui,
    sans-serif;
  box-shadow: 0 4px 12px #0002;
  transform: rotate(-4deg);
  transition: transform .2s ease, box-shadow .2s ease;
  cursor: pointer;
}
.cps-cheat-card:hover,
.cps-cheat-card:focus-visible {
  transform: rotate(-1deg) scale(1.03);
  box-shadow: 0 6px 16px #0003;
}
.cps-cheat-card:active {
  transform: rotate(0) scale(.98);
}
.cps-cheat-card:disabled {
  opacity: .6;
  cursor: default;
}
.cps-cheat-card-eyes {
  font-size: 20px;
  line-height: 1;
}
.cps-cheat-card {
  position: relative;
  z-index: 2;
  padding: 10px 12px;
  gap: 6px;
  min-height: 56px;
  margin-bottom: -12px;
}
.cps-cheat-card-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  text-align: left;
}
html body .cps-cheat-card {
  color: #7a2f08;
}
.cps-copied-from,
.cps-copied-by {
  display: block;
}
.cps-copied-toast {
  position: fixed;
  left: 50%;
  top: calc(env(safe-area-inset-top, 0px) + 200px);
  z-index: 2147483000;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  width: min(320px, calc(100vw - 32px));
}
.cps-copied-toast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 20px;
  border: 3px solid #c45114;
  border-radius: 18px;
  background:
    linear-gradient(
      160deg,
      #fff 0%,
      #fff1e6 100%);
  color: #172c48;
  text-align: center;
  box-shadow: 0 10px 30px #0006;
  animation: cps-copied-in .45s cubic-bezier(.3, 1.3, .5, 1) both;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    system-ui,
    sans-serif;
}
.cps-copied-toast-eyes {
  font-size: 44px;
  line-height: 1;
}
.cps-copied-toast-card strong {
  font-size: 22px;
  font-weight: 800;
}
.cps-copied-toast-card p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}
@keyframes cps-copied-in {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(.92);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cps-copied-toast-card {
    animation: none;
  }
  .cps-cheat-card {
    transition: none;
  }
}
html body .cps-copied-toast-card p {
  color: #172c48;
}
html body .cps-copied-toast-card strong {
  color: #7a2f08;
}
html body .cps-cheat-card span {
  color: inherit;
}

/* public/shared/rank-tones.css */
[data-tone=gold] {
  --tone-bg:#F2C230;
}
[data-tone=silver] {
  --tone-bg:#B8C4D2;
}
[data-tone=bronze] {
  --tone-bg:#C9773B;
}
[data-tone=teal] {
  --tone-bg:#A88BEB;
}
[data-tone=white] {
  --tone-bg:#fff;
}
[data-tone] {
  --tone-fg:#111;
}
[data-old-tone=gold] {
  --tone-old:#F2C230;
}
[data-old-tone=silver] {
  --tone-old:#B8C4D2;
}
[data-old-tone=bronze] {
  --tone-old:#C9773B;
}
[data-old-tone=teal] {
  --tone-old:#A88BEB;
}
[data-old-tone=white] {
  --tone-old:#fff;
}
.pq-vs-who[data-tone],
.vs-who[data-tone],
.cps-interval-voters > span[data-tone],
.placements > span[data-tone] {
  background: var(--tone-bg) !important;
  color: var(--tone-fg) !important;
  transition: background-color .35s, color .35s;
}
@property --pq-sweep { syntax:"<percentage>";inherits:false;initial-value:33.3% }
.pq-vs-who[data-old-tone],
.vs-who[data-old-tone] {
  background:
    linear-gradient(
      90deg,
      var(--tone-old) 0 var(--pq-sweep),
      var(--tone-bg) var(--pq-sweep) 100%) !important;
  animation: pq-tone-sweep .5s ease-out both;
}
@keyframes pq-tone-sweep {
  from {
    --pq-sweep:100%;
  }
  to {
    --pq-sweep:33.3%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pq-vs-who[data-old-tone],
  .vs-who[data-old-tone] {
    animation: none;
  }
}

/* game/cps/votes-stage.css */
.pq-votes-stage {
  position: absolute;
  z-index: 30;
  top: 6px;
  left: 6px;
  transform-origin: 0 0;
  width: max-content;
  max-width: calc(100% - 12px);
  box-sizing: border-box;
  -webkit-user-select: none;
  user-select: none;
  font-family: system-ui, sans-serif;
  color: #172c48;
}
.pq-vs-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.pq-vs-title {
  margin: 0 0 2px;
  font: 800 12px system-ui, sans-serif;
  letter-spacing: .04em;
  color: #fff;
  text-shadow: 0 0 2px #000, 0 0 4px #000;
}
.pq-vs-chip {
  position: relative;
  flex: none;
  font: 800 12px system-ui, sans-serif;
  color: #fff;
  background: #d65346;
  border-radius: 999px;
  padding: 1px 7px;
  white-space: nowrap;
  outline: 2px solid #111;
  transition: background .35s;
}
.pq-vs-chip.pq-vs-grey {
  background: #8792a6 !important;
  color: #fff !important;
}
.pq-vs-chip.pq-vs-win {
  background: #1f8a4c !important;
  color: #fff !important;
  outline: 2px solid #111;
  box-shadow: none !important;
  margin-right: 8px;
  animation: pq-vs-fade .3s ease-out both;
}
.pq-vs-won .pq-vs-in {
  animation: none;
}
@keyframes pq-vs-slide {
  from {
    transform: translateX(-80px);
    opacity: 0;
  }
}
@keyframes pq-vs-push {
  from {
    transform: translateX(-70px);
  }
}
.pq-vs-badge {
  position: absolute;
  right: -9px;
  top: -9px;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px #0005;
  font-size: 0;
  z-index: 3;
}
.pq-vs-badge svg {
  width: 13px;
  height: 13px;
}
.pq-vs-tick {
  color: #168344;
}
.pq-vs-x {
  color: #e8483c;
}
.pq-vs-row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  min-height: 24px;
  cursor: pointer;
  animation: pq-vs-in .3s ease-out both;
}
.pq-vs-row > .pq-vs-chip {
  margin-top: 2px;
}
.pq-vs-line {
  position: absolute;
  left: 16px;
  top: -4px;
  bottom: -4px;
  width: 6px;
  background: #f07a2e;
  border: 1.5px solid #111;
  border-radius: 3px;
  box-sizing: border-box;
}
.pq-vs-line > .pq-vs-badge {
  left: 50%;
  top: 50%;
  right: auto;
  transform: translate(-50%, -50%);
  width: 23px;
  height: 23px;
}
.pq-vs-line > .pq-vs-badge svg {
  width: 15px;
  height: 15px;
}
.pq-vs-row > *:not(.pq-vs-line) {
  position: relative;
  z-index: 1;
}
.pq-vs-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 2px 0;
}
.pq-vs-count {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: 800 12px system-ui, sans-serif;
  background: #172c48;
  color: #fff;
  border-radius: 999px;
  padding: 1px 6px;
  outline: 2px solid #fff;
}
.pq-vs-who {
  position: relative;
  background: #fff;
  color: #172c48;
  font: 700 13px system-ui, sans-serif;
  border-radius: 999px;
  padding: 1px 8px 1px 5px;
  white-space: nowrap;
  box-shadow: 0 1px 3px #0006;
}
.pq-vs-who.pq-vs-me {
  outline: 2.5px solid #4c8dff;
}
.pq-vs-who.pq-vs-all {
  font-weight: 800;
}
.pq-vs-more {
  font-style: italic;
}
.pq-vs-count[hidden],
.pq-vs-who[hidden] {
  display: none !important;
}
@keyframes pq-vs-in {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
}
[data-gap].pq-vs-focus {
  position: relative;
}
[data-gap].pq-vs-focus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 6%;
  bottom: 6%;
  width: 6px;
  margin-left: -3px;
  background: #f07a2e;
  border: 1.5px solid #111;
  border-radius: 3px;
  box-sizing: border-box;
  z-index: 20;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .pq-vs-row,
  .pq-vs-chip,
  .pq-vs-won .pq-vs-in {
    animation: none !important;
  }
}
.pq-vs-gap,
.pq-vs-edge {
  padding-left: var(--pq-vs-indent,16px);
}
.pq-vs-gap.pq-vs-lost,
.pq-vs-edge.pq-vs-lost {
  padding-left: calc(16px + 17px);
}
.pq-vs-lost .pq-vs-in {
  animation: pq-vs-shift .4s ease-out both;
}
@keyframes pq-vs-shift {
  from {
    transform: translateX(-18px);
  }
}
.pq-vs-row > .pq-vs-xslot {
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}
.pq-vs-xslot > .pq-vs-badge {
  position: static;
  width: 23px;
  height: 23px;
}
.pq-vs-xslot > .pq-vs-badge svg {
  width: 15px;
  height: 15px;
}
.pq-vs-line > .pq-vs-badge {
  z-index: 3;
}
@media (prefers-reduced-motion: reduce) {
  .pq-vs-lost .pq-vs-in {
    animation: none !important;
  }
}
.pq-vs-cell {
  position: relative;
  z-index: 2;
}
html body .cps-v2 .cps-interval-voters {
  gap: 3px 4px !important;
}
html body .cps-v2 .cps-interval-voters > span {
  background: var(--tone-bg,#fff) !important;
  color: var(--tone-fg,#172c48) !important;
  font: 700 13px/18px system-ui, sans-serif !important;
  border-radius: 999px !important;
  padding: 1px 8px 1px 5px !important;
  white-space: nowrap;
  box-shadow: 0 1px 3px #0006 !important;
  border: 0 !important;
}
html body .cps-v2 .cps-interval-voters > span[data-me=true] {
  outline: 2.5px solid #4c8dff;
}
html body .cps-v2 .cps-interval-voters > span.cps-voters-more {
  font-style: italic;
}
.pq-all-voted {
  position: absolute;
  left: 50%;
  top: 42%;
  z-index: 30;
  transform: translate(-50%, -50%);
  padding: .45em 1em;
  border-radius: 18px;
  background: #1f8a4c;
  color: #fff;
  font: 900 22px/1.15 system-ui, sans-serif;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
  white-space: nowrap;
  pointer-events: none;
  animation: pq-all-voted 1.9s ease-out both;
}
@keyframes pq-all-voted {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.6);
  }
  15% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
  }
  25% {
    transform: translate(-50%, -50%) scale(1);
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pq-all-voted {
    animation: none;
  }
}
@keyframes pq-vs-fade {
  from {
    opacity: 0;
  }
}
.pq-vs-win > .pq-vs-badge {
  width: 23px !important;
  height: 23px !important;
  padding: 0 !important;
  box-sizing: border-box;
  right: -19px;
}
.pq-vs-win > .pq-vs-badge svg {
  width: 15px;
  height: 15px;
}
.pq-vs-eyes {
  display: inline-block;
  transform: scaleX(-1);
}

/* game/cps/votes-countdown.css */
.pq-votes-countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 8px auto 0;
  width: min(100%, 320px);
}
.pq-votes-countdown strong {
  font-size: 18px;
  font-weight: 800;
  color: #ff9f0a;
  letter-spacing: .01em;
}
.pq-votes-countdown strong b {
  font-size: 1.45em;
  font-variant-numeric: tabular-nums;
}
.pq-vc-bar {
  display: block;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #ffffff26;
  overflow: hidden;
}
.pq-vc-bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: #ff9f0a;
  transition: width .2s linear;
}
.pq-vc-waiting strong {
  animation: pq-vc-blink 1.2s ease-in-out infinite;
}
@keyframes pq-vc-blink {
  50% {
    opacity: .45;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pq-vc-waiting strong {
    animation: none;
  }
  .pq-vc-bar i {
    transition: none;
  }
}

/* game/base.css */
:root {
  --background:#F3F6FB;
  --foreground:#172c48;
  --card:#fff;
  --card-foreground:#172c48;
  --popover:#fff;
  --popover-foreground:#172c48;
  --primary:#235DB8;
  --primary-foreground:#fff;
  --secondary:#edf1f4;
  --secondary-foreground:#172c48;
  --muted:#EEF2F8;
  --muted-foreground:#617085;
  --accent:#E5EEFC;
  --accent-foreground:#172c48;
  --destructive:#b33d3d;
  --border:#dce2e7;
  --input:#dce2e7;
  --ring:#C45114;
  --radius:.7rem;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 16px;
}
button,
input {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: .48;
}
h1,
h2,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  letter-spacing: -.025em;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.08;
}
h2 {
  font-size: 1.6rem;
}
p {
  line-height: 1.55;
  color: #617085;
}
.shell {
  min-height: 100vh;
  max-width: 1480px;
  margin: auto;
  padding: 0 5vw;
  display: flex;
  flex-direction: column;
}
.topbar {
  height: 86px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #dce2e7;
}
.brand {
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #172c48;
  font-weight: 800;
  font-size: 1.38rem;
  padding: 0;
}
.brand > span:last-child span {
  color: #bb8142;
}
.brandIcon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #172c48;
  color: #e8b96c;
}
.topHint {
  color: #708197;
  font-size: .92rem;
  margin-left: auto;
}
.topbar > .outline {
  margin-left: auto;
}
.topbar:has(> .outline) .topHint {
  margin-left: 0;
}
.eyebrow {
  display: block;
  color: #b17a38;
  letter-spacing: .14em;
  font-size: .76rem;
  font-weight: 800;
  margin-bottom: 12px;
}
.primary,
.outline {
  border-radius: 9px;
  padding: 13px 19px;
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  transition: transform .15s, background .15s;
}
.primary {
  background: #172c48;
  color: #fff;
  border: 1px solid #172c48;
}
.primary:hover:not(:disabled) {
  background: #284665;
  transform: translateY(-1px);
}
.outline {
  background: #fff;
  color: #172c48;
  border: 1px solid #c8d2dc;
}
.outline:hover:not(:disabled) {
  background: #eef3f6;
}
.small {
  padding: 8px 12px;
  min-height: 36px;
  font-size: .85rem;
}
.full {
  width: 100%;
}
.iconButton {
  padding: 12px;
  width: 48px;
  flex-shrink: 0;
}
.alert {
  background: #fff0ec;
  color: #983e31;
  border: 1px solid #eab7a8;
  border-radius: 10px;
  padding: 13px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
}
.alert button {
  border: 0;
  background: none;
  font-size: 24px;
  color: inherit;
}
.welcome {
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 8vw;
  padding: 64px 0 80px;
}
.welcomeIntro h1 em {
  font-style: normal;
  color: #be8341;
}
.welcomeIntro > p {
  font-size: 1.18rem;
  max-width: 570px;
}
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 34px;
  color: #364d66;
  font-size: .9rem;
}
.steps span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.steps strong {
  color: #b17a38;
  font-family: Georgia, serif;
  font-size: 1.25rem;
}
.entry,
.panel {
  background: white;
  border: 1px solid #dce2e7;
  border-radius: 16px;
  box-shadow: 0 16px 45px rgba(23, 44, 72, .055);
}
.entry {
  padding: 32px;
  max-width: 520px;
  width: 100%;
  justify-self: end;
}
.entryTop {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ac7539;
  letter-spacing: .12em;
  font-size: .76rem;
  font-weight: 800;
  margin-bottom: 22px;
}
.entry h2 {
  margin-bottom: 7px;
}
.entry p {
  margin-bottom: 18px;
}
.entry .divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 26px 0;
  color: #8291a0;
}
.divider:before,
.divider:after {
  content: "";
  height: 1px;
  background: #dde3e8;
  flex: 1;
}
label {
  font-weight: 700;
  color: #344c65;
  display: block;
  font-size: .88rem;
}
input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5df;
  border-radius: 8px;
  background: white;
  color: #172c48;
  margin-top: 7px;
  min-height: 46px;
}
input:focus {
  outline: 2px solid #d8b178;
  outline-offset: 1px;
}
.joinBtns {
  display: flex;
  gap: 8px;
  margin-top: 13px;
  flex-wrap: wrap;
}
.joinBtns button {
  flex: 1;
  min-width: 95px;
}
.workspace,
.gameSurface {
  padding: 42px 0 72px;
  flex: 1;
}
.sectionTitle,
.gameHeading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 26px;
}
.sectionTitle h1,
.gameHeading h1 {
  font-size: 2.5rem;
  margin-bottom: 8px;
}
.sectionTitle p {
  margin: 0;
}
.workgrid {
  display: grid;
  grid-template-columns: minmax(250px, 310px) 1fr;
  align-items: start;
  gap: 22px;
}
.panel {
  padding: 23px;
}
.panel h2 {
  font-size: 1.45rem;
  margin-bottom: 17px;
}
.count {
  font-family: Arial, sans-serif;
  background: #eaf0f4;
  color: #37516b;
  padding: 5px 9px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  vertical-align: middle;
}
.inlineForm {
  display: flex;
  gap: 8px;
}
.inlineForm input {
  margin: 0;
}
.collectionList {
  margin: 20px -10px;
}
.collectionItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 12px 10px;
  border-radius: 9px;
  font-weight: 700;
  color: #263d56;
}
.collectionItem:hover,
.collectionItem.chosen {
  background: #f0f3f5;
}
.collectionItem small {
  display: block;
  font-weight: 400;
  color: #708197;
  margin-top: 4px;
}
.empty {
  font-size: .9rem;
  color: #8290a0;
  padding: 10px;
}
.recovery {
  border-top: 1px solid #e6ebee;
  padding-top: 18px;
}
.recovery p {
  font-size: .84rem;
}
.recovery code {
  display: block;
  overflow-wrap: anywhere;
  background: #f3f5f6;
  padding: 10px;
  border-radius: 7px;
  margin: 12px 0;
  font-size: .78rem;
}
.recovery label {
  margin-top: 14px;
}
.textButton {
  border: 0;
  background: none;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #9c662b;
  font-size: .85rem;
  font-weight: 700;
}
.contentPanel {
  min-height: 500px;
}
.panelHead {
  display: flex;
  justify-content: space-between;
  align-items: start;
}
.panelHead h2 {
  margin: 0;
}
.uploadForm {
  border: 1px dashed #cbd8e2;
  border-radius: 12px;
  padding: 16px;
  margin: 23px 0;
}
.fileDrop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 75px;
  color: #274562;
}
.fileDrop span {
  font-size: .82rem;
  font-weight: 400;
  color: #708197;
}
.fileDrop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 12px;
  margin: 10px 0;
}
.uploadForm > label:not(.fileDrop) {
  margin-bottom: 14px;
}
.photoGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 13px;
}
.photoTile {
  position: relative;
  border: 1px solid #dce2e7;
  border-radius: 9px;
  overflow: hidden;
}
.photoTile img {
  width: 100%;
  height: 118px;
  object-fit: cover;
}
.photoTile div {
  padding: 10px 35px 11px 11px;
}
.photoTile strong,
.photoTile span {
  display: block;
  font-size: .84rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.photoTile span {
  color: #a16d32;
  margin-top: 5px;
}
.photoTile button {
  position: absolute;
  right: 7px;
  bottom: 10px;
  border: 0;
  background: none;
  color: #9b6464;
}
.blankState {
  text-align: center;
  color: #a6b1bc;
  padding: 110px 10px;
}
.blankState svg {
  margin: auto;
}
.blankState h2 {
  color: #344d66;
  margin: 15px 0 4px;
}
.launch {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
}
.launch h2 {
  margin-bottom: 5px;
}
.launch p {
  margin: 0;
  max-width: 390px;
  font-size: .9rem;
}
.launchFields {
  display: flex;
  align-items: end;
  gap: 9px;
  flex-wrap: wrap;
}
.launchFields label {
  max-width: 150px;
}
.launchFields label:nth-child(3) {
  max-width: 105px;
}
.launchFields input {
  margin-top: 5px;
}
.launch > small {
  color: #a16d32;
}
.roomCode {
  display: flex;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid #b9c7d3;
  border-radius: 10px;
  padding: 9px 14px;
  color: #172c48;
}
.roomCode span {
  font-size: .68rem;
  letter-spacing: .1em;
  color: #708197;
  font-weight: 800;
}
.roomCode strong {
  font-size: 1.3rem;
  letter-spacing: .13em;
}
.scoreboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 20px;
}
.score {
  padding: 18px 20px;
  border: 1px solid #dce2e7;
  border-radius: 12px;
  background: white;
}
.score.active {
  border-color: #be8846;
  box-shadow: inset 0 3px #d6a765;
}
.score > span,
.timelineHead span,
.phaseLine,
.currentTop {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: #a16d32;
}
.score > strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.42rem;
  margin: 9px 0;
}
.score > div {
  display: flex;
  gap: 18px;
  color: #617085;
  font-size: .9rem;
  flex-wrap: wrap;
}
.score > div span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.playgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, .8fr);
  gap: 18px;
}
.currentCard,
.turnPanel,
.timelinePanel {
  background: white;
  border: 1px solid #dce2e7;
  border-radius: 13px;
  overflow: hidden;
}
.currentTop {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.currentTop span:last-child {
  color: #8291a0;
  letter-spacing: 0;
  text-transform: none;
}
.featured {
  width: 100%;
  height: clamp(260px, 32vw, 450px);
  display: block;
  object-fit: contain;
  background: #172c48;
}
.featured.placeholder {
  display: grid;
  place-items: center;
  color: #e2b166;
}
.currentBottom {
  padding: 18px 21px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.currentBottom h2 {
  margin: 0;
  flex: 1;
}
.currentBottom p {
  width: 100%;
  margin: 0;
  font-size: .9rem;
}
.yearReveal {
  font-family: Georgia, serif;
  font-size: 1.8rem;
  color: #ac7131;
}
.secretYear {
  color: #708197;
  font-size: .9rem;
}
.turnPanel {
  padding: 23px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.phaseLine {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.phaseLine span:last-child {
  color: #708197;
}
.turnPanel h2 {
  font-size: 1.8rem;
  margin: 35px 0 7px;
}
.turnPanel p {
  flex: 1;
}
.turnPanel button {
  margin-top: 10px;
}
.turnPanel small {
  color: #708197;
  margin-top: 12px;
}
.tokenHint {
  background: #fcf5e9;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  gap: 9px;
  align-items: center;
  color: #9c6429;
  font-size: .9rem;
}
.timelines {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 19px;
}
.timelinePanel {
  padding: 18px;
}
.timelineActive {
  border-color: #c59a60;
}
.timelineHead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.timelineHead h2 {
  margin: 4px 0 18px;
  font-size: 1.3rem;
}
.timelineHead > span {
  color: #8291a0;
  font-size: .68rem;
}
.timelineTrack {
  display: flex;
  overflow-x: auto;
  padding: 6px 0 14px;
  min-height: 151px;
}
.timelineUnit {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
}
.slot {
  width: 86px;
  border: 1px dashed #bd8240;
  background: #fff9ef;
  border-radius: 8px;
  color: #8d612e;
  font-size: .78rem;
  font-weight: 700;
  margin: 0 8px 0 0;
  padding: 6px;
}
.slot:hover {
  background: #f7e7ca;
}
.slotSelected {
  opacity: .35;
}
.timelineCard {
  width: 104px;
  background: #f8f9f9;
  border: 1px solid #dce2e7;
  border-radius: 8px;
  overflow: hidden;
  margin-right: 8px;
}
.timelineCard img {
  width: 100%;
  height: 72px;
  object-fit: cover;
}
.timelineCard div {
  padding: 6px;
}
.timelineCard strong {
  display: block;
  color: #a16d32;
}
.timelineCard small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #617085;
  font-size: .7rem;
}
.hostHelp {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-size: .86rem;
}
.loading {
  padding: 110px;
  text-align: center;
}
.shell footer {
  border-top: 1px solid #dce2e7;
  padding: 19px 0;
  color: #8896a4;
  font-size: .8rem;
}
.shell footer span {
  padding: 0 5px;
}
@media (max-width: 900px) {
  .welcome {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 45px 0;
  }
  .entry {
    justify-self: start;
    max-width: 650px;
  }
  .workgrid {
    grid-template-columns: 1fr;
  }
  .launch {
    align-items: stretch;
    flex-direction: column;
  }
  .playgrid {
    grid-template-columns: 1fr;
  }
  .timelines {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 550px) {
  .shell {
    padding: 0 18px;
  }
  .topbar {
    height: 72px;
  }
  .topHint {
    display: none;
  }
  .welcome {
    padding: 35px 0;
  }
  .welcomeIntro h1 {
    font-size: 2.55rem;
  }
  .entry {
    padding: 22px;
  }
  .steps {
    gap: 9px;
  }
  .steps span {
    width: 100%;
  }
  .workspace,
  .gameSurface {
    padding-top: 28px;
  }
  .sectionTitle h1,
  .gameHeading h1 {
    font-size: 2rem;
  }
  .sectionTitle p {
    font-size: .9rem;
  }
  .sectionTitle > .outline {
    padding: 8px 10px;
  }
  .fields {
    grid-template-columns: 1fr 100px;
  }
  .launchFields label {
    max-width: none;
    flex: 1 1 42%;
  }
  .launchFields label:nth-child(3) {
    max-width: none;
  }
  .launchFields button {
    width: 100%;
  }
  .gameHeading {
    align-items: center;
  }
  .roomCode span {
    display: none;
  }
  .scoreboard {
    gap: 7px;
  }
  .score {
    padding: 11px;
  }
  .score > strong {
    font-size: 1.15rem;
  }
  .score > div {
    gap: 6px;
    font-size: .8rem;
  }
  .score > span {
    font-size: .65rem;
  }
  .currentTop {
    font-size: .65rem;
  }
  .featured {
    height: 280px;
  }
  .turnPanel h2 {
    margin: 14px 0 5px;
  }
  .timelineHead > span {
    display: none;
  }
}
.resume {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.resume label {
  max-width: 230px;
}
.resume button {
  margin-bottom: 0;
}
@media (max-width: 550px) {
  .resume label,
  .resume button {
    max-width: none;
    width: 100%;
  }
}
.fileDrop {
  width: 100%;
  padding: 12px 14px;
  border: 1px dashed #9eb0c0;
  border-radius: 10px;
  background: #f8fafb;
  text-align: left;
}
.fileDrop:hover {
  background: #eef3f6;
}
.fileDropText {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fileDrop .fileDropText strong {
  font-size: .95rem;
  font-weight: 700;
  color: #274562;
}
.fileDrop .fileDropText small {
  font-size: .82rem;
  font-weight: 400;
  color: #708197;
}
.fileInput {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.uploadForm > label {
  margin-bottom: 14px;
}
.metadataHint {
  margin: -2px 0 12px;
  font-size: .82rem;
  color: #64788b;
}
.slot.slotSelected {
  opacity: 1;
  background: #172c48;
  color: #fff;
  border-color: #172c48;
  border-style: solid;
}
.slot.slotSelected:disabled {
  opacity: .5;
}
.photoTile .editPhoto {
  right: 34px;
  color: #496b86;
}
.photoTile .deletePhoto {
  right: 7px;
  color: #9b6464;
}
.editPhotoBackdrop {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(11, 27, 40, .78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.editPhotoModal {
  width: min(92vw, 500px);
  max-height: 92dvh;
  overflow: auto;
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}
.editPhotoHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.editPhotoHead h2 {
  margin: 0;
}
.editPhotoHead button {
  border: 0;
  background: none;
  color: #53697e;
}
.editPhotoModal > img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: contain;
  background: #172c48;
  border-radius: 10px;
  margin: 16px 0;
}
.editPhotoModal label {
  margin-top: 12px;
}
.editPhotoActions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 20px;
}
@media (max-width: 550px) {
  .editPhotoBackdrop {
    padding: 10px;
  }
  .editPhotoModal {
    padding: 15px;
  }
  .editPhotoModal > img {
    height: 180px;
  }
  .editPhotoActions button {
    flex: 1;
  }
}
.collectionHeadActions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}
.auditToolbar {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 16px;
  padding: 13px;
  border-radius: 10px;
  background: #eef3f6;
}
.auditToolbar select {
  display: block;
  margin-top: 6px;
  min-height: 40px;
  padding: 7px 34px 7px 10px;
  border: 1px solid #bccbd6;
  border-radius: 7px;
  background: #fff;
  color: #172c48;
  font: inherit;
}
.auditToolbar .auditCheck {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
}
.auditToolbar .auditCheck input {
  width: 19px;
  min-height: 19px;
  margin: 0;
}
.auditToolbar p {
  flex: 1 1 260px;
  margin: 0;
  font-size: .82rem;
}
.photoGrid.photoAudit {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.photoAudit .photoTile {
  display: grid;
  grid-template-columns: minmax(220px, 46%) 1fr;
  min-height: 240px;
  overflow: hidden;
  background: #fff;
}
.photoAudit .photoTile > img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  max-height: 420px;
  object-fit: contain;
  background: #101820;
}
.photoAudit .photoTile > div {
  padding: 20px 54px 20px 20px;
  align-self: center;
}
.photoAudit .photoTile strong {
  font-size: 1.08rem;
  white-space: normal;
}
.photoAudit .photoTile span {
  font-size: 1.45rem;
  font-weight: 900;
  color: #172c48;
}
.photoAudit .photoTile small {
  display: block;
  margin-top: 9px;
  color: #617085;
}
.photoAudit .photoTile .dateWarning {
  color: #9c541d;
  font-weight: 800;
}
.photoAudit .photoTile .dateVerified {
  color: #26735d;
  font-weight: 800;
}
.photoAudit .photoTile.questionableDate {
  border-color: #d99b54;
  box-shadow: inset 4px 0 #d99b54;
}
.dateSourceAdvice {
  padding: 10px 12px;
  border-radius: 8px;
  background: #eef3f6;
  font-size: .82rem;
  margin: 0 0 10px;
}
.tvIcon {
  background: #173b4b !important;
  color: #75e0dc !important;
}
@media (max-width: 650px) {
  .collectionHeadActions {
    justify-content: flex-start;
  }
  .panelHead {
    flex-wrap: wrap;
  }
  .photoAudit .photoTile {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .photoAudit .photoTile > img {
    height: 260px;
    min-height: 0;
  }
  .photoAudit .photoTile > div {
    padding: 14px 50px 16px 14px;
  }
}
.startPage {
  flex: 1;
  padding: 48px 0 70px;
}
.startIntro {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}
.startIntro .eyebrow {
  margin-bottom: 8px;
}
.startIntro h1 {
  margin-bottom: 9px;
  font-size: clamp(2rem, 4vw, 3.25rem);
}
.startIntro p {
  margin: 0;
  font-size: 1.05rem;
}
.startGrid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  align-items: stretch;
  gap: 16px;
}
.startCard {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 335px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid #d8e0e5;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(23, 44, 72, .08);
  overflow: hidden;
}
.startCard::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: #d49a52;
}
.joinStartCard::before {
  background:
    linear-gradient(
      90deg,
      #d47d3c,
      #2a9d91);
}
.startCard h2 {
  margin: 15px 0 8px;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 1.35rem;
}
.startCard > p {
  margin-bottom: 18px;
  font-size: .92rem;
}
.startCardIcon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #173c51;
  color: #fff;
}
.startCardIcon.createIcon {
  background: #bd6f36;
}
.startCardIcon.manageIcon {
  background: #278b84;
}
.startNumber {
  position: absolute;
  top: 18px;
  right: 21px;
  color: #dbe2e6;
  font-family: Georgia, serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}
.startCardAction {
  margin-top: auto;
}
.joinCodeRow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  align-items: end;
  gap: 9px;
}
.joinCodeRow input {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: .18em;
}
.scanQrButton {
  min-height: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 5px;
  border: 1px solid #bfcdd5;
  border-radius: 9px;
  background: #edf3f5;
  color: #173c51;
  font-size: .72rem;
  font-weight: 800;
}
.scanQrButton:hover {
  background: #e1ecef;
}
.joinRoleLabel {
  min-height: 31px;
  margin-top: 12px;
  color: #607487;
  font-size: .78rem;
  font-weight: 800;
}
.startJoinBtns {
  margin-top: auto;
}
.startJoinBtns .primary,
.startJoinBtns .outline {
  min-width: 88px;
  padding: 10px 12px;
}
.startJoinBtns .teamTwoJoin {
  background: #278b84;
  border-color: #278b84;
}
.startJoinBtns .teamTwoJoin:hover:not(:disabled) {
  background: #20766f;
}
.joinStartCard.hasRoomCode {
  border-color: #d7a85e;
  box-shadow: 0 16px 42px rgba(176, 116, 45, .16);
}
.createCollectionPicker {
  margin-bottom: 18px;
}
.createCollectionPicker h2 {
  margin-bottom: 13px;
}
.createCollectionList {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}
.createCollectionChoice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 70px;
  padding: 12px 14px;
  border: 2px solid #d8e1e6;
  border-radius: 12px;
  background: #fff;
  color: #173c51;
  text-align: left;
}
.createCollectionChoice span,
.createCollectionChoice strong,
.createCollectionChoice small {
  display: block;
}
.createCollectionChoice small {
  margin-top: 5px;
  color: #708197;
}
.createCollectionChoice.chosen {
  border-color: #c6833c;
  background: #fff8ed;
  box-shadow: 0 0 0 3px rgba(198, 131, 60, .14);
}
.createEmpty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 16px;
  border-radius: 12px;
  background: #f3f6f7;
}
.createEmpty p {
  margin: 0;
}
.scannerBackdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(4, 15, 22, .9);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.scannerModal {
  position: relative;
  width: min(94vw, 440px);
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  color: #173c51;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .48);
}
.scannerTitle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 40px;
}
.scannerTitle > svg {
  color: #278b84;
}
.scannerTitle span {
  color: #a66c31;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.scannerTitle h2 {
  margin: 3px 0 0;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 1.35rem;
}
.qrReader {
  width: 100%;
  min-height: 275px;
  margin: 17px 0 12px;
  overflow: hidden;
  border-radius: 14px;
  background: #07151c;
}
.qrReader video {
  object-fit: cover;
}
.scannerModal > p {
  margin: 0 0 14px;
  font-size: .86rem;
  text-align: center;
}
@media (max-width: 950px) {
  .startGrid {
    grid-template-columns: 1fr 1fr;
  }
  .joinStartCard {
    grid-column: 1/-1;
  }
  .startCard {
    min-height: 285px;
  }
}
@media (max-width: 600px) {
  .startPage {
    padding: 28px 0 48px;
  }
  .startIntro {
    text-align: left;
    margin-bottom: 20px;
  }
  .startIntro h1 {
    font-size: 2rem;
  }
  .startIntro p {
    font-size: .95rem;
  }
  .startGrid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .joinStartCard {
    grid-column: auto;
  }
  .startCard {
    min-height: 0;
    padding: 19px;
    border-radius: 16px;
  }
  .startCard h2 {
    margin-top: 12px;
  }
  .startCard > p {
    margin-bottom: 14px;
  }
  .joinCodeRow {
    grid-template-columns: minmax(0, 1fr) 82px;
  }
  .startJoinBtns {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .startJoinBtns .outline {
    grid-column: 1/-1;
  }
  .createCollectionList {
    grid-template-columns: 1fr;
  }
  .createEmpty {
    align-items: stretch;
    flex-direction: column;
  }
  .scannerBackdrop {
    padding: 8px;
  }
  .scannerModal {
    padding: 17px;
  }
  .qrReader {
    min-height: 250px;
  }
}
.startGrid {
  align-items: start;
}
.startCard {
  min-height: 106px;
  padding: 17px 19px;
  transition:
    background .18s,
    border-color .18s,
    box-shadow .18s;
}
.startCard.selectedAction {
  min-height: 300px;
  background: #f4f8f7;
  border-color: #8fbdb7;
  box-shadow: 0 16px 42px rgba(37, 108, 101, .13);
}
.startCard.selectedAction::before {
  height: 7px;
}
.startCardSelector {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 64px 0 0;
  border: 0;
  background: transparent;
  color: #173c51;
  text-align: left;
}
.startCardSelector h2 {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 1.28rem;
}
.startCardSelector .startNumber {
  top: -4px;
  right: 0;
}
.startCardDetails {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-top: 16px;
}
.startCardDetails > p {
  margin: 0 0 16px;
  font-size: .92rem;
}
.startCardDetails .startCardAction {
  margin-top: auto;
}
.startJoinBtns .teamOneJoin,
.startJoinBtns .teamTwoJoin {
  background: #fff;
  border-color: #bfcdd5;
  color: #173c51;
}
.startJoinBtns .teamOneJoin:hover:not(:disabled),
.startJoinBtns .teamTwoJoin:hover:not(:disabled) {
  background: #eaf1f3;
}
.joinFieldError {
  display: block;
  margin-top: 6px;
  color: #b52135;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
}
.joinCodeRow input.inputError {
  border-color: #d62f46;
  outline: 2px solid rgba(214, 47, 70, .16);
}
.selectedCollectionSummary {
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 9px;
  background: #edf5f3;
  color: #266b65;
  font-size: .85rem;
  font-weight: 800;
}
.fullControlChoice {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  padding: 8px 10px;
  border: 1px solid #cbd8dd;
  border-radius: 10px;
  background: rgba(255, 255, 255, .7);
  color: #173c51;
  cursor: pointer;
}
.fullControlChoice input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #278b84;
}
.fullControlChoice span {
  display: flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
}
.fullControlChoice strong {
  font-size: .86rem;
}
.fullControlChoice small {
  color: #607487;
  font-size: .72rem;
}
@media (max-width: 950px) {
  .startCard.selectedAction {
    min-height: 280px;
  }
}
@media (max-width: 600px) {
  .startCard,
  .startCard.selectedAction {
    min-height: 0;
  }
  .startCardSelector h2 {
    margin: 0;
    font-size: 1.12rem;
  }
  .startCardDetails {
    margin-top: 14px;
  }
  .startCardSelector .startNumber {
    font-size: 2.4rem;
  }
}
.sharedLabel {
  display: inline-block;
  margin-left: 7px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #e0f3ef;
  color: #26766f;
  font-size: .62rem;
  font-style: normal;
  font-weight: 900;
  vertical-align: middle;
}
.connectionAlert {
  position: fixed;
  z-index: 1400;
  left: 50%;
  top: 12px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(92vw, 620px);
  padding: 10px 14px;
  border: 1px solid #d6a75c;
  border-radius: 12px;
  background: #fff8e9;
  color: #6f4a16;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .25);
  font-size: .86rem;
  font-weight: 800;
}
.connectionAlert button {
  padding: 6px 10px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  font-weight: 900;
}
.shareCollectionBackdrop {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(4, 15, 22, .88);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}
.shareCollectionModal {
  position: relative;
  width: min(94vw, 540px);
  max-height: 90vh;
  overflow: auto;
  padding: 24px;
  border-radius: 20px;
  background: #fff;
  color: #173c51;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
}
.shareCollectionTitle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 40px;
}
.shareCollectionTitle > svg {
  color: #278b84;
}
.shareCollectionTitle small {
  color: #a66c31;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.shareCollectionTitle h2 {
  margin: 2px 0 0;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
}
.shareCollectionModal > p {
  font-size: .88rem;
}
.shareCollectionModal label select {
  width: 100%;
  min-height: 46px;
  margin: 7px 0;
  padding: 9px;
  border: 1px solid #cbd5df;
  border-radius: 8px;
  background: #fff;
  color: #173c51;
}
.shareCollectionModal label small {
  display: block;
  margin: 0 0 14px;
  color: #65778a;
  font-weight: 500;
  line-height: 1.4;
}
.shareLinkBox {
  display: grid;
  gap: 9px;
  margin-top: 14px;
  padding: 12px;
  border-radius: 10px;
  background: #eef3f6;
}
.shareLinkBox code {
  overflow-wrap: anywhere;
  font-size: .72rem;
}
.activeShares {
  margin-top: 18px;
  border-top: 1px solid #dfe6ea;
  padding-top: 12px;
}
.activeShares > strong {
  display: block;
  margin-bottom: 7px;
}
.activeShares > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #edf1f3;
  font-size: .82rem;
}
.activeShares button {
  border: 0;
  background: none;
  color: #a53846;
  font-weight: 900;
}
.sharePermissionBadge {
  display: inline-block;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e4f3f0;
  color: #236f69;
  font-size: .8rem;
  font-weight: 900;
}
@media (min-width: 951px) {
  .startGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.replayStartCard {
  grid-column: 1/-1;
}
.replayChoices,
.replaySubchoices {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.replayChoices button {
  white-space: normal;
  max-width: 100%;
  height: auto;
  overflow-wrap: anywhere;
}
.replaySubchoices {
  padding: 0 12px;
}
.replaySubchoices small {
  color: #617085;
  text-align: center;
}
.replayOvertimePanel {
  max-width: 100%;
  overflow: auto;
  max-height: 100%;
}
.replayOvertimePanel .replayChoices {
  width: 100%;
}
.collectionImportSummary {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  color: #172c48;
  font-size: 14px;
  line-height: 1.4;
  padding: 8px;
  border: 1px solid #c8d2dc;
  border-radius: 8px;
  margin: 6px 0;
  overflow-wrap: anywhere;
}
.collectionTools,
.photoStateFilters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0;
}
.verifyPhotoDate {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}
.verifyPhotoDate input {
  width: 20px;
  min-height: 20px;
  margin: 0;
  flex-shrink: 0;
}
.photoStateFilters .activeFilter {
  background: #225964;
  border-color: #6bd5d3;
  color: #fff;
}
.importProgress {
  display: grid;
  gap: 5px;
  border: 1px solid #619caa;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
}
.modalBackdrop {
  position: fixed;
  inset: 0;
  background: #00101cbb;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}
.importReportModal {
  background: #fff;
  color: #172c48;
  border: 1px solid #62b8bd;
  border-radius: 16px;
  padding: 18px;
  width: min(680px, calc(100vw - 24px));
  max-height: calc(100dvh - 30px);
  overflow: auto;
  box-sizing: border-box;
}
.importReportModal .panelHead {
  align-items: flex-start;
  gap: 12px;
}
.importReportModal h2 {
  font-size: 20px;
  margin: 0;
}
.importReportModal button {
  min-height: 44px;
}
.importReportModal p {
  line-height: 1.5;
}
.importReportEntries {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}
.importReportEntry {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  border-bottom: 1px solid #355460;
  min-width: 0;
}
.importReportEntry img,
.importNoThumbnail {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
  background: #183b49;
}
.importNoThumbnail {
  display: grid;
  place-items: center;
}
.importReportEntry > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  overflow-wrap: anywhere;
}
.importReportEntry small {
  font-size: 14px;
  line-height: 1.4;
}
.activeCollectionGame {
  display: grid;
  gap: 8px;
  margin: 12px 0;
}
.dangerAction {
  color: #ffb1af !important;
}
.deleteCollectionModal .editPhotoActions {
  flex-wrap: wrap;
}
@media (max-height: 500px) and (orientation: landscape) {
  .importReportModal {
    padding: 12px;
    max-height: calc(100dvh - 12px);
  }
  .importReportEntry {
    padding: 6px;
  }
}
.pq-exit:not(.pq-return) svg {
  transform: scaleX(-1);
}
.pq-menu-separator {
  border: 0;
  border-top: 1px solid currentColor;
  opacity: .3;
  margin: 6px 0;
  width: 100%;
}
.illustrated-duel,
.pq-cps-board,
.illustrated-duel *,
.pq-cps-board * {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.illustrated-duel :is(input, textarea, [contenteditable=true]),
.pq-cps-board :is(input, textarea, [contenteditable=true]) {
  -webkit-user-select: text;
  user-select: text;
}
.illustrated-duel img,
.pq-cps-board img {
  -webkit-user-drag: none;
}
[data-track-team] {
  scrollbar-width: none;
}
[data-track-team]::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.pq-rotate {
  display: none;
}
@media (orientation: landscape) and (max-height: 500px) and (pointer: coarse) {
  .pq-rotate {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #0f1a33;
    color: #fff;
    font-family:
      system-ui,
      -apple-system,
      sans-serif;
    text-align: center;
    padding: 16px;
  }
  .pq-rotate p {
    margin: 0;
    font:
      800 24px system-ui,
      -apple-system,
      sans-serif;
    color: #fff !important;
  }
  .pq-rotate small {
    color: #c9d4e6;
    font-size: 15px;
  }
  .pq-rotate-phone {
    width: 84px;
    height: 84px;
    animation: pq-rotate-turn 3.2s ease-in-out infinite;
  }
  body:has(.pq-rotate) {
    overflow: hidden;
  }
}
@keyframes pq-rotate-turn {
  0%, 15% {
    transform: rotate(-90deg);
  }
  55%, 100% {
    transform: rotate(0deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pq-rotate-phone {
    animation: none !important;
  }
}
[data-pq=player]:is([data-me=true], [data-controlled=true]) .cps-avatar {
  box-shadow: 0 0 0 2.5px #4c8dff;
  border-radius: 50%;
}
html body .cps-menu-panel,
html body .duel-menu-panel,
html body .pq-remove-box,
html body .pq-quit-box,
html body .pq-end-dialog-box,
html body dialog.cps-invite-dialog {
  background: #16274a !important;
  color: #e8eef8 !important;
  border: 1px solid #2f4572 !important;
  box-shadow: 0 14px 34px #000a !important;
}
html body :is(.cps-menu-panel, .duel-menu-panel, .pq-remove-box, .pq-quit-box, .pq-end-dialog-box, .cps-invite-dialog) :is(h2, h3, h4, p, label, strong, small, span, b, legend, summary) {
  color: inherit;
}
html body :is(.cps-menu-panel, .duel-menu-panel, .pq-remove-box, .pq-quit-box, .pq-end-dialog-box, .cps-invite-dialog) :is(button, a.button, .cps-invite) {
  background: #22375f !important;
  color: #e3ebf8 !important;
  border: 1px solid #3a5585 !important;
  box-shadow: none !important;
}
html body :is(.cps-menu-panel, .duel-menu-panel, .pq-remove-box, .pq-quit-box, .pq-end-dialog-box, .cps-invite-dialog) :is(button, .cps-invite):disabled {
  opacity: .45;
}
html body :is(.cps-menu-panel, .duel-menu-panel, .pq-remove-box, .pq-quit-box, .pq-end-dialog-box, .cps-invite-dialog) button.primary {
  background: #2f6fe4 !important;
  border-color: #2f6fe4 !important;
  color: #fff !important;
}
html body :is(.cps-menu-panel, .duel-menu-panel) .pq-menu-head {
  color: #8fa3c4 !important;
}
html body :is(.cps-menu-panel, .duel-menu-panel) hr {
  border-color: #2f4572;
}
html body :is(.cps-menu-panel, .duel-menu-panel) .pq-menu-danger button,
html body .pq-remove-btn,
html body .pq-remove-go,
html body .pq-quit-go {
  background: #4a1f28 !important;
  color: #ff9c9c !important;
  border-color: #7d3340 !important;
}
html body .pq-remove-go,
html body .pq-quit-go {
  background: #c62828 !important;
  color: #fff !important;
  border-color: #c62828 !important;
}
html body :is(.cps-menu-panel, .duel-menu-panel) .pq-menu-test {
  background: #1d3157 !important;
  color: #cfdaee;
}
html body :is(.cps-menu-panel, .duel-menu-panel, .pq-end-dialog-box, .cps-invite-dialog) :is(select, input:not([type=checkbox]):not([type=radio])) {
  background: #22375f !important;
  color: #e8eef8 !important;
  border: 1px solid #3a5585 !important;
}
html body .cps-menu-panel .pq-auto-switch input {
  background: #4a5a78 !important;
}
html body .cps-menu-panel .pq-auto-switch input:checked {
  background: #34c759 !important;
}
html body .pq-remove-box li {
  background: #1f3358 !important;
  color: #e8eef8;
}
html body :is(.pq-quit-box, .pq-remove-ask) p {
  color: #c5d2e8 !important;
}
html body .pq-end-dialog-box .pq-what-next {
  background: transparent !important;
  color: #e8eef8 !important;
}
html body .pq-end-dialog-box :is(.pq-what-next-option, .pq-suite-go) {
  background: #1d3157 !important;
  border-color: #2f4572 !important;
  color: #e8eef8 !important;
}
html body .pq-end-dialog-box small {
  color: #9fb1cf !important;
}
html body .pq-end-dialog-box .pq-end-close {
  background: #22375f !important;
  color: #e8eef8 !important;
}
html body dialog.cps-invite-dialog img {
  background: #fff;
  border-radius: 8px;
  padding: 6px;
}
html body :is(.pq-remove-box, .pq-quit-box) button.pq-remove-btn {
  background: #4a1f28 !important;
  color: #ff9c9c !important;
  border-color: #7d3340 !important;
}
html body :is(.pq-remove-box, .pq-quit-box) :is(button.pq-remove-go, button.pq-quit-go) {
  background: #c62828 !important;
  color: #fff !important;
  border-color: #c62828 !important;
}
html body :is(.pq-quit, .pq-remove, .pq-end-dialog) {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  padding: 0 10px calc(10px + env(safe-area-inset-bottom)) !important;
  background: #0007 !important;
}
html body :is(.pq-quit, .pq-remove, .pq-end-dialog) :is(.pq-quit-box, .pq-remove-box, .pq-end-dialog-box) {
  width: min(560px, 100%) !important;
  max-height: 85dvh;
  overflow: auto;
  border-radius: 14px !important;
  background: #1c1c1e !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 14px 0 0 !important;
  text-align: center;
  color: #fff !important;
}
html body :is(.pq-quit-box, .pq-remove-box, .pq-end-dialog-box) :is(h2, h3) {
  font: 600 13px/1.3 -apple-system, system-ui !important;
  color: #98989d !important;
  margin: 0 16px 10px !important;
  text-align: center;
}
html body .pq-quit-box button.pq-exit-big {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  min-height: 56px;
  padding: 12px 16px !important;
  border: 0 !important;
  border-top: 1px solid #38383a !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #409cff !important;
  font: 400 19px -apple-system, system-ui !important;
  box-shadow: none !important;
  text-align: center;
}
html body .pq-quit-box button.pq-exit-big b {
  font-weight: 400;
}
html body .pq-quit-box button.pq-exit-big small {
  display: block;
  margin-top: 2px;
  font: 400 13px/1.3 -apple-system, system-ui;
  color: #98989d !important;
}
html body .pq-quit-box button.pq-exit-big.primary {
  order: 9;
  font-weight: 600 !important;
  border-top: 8px solid #0007 !important;
  background: #1c1c1e !important;
}
html body .pq-quit-box {
  display: flex !important;
  flex-direction: column;
}
html body :is(.pq-remove-box, .pq-end-dialog-box) button:not(.pq-x):not(.pq-end-close) {
  border-radius: 12px !important;
}
html body :is(.pq-remove-box, .pq-quit-box) :is(button.pq-remove-go, button.pq-quit-go) {
  background: transparent !important;
  color: #ff453a !important;
  border-color: transparent !important;
}
html body .pq-notice {
  background: #0007 !important;
  display: grid !important;
  place-items: center !important;
}
html body .pq-notice .pq-notice-box {
  width: min(290px, calc(100vw - 48px)) !important;
  padding: 18px 0 0 !important;
  border-radius: 14px !important;
  background: #2c2c2e !important;
  border: 0 !important;
  text-align: center;
  color: #fff !important;
  overflow: hidden;
  box-shadow: none !important;
}
html body .pq-notice .pq-notice-box :is(h2, p) {
  margin: 0 16px 4px !important;
  color: #fff !important;
}
html body .pq-notice .pq-notice-box h2 {
  font: 600 17px/1.3 -apple-system, system-ui !important;
}
html body .pq-notice .pq-notice-box p {
  font-size: 13px !important;
  color: #ebebf5cc !important;
}
html body .pq-notice .pq-notice-box button {
  display: block;
  width: 100%;
  margin: 14px 0 0 !important;
  min-height: 44px;
  border: 0 !important;
  border-top: 1px solid #545458 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #409cff !important;
  font: 600 17px -apple-system, system-ui !important;
}
html body .pq-pause-icon rect {
  fill: #b85a2a;
}
html body .cps-menu-panel .pq-menu-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  background: #2c2c2e !important;
  border-radius: 12px !important;
  overflow: hidden;
  padding: 0 !important;
  margin: 0 0 6px !important;
}
html body .cps-menu-panel .pq-menu-group > :is(button, a, label, .tv-share-button),
html body .cps-menu-panel .pq-menu-group :is(button.outline, button.pq-menu-row) {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100% !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 10px 14px !important;
  border: 0 !important;
  border-top: 1px solid #3a3a3c !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #fff !important;
  font: 400 16px/1.25 -apple-system, system-ui !important;
  text-align: left !important;
  box-shadow: none !important;
}
html body .cps-menu-panel .pq-menu-group > :first-child,
html body .cps-menu-panel .pq-menu-group > :first-child button {
  border-top: 0 !important;
}
html body .cps-menu-panel .pq-menu-group .pq-chev {
  color: #8e8e93;
  font-size: 20px;
  margin-left: auto;
}
html body .cps-menu-panel .pq-menu-group select {
  background: transparent !important;
  border: 0 !important;
  color: #98989d !important;
  font: 400 15px -apple-system, system-ui !important;
  text-align: right;
  max-width: 55%;
}
html body .cps-menu-panel .pq-menu-head {
  margin: 12px 0 6px 14px !important;
  font: 400 12px -apple-system, system-ui !important;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #8e8e93 !important;
}
html body .cps-menu-panel .pq-menu-danger {
  background: #2c2c2e !important;
}
html body .cps-menu-panel .pq-menu-danger button.pq-menu-stop {
  color: #ff453a !important;
  justify-content: center;
  border-top: 0 !important;
}
html body .pq-manage .pq-manage-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 14px 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #2c2c2e;
  color: #fff;
}
html body .pq-manage .pq-manage-list {
  list-style: none;
  margin: 0 14px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #2c2c2e;
}
.pq-manage-row {
  position: relative;
  overflow: hidden;
  border-top: 1px solid #3a3a3c;
}
.pq-manage-row:first-child {
  border-top: 0;
}
.pq-manage-front {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 14px;
  background: #2c2c2e;
  transition: transform .2s ease;
  text-align: left;
}
html body .pq-manage .pq-manage-del {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 88px;
  border: 0 !important;
  border-radius: 0 !important;
  background: #ff3b30 !important;
  color: #fff !important;
  font: 600 15px -apple-system, system-ui !important;
}
.pq-manage-ico {
  font-size: 22px;
}
.pq-manage-name {
  flex: 1;
  font-weight: 600;
  color: #fff;
}
.pq-manage-meta {
  font-size: 13px;
  color: #98989d;
}
.pq-manage-foot,
.pq-manage-empty {
  margin: 8px 14px 12px;
  font-size: 12.5px;
  color: #98989d !important;
}
html body .pq-objective-sheet .pq-objective-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #2c2c2e;
  color: #fff;
}
html body .pq-objective-sheet .pq-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #3a3a3c;
}
html body .pq-objective-sheet .pq-stepper button {
  min-width: 40px;
  min-height: 36px !important;
  border: 0 !important;
  background: transparent !important;
  color: #409cff !important;
  font: 600 20px system-ui !important;
  border-radius: 0 !important;
}
html body .pq-objective-sheet .pq-stepper-input {
  min-width: 40px;
  text-align: center;
  font: 700 17px system-ui;
  color: #fff;
}
html body .pq-objective-sheet .pq-objective-actions {
  display: flex;
  gap: 8px;
  margin: 0 14px 14px;
}
html body .pq-objective-sheet .pq-objective-actions button {
  flex: 1;
  min-height: 46px;
}
html body .cps-menu-panel .pq-menu-group label {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 14px !important;
  min-height: 44px;
  border-top: 1px solid #3a3a3c;
  font: 400 16px -apple-system, system-ui !important;
  color: #fff !important;
}
html body .cps-menu-panel .pq-menu-group label select {
  flex: 0 1 auto;
  min-width: 0;
  padding: 4px 0 !important;
  min-height: 0 !important;
}
html body .cps-menu-panel .cps-invite {
  display: flex !important;
  align-items: center;
  justify-content: flex-start !important;
  gap: 10px;
  min-height: 44px !important;
  padding: 10px 14px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #2c2c2e !important;
  color: #fff !important;
  font: 400 16px -apple-system, system-ui !important;
}
html body .pq-manage .pq-manage-list > li.pq-manage-row {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #2c2c2e !important;
  border-radius: 0 !important;
}
html body .pq-manage .pq-manage-front {
  width: 100% !important;
  box-sizing: border-box;
  background: #2c2c2e !important;
}
html body .pq-manage .pq-manage-front span {
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
}
html body .pq-manage .pq-manage-meta {
  color: #98989d !important;
  font-weight: 400 !important;
}
html body .pq-manage .pq-manage-del {
  z-index: 0;
}
html {
  --m-bg:#f2f2f7;
  --m-group:#fff;
  --m-sep:#c6c6c8;
  --m-text:#000;
  --m-sub:#6d6d72;
  --m-blue:#0a6cff;
  --m-red:#d70015;
  --m-chev:#c4c4c7;
}
html[data-ui=dark] {
  --m-bg:#1c1c1e;
  --m-group:#2c2c2e;
  --m-sep:#38383a;
  --m-text:#fff;
  --m-sub:#98989d;
  --m-blue:#409cff;
  --m-red:#ff453a;
  --m-chev:#5a5a5f;
}
html body .cps-menu-panel.cps-menu-panel {
  background: var(--m-bg) !important;
  color: var(--m-text) !important;
  border-color: var(--m-sep) !important;
}
html body .cps-menu-panel.cps-menu-panel .pq-menu-head {
  color: var(--m-sub) !important;
}
html body .cps-menu-panel.cps-menu-panel :is(.pq-menu-group, .pq-menu-danger, .pq-menu-test) {
  background: var(--m-group) !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body .cps-menu-panel.cps-menu-panel .pq-menu-group > :is(button, a, label, div),
html body .cps-menu-panel.cps-menu-panel .pq-menu-group :is(button.outline, button.pq-menu-row, label) {
  color: var(--m-text) !important;
  border-top-color: var(--m-sep) !important;
  background: transparent !important;
  font-weight: 400 !important;
}
html body .cps-menu-panel.cps-menu-panel .pq-menu-group .pq-progression {
  display: block;
  border-top: 1px solid var(--m-sep);
}
html body .cps-menu-panel.cps-menu-panel select {
  color: var(--m-sub) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
  text-align: right;
  text-align-last: right;
  padding-right: 14px !important;
  background-image: none !important;
}
html body .cps-menu-panel.cps-menu-panel .pq-menu-group label::after {
  content: "\2304";
  color: var(--m-sub);
  margin-left: -12px;
  pointer-events: none;
}
html body .cps-menu-panel.cps-menu-panel .pq-chev {
  color: var(--m-chev) !important;
}
html body .cps-menu-panel.cps-menu-panel .pq-menu-group button:not(:has(.pq-chev)):not(.pq-menu-stop)::after {
  content: "\203a";
  margin-left: auto;
  color: var(--m-chev);
  font-size: 20px;
}
html body .cps-menu-panel.cps-menu-panel .pq-menu-danger button.pq-menu-stop {
  color: var(--m-red) !important;
  background: transparent !important;
}
html body .cps-menu-panel.cps-menu-panel .cps-invite {
  background: var(--m-group) !important;
  color: var(--m-text) !important;
  border: 0 !important;
  border-radius: 12px 12px 0 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  font-weight: 400 !important;
}
html body .cps-menu-panel.cps-menu-panel .cps-invite::after {
  content: "\203a";
  margin-left: auto;
  color: var(--m-chev);
  font-size: 20px;
}
html body .cps-menu-panel.cps-menu-panel .cps-invite + *:not(.pq-menu-head),
html body .cps-menu-panel.cps-menu-panel .pq-menu-group[style*="order: 4"] {
  border-radius: 0 0 12px 12px !important;
  border-top: 1px solid var(--m-sep) !important;
}
html body .cps-menu-panel.cps-menu-panel .cps-master-actions {
  order: 7 !important;
  background: var(--m-group) !important;
  border-radius: 12px !important;
  padding: 0 !important;
  margin: 0 0 6px !important;
  border: 0 !important;
}
html body .cps-menu-panel.cps-menu-panel .cps-master-actions button {
  width: 100%;
  min-height: 44px;
  border: 0 !important;
  background: transparent !important;
  color: var(--m-blue) !important;
  font: 400 16px -apple-system, system-ui !important;
  text-align: left;
  padding: 10px 14px !important;
  box-shadow: none !important;
}
html body .cps-menu-panel.cps-menu-panel .pq-menu-test {
  border-radius: 12px !important;
  padding: 4px 0 !important;
}
html body .cps-menu-panel.cps-menu-panel .pq-menu-test .pq-menu-head {
  margin: 8px 14px 4px !important;
}
html body .cps-menu-panel.cps-menu-panel .pq-menu-test label {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 14px !important;
  color: var(--m-text) !important;
  font: 400 16px -apple-system, system-ui !important;
  border-top: 1px solid var(--m-sep);
}
html body :is(.pq-quit, .pq-remove, .pq-end-dialog) :is(.pq-quit-box, .pq-remove-box, .pq-end-dialog-box) {
  background: var(--m-bg) !important;
  color: var(--m-text) !important;
}
html body :is(.pq-quit-box, .pq-remove-box, .pq-end-dialog-box) :is(h2, h3) {
  color: var(--m-sub) !important;
}
html body .pq-quit-box button.pq-exit-big {
  color: var(--m-blue) !important;
  border-top-color: var(--m-sep) !important;
  background: var(--m-group) !important;
}
html body .pq-quit-box button.pq-exit-big small {
  color: var(--m-sub) !important;
}
html body .pq-quit-box button.pq-exit-big.primary {
  border-top-color: var(--m-bg) !important;
}
html body .pq-manage :is(.pq-manage-switch, .pq-manage-list, .pq-manage-front),
html body .pq-manage .pq-manage-list > li.pq-manage-row,
html body .pq-objective-sheet .pq-objective-line {
  background: var(--m-group) !important;
  color: var(--m-text) !important;
}
html body .pq-manage .pq-manage-name,
html body .pq-manage .pq-manage-switch span,
html body .pq-objective-sheet .pq-stepper-input,
html body .pq-objective-sheet .pq-objective-line span {
  color: var(--m-text) !important;
}
html body .pq-manage-row {
  border-top-color: var(--m-sep) !important;
}
html body :is(.pq-manage-foot, .pq-manage-empty, .pq-manage-meta) {
  color: var(--m-sub) !important;
}
html body .pq-objective-sheet .pq-stepper {
  background: var(--m-bg) !important;
}
html body .pq-objective-sheet .pq-stepper button {
  color: var(--m-blue) !important;
}
html body .pq-notice .pq-notice-box {
  background: var(--m-group) !important;
  color: var(--m-text) !important;
}
html body .pq-notice .pq-notice-box :is(h2, p) {
  color: var(--m-text) !important;
}
html body .pq-notice .pq-notice-box p {
  color: var(--m-sub) !important;
}
html body .pq-notice .pq-notice-box button {
  color: var(--m-blue) !important;
  border-top-color: var(--m-sep) !important;
}
html[data-ui] body .cps-menu-panel.cps-menu-panel > * {
  flex-shrink: 0 !important;
}
html[data-ui] body .cps-menu-panel.cps-menu-panel {
  overflow-y: auto !important;
}
html[data-ui] body .cps-menu-panel.cps-menu-panel > section.cps-master-actions {
  background: var(--m-group) !important;
  border-radius: 12px !important;
  overflow: hidden;
}
html[data-ui] body .cps-menu-panel.cps-menu-panel select,
html[data-ui] body .cps-menu-panel.cps-menu-panel .pq-menu-test select {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--m-sub) !important;
  border: 0 !important;
  box-shadow: none !important;
  width: auto !important;
  max-width: 60%;
  flex: 0 1 auto;
}
html[data-ui] body .cps-menu-panel.cps-menu-panel .pq-menu-test label::after {
  content: "\2304";
  color: var(--m-sub);
  margin-left: -10px;
  pointer-events: none;
}
html[data-ui] body .cps-menu-panel.cps-menu-panel :is(.pq-menu-group, .pq-menu-test) label:not(:has(select))::after {
  content: none !important;
}
html[data-ui] body .cps-menu-panel.cps-menu-panel > section.cps-master-actions {
  display: block !important;
  background-color: var(--m-group) !important;
}
html body .pq-objective-sheet .pq-stepper-input {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  height: 36px;
  line-height: 1 !important;
  padding: 0 !important;
  color: var(--m-text) !important;
  background: transparent !important;
}
html body .pq-objective-sheet .pq-objective-actions button {
  border: 0 !important;
  border-radius: 12px !important;
  font: 600 17px -apple-system, system-ui !important;
  box-shadow: none !important;
}
html body .pq-objective-sheet .pq-objective-actions button.outline {
  background: var(--m-group) !important;
  color: var(--m-blue) !important;
}
html body .pq-objective-sheet .pq-objective-actions button.primary {
  background: #0a84ff !important;
  color: #fff !important;
}
html body .pq-objective-sheet .pq-objective-actions button.primary:disabled {
  opacity: .4;
}
html[data-appearance=night] body :is(dialog.photo-year-dispute, dialog.cps-invite-dialog, dialog.tv-share-dialog) {
  background: var(--m-bg) !important;
  color: var(--m-text) !important;
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: 0 10px 40px #0006 !important;
}
html[data-appearance=night] body :is(dialog.photo-year-dispute, dialog.cps-invite-dialog, dialog.tv-share-dialog) :is(h2, h3) {
  color: var(--m-text) !important;
  text-align: center;
  font: 600 17px/1.3 -apple-system, system-ui !important;
}
html[data-appearance=night] body :is(dialog.photo-year-dispute, dialog.cps-invite-dialog, dialog.tv-share-dialog) :is(p, small, label, span, .hint, li) {
  color: var(--m-sub) !important;
}
html[data-appearance=night] body :is(dialog.photo-year-dispute, dialog.cps-invite-dialog, dialog.tv-share-dialog) :is(strong, b, .pq-inv-code) {
  color: var(--m-text) !important;
}
html[data-appearance=night] body :is(dialog.photo-year-dispute, dialog.cps-invite-dialog, dialog.tv-share-dialog) :is(button, a.button, .cps-invite) {
  background: var(--m-group) !important;
  color: var(--m-blue) !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  font: 600 16px -apple-system, system-ui !important;
}
html[data-appearance=night] body :is(dialog.photo-year-dispute, dialog.cps-invite-dialog, dialog.tv-share-dialog) button.primary {
  background: #0a84ff !important;
  color: #fff !important;
}
html[data-appearance=night] body :is(dialog.photo-year-dispute, dialog.cps-invite-dialog, dialog.tv-share-dialog) :is(input, select, textarea) {
  background: var(--m-group) !important;
  color: var(--m-text) !important;
  border: 1px solid var(--m-sep) !important;
  border-radius: 10px !important;
}
html[data-appearance=night] body :is(dialog.photo-year-dispute, dialog.cps-invite-dialog, dialog.tv-share-dialog) :is(.pq-x, .pq-close-x) {
  background: var(--m-group) !important;
  color: var(--m-sub) !important;
  border-radius: 50% !important;
}
html[data-appearance=night][data-ui=dark] .pq-alert-box {
  background: #2c2c2ef5 !important;
  color: #fff !important;
}
html[data-appearance=night][data-ui=dark] .pq-alert-box p {
  color: #ebebf5cc !important;
}
html[data-appearance=night][data-ui=dark] :is(.pq-alert-actions, .pq-alert-actions button) {
  border-color: #54545899 !important;
}
html[data-appearance=night][data-ui=dark] .pq-alert-actions button,
html[data-appearance=night][data-ui=dark] .pq-alert-sheet-cancel {
  color: #409cff !important;
}
html[data-appearance=night][data-ui=dark] .pq-alert-sheet-cancel {
  background: #1c1c1e !important;
}
html[data-appearance=night][data-ui=dark] .pq-alert-actions button.pq-alert-red {
  color: #ff453a !important;
}
html[data-appearance=night][data-ui=dark] dialog.unified-stop :is(h2, .stop-party-name) {
  background: #2c2c2e !important;
  color: #a1a1a6 !important;
  border-color: #3a3a3c !important;
}
html[data-appearance=night][data-ui=dark] dialog.unified-stop :is(fieldset, .stop-choice, .stop-confirm, .stop-group, .stop-actions button) {
  background: #1c1c1e !important;
  color: #fff !important;
  border-color: #3a3a3c !important;
}
html[data-appearance=night][data-ui=dark] dialog.unified-stop :is(.stop-choice, .stop-actions button, .stop-confirm button:not(.danger)) {
  color: #5ea0ff !important;
}
html[data-appearance=night][data-ui=dark] dialog.unified-stop .stop-choice small {
  color: #98989d !important;
}
html[data-appearance=night][data-ui=dark] dialog.unified-stop .stop-destructive strong {
  color: #ff453a !important;
}
@media (max-width: 700px) {
  html body :is(dialog.photo-year-dispute, dialog.cps-invite-dialog, dialog.tv-share-dialog)[open] {
    position: fixed !important;
    inset: auto 0 0 0 !important;
    margin: 0 auto !important;
    width: min(560px, 100vw) !important;
    max-width: 100vw !important;
    max-height: 90dvh !important;
    box-sizing: border-box;
    border-radius: 14px 14px 0 0 !important;
    padding-bottom: calc(16px + env(safe-area-inset-bottom)) !important;
    animation: pq-sheet-up .25s ease-out;
  }
}
@keyframes pq-sheet-up {
  from {
    transform: translateY(40px);
    opacity: .6;
  }
}
@media (prefers-reduced-motion: reduce) {
  html body :is(dialog.photo-year-dispute, dialog.cps-invite-dialog, dialog.tv-share-dialog)[open] {
    animation: none;
  }
}
html body dialog.tv-share-dialog .visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
html body dialog.tv-share-dialog {
  padding: 18px 16px !important;
  text-align: left;
}
html body dialog.tv-share-dialog h2 {
  margin: 0 0 14px !important;
  font: 600 17px -apple-system, system-ui !important;
  text-align: center;
  color: var(--m-text) !important;
}
html body dialog.tv-share-dialog button.tv-now {
  display: block;
  width: 100%;
  min-height: 50px;
  border: 0 !important;
  border-radius: 12px !important;
  background: #0a84ff !important;
  color: #fff !important;
  font: 600 17px -apple-system, system-ui !important;
  text-decoration: none !important;
}
html body dialog.tv-share-dialog button.tv-now:disabled {
  opacity: .5;
}
html body dialog.tv-share-dialog .tv-note {
  margin: 8px 4px 0;
  font-size: 13px;
  color: var(--m-sub) !important;
}
html body dialog.tv-share-dialog .tv-note a {
  color: var(--m-blue) !important;
}
html body dialog.tv-share-dialog h3.tv-sect {
  margin: 18px 4px 6px !important;
  font: 400 12px -apple-system, system-ui !important;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--m-sub) !important;
  text-align: left !important;
}
html body dialog.tv-share-dialog .tv-group {
  background: var(--m-group);
  border-radius: 12px;
  padding: 12px 14px;
  text-align: center;
}
html body dialog.tv-share-dialog .tv-group p {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--m-sub) !important;
}
html body dialog.tv-share-dialog .tv-group img {
  display: block;
  margin: 0 auto 10px;
  width: 180px;
  height: 180px;
  background: #fff;
  border-radius: 8px;
  padding: 6px;
}
html body dialog.tv-share-dialog .tv-group .row {
  display: flex;
  gap: 8px;
}
html body dialog.tv-share-dialog .tv-group .row button {
  flex: 1;
  min-height: 44px;
  background: var(--m-bg) !important;
  color: var(--m-blue) !important;
}
html body dialog.tv-share-dialog .tv-ctrl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--m-sep);
  font-size: 15px;
  color: var(--m-text) !important;
  text-align: left;
}
html body dialog.tv-share-dialog .tv-ctrl span {
  color: var(--m-text) !important;
}
html body dialog.tv-share-dialog .tv-ctrl input {
  width: 46px;
  height: 28px;
  flex: none;
  accent-color: #34c759;
}
html body dialog.tv-share-dialog button.tv-ok {
  display: block;
  width: 100%;
  min-height: 50px;
  margin-top: 14px;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--m-group) !important;
  color: var(--m-blue) !important;
  font: 600 17px -apple-system, system-ui !important;
}
html body dialog.tv-share-dialog #tv-share-status:empty {
  display: none;
}
html body dialog.tv-share-dialog .tv-ctrl input.pq-switch {
  background: #e9e9eb !important;
  border: 0 !important;
}
html[data-ui=dark] body dialog.tv-share-dialog .tv-ctrl input.pq-switch {
  background: #636366 !important;
}
html body dialog.tv-share-dialog .tv-ctrl input.pq-switch:checked {
  background: #34c759 !important;
}
html body dialog.pq-step-sheet.pq-step-sheet {
  background: var(--m-bg) !important;
  color: var(--m-text) !important;
  border: 0 !important;
  border-radius: 14px !important;
  padding: 18px 16px !important;
  text-align: left;
  width: min(480px, calc(100vw - 24px));
}
html body dialog.pq-step-sheet.pq-step-sheet h2 {
  margin: 0 0 14px !important;
  font: 600 17px/1.3 -apple-system, system-ui !important;
  text-align: center;
  color: var(--m-text) !important;
}
html body dialog.pq-step-sheet .pq-rows {
  background: var(--m-group);
  border-radius: 12px;
  overflow: hidden;
}
html body dialog.pq-step-sheet.pq-step-sheet .pq-rows button.pq-row {
  display: flex !important;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 60px;
  margin: 0 !important;
  padding: 10px 14px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--m-text) !important;
  text-align: left;
  font: 400 16px -apple-system, system-ui !important;
}
html body dialog.pq-step-sheet .pq-rows .pq-row + .pq-row {
  border-top: 1px solid var(--m-sep) !important;
}
html body dialog.pq-step-sheet .pq-row:disabled {
  opacity: .45;
}
html body dialog.pq-step-sheet .pq-row-ic {
  font-size: 24px;
  flex: none;
  width: 30px;
  text-align: center;
}
html body dialog.pq-step-sheet .pq-row-tx {
  display: grid;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
html body dialog.pq-step-sheet.pq-step-sheet .pq-row-tx b {
  font-weight: 400;
  color: var(--m-text) !important;
}
html body dialog.pq-step-sheet.pq-step-sheet .pq-row-tx small {
  font-weight: 400 !important;
  font-size: 13px;
  line-height: 1.3;
  color: var(--m-sub) !important;
}
html body dialog.pq-step-sheet.pq-step-sheet .pq-row-danger .pq-row-tx b {
  color: var(--m-red) !important;
}
html body dialog.pq-step-sheet.pq-step-sheet .pq-row-chev {
  flex: none;
  font-size: 20px;
  color: var(--m-chev) !important;
}
html body dialog.pq-step-sheet.pq-step-sheet .pq-rows-note {
  font-weight: 400 !important;
  margin: 8px 4px 0;
  font-size: 13px;
  line-height: 1.35;
  color: var(--m-sub) !important;
}
html body dialog.pq-step-sheet .pq-rows-note a {
  color: var(--m-blue) !important;
}
html body dialog.pq-step-sheet.pq-step-sheet button.pq-back {
  display: inline-block;
  margin: 0 0 4px -4px !important;
  padding: 4px !important;
  min-height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--m-blue) !important;
  font: 400 17px -apple-system, system-ui !important;
}
html body dialog.pq-step-sheet.pq-step-sheet button.pq-sheet-ok {
  display: block;
  width: 100%;
  min-height: 50px;
  margin: 14px 0 0 !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--m-group) !important;
  color: var(--m-blue) !important;
  font: 600 17px -apple-system, system-ui !important;
}
html body dialog.pq-step-sheet #tv-share-status:empty,
html body dialog.pq-step-sheet p:empty {
  display: none;
}
html body dialog.tv-share-dialog.pq-step-sheet .tv-ctrl {
  margin: 0 0 12px;
  padding: 0 0 10px;
  border-top: 0;
  border-bottom: 1px solid var(--m-sep);
}
html body dialog.photo-year-dispute.pq-step-sheet .pq-dispute-photo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 14px;
  padding: 10px 14px;
  background: var(--m-group);
  border-radius: 12px;
}
html body dialog.photo-year-dispute.pq-step-sheet .pq-dispute-photo img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  flex: none;
}
html body dialog.photo-year-dispute.pq-step-sheet .pq-dispute-photo span {
  display: grid;
  gap: 2px;
}
html body dialog.photo-year-dispute.pq-step-sheet .pq-dispute-photo small {
  font-size: 13px;
  color: var(--m-sub) !important;
}
html body dialog.photo-year-dispute.pq-step-sheet .pq-dispute-photo b {
  font: 600 28px -apple-system, system-ui;
  color: var(--m-text) !important;
}
html body dialog.photo-year-dispute.pq-step-sheet form {
  display: grid;
  gap: 10px;
  background: var(--m-group);
  border-radius: 12px;
  padding: 12px 14px;
}
html body dialog.photo-year-dispute.pq-step-sheet label {
  color: var(--m-text) !important;
  font-weight: 400;
}
html body dialog.photo-year-dispute.pq-step-sheet .hint {
  margin: 0;
  font-size: 13px;
  color: var(--m-sub) !important;
}
html body dialog.photo-year-dispute.pq-step-sheet button.primary {
  margin: 0 !important;
  min-height: 50px;
  border: 0 !important;
  border-radius: 12px !important;
  background: #0a84ff !important;
  color: #fff !important;
  font: 600 17px -apple-system, system-ui !important;
}
html body dialog.photo-year-dispute.pq-step-sheet input {
  background: var(--m-bg) !important;
  color: var(--m-text) !important;
  border: 1px solid var(--m-sep) !important;
  border-radius: 10px !important;
}
@media (max-width: 700px) {
  html body dialog.pq-step-sheet.pq-step-sheet[open] {
    width: 100vw;
    border-radius: 14px 14px 0 0 !important;
  }
}
html body dialog.tv-share-dialog.pq-step-sheet .tv-group .row button {
  border: 0 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}
html body dialog.pq-step-sheet.pq-step-sheet :is(small, .pq-rows-note, .tv-group p, .hint) {
  font-weight: 400 !important;
}
html body dialog.pq-step-sheet .tv-step {
  margin: 0 4px 14px !important;
  font-size: 15px !important;
}
html body dialog.pq-step-sheet.pq-step-sheet button.tv-now {
  display: block;
  width: 100%;
  min-height: 50px;
  border: 0 !important;
  border-radius: 12px !important;
  background: #0a84ff !important;
  color: #fff !important;
  font: 600 17px -apple-system, system-ui !important;
}
html body dialog.pq-step-sheet .tv-group p.tv-other-note {
  margin: 12px 0 0 !important;
  text-align: left;
  font-size: 13px;
  line-height: 1.35;
}
html[data-ui] body .cps-menu-panel.cps-menu-panel :is(.pq-menu-group, .pq-menu-test) label:has(select) {
  display: flex !important;
  align-items: center;
  gap: 0;
}
html[data-ui] body .cps-menu-panel.cps-menu-panel :is(.pq-menu-group, .pq-menu-test) label select {
  font: 400 16px -apple-system, system-ui !important;
  margin-left: auto !important;
  padding: 4px 0 !important;
  min-height: 0 !important;
  text-align: right;
  text-align-last: right;
}
html[data-ui] body .cps-menu-panel.cps-menu-panel :is(.pq-menu-group, .pq-menu-test) label:has(select)::after {
  content: "\2304";
  margin-left: 6px !important;
  color: var(--m-sub);
  position: relative;
  top: -3px;
  pointer-events: none;
}
html body .pq-objective-sheet .pq-seg {
  display: flex;
  margin: 0 14px 10px;
  padding: 2px;
  border-radius: 9px;
  background: var(--m-group);
}
html body .pq-objective-sheet .pq-seg button {
  flex: 1;
  min-height: 34px;
  border: 0 !important;
  border-radius: 7px !important;
  background: transparent !important;
  color: var(--m-text) !important;
  font: 500 14px -apple-system, system-ui !important;
  box-shadow: none !important;
}
html body .pq-objective-sheet .pq-seg button[aria-checked=true] {
  background: var(--m-bg) !important;
  font-weight: 600 !important;
  box-shadow: 0 1px 3px #0003 !important;
}
html[data-ui=dark] body .pq-objective-sheet .pq-seg button[aria-checked=true] {
  background: #636366 !important;
}

/* game/reference/app/experimental/newInterface.css */
body:has(.pqNew) {
  background: #f2f4f8;
}
body:has(.pqNew .pqDuel) {
  background: #051520;
}
.pqNew:has(.pqTv) {
  max-width: none;
  width: 100%;
}
.pqNew {
  --pq-blue:#087fff;
  --pq-ink:#112139;
  --pq-muted:#68758a;
  --pq-bg:#f2f4f8;
  --background:var(--pq-bg);
  --foreground:var(--pq-ink);
  --primary:var(--pq-blue);
  color: var(--pq-ink);
  background: var(--pq-bg);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  max-width: 1680px;
  padding: 0 clamp(12px, 3vw, 36px);
  min-height: 100dvh;
}
.pqNew h1,
.pqNew h2,
.pqNew h3 {
  font-family: inherit;
  font-weight: 700;
  letter-spacing: -.025em;
}
.pqNew h1 {
  font-size: clamp(26px, 4vw, 40px);
}
.pqNew h2 {
  font-size: 20px;
}
.pqNew p {
  color: var(--pq-muted);
}
.pqNew .topbar {
  height: 64px;
  min-height: 64px;
  border-color: #172c4810;
}
.pqNew .brand {
  color: #061529;
  font-size: 26px;
  letter-spacing: -1px;
}
.pqNew .brand > span:last-child span {
  color: var(--pq-blue);
}
.pqNew .brand .lifeLineLife {
  color: #061529 !important;
}
.pqNew .brandIcon {
  background: transparent;
  color: var(--pq-blue);
  width: 30px;
  height: 30px;
  border-radius: 0;
}
.pqNew .brand .lifeLineMark {
  transform: scale(.75);
}
.pqNew .primary,
.pqNew .actionPrimary {
  background: var(--pq-blue);
  color: #fff;
  border-color: transparent;
  box-shadow: none;
}
.pqNew .outline,
.pqNew .actionSecondary {
  background: #edf2f9;
  color: #1761af;
  border: 0;
  box-shadow: none;
}
.pqNew .primary:hover:not(:disabled) {
  background: #006be0;
  transform: none;
}
.pqNew :is(input, select, textarea) {
  color: var(--pq-ink);
  background: #f7f8fa;
  border: 1px solid #d9dfe8;
  border-radius: 10px;
}
.pqNew :is(input, select, textarea):focus {
  outline: 2px solid #087fff;
  outline-offset: 2px;
}
.pqNew input[type=checkbox] {
  accent-color: var(--pq-blue);
}
.pqNew .eyebrow {
  color: #64748b;
  font-size: 11px;
  letter-spacing: .09em;
}
.pqNew :is(.panel, .startCard, .entry, .resume, .createCollectionPicker, .launch) {
  background: #fff;
  border: 0;
  border-radius: 16px;
  box-shadow: none;
}
.pqNew .startPage {
  padding-top: 18px;
}
.pqNew .startIntro {
  margin-bottom: 24px;
}
.pqNew .startCardIcon {
  background: #eef5ff;
  color: #087fff;
  border: 0;
}
.pqNew .startCardSelector {
  border: 0;
  border-radius: 16px;
}
.pqNew .startCard.selectedAction {
  outline: 2px solid #087fff;
}
.pqNew .workspace {
  padding: 24px 0;
}
.pqNew .sectionTitle h1 {
  font-size: 30px;
}
.pqNew .contentPanel {
  min-height: 0;
}
.pqNew .collectionItem.chosen,
.pqNew .createCollectionChoice.chosen {
  background: #edf5ff;
  color: #006ce0;
  border-color: #087fff;
}
.pqNew .photoTile {
  border: 0;
  background: #f4f6fa;
  border-radius: 10px;
}
.pqNew .photoTile span {
  color: #0871e0;
}
.pqNew .uploadForm {
  border-color: #c6d2e4;
  background: #f7f9fc;
}
.pqNew .metadataHint,
.pqNew .count {
  color: #69778a;
}
.pqNew .activeFilter {
  background: #087fff !important;
  color: white !important;
}
.pqNew .masterTabs button.active {
  color: #087fff;
  background: #eaf3ff;
  border-color: #087fff;
}
.pqNew .tokenSetup {
  background: #f4f7fc;
  border-color: #e2e8f0;
}
.pqNew .tokenSetup legend {
  color: #305f97;
}
.pqNew :is(.qrModal, .scannerModal, .shareCollectionModal, .editPhotoModal, .tokenHelpCard, .timelineZoomModal) {
  font-family: inherit;
  background: #fff;
  color: var(--pq-ink);
  border: 0;
  border-radius: 18px;
  box-shadow: 0 12px 50px #0003;
}
.pqNew :is(.qrBackdrop, .scannerBackdrop, .shareCollectionBackdrop, .editPhotoBackdrop, .tokenHelpBackdrop) {
  background: #04121b99;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.pqNew [role=dialog] :is(h1, h2, h3) {
  font-family: inherit;
}
.pqNew .lightbox {
  background: #04111bf2;
}
.pqNew footer {
  border-color: #172c4810;
  color: #718097;
}
.pqNew:has(.pqDuel) {
  background: #051520;
  color: #f6f8fd;
  padding: 0 clamp(8px, 2.2vw, 32px);
}
.pqNew:has(.pqDuel) > .topbar {
  border-color: #ffffff12;
  height: 52px;
  min-height: 52px;
}
.pqNew:has(.pqDuel) .brand,
.pqNew:has(.pqDuel) .brand .lifeLineLife {
  color: #f5f7fd !important;
}
.pqNew:has(.pqDuel) .topRoomCode {
  background: transparent;
  color: #bfccdc;
  border: 0;
  min-height: 44px;
}
.pqNew:has(.pqDuel) .exitGame {
  background: transparent;
  color: #d1deee;
  border: 0;
  min-width: 44px;
  min-height: 44px;
}
.pqNew:has(.pqDuel) .gameTopActions {
  margin-left: auto;
}
.pqNew:has(.pqDuel) > footer {
  display: none;
}
.pqNew .pqDuel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px 0 16px;
  min-width: 0;
  flex: 1;
}
.pqNew .pqRoundHeading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 24px;
}
.pqNew .pqRoundHeading strong {
  font-size: 17px;
}
.pqNew .pqRoundHeading > span {
  color: #9aaabc;
  font-size: 12px;
  text-align: right;
}
.pqNew .pqDuelTop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(10px, 2.6vw, 40px);
  align-items: start;
  min-width: 0;
}
.pqNew .pqTeam {
  position: relative;
  border: 0;
  border-radius: 16px;
  padding: 16px;
  min-width: 0;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(
      135deg,
      #046bea,
      #0a294d);
}
.pqNew .pqTeam1 {
  background:
    linear-gradient(
      135deg,
      #d63708,
      #56231f);
}
.pqNew .pqTeamActive {
  outline: 1px solid #ffffff60;
  outline-offset: 2px;
}
.pqNew .pqTeam p {
  color: #e6edf8;
  font-size: 13px;
  margin: 0;
}
.pqNew .pqTeamHeading {
  display: flex;
  align-items: center;
  gap: 9px;
}
.pqNew .pqTeamHeading > svg {
  flex-shrink: 0;
}
.pqNew .pqTeamHeading h2 {
  font-size: 17px;
  line-height: 1.2;
  margin: 0;
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.pqNew .pqTeam > small {
  font-size: 10px;
  display: block;
  margin-top: 3px;
  color: #e0eaff;
}
.pqNew .pqIconButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: inherit;
  flex-shrink: 0;
  border-radius: 9px;
}
.pqNew .pqTeamScore {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 8px 0;
  color: #fff;
}
.pqNew .pqTeamScore strong {
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -1px;
  font-weight: 750;
}
.pqNew .pqTeamScore > span {
  font-size: 12px;
  opacity: .7;
}
.pqNew .pqTeamTokens {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0002;
  margin: 12px -16px -16px;
  padding: 9px 14px;
  min-height: 52px;
  flex-wrap: wrap;
}
.pqNew .pqTeamTokens > span {
  font-size: 13px;
}
.pqNew .pqTeamTokens .tokenArea {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.pqNew .pqTeamTokens .teamTokens,
.pqNew .pqTeamTokens .groupedTokenSummary {
  display: flex;
  gap: 7px;
  align-items: center;
  min-width: 0;
}
.pqNew .pqTeamTokens .tokenReserveButton {
  display: flex;
  gap: 7px;
  align-items: center;
  color: white;
  padding: 4px;
  background: transparent;
  min-height: 36px;
  border: 0;
}
.pqNew .pqTeamTokens .tokenReserveButton > strong {
  font-size: 15px;
}
.pqNew .pqTeamTokens .contestToken {
  height: 29px;
  width: 29px;
}
.pqNew .pqTeamTokens .challengeProgressCoin {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.pqNew .pqTeamTokens .challengeTokenReveal {
  background: #f3da58;
}
.pqNew .pqTeamTokens .challengeTokenReveal svg {
  stroke: #4c390a;
}
.pqNew .pqTeamDecision {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 25px;
}
.pqNew .pqJoker {
  margin-top: 24px;
  min-width: 100px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #f4d35d;
  border-radius: 10px;
  background: #0002;
  color: #f4d35d;
}
.pqNew .pqTeamWon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 22px !important;
}
.pqNew .pqPrimary,
.pqNew .pqSecondary {
  min-height: 44px;
  border: 0;
  border-radius: 11px;
  padding: 10px 16px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
}
.pqNew .pqPrimary {
  background: var(--pq-blue);
  color: white;
}
.pqNew .pqPrimary:hover:not(:disabled) {
  background: #006be0;
}
.pqNew .pqSecondary {
  background: #ffffff17;
  color: inherit;
}
.pqNew :is(.pqPrimary, .pqSecondary, .pqIconButton, .pqArrow, .pqGapTarget):focus-visible {
  outline: 2px solid #43a2ff;
  outline-offset: 3px;
}
.pqNew button:disabled {
  opacity: .45;
}
.pqNew .pqCurrent {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.pqNew .pqCurrentPhoto {
  width: 100%;
  height: clamp(200px, 31vw, 390px);
  background: transparent;
  border: 0;
  border-radius: 13px;
  position: relative;
  padding: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.pqNew .pqCurrentPhoto > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  min-height: 0;
}
.pqNew .pqCurrentPhoto > svg {
  position: absolute;
  bottom: 7px;
  right: 7px;
  background: #061322aa;
  color: #fff;
  border-radius: 5px;
  width: 26px;
  height: 26px;
  padding: 4px;
}
.pqNew .pqCurrent > .pqPrimary {
  width: 100%;
}
.pqNew .pqRevealInfo {
  width: 100%;
  text-align: center;
}
.pqNew .pqRevealInfo > button {
  border: 0;
  background: transparent;
  color: #fff;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.pqNew .pqRevealInfo strong {
  font-size: 26px;
  font-weight: 750;
}
.pqNew .pqRevealInfo span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  font-size: 13px;
}
.pqNew .pqRevealInfo p {
  font-size: 12px;
  color: #b8c7d8;
  margin: 4px 0;
  max-height: 60px;
  overflow-y: auto;
}
.pqNew .pqFinal {
  width: 100%;
  border-radius: 14px;
  background: #0e2535;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
}
.pqNew .pqFinal > svg {
  color: #f5d75f;
  align-self: center;
}
.pqNew .pqFinal h2 {
  font-size: 22px;
  margin: 0;
}
.pqNew .pqFinal p {
  color: #d4deea;
  margin: 0;
  font-size: 14px;
}
.pqNew .pqFinal small {
  font-size: 11px;
  color: #c4d0df;
}
.pqNew .pqFinalStats p {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
}
.pqNew .pqFinalStats span {
  font-size: 12px;
  color: #b8c7d8;
}
.pqNew .pqChoiceResult img {
  width: 36px;
  height: 38px;
  object-fit: contain;
  display: block;
}
.pqNew .pqTeamDecision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.pqNew .pqTeamDecision > p {
  grid-column: 1/-1;
}
.pqNew .pqTeamDecision button {
  min-width: 0;
  white-space: normal;
  overflow-wrap: normal;
  font-size: 13px;
  padding: 9px 7px;
}
.pqNew .pqTeamTokens .groupedTokenSummary .contestToken {
  margin: 0;
  min-width: 29px;
  min-height: 29px;
}
.pqNew .pqTimelinePanel {
  background: #f7f9fd;
  border-radius: 16px;
  color: #122640;
  padding: 12px 10px;
  min-width: 0;
}
.pqNew .pqTimelineHeading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 6px 8px;
}
.pqNew .pqTimelineHeading h2 {
  font-size: 13px;
  line-height: 1.3;
  margin: 0;
  font-weight: 650;
}
.pqNew .pqTimelineHeading > span {
  font-size: 12px;
  color: #60718b;
  text-align: right;
}
.pqNew .pqTimeline {
  display: flex;
  min-width: 0;
  align-items: stretch;
  position: relative;
}
.pqNew .pqTimelineTrack {
  display: flex;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
  scrollbar-width: thin;
  padding: 32px 6px 14px;
  position: relative;
  align-items: stretch;
  scroll-padding-inline: 45px;
}
.pqNew .pqTimelineStep {
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
  position: relative;
}
.pqNew .pqTimelinePhoto {
  width: clamp(88px, 10vw, 138px);
  flex-shrink: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pqNew .pqTimelinePhoto figcaption {
  font-size: 12px;
  color: #1c3554;
  font-weight: 600;
  text-align: center;
  margin-bottom: 5px;
  line-height: 16px;
}
.pqNew .pqTimelinePhoto > button {
  border: 0;
  background: #e2e9f2;
  padding: 0;
  position: relative;
  height: clamp(70px, 8vw, 112px);
  border-radius: 9px;
  overflow: hidden;
  display: block;
}
.pqNew .pqTimelinePhoto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pqNew .pqPhotoZoom {
  position: absolute;
  right: 4px;
  bottom: 4px;
  background: #0006;
  color: white;
  border-radius: 3px;
}
.pqNew .pqTimelinePhoto:after {
  content: "";
  width: 2px;
  height: 9px;
  background: #9cb1cf;
  position: absolute;
  bottom: -13px;
  left: 50%;
}
.pqNew .pqTimelineStep:after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 0;
  right: 0;
  height: 3px;
  background: #c7d4e6;
  pointer-events: none;
}
.pqNew .pqGap {
  position: relative;
  width: 44px;
  flex-shrink: 0;
  min-height: 90px;
  z-index: 1;
}
.pqNew .pqGapTarget {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7595bc;
  opacity: 1 !important;
}
.pqNew .pqGapTarget:disabled {
  cursor: default;
}
.pqNew .pqGapSelected .pqGapTarget {
  background: #087fff0b;
}
.pqNew .pqGapTick {
  height: 65%;
  width: 2px;
  background: transparent;
  position: absolute;
  bottom: 0;
  left: calc(50% - 1px);
}
.pqNew .pqGapSelected .pqGapTick {
  background:
    repeating-linear-gradient(
      to bottom,
      #087fff 0 5px,
      transparent 5px 9px);
}
.pqNew .pqGapHint {
  font-size: 20px;
  opacity: .5;
}
.pqNew .pqArrow {
  position: absolute;
  left: 0;
  top: -27px;
  width: 44px;
  height: 44px;
  padding: 5px 7px;
  z-index: 3;
  border: 0;
  border-radius: 7px;
  background: #f7f9fd;
  color: #087fff;
  touch-action: none;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}
.pqNew .pqArrow svg {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 2px #087fff22);
}
.pqNew .pqArrow[aria-disabled=true] {
  cursor: default;
  color: #4078ac;
}
.pqNew .pqArrowDragging {
  cursor: grabbing;
  background: #d9ecff;
}
.pqNew .pqScrollEnd {
  flex-shrink: 0;
  width: 54px;
  padding: 6px 2px;
  background: #eaf0f8;
  border: 0;
  border-radius: 10px;
  color: #173e72;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1.3;
}
.pqNew .pqScrollEnd svg {
  width: 20px;
}
.pqNew .pqGapMarker {
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 0;
  width: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  align-items: center;
  pointer-events: none;
}
.pqNew .pqChoiceResult {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px;
  font-size: 15px;
  background: #fff;
  border-radius: 6px;
  padding: 3px;
}
.pqNew .pqChoiceResult svg {
  width: 16px;
  height: 16px;
}
.pqNew .pqCorrect {
  color: #22a756;
  stroke-width: 3;
}
.pqNew .pqWrong {
  color: #e1444e;
  stroke-width: 3;
}
.pqNew .pqPhotoMarker {
  position: absolute;
  right: 4px;
  top: 4px;
  display: flex;
  gap: 3px;
  background: #fff;
  padding: 3px;
  border-radius: 5px;
}
.pqNew .pqPhotoMarker svg {
  width: 18px;
  height: 18px;
}
.pqNew .pqConfirmedChoice {
  font-size: 9px;
  line-height: 1.1;
  overflow-wrap: anywhere;
  max-width: 44px;
  text-align: center;
  color: #314e73;
  background: #e8eff9;
  border-radius: 4px;
  padding: 3px;
}
.pqNew .pqConfirmedChoice svg {
  margin: auto;
  display: block;
}
.pqNew .pqTimelineControls {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding: 10px 6px 0;
  min-height: 48px;
}
.pqNew .pqSelectionLabel {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #54667f;
  min-width: 130px;
}
.pqNew .pqTimelineControls .pqSecondary {
  background: #e5edf8;
  color: #1e598d;
}
.pqNew .pqTimelineBackdrop {
  position: fixed;
  inset: 0;
  z-index: 130;
  background: #00101dc4;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
}
.pqNew .pqTimelineExpanded {
  width: min(1100px, 100%);
  background: #f7f9fd;
  border-radius: 18px;
  padding: 18px;
  color: #122640;
  min-width: 0;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
}
.pqNew .pqTimelineExpanded > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pqNew .pqTimelineExpanded h2 {
  font-size: 18px;
  margin: 0;
}
.pqNew .pqTimelineExpanded .pqTimelinePhoto {
  width: 154px;
}
.pqNew .pqTimelineExpanded .pqTimelinePhoto > button {
  height: 125px;
}
.pqNew.pqSolo [data-pq=panel] fieldset {
  border-color: #d1ddeb;
}
.pqNew.pqSolo [data-pq=panel] ol li {
  background: #f0f5fc;
  color: #193b66;
}
.pqNew.pqSolo [data-pq=panel] button[aria-label^=Choisir] {
  background: #edf3fb;
  border-color: transparent;
}
.pqNew.pqSolo [data-pq=panel] button[aria-pressed=true] {
  border-color: #087fff;
  background: #dcecff;
}
.pqNew.pqSolo [data-pq=votes] {
  background: #f0f5fc;
  border-color: #d1dfef;
  color: #193b66;
}
.pqNew.pqSolo [data-pq=ranking] {
  color: #193b66;
}
.pqNew.pqSolo [data-pq=ranking] li {
  border-color: #d8e2ef;
}
.pqNew.pqSolo {
  color: var(--pq-ink);
  background: var(--pq-bg);
  height: auto !important;
  min-height: 100dvh;
  overflow: visible !important;
  padding-bottom: 16px;
}
.pqNew.pqSolo [data-pq=panel] :is(p, label, legend, small) {
  color: #415974;
}
.pqNew.pqSolo [data-pq=panel] :is(input:not([type=checkbox]), select) {
  color: #112139;
  background: #f7f8fa;
  border-color: #c7d5e6;
}
.pqNew.pqSolo [data-pq=panel] a {
  color: #0871df;
}
.pqNew.pqSolo [data-pq=actions] p {
  color: #415974;
}
.pqNew.pqSolo [data-pq=actions] li {
  color: #183450;
  border-color: #d8e2ef;
}
.pqNew.pqSolo [data-pq=actions] li small {
  color: #8d6610;
}
.pqNew.pqSolo [data-pq=actions] svg[aria-label] {
  filter: drop-shadow(0 1px 0 #835000);
}
.pqNew.pqSolo [data-pq=summary] > div {
  border-color: #d8e2ef;
}
.pqNew :is(.importReportModal, .deleteCollectionModal) {
  font-family: inherit;
  background: #fff;
  color: #15365f;
  border: 0;
  border-radius: 18px;
  box-shadow: none;
}
.pqNew .modalBackdrop {
  background: #04121b99;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.pqNew .importReportEntry {
  border-color: #e2e8f0;
  background: #f5f7fb;
}
.pqNew .pqTeamTokens .groupedTokenSummary > strong {
  font-size: 15px;
  white-space: nowrap;
  color: #fff;
}
.pqNew .pqTeamTokens .tokenArea {
  position: relative;
}
.pqNew .pqTeamTokens .teamTokens {
  height: auto;
}
.pqNew .pqTeamTokens .tokenInfoButton {
  flex-shrink: 0;
}
.pqNew .photoLightbox {
  background: #04111bf2;
}
.pqNew.pqSolo [data-pq=setup] {
  padding-top: 20px;
}
.pqNew.pqSolo [data-pq=panel] {
  background: #fff;
  border: 0;
  border-radius: 16px;
  box-shadow: none;
}
.pqNew.pqSolo [data-pq=board] {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pqNew.pqSolo [data-pq=heading] {
  margin: 8px 0;
}
.pqNew.pqSolo [data-pq=heading] h1 {
  font-size: 20px;
}
.pqNew.pqSolo [data-pq=players] {
  background: #e5edf7;
  border: 0;
  border-radius: 12px;
  padding: 6px;
  gap: 3px;
}
.pqNew.pqSolo [data-pq=player] {
  background: transparent;
  border: 0;
  border-right: 1px solid #ccd6e5;
  border-radius: 8px;
  color: #173c68;
  padding: 6px 10px;
}
.pqNew.pqSolo [data-pq=player][aria-pressed=true] {
  background: #087fff;
  color: #fff;
  box-shadow: inset 0 0 0 2px #c9e4ff;
}
.pqNew.pqSolo [data-pq=round] {
  gap: 12px;
}
.pqNew.pqSolo [data-pq=photo] {
  background: #051520;
  border: 0;
  border-radius: 15px;
  color: white;
  padding: 10px;
}
.pqNew.pqSolo [data-pq=photo] > h2 {
  font-size: 12px;
  color: #b8cbdf;
  margin: 0 0 6px;
  font-weight: 500;
}
.pqNew.pqSolo [data-pq=photo] > div > img {
  object-fit: contain;
}
.pqNew.pqSolo [data-pq=photo] > p {
  color: #fff;
}
.pqNew.pqSolo [data-pq=actions] {
  background: #fff;
  border: 0;
  border-radius: 15px;
  padding: 14px;
}
.pqNew.pqSolo [data-pq=actions] h2 {
  font-size: 18px;
}
.pqNew.pqSolo [data-pq=timeline-panel] {
  background: #fff;
  border: 0;
  border-radius: 16px;
  padding: 12px;
  min-width: 0;
}
.pqNew.pqSolo [data-pq=timeline-panel] > h2 {
  font-size: 13px;
  margin: 0 0 7px;
}
.pqNew.pqSolo [data-pq=timeline] {
  background: #f6f8fc;
  border-radius: 10px;
  padding: 10px 4px;
}
.pqNew.pqSolo [data-pq=card] {
  background: #eaf0f8;
  border: 0;
  border-radius: 10px;
}
.pqNew.pqSolo [data-pq=card] figcaption {
  background: #fff;
  color: #123458;
}
.pqNew.pqSolo [data-pq=interval] {
  border-color: #b3cae6;
  background: #e9f1fc;
  color: #087fff;
}
.pqNew.pqSolo [data-pq=overlay] {
  background: #051520b8;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.pqNew.pqSolo [data-pq=summary] {
  background: #fff;
  color: #15365f;
  border: 0;
  border-radius: 18px;
}
@media (orientation: landscape) and (max-height: 600px) {
  .pqNew .pqTeamDecision .pqPrimary > svg {
    display: none;
  }
  .pqNew.pqSolo {
    height: 100dvh !important;
    overflow-y: auto !important;
    display: flex;
    flex-direction: column;
  }
  .pqNew.pqSolo [data-pq=board] {
    display: grid;
    grid-template-rows: auto auto minmax(145px, 1fr) auto;
    flex: 1;
    min-height: 0;
    gap: 6px;
  }
  .pqNew.pqSolo [data-pq=round] {
    height: 100%;
    min-height: 145px;
  }
  .pqNew.pqSolo [data-pq=photo] > div > img {
    height: 100%;
    flex: 1 1 auto;
    min-height: 0;
  }
  .pqNew:has(.pqDuel) > .topbar {
    height: 42px;
    min-height: 42px;
  }
  .pqNew:has(.pqDuel) .brand {
    font-size: 21px;
  }
  .pqNew .pqDuel {
    gap: 6px;
    padding-top: 4px;
  }
  .pqNew .pqRoundHeading {
    min-height: 20px;
  }
  .pqNew .pqRoundHeading strong {
    font-size: 13px;
  }
  .pqNew .pqRoundHeading > span {
    font-size: 10px;
  }
  .pqNew .pqDuelTop {
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  }
  .pqNew .pqTeam {
    padding: 10px 12px;
    border-radius: 13px;
  }
  .pqNew .pqTeamHeading {
    gap: 5px;
  }
  .pqNew .pqTeamHeading h2 {
    font-size: 14px;
  }
  .pqNew .pqTeamHeading > svg {
    width: 20px;
  }
  .pqNew .pqTeamScore {
    margin: 3px 0;
  }
  .pqNew .pqTeamScore strong {
    font-size: 30px;
  }
  .pqNew .pqTeamTokens {
    margin: 5px -12px -10px;
    padding: 5px 8px;
    min-height: 43px;
    gap: 5px;
  }
  .pqNew .pqTeamTokens > span {
    font-size: 11px;
  }
  .pqNew .pqTeamDecision {
    margin-top: 17px;
    gap: 4px;
  }
  .pqNew .pqTeamWon,
  .pqNew .pqJoker {
    margin-top: 17px !important;
  }
  .pqNew .pqCurrentPhoto {
    height: max(112px, calc(100dvh - 265px));
    max-height: 260px;
  }
  .pqNew .pqCurrent {
    gap: 4px;
  }
  .pqNew .pqCurrent:has(.pqRevealInfo) .pqCurrentPhoto {
    height: max(95px, calc(100dvh - 310px));
  }
  .pqNew .pqPrimary,
  .pqNew .pqSecondary {
    padding: 8px 10px;
    font-size: 12px;
    min-height: 44px;
  }
  .pqNew .pqTimelinePanel {
    padding: 8px;
  }
  .pqNew .pqTimelineHeading {
    padding-bottom: 1px;
  }
  .pqNew .pqTimelinePhoto {
    width: 94px;
  }
  .pqNew .pqTimelinePhoto > button {
    height: 70px;
  }
  .pqNew .pqTimelineTrack {
    padding-top: 28px;
    padding-bottom: 13px;
  }
  .pqNew .pqTimelineControls {
    padding-top: 5px;
    min-height: 44px;
  }
  .pqNew .pqSelectionLabel {
    font-size: 11px;
  }
  .pqNew .pqRevealInfo strong {
    font-size: 20px;
  }
  .pqNew .pqRevealInfo span,
  .pqNew .pqRevealInfo p {
    font-size: 10px;
  }
  .pqNew .pqFinal {
    padding: 10px;
    gap: 5px;
  }
  .pqNew .pqFinal h2 {
    font-size: 16px;
  }
  .pqNew .pqFinal p {
    font-size: 11px;
  }
  .pqNew .pqFinalStats span {
    font-size: 10px;
  }
  .pqNew.pqSolo .topbar {
    height: 44px;
    min-height: 44px;
  }
  .pqNew.pqSolo [data-pq=heading] {
    margin: 4px 0;
  }
  .pqNew.pqSolo [data-pq=heading] h1 {
    font-size: 16px;
  }
  .pqNew.pqSolo [data-pq=players] {
    padding: 3px;
    max-height: 62px;
    overflow-y: auto;
  }
  .pqNew.pqSolo [data-pq=round] {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 8px;
  }
  .pqNew.pqSolo [data-pq=photo] > div > img {
    height: clamp(100px, calc(100dvh - 245px), 240px);
  }
  .pqNew.pqSolo [data-pq=actions] {
    padding: 9px;
  }
  .pqNew.pqSolo [data-pq=actions] h2 {
    font-size: 14px;
  }
  .pqNew.pqSolo [data-pq=timeline-panel] {
    padding: 8px;
  }
  .pqNew.pqSolo [data-pq=timeline] {
    padding: 6px 4px;
  }
}
@media (orientation: portrait) and (max-width: 700px) {
  .pqNew .pqTeamDecision {
    grid-template-columns: 1fr;
  }
  .pqNew {
    padding: 0 12px;
  }
  .pqNew .topbar {
    height: 58px;
    min-height: 58px;
    gap: 10px;
  }
  .pqNew .topHint {
    display: none;
  }
  .pqNew .brand {
    font-size: 24px;
  }
  .pqNew .workgrid {
    grid-template-columns: 1fr;
  }
  .pqNew .pqRoundHeading {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }
  .pqNew .pqDuelTop {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
  }
  .pqNew .pqCurrent {
    grid-column: 1/-1;
    grid-row: 1;
  }
  .pqNew .pqCurrentPhoto {
    height: clamp(220px, 36dvh, 400px);
  }
  .pqNew .pqTeam {
    padding: 10px 12px;
  }
  .pqNew .pqTeamHeading h2 {
    font-size: 14px;
  }
  .pqNew .pqTeamHeading > svg {
    display: none;
  }
  .pqNew .pqTeamScore {
    margin: 3px 0;
  }
  .pqNew .pqTeamScore strong {
    font-size: 28px;
  }
  .pqNew .pqTeamTokens {
    margin: 8px -12px -10px;
    padding: 6px 8px;
    gap: 3px;
    min-height: 46px;
  }
  .pqNew .pqTeamTokens > span {
    font-size: 11px;
  }
  .pqNew .pqTeamDecision {
    margin-top: 20px;
  }
  .pqNew .pqJoker {
    margin-top: 20px;
  }
  .pqNew .pqTimelineHeading {
    align-items: flex-start;
  }
  .pqNew .pqTimelineHeading > span {
    max-width: 45%;
  }
  .pqNew .pqTimelineControls {
    justify-content: stretch;
  }
  .pqNew .pqTimelineControls > .pqPrimary {
    flex: 1;
    min-width: 180px;
  }
  .pqNew .pqSelectionLabel {
    width: 100%;
    flex-basis: 100%;
  }
  .pqNew .pqScrollEnd {
    width: 38px;
    font-size: 10px;
  }
  .pqNew .pqTimelineExpanded {
    padding: 10px;
  }
  .pqNew .pqTimelineBackdrop {
    padding: 8px;
  }
  .pqNew.pqSolo [data-pq=round] {
    grid-template-columns: 1fr;
  }
  .pqNew.pqSolo [data-pq=photo] > div > img {
    height: clamp(220px, 35dvh, 400px);
  }
  .pqNew.pqSolo [data-pq=players] {
    max-height: 110px;
    overflow-y: auto;
  }
  .pqNew.pqSolo [data-pq=actions] {
    padding: 12px;
  }
}
@media (min-width: 1400px) {
  .pqNew .pqDuelTop {
    gap: 50px;
  }
  .pqNew .pqTeamHeading h2 {
    font-size: 24px;
  }
  .pqNew .pqTeamScore strong {
    font-size: 56px;
  }
  .pqNew .pqTeamTokens > span {
    font-size: 17px;
  }
  .pqNew .pqTimelinePhoto {
    width: 160px;
  }
  .pqNew .pqTimelinePhoto > button {
    height: 128px;
  }
  .pqNew .pqTimelinePhoto figcaption {
    font-size: 17px;
  }
  .pqNew .pqGap {
    width: 60px;
  }
  .pqNew .pqArrow {
    left: 8px;
  }
  .pqNew .pqScrollEnd {
    width: 70px;
    font-size: 16px;
  }
  .pqNew .pqPrimary,
  .pqNew .pqSecondary {
    font-size: 17px;
  }
  .pqNew .pqTimelineHeading h2,
  .pqNew .pqSelectionLabel {
    font-size: 17px;
  }
  .pqNew .pqCurrentPhoto {
    height: clamp(360px, 38dvh, 560px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .pqNew * {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
  }
}
.pqNew .pqDuel94 {
  gap: 8px;
  padding-top: 2px;
}
.pqNew .pqDuel94 .pqDuelTop {
  gap: 12px;
  align-items: center;
}
.pqNew .pqDuel94 .pqTeam,
.pqNew .pqDuel94 .pqContextAction {
  --pq-team:#398aff;
  --pq-team-ink:#075dbb;
  --pq-team-surface:#082d50;
  background: var(--pq-team-surface);
  border: 0;
  box-shadow: inset 0 0 0 1px #ffffff19;
  color: #fff;
}
.pqNew .pqDuel94 .pqTeam1 {
  --pq-team:#ffb62b;
  --pq-team-ink:#a33a05;
  --pq-team-surface:#382117;
}
.pqNew .pqDuel94 .pqTeam {
  padding: 4px 10px 8px;
  border-radius: 14px;
  outline: 0;
  min-width: 0;
}
.pqNew .pqDuel94 .pqTeamActive,
.pqNew .pqDuel94 .pqContextAction {
  box-shadow: inset 0 0 0 3px var(--pq-team);
}
.pqNew .pqDuel94 .pqTeamHeading {
  gap: 5px;
  min-height: 44px;
}
.pqNew .pqDuel94 .pqTeamHeading > svg {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.pqNew .pqDuel94 .pqTeamHeading h2 {
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: normal;
  margin: 0;
}
.pqNew .pqDuel94 .pqTeamHeading .pqIconButton {
  margin-left: auto;
  padding: 10px;
  width: 44px;
  height: 44px;
}
.pqNew .pqDuel94 .pqTeamMetrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: nowrap;
  min-width: 0;
}
.pqNew .pqDuel94 .pqTeamScore {
  justify-content: flex-start;
  gap: 4px;
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
}
.pqNew .pqDuel94 .pqTeamScore > svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.pqNew .pqDuel94 .pqTeamScore strong {
  font-size: 26px;
  letter-spacing: -.7px;
  line-height: 30px;
}
.pqNew .pqDuel94 .pqTeamScore > span {
  font-size: 12px;
  opacity: .7;
}
.pqNew .pqDuel94 .pqTeamTokens {
  background: transparent;
  padding: 0;
  margin: 0;
  min-height: 30px;
  gap: 0;
  flex-wrap: nowrap;
  flex-shrink: 0;
}
.pqNew .pqDuel94 .pqTeamTokens .tokenArea {
  gap: 8px;
  flex-wrap: nowrap;
}
.pqNew .pqDuel94 .pqTeamTokens .teamTokens {
  height: 30px;
  min-height: 0;
  gap: 0;
}
.pqNew .pqDuel94 .pqTeamTokens .groupedTokenSummary {
  gap: 4px;
  flex-wrap: nowrap;
}
.pqNew .pqDuel94 .pqTeamTokens .groupedTokenSummary > strong {
  font-size: 14px;
}
.pqNew .pqDuel94 .pqTeamTokens .groupedTokenSummary .contestToken {
  width: 26px;
  height: 26px;
  min-width: 26px;
  min-height: 26px;
  margin: 0;
  position: relative;
}
.pqNew .pqDuel94 .pqTeamTokens .challengeProgressCoin {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  position: relative;
}
.pqNew .pqDuel94 .pqTeamTokens .tokenInfoButton:after,
.pqNew .pqDuel94 .pqTeamTokens .challengeProgressCoin:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
}
.pqNew .pqDuel94 .pqJoker {
  margin: 8px 0 0 !important;
  min-width: 0;
  width: 100%;
  padding: 3px;
  min-height: 44px;
}
.pqNew .pqDuel94 .pqCurrent {
  gap: 3px;
}
.pqNew .pqDuel94 .pqCurrentPhoto {
  height: clamp(240px, 34vw, 460px);
  object-fit: contain;
}
.pqNew .pqDuel94 .pqRoundMeta {
  font-size: 10px;
  color: #9dafc3;
  line-height: 14px;
  text-align: center;
}
.pqNew .pqDuel94 .pqTimelinePanel {
  padding: 8px 8px 10px;
  border-radius: 16px;
}
.pqNew .pqDuel94 .pqTimelineHeading {
  justify-content: flex-start;
  gap: 6px;
  padding: 0 5px 1px;
  color: #096bd6;
}
.pqNew .pqDuel94 .pqOwner1 .pqTimelineHeading {
  color: #c34c07;
}
.pqNew .pqDuel94 .pqTimelineHeading h2 {
  font-size: 15px;
  color: inherit;
  line-height: 22px;
}
.pqNew .pqDuel94 .pqTimelineHeading > svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.pqNew .pqDuel94 .pqTimeline {
  --pq-position:#087fff;
}
.pqNew .pqDuel94 .pqOwner1 .pqTimeline,
.pqNew .pqDuel94 .pqTimelineExpanded .pqTimeline {
  --pq-position:#ed6b0b;
}
.pqNew .pqDuel94 .pqTimelineTrack {
  padding-top: 21px;
  padding-bottom: 14px;
}
.pqNew .pqDuel94 .pqScrollEnd {
  width: 38px;
  min-width: 38px;
  min-height: 44px;
  padding: 4px;
  gap: 0;
}
.pqNew .pqDuel94 .pqScrollEnd svg {
  width: 26px;
  height: 26px;
}
.pqNew .pqDuel94 .pqArrow {
  color: var(--pq-position);
  top: -20px;
  background: transparent;
  padding: 0;
  align-items: flex-start;
  height: 44px;
}
.pqNew .pqDuel94 .pqArrow svg {
  width: 34px;
  height: 40px;
  filter: none;
}
.pqNew .pqDuel94 .pqArrow svg circle {
  fill: #fff;
  stroke: #fff;
}
.pqNew .pqDuel94 .pqArrow[aria-disabled=true] {
  color: var(--pq-position);
}
.pqNew .pqDuel94 .pqArrowDragging {
  background: #e2edfa;
}
.pqNew .pqDuel94 .pqGapSelected .pqGapTick {
  height: 85%;
  background:
    repeating-linear-gradient(
      to bottom,
      var(--pq-position) 0 6px,
      transparent 6px 10px);
}
.pqNew .pqDuel94 .pqGapSelected .pqGapTarget {
  background: transparent;
}
.pqNew .pqDuel94 .pqContextAction {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  min-width: 0;
}
.pqNew .pqDuel94 .pqActionIdentity {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  min-width: 0;
  flex: 1;
}
.pqNew .pqDuel94 .pqActionIdentity > svg {
  flex-shrink: 0;
  margin-top: 1px;
}
.pqNew .pqDuel94 .pqActionIdentity > div {
  min-width: 0;
}
.pqNew .pqDuel94 .pqActionIdentity strong {
  font-size: 15px;
  line-height: 20px;
  display: block;
  overflow-wrap: anywhere;
}
.pqNew .pqDuel94 .pqActionIdentity p {
  color: #f0f4fa;
  font-size: 12px;
  line-height: 16px;
  margin: 1px 0 0;
}
.pqNew .pqDuel94 .pqActionIdentity small {
  font-size: 10px;
  line-height: 14px;
  color: #ced8e6;
  display: block;
}
.pqNew .pqDuel94 .pqActionCommands {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 60%;
  min-width: 0;
}
.pqNew .pqDuel94 .pqContextAction :is(.pqPrimary, .pqSecondary) {
  background: #fff;
  color: var(--pq-team-ink);
  min-height: 44px;
  padding: 9px 13px;
  white-space: normal;
  max-width: 100%;
  box-shadow: none;
  font-size: 13px;
}
.pqNew .pqDuel94 .pqContextAction :is(.pqPrimary, .pqSecondary):hover:not(:disabled) {
  background: #eef4fb;
}
.pqNew .pqDuel94 .pqTimelineExpanded .pqContextAction {
  margin-top: 8px;
}
.pqNew .pqDuel94 .pqTimelineExpanded h2 {
  display: flex;
  align-items: center;
  gap: 5px;
}
@media (orientation: portrait) and (max-width: 700px) {
  .pqNew .pqDuel94 .pqDuelTop {
    gap: 8px;
  }
  .pqNew .pqDuel94 .pqCurrentPhoto {
    height: clamp(240px, 38dvh, 460px);
  }
  .pqNew .pqDuel94 .pqTeam {
    padding: 2px 8px 8px;
  }
  .pqNew .pqDuel94 .pqTeamMetrics {
    gap: 4px;
  }
  .pqNew .pqDuel94 .pqTeamScore strong {
    font-size: 24px;
  }
  .pqNew .pqDuel94 .pqTeamScore > span {
    font-size: 11px;
  }
  .pqNew .pqDuel94 .pqTeamScore > svg {
    width: 18px;
    height: 18px;
  }
  .pqNew .pqDuel94 .pqTeamTokens .tokenArea {
    gap: 6px;
  }
  .pqNew .pqDuel94 .pqActionCommands {
    max-width: 57%;
  }
}
@media (max-width: 380px) {
  .pqNew .pqDuel94 .pqTeam {
    padding-inline: 6px;
  }
  .pqNew .pqDuel94 .pqTeamHeading h2 {
    font-size: 12px;
  }
  .pqNew .pqDuel94 .pqTeamHeading {
    gap: 3px;
  }
  .pqNew .pqDuel94 .pqTeamScore {
    gap: 2px;
  }
  .pqNew .pqDuel94 .pqTeamScore strong {
    font-size: 20px;
  }
  .pqNew .pqDuel94 .pqTeamScore > svg {
    width: 14px;
    height: 14px;
  }
  .pqNew .pqDuel94 .pqTeamScore > span {
    font-size: 10px;
  }
  .pqNew .pqDuel94 .pqTeamTokens .groupedTokenSummary > strong {
    font-size: 12px;
  }
  .pqNew .pqDuel94 .pqTeamTokens .challengeProgressCoin {
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
  }
  .pqNew .pqDuel94 .pqContextAction {
    gap: 5px;
    padding: 8px;
  }
  .pqNew .pqDuel94 .pqActionIdentity {
    gap: 4px;
  }
  .pqNew .pqDuel94 .pqActionIdentity > svg {
    width: 16px;
  }
  .pqNew .pqDuel94 .pqActionIdentity strong {
    font-size: 13px;
  }
  .pqNew .pqDuel94 .pqActionIdentity p {
    font-size: 11px;
  }
  .pqNew .pqDuel94 .pqContextAction :is(.pqPrimary, .pqSecondary) {
    font-size: 11px;
    padding: 8px;
  }
}
@media (orientation: landscape) and (max-height: 600px) {
  .pqNew .pqDuel94 {
    gap: 5px;
    padding-bottom: 8px;
  }
  .pqNew .pqDuel94 .pqDuelTop {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 10px;
  }
  .pqNew .pqDuel94 .pqCurrentPhoto {
    height: max(125px, calc(100dvh - 252px));
    max-height: 320px;
  }
  .pqNew .pqDuel94 .pqCurrent:has(.pqRevealInfo) .pqCurrentPhoto {
    height: max(110px, calc(100dvh - 292px));
  }
  .pqNew .pqDuel94 .pqTeamScore strong {
    font-size: 24px;
  }
  .pqNew .pqDuel94 .pqTeamHeading h2 {
    font-size: 13px;
  }
  .pqNew .pqDuel94 .pqTimelinePanel {
    padding: 5px 6px 9px;
  }
  .pqNew .pqDuel94 .pqTimelineTrack {
    padding-top: 21px;
  }
  .pqNew .pqDuel94 .pqContextAction {
    padding: 7px 10px;
    min-height: 58px;
  }
  .pqNew .pqDuel94 .pqActionIdentity p {
    font-size: 11px;
  }
}
@media (min-width: 1400px) {
  .pqNew .pqDuel94 .pqTeamHeading h2 {
    font-size: 21px;
  }
  .pqNew .pqDuel94 .pqTeamScore strong {
    font-size: 32px;
  }
  .pqNew .pqDuel94 .pqTeamTokens .groupedTokenSummary > strong {
    font-size: 17px;
  }
  .pqNew .pqDuel94 .pqActionIdentity strong {
    font-size: 20px;
  }
  .pqNew .pqDuel94 .pqActionIdentity p {
    font-size: 16px;
    line-height: 22px;
  }
  .pqNew .pqDuel94 .pqContextAction :is(.pqPrimary, .pqSecondary) {
    font-size: 17px;
  }
  .pqNew .pqDuel94 .pqCurrentPhoto {
    height: clamp(360px, 42dvh, 600px);
  }
}
.pqNew .pqTimelinePhoto figcaption > span {
  display: inline-block;
  white-space: nowrap;
}
.pqNew .pqGap:not(.pqGapSelected):not(.pqGapLocked) {
  width: 24px;
}
.pqNew .pqGapTarget {
  top: -4px;
}
.pqNew .pqGapHint {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  color: #F6B878;
  opacity: 1;
}
.pqNew .pqGapHint svg {
  width: 18px;
  height: 18px;
}
.pqNew .pqDuel94 .pqGapLocked .pqGapTick {
  height: 85%;
  background: var(--pq-position);
}
.pqNew .pqDuel94 .pqArrowLocked > svg circle {
  display: none;
}
.pqNew .pqDuel94 .pqArrowLocked > svg.pqPlacementLock {
  position: absolute;
  left: 16px;
  top: 9px;
  width: 12px;
  height: 12px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
}
.pqNew .pqDuel94 .pqTimelineExpanded .pqContextAction {
  margin-top: 0;
  margin-bottom: 8px;
}
.pqNew .pqDuel94 .pqContextAction {
  width: 100%;
  box-sizing: border-box;
  padding-block: 6px;
  min-height: 0;
  align-self: stretch;
}
.pqNew .pqDuel94 .pqContestActions .pqActionCommands {
  flex-wrap: nowrap;
  max-width: none;
  flex: 1;
  min-width: 0;
}
.pqNew .pqDuel94 .pqContestActions .pqActionIdentity {
  flex: 0 1 auto;
}
.pqNew .pqDuel94 .pqContestActions .pqActionCommands > button {
  flex: 1;
  min-width: 44px;
  white-space: nowrap;
  padding-inline: 8px;
}
.pqNew .pqDuel94 .pqRoundOutcome {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.pqNew .pqDuel94 .pqRoundOutcome > strong {
  font-size: 24px;
  white-space: nowrap;
  color: #fff;
}
.pqNew .pqDuel94 .pqRoundOutcome > p {
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
  color: #fff;
}
.pqNew .pqDuel94 .pqRoundResult .pqActionCommands {
  flex-shrink: 0;
  max-width: none;
}
.pqNew .pqDuel94 .pqArrow > svg.pqContestGlyph {
  fill: none;
  background: #fff2;
  border-radius: 50%;
  stroke: currentColor;
}
.pqNew .pqDuel94 .pqArrowLocked:has(.pqContestGlyph) > .pqPlacementLock {
  left: 25px;
  top: 26px;
  background: var(--pq-team-ink);
  border-radius: 3px;
}
.pqNew .pqDuel94 .pqGap.pqGapResult {
  width: 44px;
}
.pqNew .pqDuel94 .pqGapResult > .pqGapMarker {
  inset: 0;
  width: 100%;
  display: block;
}
.pqNew .pqDuel94 .pqResultChoice {
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: var(--pq-position);
  z-index: 4;
}
.pqNew .pqDuel94 .pqResultIcon {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 34px;
  height: 40px;
  display: block;
}
.pqNew .pqDuel94 .pqResultIcon > svg {
  width: 34px;
  height: 40px;
  stroke-width: 1.5;
}
.pqNew .pqDuel94 .pqResultIcon > svg circle {
  display: none;
}
.pqNew .pqDuel94 .pqResultIcon > svg.pqResultCross,
.pqNew .pqDuel94 .pqResultIcon > svg.pqResultCheck {
  position: absolute;
  inset: 4px 6px auto;
  width: 22px;
  height: 22px;
  stroke: #fff;
  stroke-width: 3.5;
  fill: none;
  filter: drop-shadow(0 1px 1px #26344b);
}
.pqNew .pqDuel94 .pqResultIcon > svg.pqResultCross {
  color: #EF4444;
  stroke: #EF4444;
  background: #fff;
  border-radius: 50%;
}
.pqNew .pqDuel94 .pqResultLine {
  position: absolute;
  bottom: 0;
  top: 20px;
  left: calc(50% - 1px);
  width: 2px;
  background: currentColor;
}
.pqNew .pqDuel94 .pqResultOnPhoto {
  left: 0;
  right: 0;
  bottom: -8px;
}
.pqNew .pqDuel94 .pqWonPreview {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  height: 80px;
  border: 0;
  background: #ffffff12;
  color: #fff;
  border-radius: 8px;
  padding: 4px;
  margin-block: 5px;
}
.pqNew .pqDuel94 .pqWonPreview img {
  height: 100%;
  max-width: 75%;
  width: auto;
  object-fit: contain;
}
.pqNew .pqDuel94 [data-transfer-target] > img {
  opacity: 0;
}
.pqNew .pqDuel94:has(.pqTimelineBackdrop) > .pqTimelinePanel {
  visibility: hidden;
}
@media (max-width: 700px) {
  .pqNew .pqDuel94 .pqContestActions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .pqNew .pqDuel94 .pqContestActions .pqActionIdentity > div {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .pqNew .pqDuel94 .pqContestActions .pqActionCommands {
    width: 100%;
    gap: 4px;
  }
  .pqNew .pqDuel94 .pqContestAux {
    flex: 0 0 44px !important;
    padding: 8px !important;
  }
  .pqNew .pqDuel94 .pqContestAuxText {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .pqNew .pqDuel94 .pqRoundOutcome {
    gap: 7px;
  }
  .pqNew .pqDuel94 .pqRoundOutcome > strong {
    font-size: 20px;
  }
  .pqNew .pqDuel94 .pqRoundOutcome > p {
    font-size: 12px;
  }
}
.pqNew .pqDuel94 .pqResultOnPhoto .pqResultIcon {
  top: calc(21px + (100% - 21px) / 2 - 20px);
}
.pqNew .pqDuel94 .pqResultOnPhoto .pqResultLine {
  top: calc(21px + (100% - 21px) / 2 + 20px);
}
.pqNew .pqDuel94 .pqResultIcon > svg.pqResultCheck {
  stroke: #22a756;
  background: #fff;
  border-radius: 50%;
}
.pqNew .pqDuel94 .pqTimelinePhoto {
  width: clamp(110px, 12.5vw, 172.5px);
}
.pqNew .pqDuel94 .pqTimelinePhoto > button {
  height: clamp(87.5px, 10vw, 140px);
}
.pqNew .pqDuel94 .pqGap,
.pqNew .pqDuel94 .pqGap:not(.pqGapSelected):not(.pqGapLocked),
.pqNew .pqDuel94 .pqGap.pqGapResult {
  width: 22px;
}
.pqNew .pqDuel94 .pqGapTarget {
  left: calc(50% - 22px);
  right: auto;
  width: 44px;
  z-index: 1;
}
.pqNew .pqDuel94 .pqGapTick {
  left: 21px;
}
.pqNew .pqDuel94 .pqArrow {
  left: calc(50% - 22px);
  width: 44px;
  justify-content: center;
}
.pqNew .pqDuel94 .pqArrow > svg {
  width: 20px;
  height: 28px;
}
.pqNew .pqDuel94 .pqArrowLocked > svg.pqPlacementLock {
  left: 17px;
  top: 6px;
  width: 10px;
  height: 10px;
}
.pqNew .pqDuel94 .pqArrowLocked:has(.pqContestGlyph) > svg.pqPlacementLock {
  left: 24px;
  top: 18px;
  width: 10px;
  height: 10px;
}
.pqNew .pqDuel94 .pqResultIcon {
  width: 20px;
  height: 28px;
  top: -20px;
}
.pqNew .pqDuel94 .pqResultIcon > svg {
  width: 20px;
  height: 28px;
}
.pqNew .pqDuel94 .pqResultIcon > svg.pqResultCross,
.pqNew .pqDuel94 .pqResultIcon > svg.pqResultCheck {
  inset: 4px 3px auto;
  width: 14px;
  height: 14px;
}
.pqNew .pqDuel94 .pqResultOnPhoto .pqResultIcon {
  top: calc(21px + (100% - 21px) / 2 - 14px);
}
.pqNew .pqDuel94 .pqResultOnPhoto .pqResultLine {
  top: calc(21px + (100% - 21px) / 2 + 14px);
}
.pqNew .pqDuel94 .pqStableAction.pqContextAction {
  height: 144px;
  min-height: 144px;
  max-height: 144px;
  padding: 8px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 4px;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}
.pqNew .pqDuel94 .pqStableAction .pqActionIdentity {
  width: 100%;
  align-self: center;
  min-width: 0;
}
.pqNew .pqDuel94 .pqStableAction .pqActionIdentity > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  min-width: 0;
}
.pqNew .pqDuel94 .pqStableAction .pqActionIdentity strong {
  font-size: 14px;
  line-height: 20px;
}
.pqNew .pqDuel94 .pqStableAction .pqActionIdentity p {
  font-size: 13px;
  line-height: 18px;
  margin: 0;
}
.pqNew .pqDuel94 .pqStableAction .pqActionCommands {
  width: 100%;
  max-width: none;
  flex-wrap: nowrap;
  gap: 6px;
  align-self: end;
  min-width: 0;
}
.pqNew .pqDuel94 .pqStableAction .pqActionCommands > button {
  flex: 1;
  min-width: 44px;
  min-height: 44px;
  max-height: 64px;
  font-size: 13px;
  line-height: 16px;
  padding: 8px;
  white-space: normal;
}
.pqNew .pqDuel94 .pqStableAction .pqRoundOutcome {
  align-self: center;
  gap: 10px;
}
.pqNew .pqDuel94 .pqStableAction .pqRoundOutcome > strong {
  font-size: 24px;
}
.pqNew .pqDuel94 .pqStableAction .pqRoundOutcome > p {
  font-size: 14px;
  line-height: 18px;
  overflow-wrap: anywhere;
}
.pqNew .pqDuel94 .pqActionChoice {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-size: 13px;
  line-height: 20px;
  color: #fff;
}
.pqNew .pqDuel94 .pqConfirmedGlyph {
  display: inline-flex;
  position: relative;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 26px;
  color: var(--pq-team);
  background: #fff;
  border-radius: 4px;
}
.pqNew .pqDuel94 .pqConfirmedGlyph > svg {
  width: 20px;
  height: 24px;
}
.pqNew .pqDuel94 .pqConfirmedGlyph > svg circle {
  display: none;
}
.pqNew .pqDuel94 .pqConfirmedGlyph > svg.pqPlacementLock {
  position: absolute;
  left: 7px;
  top: 5px;
  width: 10px;
  height: 10px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
}
.pqNew .pqDuel94 .pqConfirmedGlyph.pqContestConfirmed > svg.pqPlacementLock {
  left: 14px;
  top: 15px;
  background: var(--pq-team-ink);
  border-radius: 3px;
}
.pqNew .pqDuel94 .pqJokerPlaceholder {
  visibility: hidden;
  pointer-events: none;
  height: 44px;
  box-sizing: border-box;
}
.pqNew .pqDuel94 .pqTeamPreviewing > .pqTeamHeading,
.pqNew .pqDuel94 .pqTeamPreviewing > .pqTeamMetrics,
.pqNew .pqDuel94 .pqTeamPreviewing > .pqJoker {
  visibility: hidden;
}
.pqNew .pqDuel94 .pqWonPreview {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  margin: 0;
  justify-content: center;
  z-index: 2;
}
@media (orientation: landscape) and (max-height: 600px) {
  .pqNew .pqDuel94 .pqTimelinePhoto {
    width: 117.5px;
  }
  .pqNew .pqDuel94 .pqTimelinePhoto > button {
    height: 87.5px;
  }
  .pqNew .pqDuel94 .pqCurrent:has(.pqRevealInfo) .pqCurrentPhoto {
    height: max(125px, calc(100dvh - 252px));
    max-height: 320px;
  }
}
@media (min-width: 1400px) {
  .pqNew .pqDuel94 .pqTimelinePhoto {
    width: 200px;
  }
  .pqNew .pqDuel94 .pqTimelinePhoto > button {
    height: 160px;
  }
}
.pqNew .pqDuel94 .pqTimelineExpanded .pqTimelinePhoto {
  width: 192.5px;
}
.pqNew .pqDuel94 .pqTimelineExpanded .pqTimelinePhoto > button {
  height: 156.25px;
}
.pqNew .pqDuel94 .pqResultYear {
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0;
  min-width: 44px;
  min-height: 44px;
  flex-shrink: 0;
  font-size: 24px;
  line-height: 28px;
}
.pqNew .pqDuel94 .pqResultYear > strong {
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}
.pqNew .pqDuel94 .pqWonPreview > span {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 40%;
  gap: 3px;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 16px;
}
.pqNew .pqDuel94 .pqWonPreview img {
  max-width: 60%;
}
.pqNew .pqDuel94 {
  position: relative;
}
.pqNew .pqDuel94 > .pqJoinedContour {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 0;
}
.pqNew .pqDuel94 > .pqDuelTop,
.pqNew .pqDuel94 > .pqContextAction {
  position: relative;
  z-index: 1;
}
.pqNew .pqDuel94:has(> .pqJoinedContour) > .pqDuelTop > .pqTeamActive,
.pqNew .pqDuel94:has(> .pqJoinedContour) > .pqContextAction {
  background: transparent;
  box-shadow: none;
}
.pqNew .pqDuel94 .pqGap,
.pqNew .pqDuel94 .pqGap:not(.pqGapSelected):not(.pqGapLocked),
.pqNew .pqDuel94 .pqGap.pqGapResult {
  width: 10px;
}
.pqNew .pqDuel94 .pqGap.pqGapWithPhoto {
  width: auto;
}
.pqNew .pqDuel94 .pqPendingPhoto {
  z-index: 3;
  pointer-events: auto;
}
.pqNew .pqDuel94 .pqGapWithPhoto > .pqGapTarget {
  z-index: 1;
}
.pqNew .pqDuel94 .pqGapWithPhoto > .pqArrow {
  z-index: 8;
}
.pqNew .pqDuel94 .pqGapTick {
  height: 100%;
  z-index: 1;
}
.pqNew .pqDuel94 .pqGapTarget {
  z-index: 2;
}
.pqNew .pqDuel94 .pqGapHint {
  color: #FF7A00;
  z-index: 7;
  pointer-events: none;
}
.pqNew .pqDuel94 .pqGapHint svg {
  width: 36px;
  height: 36px;
}
.pqNew .pqDuel94 .pqArrow {
  width: 68px;
  height: 80px;
  z-index: 8;
}
.pqNew .pqDuel94 .pqArrow > svg,
.pqNew .pqDuel94 .pqResultIcon > svg {
  width: 68px;
  height: 80px;
}
.pqNew .pqDuel94 .pqArrowLocked > svg.pqPlacementLock {
  left: 24px;
  top: 14px;
  width: 20px;
  height: 20px;
}
.pqNew .pqDuel94 .pqArrowLocked:has(.pqContestGlyph) > svg.pqPlacementLock {
  left: 43px;
  top: 45px;
  width: 20px;
  height: 20px;
}
.pqNew .pqDuel94 .pqResultIcon {
  width: 68px;
  height: 80px;
  z-index: 8;
}
.pqNew .pqDuel94 .pqResultIcon > svg.pqResultCross,
.pqNew .pqDuel94 .pqResultIcon > svg.pqResultCheck {
  inset: 14px 17px auto;
  width: 34px;
  height: 34px;
}
.pqNew .pqDuel94 .pqResultOnPhoto .pqResultIcon {
  top: calc(21px + (100% - 21px) / 2 - 40px);
}
.pqNew .pqDuel94 .pqResultOnPhoto .pqResultLine {
  top: calc(21px + (100% - 21px) / 2 + 40px);
}
.pqNew .pqDuel94 .pqStageGlyph {
  display: inline-flex;
  flex-shrink: 0;
  width: 32px;
  height: 36px;
  color: var(--pq-team);
}
.pqNew .pqDuel94 .pqStageGlyph > svg {
  width: 32px;
  height: 36px;
}
.pqNew .pqDuel94 .pqStableAction .pqActionIdentity strong,
.pqNew .pqDuel94 .pqActionChoice {
  font-size: 16px;
  line-height: 20px;
}
.pqNew .pqDuel94 .pqStableAction .pqActionIdentity p {
  font-size: 15px;
  line-height: 18px;
}
.pqNew .pqDuel94 .pqStableAction .pqActionIdentity > div {
  flex-flow: row wrap;
  align-items: center;
  gap: 2px 12px;
}
.pqNew .pqDuel94 .pqConfirmedGlyph {
  width: 28px;
  height: 30px;
}
.pqNew .pqDuel94 .pqConfirmedGlyph > svg {
  width: 24px;
  height: 28px;
}
.pqNew .pqDuel94 .pqStableAction .pqRoundOutcome {
  gap: 8px;
  flex-basis: 100%;
  height: 28px;
}
.pqNew .pqDuel94 .pqStableAction .pqRoundOutcome > p {
  font-size: 15px;
  line-height: 18px;
}
.pqNew .pqDuel94 .pqPreviewReceiving {
  visibility: hidden;
}
@media (min-width: 700px) {
  .pqNew .pqDuel94 .pqStableAction.pqContextAction {
    grid-template-columns: minmax(0, 1fr) minmax(180px, .55fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 12px;
  }
  .pqNew .pqDuel94 .pqStableAction .pqActionCommands {
    align-self: center;
  }
}
.pqNew .pqDuel94 .pqTimelineStep {
  height: calc(clamp(87.5px, 10vw, 140px) + 21px);
}
@media (orientation: landscape) and (max-height: 600px) {
  .pqNew .pqDuel94 .pqTimelineStep {
    height: 108.5px;
  }
}
@media (min-width: 1400px) {
  .pqNew .pqDuel94 .pqTimelineStep {
    height: 181px;
  }
}
.pqNew .pqDuel94 .pqTimelineExpanded .pqTimelineStep {
  height: 177.25px;
}
.pqNew .pqDuel94 .pqGap.pqGapWithPhoto:not(.pqGapUnavailable) {
  width: auto;
}
.pqNew .pqDuel94 .pqTimelinePhoto > button {
  flex-shrink: 0;
}
.pqNew .pqDuel94 .pqStableAction .pqConfirmedGlyph {
  width: 24px;
  height: 24px;
}
.pqNew .pqDuel94 .pqStableAction .pqConfirmedGlyph > svg {
  width: 20px;
  height: 24px;
}
.pqNew .pqDuel94 .pqStableAction .pqConfirmedGlyph > svg.pqPlacementLock {
  width: 10px;
  height: 10px;
}
.pqNew .pqDuel94 .pqGapHint {
  width: 68px;
  height: 80px;
  align-items: flex-start;
}
.pqNew .pqDuel94 .pqGapHint > svg {
  width: 68px;
  height: 80px;
  stroke-width: 1.5;
}
.pqNew .pqDuel94 [data-choice-team="0"] {
  --pq-choice-team:#398aff;
}
.pqNew .pqDuel94 [data-choice-team="1"] {
  --pq-choice-team:#ffb62b;
}
.pqNew .pqDuel94 .pqArrowLocked[data-choice-team],
.pqNew .pqDuel94 .pqArrowLocked[data-choice-team][aria-disabled=true] {
  color: var(--pq-choice-team);
}
.pqNew .pqDuel94 .pqContestTokenGlyph {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 68px;
  height: 68px;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
  border: 2px solid var(--pq-choice-team) !important;
  pointer-events: none;
}
.pqNew .pqDuel94 .pqContestTokenGlyph > svg.pqContestGlyph {
  width: 36px !important;
  height: 36px !important;
  fill: none;
  background: transparent;
}
.pqNew .pqDuel94 .pqContestTokenGlyph.pqContestTokenConfirmed {
  background: var(--pq-choice-team) !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 2px #ffffff66;
}
.pqNew .pqDuel94 .pqContestTokenConfirmed > svg {
  color: #fff !important;
  stroke: #fff !important;
}
.pqNew .pqDuel94 .pqContestTokenGlyph > svg.pqContestTokenLock {
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 17px !important;
  height: 17px !important;
  fill: none;
  background: var(--pq-choice-team);
  border-radius: 4px;
}
.pqNew .pqDuel94 .pqConfirmedGlyph > .pqContestTokenGlyph {
  position: relative;
  inset: auto;
  width: 24px;
  height: 24px;
}
.pqNew .pqDuel94 .pqConfirmedGlyph .pqContestTokenGlyph > svg.pqContestGlyph {
  width: 15px !important;
  height: 15px !important;
}
.pqNew .pqDuel94 .pqConfirmedGlyph .pqContestTokenGlyph > svg.pqContestTokenLock {
  right: 0;
  bottom: 0;
  width: 8px !important;
  height: 8px !important;
}
.pqNew .pqDuel94 .pqResultChoice[data-choice-team] {
  color: var(--pq-choice-team);
}
.pqNew .pqDuel94 .pqStageGlyph > .pqContestTokenGlyph {
  position: relative;
  inset: auto;
  width: 32px;
  height: 32px;
}
.pqNew .pqDuel94 .pqStageGlyph .pqContestTokenGlyph > svg.pqContestGlyph {
  width: 18px !important;
  height: 18px !important;
}
.pqNew .pqDuel94 .pqTimelineTrack [data-placement-icon=true] {
  width: 34px;
  height: 40px;
}
.pqNew .pqDuel94 .pqTimelineTrack [data-placement-icon=true] > svg:not(.pqPlacementLock):not(.pqResultCross):not(.pqResultCheck) {
  width: 34px;
  height: 40px;
}
.pqNew .pqDuel94 .pqTimelineTrack .pqArrowLocked[data-placement-icon=true] > svg.pqPlacementLock {
  left: 12px;
  top: 7px;
  width: 10px;
  height: 10px;
}
.pqNew .pqDuel94 .pqTimelineTrack button.pqArrow[data-placement-icon=true]::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 80px;
}
.pqNew .pqDuel94 .pqTimelineTrack .pqResultIcon[data-placement-icon=true] > svg.pqResultCross,
.pqNew .pqDuel94 .pqTimelineTrack .pqResultIcon[data-placement-icon=true] > svg.pqResultCheck {
  inset: 7px 0 auto;
}
.pqNew .pqDuel94 .pqTimelineTrack .pqResultOnPhoto .pqResultIcon[data-placement-icon=true] {
  top: calc(21px + (100% - 21px) / 2 - 20px);
}
.pqNew .pqDuel94 .pqTimelineTrack [data-timeline-contest=true] {
  width: 34px;
  height: 40px;
}
.pqNew .pqDuel94 .pqTimelineTrack [data-timeline-contest=true] > svg.pqContestSelection {
  width: 34px;
  height: 40px;
  fill: none;
}
.pqNew .pqDuel94 .pqTimelineTrack [data-timeline-contest=true] > .pqContestTokenGlyph {
  width: 34px;
  height: 34px;
}
.pqNew .pqDuel94 .pqTimelineTrack [data-timeline-contest=true] .pqContestTokenGlyph > svg.pqContestGlyph {
  width: 18px !important;
  height: 18px !important;
}
.pqNew .pqDuel94 .pqTimelineTrack [data-timeline-contest=true] .pqContestTokenGlyph > svg.pqContestTokenLock {
  right: 1px;
  bottom: 1px;
  width: 9px !important;
  height: 9px !important;
}
.pqNew .pqDuel94 .pqTimelineTrack button.pqArrow[data-timeline-contest=true]::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 80px;
}
.pqNew .pqDuel94 .pqTimelineTrack .pqResultIcon[data-timeline-contest=true] > svg.pqResultCross,
.pqNew .pqDuel94 .pqTimelineTrack .pqResultIcon[data-timeline-contest=true] > svg.pqResultCheck {
  inset: 7px 0 auto;
}
.pqNew .pqDuel94 .pqTimelineTrack .pqResultOnPhoto .pqResultIcon[data-timeline-contest=true] {
  top: calc(21px + (100% - 21px) / 2 - 20px);
}
.pqNew .pqDuel94 .pqCompactAction.pqContextAction {
  height: var(--pq-action-height,112px);
  min-height: var(--pq-action-height,112px);
  max-height: var(--pq-action-height,112px);
  padding: 4px 8px;
  gap: 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: visible;
}
.pqNew .pqDuel94 .pqCompactAction .pqActionIdentity {
  grid-column: 1/-1;
  grid-row: 1;
}
.pqNew .pqDuel94 .pqCompactAction .pqActionIdentity > div {
  display: flex;
  flex-flow: row wrap;
  gap: 2px 8px;
  align-items: center;
}
.pqNew .pqDuel94 .pqCompactAction .pqActionIdentity .pqActionChoice {
  flex: 1 1 0;
  min-width: 0;
}
.pqNew .pqDuel94 .pqCompactAction .pqActionChoice > span:last-child {
  overflow-wrap: anywhere;
}
.pqNew .pqDuel94 .pqCompactAction .pqActionIdentity > div > p {
  flex: 1 1 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.pqNew .pqDuel94 .pqCompactAction .pqActionCommands {
  grid-column: 1/-1;
  grid-row: 2;
  align-self: center;
  gap: 4px;
}
.pqNew .pqDuel94 .pqCompactAction .pqActionCommands > button {
  padding: 4px 6px;
  min-height: 44px;
  max-height: none;
  font-size: 13px;
  line-height: 16px;
}
.pqNew .pqDuel94 .pqCompactAction.pqRoundResult .pqActionIdentity,
.pqNew .pqDuel94 .pqCompactAction.pqRoundResult .pqActionIdentity > div {
  display: contents;
}
.pqNew .pqDuel94 .pqCompactAction.pqRoundResult .pqActionChoice {
  grid-row: 1;
  align-self: center;
}
.pqNew .pqDuel94 .pqCompactAction.pqRoundResult .pqActionChoice:nth-child(1) {
  grid-column: 1;
}
.pqNew .pqDuel94 .pqCompactAction.pqRoundResult .pqActionChoice:nth-child(2) {
  grid-column: 2;
}
.pqNew .pqDuel94 .pqCompactAction.pqRoundResult .pqRoundOutcome {
  grid-column: 1;
  grid-row: 2;
  height: auto;
  min-height: 44px;
  gap: 4px;
  flex-basis: auto;
  min-width: 0;
}
.pqNew .pqDuel94 .pqCompactAction.pqRoundResult .pqRoundOutcome > p {
  min-width: 0;
  overflow-wrap: anywhere;
}
.pqNew .pqDuel94 .pqCompactAction.pqRoundResult .pqActionCommands {
  grid-column: 2;
}
.pqNew .pqDuel94 .pqActionMeasure.pqCompactAction.pqContextAction {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  grid-template-rows: auto auto;
}
@media (min-width: 700px) {
  .pqNew .pqDuel94 .pqCompactAction.pqContextAction {
    grid-template-columns: minmax(0, 1fr) minmax(180px, .4fr);
    grid-template-rows: minmax(0, 1fr);
  }
  .pqNew .pqDuel94 .pqCompactAction .pqActionIdentity {
    grid-column: 1;
    grid-row: 1;
  }
  .pqNew .pqDuel94 .pqCompactAction .pqActionCommands {
    grid-column: 2;
    grid-row: 1;
  }
  .pqNew .pqDuel94 .pqCompactAction.pqRoundResult .pqActionIdentity {
    display: flex;
  }
  .pqNew .pqDuel94 .pqCompactAction.pqRoundResult .pqActionIdentity > div {
    display: flex;
  }
  .pqNew .pqDuel94 .pqCompactAction.pqRoundResult .pqRoundOutcome {
    flex-basis: 100%;
  }
  .pqNew .pqDuel94 .pqCompactAction.pqRoundResult .pqActionChoice:nth-child(2) {
    grid-column: auto;
  }
  .pqNew .pqDuel94 .pqActionMeasure.pqCompactAction.pqContextAction {
    grid-template-rows: auto;
  }
}
.pqNew .pqDuel94 .pqContestReceptacle {
  position: absolute;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  box-sizing: border-box;
  border-radius: 50%;
  border: 0;
  color: var(--pq-choice-team,var(--pq-position));
}
.pqNew .pqDuel94 .pqContestReceptacle[data-choice-state=available] {
  background: color-mix(in srgb, currentColor 16%, transparent);
}
.pqNew .pqDuel94 .pqContestReceptacle > .pqContestWatermark {
  width: 18px;
  height: 18px;
  fill: none;
  opacity: .22;
  stroke-width: 2;
}
.pqNew .pqDuel94 .pqContestReceptacle > .pqContestTokenGlyph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0 !important;
  box-shadow: inset 0 0 0 2px #ffe37b;
  z-index: 1;
}
.pqNew .pqDuel94 .pqContestReceptacleConfirmed::after {
  content: "";
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  border: 2px solid currentColor;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
}
.pqNew .pqDuel94 .pqTimelineTrack .pqGap[data-contest-slot=true] .pqGapTick {
  background:
    repeating-linear-gradient(
      to bottom,
      var(--pq-choice-team) 0 5px,
      transparent 5px 9px);
}
.pqNew .pqDuel94 .pqTimelineTrack .pqGapLocked:has(.pqArrow[data-contest-indicator]) .pqGapTick {
  background: var(--pq-choice-team);
  height: 100%;
}
.pqNew .pqDuel94 .pqStageGlyph {
  position: relative;
}
.pqNew .pqDuel94 .pqStageGlyph > .pqContestReceptacle {
  position: relative;
  inset: auto;
  width: 32px;
  height: 32px;
}
.pqNew .pqDuel94 .pqConfirmedGlyph > .pqContestReceptacle {
  position: relative;
  inset: auto;
  width: 24px;
  height: 24px;
}
.pqNew .pqDuel94 .pqStageGlyph .pqContestReceptacle > .pqContestTokenGlyph > svg.pqContestGlyph {
  width: 18px !important;
  height: 18px !important;
}
.pqNew .pqDuel94 .pqConfirmedGlyph .pqContestReceptacle > .pqContestTokenGlyph > svg.pqContestGlyph {
  width: 15px !important;
  height: 15px !important;
}
.pqNew .pqDuel94 .pqConfirmedGlyph .pqContestReceptacle > .pqContestWatermark {
  width: 15px;
  height: 15px;
}
.pqNew .pqDuel94 .pqChoiceGuide {
  position: absolute;
  left: calc(50% - 1px);
  bottom: -2px;
  width: 2px;
  height: 4px;
  background:
    repeating-linear-gradient(
      to bottom,
      currentColor 0 1px,
      transparent 1px 2px);
  pointer-events: none;
  z-index: 0;
}
.pqNew .pqDuel94 .pqChoiceGuideSolid {
  background: currentColor;
}
.pqNew .pqDuel94 .pqTimelineTrack .pqResultIcon[data-placement-icon=true] > svg.pqPlacementLock {
  position: absolute;
  left: 12px;
  top: 7px;
  width: 10px;
  height: 10px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
}
.pqNew .pqDuel94 .pqContestReceptacle::before {
  content: "";
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  border: 2px dashed currentColor;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.pqNew .pqDuel94 .pqTeamChoiceSlot {
  height: 60px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  min-width: 0;
}
.pqNew .pqDuel94 .pqTeamChoice {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  width: 100%;
}
.pqNew .pqDuel94 .pqTeamInterval {
  font-size: 16px;
  font-weight: 700;
  line-height: 20px;
  overflow-wrap: anywhere;
  min-width: 0;
}
.pqNew .pqDuel94 .pqTeamChoiceGlyph {
  width: 34px;
  height: 40px;
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  flex-shrink: 0;
  color: var(--pq-choice-team);
}
.pqNew .pqDuel94 .pqPlacementReflection:not(.pqArrowLocked) {
  color: #FF7A00;
}
.pqNew .pqDuel94 .pqTeamChoiceGlyph > svg:not(.pqPlacementLock):not(.pqTeamChoiceCross) {
  width: 34px;
  height: 40px;
  stroke-width: 1.5;
}
.pqNew .pqDuel94 .pqTeamChoiceGlyph > svg.pqPlacementLock {
  position: absolute;
  left: 12px;
  top: 7px;
  width: 10px;
  height: 10px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
}
.pqNew .pqDuel94 .pqTeamChoiceGlyph > .pqContestReceptacle {
  width: 34px;
  height: 34px;
  position: absolute;
  inset: auto 0 0;
}
.pqNew .pqDuel94 .pqTeamChoiceGlyph > svg.pqTeamChoiceCross {
  position: absolute;
  left: 0;
  top: 7px;
  width: 34px;
  height: 34px;
  color: #EF4444;
  stroke: #EF4444;
  stroke-width: 3.5;
  background: #fff;
  border-radius: 50%;
  z-index: 2;
}
.pqNew .pqDuel94 .pqTeamPreviewing > .pqTeamHeading,
.pqNew .pqDuel94 .pqTeamPreviewing > .pqTeamMetrics {
  visibility: visible;
}
.pqNew .pqDuel94 .pqWonPreview {
  top: auto;
  bottom: 72px;
  height: 40px;
  inset-inline: 4px;
}
.pqNew .pqDuel94 .pqWonPreview > img {
  max-height: 40px;
}
.pqNew .pqDuel94 .pqBonusEarned {
  position: absolute;
  right: 8px;
  top: 2px;
  display: flex;
  gap: 3px;
  align-items: center;
  background: var(--pq-team-surface);
  border-radius: 6px;
  color: #fff;
  z-index: 4;
  pointer-events: none;
}
.pqNew .pqDuel94 .pqBonusEarned .contestToken {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
}
.pqNew .pqDuel94 .pqFinalAction.pqContextAction {
  height: var(--pq-action-height,72px);
  min-height: var(--pq-action-height,72px);
  max-height: var(--pq-action-height,72px);
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  padding: 4px 8px;
  gap: 8px;
}
.pqNew .pqDuel94 .pqFinalAction .pqActionIdentity {
  display: flex;
  flex: 1;
  min-width: 0;
}
.pqNew .pqDuel94 .pqFinalAction .pqActionIdentity:has(> div:empty) {
  display: none;
}
.pqNew .pqDuel94 .pqFinalAction .pqActionCommands {
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 4px;
  min-width: 0;
}
.pqNew .pqDuel94 .pqFinalAction .pqActionCommands > button {
  min-height: 44px;
  flex: 1;
  max-width: 360px;
}
.pqNew .pqDuel94 .pqFinalAction .pqActionIdentity > div {
  display: flex;
  min-width: 0;
}
.pqNew .pqDuel94 .pqFinalAction.pqRoundResult .pqActionIdentity,
.pqNew .pqDuel94 .pqFinalAction.pqRoundResult .pqActionIdentity > div {
  display: none;
}
.pqNew .pqDuel94 .pqFinalAction.pqNeutralAction {
  background: #152b3b;
  box-shadow: inset 0 0 0 1px #66798d;
  color: #fff;
}
.pqNew .pqDuel94 .pqFinalAction.pqNeutralAction .pqActionIdentity {
  display: none;
}
.pqNew .pqDuel94 .pqFinalAction.pqNeutralAction .pqActionCommands > button {
  flex: 0 1 auto;
  min-width: 180px;
}
.pqNew .pqDuel94 .pqActionMeasure.pqFinalAction.pqContextAction {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}
.pqNew .pqDuel94 .pqTimelineResultHeading {
  height: 23px;
  position: relative;
}
.pqNew .pqDuel94 .pqTimelineResult {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  font-size: 15px;
  line-height: 22px;
  color: #122640;
}
.pqNew .pqDuel94 .pqTimelineResult > strong {
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.pqNew .pqDuel94 .pqTimelineResult > svg {
  color: #b47d00;
  flex-shrink: 0;
}
.pqNew .pqDuel94 .pqTimelineYear {
  position: relative;
  background: transparent;
  border: 0;
  padding: 0;
  font-size: 16px;
  font-weight: 700;
  color: inherit;
  line-height: 22px;
}
.pqNew .pqDuel94 .pqTimelineYear:after {
  content: "";
  position: absolute;
  inset: -11px -6px;
}
.pqNew .pqDuel94 .pqPlacementReflection[data-choice-state=chosen]:not(.pqArrowLocked) {
  color: #087fff;
}
.pqNew .pqDuel94 .pqTeam1 .pqPlacementReflection[data-choice-state=chosen]:not(.pqArrowLocked) {
  color: #ed6b0b;
}
.pqNew .pqDuel94 .pqPlacementReflection[data-choice-state=chosen] > svg circle {
  fill: #fff;
  stroke: #fff;
}
.pqNew .pqDuel94 .pqPlacementReflection.pqArrowLocked > svg circle {
  display: none;
}
.pqNew .pqDuel94 .pqBonusImmediate {
  position: absolute;
  right: 8px;
  bottom: 84px;
  display: flex;
  gap: 3px;
  align-items: center;
  background: var(--pq-team-surface);
  color: #fff;
  border-radius: 6px;
  pointer-events: none;
  z-index: 5;
}
.pqNew .pqDuel94 .pqBonusImmediate .contestToken {
  width: 24px;
  height: 24px;
  min-width: 24px;
  min-height: 24px;
}
.pqNew .pqDuel94 .pqPreviewBonus {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-shrink: 0;
  gap: 3px;
  white-space: nowrap;
}

/* game/integration.css */
.brandIcon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}
.room-name {
  margin-left: auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}
.topbar .outline {
  font-size: 13px;
  min-height: 40px;
  padding: 7px;
}
.lobby-columns {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
  gap: 16px;
}
.game-lobby {
  max-width: 1100px;
}
.game-lobby h1 {
  font-size: 30px;
  margin: 16px 0;
}
.identity {
  margin: 12px 0;
}
.identity fieldset {
  margin: 12px 0;
  border: 1px solid #c7d5e6;
  border-radius: 10px;
}
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
  max-height: 210px;
  overflow: auto;
  gap: 5px;
}
.icon-grid button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #eef3f6;
  font-size: 24px;
}
.icon-grid button[aria-pressed=true] {
  border: 2px solid #087fff;
  background: #dcecff;
}
.team-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.team-choice input {
  width: 22px;
  min-height: 22px;
  margin: 0;
}
.invitation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.room-code {
  font-size: 32px;
  letter-spacing: 4px;
}
.qr-button {
  border: 0;
  background: transparent;
  padding: 0;
}
.qr-button img {
  display: block;
  width: 176px;
  height: 176px;
}
.roster-detail,
.game-management {
  margin: 8px 0;
  color: #172c48;
  background: #f5f7fa;
  border-radius: 8px;
  padding: 8px;
  font-size: 14px;
}
.roster-detail summary,
.game-management summary {
  cursor: pointer;
  min-height: 36px;
  padding: 8px;
}
.roster-detail ul {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
  padding: 8px;
}
.offline {
  opacity: .45;
}
.game-management form {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px;
  margin-block: 10px;
}
.game-management label {
  margin-block: 8px;
}
.game-management input,
.game-management select {
  width: auto;
  min-height: 44px;
  font: inherit;
  border: 1px solid #c7d5e6;
  border-radius: 8px;
  background: white;
  padding: 6px;
}
.game-management button {
  min-height: 44px;
  margin: 4px;
}
.tie-board {
  max-width: 700px;
  margin: auto;
  width: 100%;
  padding: 14px;
  border: 1px solid #b8c7d6;
  border-radius: 12px;
  background: white;
}
.tie-board h1 {
  font-size: 24px;
}
.tie-board img {
  width: 100%;
  height: clamp(180px, 40svh, 400px);
  object-fit: contain;
  background: #dce8f0;
}
.tie-board button {
  margin: 6px;
}
.game-management > button,
.roster-detail button {
  font: inherit;
}
.shell .alert {
  font-size: 14px;
  margin: 6px 0;
  padding: 8px;
}
.tie-board form {
  max-width: 400px;
}
.room-code:focus-visible {
  outline: 3px solid #087fff;
}
@media (max-width: 600px) {
  .lobby-columns {
    grid-template-columns: 1fr;
  }
  .topbar {
    gap: 8px;
  }
  .room-name {
    max-width: 30vw;
  }
  .game-lobby .panel {
    padding: 12px;
  }
  .game-lobby {
    padding: 8px;
  }
  .game-management form {
    flex-direction: column;
    align-items: stretch;
  }
}
.room-mode {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-block: 8px;
}
.room-mode img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.game-lobby {
  background: #F3F6FB;
  color: #172C48;
}
.game-lobby h1,
.game-lobby h2 {
  font-family: system-ui, sans-serif;
}
.game-lobby .topbar .brandIcon {
  overflow: visible;
  background: transparent;
}
.game-lobby .topbar .brandIcon img {
  border-radius: 0;
}
.game-lobby .brand > span:last-child > span:first-child {
  color: #C45114;
}
.game-lobby .brand > span:last-child > span:last-child {
  color: #235DB8;
}
.game-lobby .panel {
  background: white;
  border-color: #CAD5E5;
  border-radius: 16px;
}
.game-lobby .primary {
  background: #235DB8;
  border-color: #235DB8;
}
.game-lobby .outline {
  color: #235DB8;
  border-color: #CAD5E5;
}
.game-lobby input,
.game-lobby select {
  accent-color: #235DB8;
}
.game-lobby .room-mode img {
  width: 64px;
  height: 64px;
  background: transparent;
}
.game-lobby .icon-grid button[aria-pressed=true] {
  border-color: #235DB8;
  background: #E5EEFC;
}
.game-lobby button:focus-visible,
.game-lobby input:focus-visible {
  outline: 3px solid #C45114;
}
.game-lobby .team-counts {
  font-size: 17px;
}
.game-lobby .lobby-columns {
  gap: 12px;
}
.game-lobby .room-code {
  color: #235DB8;
}
.party-stop {
  display: flex;
  gap: 8px;
  margin: 12px 0;
}
.stop-dialog {
  border: 1px solid #CAD5E5;
  border-radius: 14px;
  padding: 18px;
  max-width: 450px;
  width: calc(100% - 24px);
  max-height: 90dvh;
  overflow: auto;
  background: white;
  color: #172C48;
}
.stop-dialog::backdrop {
  background: #172c4866;
}
.stop-dialog button {
  margin: 4px;
  min-height: 44px;
}
.stop-dialog h2 {
  font-size: 22px;
}
.modern-header {
  height: auto;
  min-height: 64px;
  justify-content: space-between;
  border-bottom: 0;
}
.modern-header .brand {
  font-size: 25px;
  gap: 6px;
  white-space: nowrap;
}
.modern-header .brandIcon {
  width: 42px;
  height: 46px;
  overflow: visible;
  background: transparent;
}
.modern-header .brandIcon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}
.modern-header .brand > span:last-child > span:first-child {
  color: #C45114;
}
.modern-header .brand > span:last-child > span:last-child {
  color: #235DB8;
}
.header-return {
  color: #235DB8;
  font-size: 14px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.game-secondary {
  width: min(900px, 100%);
  background: #F3F6FB;
  color: #172C48;
}
.game-secondary h1 {
  font-size: clamp(27px, 5vw, 38px);
}
.game-secondary h2 {
  font-size: 23px;
}
.game-secondary > .alert {
  margin: 12px 0;
}
.game-secondary > p {
  color: #566781;
}
.game-secondary > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-right: 12px;
  color: #235DB8;
}
.game-secondary ol {
  padding: 15px 35px;
  border: 1px solid #CAD5E5;
  background: white;
  border-radius: 14px;
}
.tie-board {
  background: white;
  border-color: #CAD5E5;
  padding: 18px;
  border-radius: 16px;
}
.tie-board button.primary {
  background: #235DB8;
  color: white;
}
.player-entry {
  text-align: center;
  max-width: 680px;
  margin: 10px auto 0;
}
.player-entry .eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  font-weight: 750;
  color: #235DB8;
  margin: 0 0 10px;
}
.player-entry h1 {
  font-size: clamp(27px, 5vw, 40px);
  margin: 0;
}
.join-art {
  display: block;
  width: min(100%, 390px);
  height: 170px;
  object-fit: contain;
  margin: 12px auto;
}
.join-lead {
  font-size: 16px;
  color: #566781;
}
.join-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  text-align: center;
}
.join-tile {
  min-width: 0;
  border: 1px solid #CAD5E5;
  border-radius: 17px;
  background: white;
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.join-ticket {
  font-size: 47px;
  line-height: 1;
  color: #C45114;
  font-weight: 800;
}
.join-tile label {
  width: 100%;
  font-size: 14px;
  font-weight: 700;
  color: #172C48;
}
.join-tile input {
  width: 100%;
  min-width: 0;
  letter-spacing: .1em;
  text-align: center;
  font-size: 21px;
  margin: 9px 0 4px;
  background: #F8FAFE;
  color: #172C48;
}
.join-tile .primary {
  width: 100%;
  background: #235DB8;
  color: white;
  border-color: #235DB8;
  min-height: 44px;
}
.qr-scan {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
  border: 0;
  background: none;
  color: #235DB8;
  padding: 8px;
  min-height: 150px;
}
.qr-scan svg {
  width: 90px;
  height: 90px;
}
.qr-scan strong {
  font-size: 17px;
}
.qr-scan:focus-visible {
  outline: 3px solid #C45114;
}
.qr-tile p {
  font-size: 12px;
  color: #566781;
  margin: 0;
}
.join-camera {
  padding: 10px;
  margin-top: 12px;
  border: 1px solid #CAD5E5;
  border-radius: 14px;
  background: white;
}
.join-camera video {
  display: block;
  width: 100%;
  max-height: 300px;
  border-radius: 10px;
}
.join-camera p {
  font-size: 13px;
  margin: 8px 0 0;
}
@media (max-width: 359px) {
  .modern-header .brand {
    font-size: 22px;
  }
  .join-choices {
    gap: 8px;
  }
  .join-tile {
    padding: 12px 7px;
  }
  .join-tile label {
    font-size: 12px;
  }
  .qr-scan strong {
    font-size: 15px;
  }
  .qr-scan svg {
    width: 78px;
    height: 78px;
  }
  .join-art {
    height: 140px;
  }
}
.stopped-room .modern-header {
  display: flex;
  align-items: center;
  padding: 12px 0;
}
.stopped-room .panel {
  margin: 24px auto;
  width: min(100%, 640px);
  text-align: center;
}
.stopped-room h1 {
  font-size: clamp(26px, 5vw, 38px);
}
.stop-exits {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.stop-exits button {
  border: 1px solid #CAD5E5;
  border-radius: 9px;
  background: white;
  color: #235DB8;
  padding: 12px 20px;
  min-height: 47px;
}
.stop-exits .primary {
  background: #235DB8;
  border-color: #235DB8;
  text-decoration: none;
}
.tv-share-backdrop {
  position: fixed;
  inset: 0;
  background: #172c4880;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 15px;
}
.tv-share {
  background: white;
  border: 1px solid #cad5e5;
  border-radius: 16px;
  padding: 20px;
  width: min(540px, 95vw);
  max-height: 90dvh;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tv-share input {
  width: 100%;
  font-size: 14px;
}
.tv-share img {
  align-self: center;
}
.tv-share p {
  font-size: 14px;
}
.tv-share .primary {
  padding: 12px;
  text-align: center;
}
.projection-home {
  display: inline-block;
  margin: 10px 0;
  padding: 10px 15px;
  color: #235db8;
  font-weight: 700;
  border: 1px solid #cad5e5;
  border-radius: 10px;
  text-decoration: none;
}
.tv-decision {
  max-width: min(94vw, 600px);
  max-height: 85dvh;
  overflow: auto;
  border: 1px solid #cad5e5;
  border-radius: 14px;
  padding: 20px;
}
.tv-decision > div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tv-decision::backdrop {
  background: #172c4866;
}
.tv-share .tv-guide-art {
  display: block;
  width: min(100%, 300px);
  height: 135px;
  object-fit: contain;
  margin: 0 auto;
}
.tv-share .row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tv-share .row button {
  flex: 1;
}
.tv-share {
  max-height: 90dvh;
  overflow: auto;
}
.deletion-progress progress {
  width: 100%;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
.game-lobby :is(input, select, textarea),
.game-secondary :is(input, select, textarea) {
  font-size: 16px !important;
}
#game-root > main {
  max-width: 100%;
  box-sizing: border-box;
}
.round-photo-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #e5eefc;
  color: #172c48;
  font-weight: 650;
  z-index: 8;
  text-align: center;
  padding: 12px;
}
#game-root img[hidden] {
  display: none !important;
}
.game-exit-dialog h2 {
  font-size: clamp(21px, 4vw, 27px);
  line-height: 1.2;
  margin: 0 0 16px;
  color: #172c48;
}
.game-exit-dialog .game-exit-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.game-exit-options button {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  text-align: left;
  min-height: 78px;
  padding: 12px;
  border: 1px solid #cad5e5;
  border-radius: 12px;
  background: white;
  color: #172c48;
}
.game-exit-options .continue-game {
  border: 2px solid #235db8;
  background: #e5eefc;
}
.game-exit-options strong {
  display: block;
  font-size: 18px;
  line-height: 1.2;
}
.game-exit-options small {
  display: block;
  font-size: 14px;
  line-height: 1.3;
  color: #566781;
  margin-top: 5px;
}
.game-exit-options [data-exit=finish] {
  color: #934015;
}
.exit-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  color: #235db8;
}
.exit-icon > svg {
  width: 32px;
  height: 32px;
}
.exit-icon .nav-icon {
  width: 36px;
  height: 36px;
  position: relative;
  display: block;
  overflow: hidden;
}
.exit-icon .nav-icon.logo img {
  position: absolute;
  width: 139.333%;
  max-width: none;
  height: auto;
  left: -20%;
  top: -21.111%;
}
.game-exit-options button:focus-visible {
  outline: 3px solid #235db8;
  outline-offset: 3px;
}
.delete-progress {
  border: 0;
  border-radius: 18px;
  padding: 20px;
  width: min(360px, calc(100vw - 32px));
  box-shadow: 0 12px 40px #0005;
  background: #fff;
  color: #172c48;
  font-family: inherit;
}
.delete-progress::backdrop {
  background: #0b172980;
}
.delete-progress h2 {
  margin: 0 0 10px;
  font-size: 19px;
}
.delete-progress-count {
  margin: 0 0 8px;
  font-weight: 800;
}
.delete-progress-bar {
  height: 10px;
  border-radius: 5px;
  background: #e6edf7;
  overflow: hidden;
}
.delete-progress-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: #186bd0;
  transition: width .3s;
}
.delete-progress-name {
  margin: 8px 0 0;
  color: #5b6b82;
  font-weight: 700;
  min-height: 1.3em;
  overflow-wrap: anywhere;
}
.delete-progress-failures {
  margin: 10px 0;
  padding-left: 18px;
  color: #b3261e;
  font-weight: 700;
}
.delete-progress-failures .delete-progress-head {
  list-style: none;
  margin-left: -18px;
  color: #172c48;
}
.delete-progress button {
  width: 100%;
  margin-top: 6px;
}
html[data-theme=dark] .delete-progress {
  background: #1c2a40;
  color: #f2f5fa;
}
html[data-theme=dark] .delete-progress-failures .delete-progress-head {
  color: #f2f5fa;
}
html[data-theme=dark] .delete-progress-bar {
  background: #33465f;
}
.pq-quit-choices {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pq-quit-box .pq-return-link {
  width: 100%;
  margin: 0 0 10px;
}
.final-brief {
  margin: 8px auto 22px;
  width: min(100%, 420px);
}
.final-brief ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.final-brief li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 9px 14px;
  border-radius: 10px;
  background: #F3F6FB;
  text-align: left;
}
.final-brief li.mine {
  outline: 2px solid #235DB8;
}
.final-brief em {
  font-style: normal;
  color: #596B83;
}
.final-brief b {
  color: #235DB8;
}
.final-brief p {
  font-weight: 700;
  margin: 12px 0 0;
}
.final-brief ol.duel li {
  grid-template-columns: 1fr auto;
}
.pq-my-games {
  width: 100%;
  max-width: 520px;
  margin: 0 auto 14px;
  text-align: left;
}
.pq-my-games h2 {
  font-size: 18px;
  margin: 0 0 8px;
}
.pq-my-games ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.pq-my-games li > button {
  width: 100%;
  display: grid;
  gap: 2px;
  text-align: left;
  padding: 11px 14px;
  border: 1px solid #CAD5E5;
  border-radius: 12px;
  background: #fff;
  color: #172C48;
  font: inherit;
  cursor: pointer;
}
.pq-my-games li span {
  font-size: 13px;
  color: #596B83;
}
.pq-my-games .pq-my-games-me {
  color: #235DB8;
  font-weight: 650;
}
.pq-my-games-dialog {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #0f1b2d99;
  display: grid;
  place-items: center;
  padding: 16px;
}
.pq-my-games-dialog > div {
  background: #fff;
  color: #172C48;
  border-radius: 16px;
  padding: 20px;
  width: min(100%, 360px);
  display: grid;
  gap: 10px;
  text-align: center;
}
.pq-my-games-dialog h3 {
  margin: 0;
}
.pq-my-games-dialog canvas {
  margin: 0 auto;
  max-width: 100%;
}
.pq-my-games-dialog button {
  min-height: 44px;
  border-radius: 10px;
}
html[data-theme=dark] .pq-my-games li > button,
html[data-theme=dark] .pq-my-games-dialog > div {
  background: #16253b !important;
  color: #eef3fa !important;
  border-color: #2c3f5a !important;
}
.pq-consent {
  text-align: left;
  display: grid;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}
.pq-consent h2 {
  text-align: center;
}
.pq-consent p {
  margin: 0;
}
.pq-consent-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 600;
}
.pq-consent-check input {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 1px;
}

/* game/cps/cps-v2.css */
.demo-tools {
  max-width: 1250px;
  margin: 12px auto 6px;
  padding: 0 12px;
  display: flex;
  align-items: end;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
}
.demo-tools > strong {
  color: #566781;
  flex: 1;
  min-width: 150px;
  align-self: center;
}
.demo-tools label {
  display: grid;
  gap: 3px;
}
.demo-tools button {
  font-size: 12px;
}
.cps-v2.shell {
  width: calc(100% - 24px);
  max-width: 1250px;
  margin: auto;
  padding: 0 0 12px;
  background: transparent;
  color: #172C48;
  min-height: 0;
}
.cps-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 60px;
}
.cps-brand a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 25px;
  letter-spacing: -1px;
  color: #235DB8;
}
.cps-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.cps-brand b span {
  color: #C45114;
}
.cps-brand > span {
  font-size: 12px;
  color: #566781;
}
.cps-notice {
  font-size: 12px;
  color: #566781;
  margin: 3px 0 9px;
}
.cps-v2 [data-pq=board] {
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  --timeline-height:156px;
}
.cps-v2 [data-pq=heading] {
  margin: 0;
  grid-row: 1;
}
.cps-v2 [data-pq=heading] h1 {
  font: 750 23px/1.15 system-ui;
  color: #172C48;
}
.cps-v2 [data-pq=heading] > span {
  font-size: 12px;
  color: #566781;
}
.cps-v2 [data-pq=players] {
  grid-row: 2;
  background: white;
  border: 1px solid #CAD5E5;
  border-radius: 14px;
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}
.cps-v2 [data-pq=player] {
  min-width: 0;
  min-height: 58px;
  padding: 5px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: white;
  color: #172C48;
  box-shadow: none;
  border: 1px solid transparent;
  border-radius: 10px;
}
.cps-v2 [data-pq=player] > strong {
  font-size: 13px;
}
.cps-v2 [data-pq=player] > span:first-child {
  font-size: 21px;
}
.cps-v2 [data-pq=player] > span:last-of-type {
  font: 750 16px system-ui;
  color: #235DB8;
}
.cps-v2 [data-pq=player] > small {
  font-size: 10px;
  color: #566781;
}
.cps-v2 [data-pq=player]:has(strong) {
  background: #F3F6FB;
}
.cps-v2 [data-pq=player][style*=--owner] {
  box-shadow: none;
  color: #172C48;
}
.cps-v2 [data-pq=round] {
  display: contents;
}
.cps-v2 [data-pq=timeline-panel] {
  grid-row: 3;
  background: white;
  border: 1px solid #CAD5E5;
  border-radius: 16px;
  padding: 10px 8px;
  min-width: 0;
  overflow: hidden;
}
.cps-v2 [data-pq=timeline-panel] h2 {
  font-size: 15px;
  color: #235DB8;
  margin: 0 0 3px;
}
.cps-v2 [data-pq=timeline] {
  height: 156px;
  min-height: 156px;
  --timeline-height:136px;
}
.cps-v2 [data-pq=photo] {
  grid-row: 4;
  position: relative;
  background: #E5EEFC;
  border: 1px solid #CAD5E5;
  box-shadow: none;
  padding: 8px;
  border-radius: 16px;
  min-width: 0;
  overflow: hidden;
}
.cps-v2 [data-pq=photo] h2 {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 5;
  padding: 4px 8px;
  background: #ffffffeb;
  border-radius: 7px;
  color: #172C48;
  font-size: 12px;
  pointer-events: none;
}
.cps-v2 [data-current-photo] {
  position: relative;
  height: 250px;
  min-height: 0;
}
.cps-v2 [data-current-photo] > img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  background: #E5EEFC;
  border-radius: 10px;
}
.cps-v2 [data-pq=actions] {
  grid-row: 5;
  background: white;
  border: 1px solid #CAD5E5;
  box-shadow: none;
  color: #172C48;
  padding: 10px 12px;
  border-radius: 14px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  flex-wrap: wrap;
}
.cps-v2 [data-pq=actions] p {
  color: #566781;
  font-size: 13px;
}
.cps-v2 [data-pq=actions] h2 {
  color: #172C48;
  font-size: 16px;
  margin: 0;
}
.cps-v2 [data-pq=actions] button {
  background: white;
  color: #235DB8;
  border: 1px solid #CAD5E5;
  box-shadow: none;
  font-size: 14px;
}
.cps-v2 [data-pq=actions] button.primary {
  background: #235DB8;
  color: white;
  border-color: #235DB8;
}
.cps-v2 [data-pq=ranking] {
  width: 100%;
  margin: 0;
}
.cps-v2 [data-pq=ranking] li {
  background: #F3F6FB;
  color: #172C48;
  border-color: #CAD5E5;
  padding: 7px 10px;
}
.cps-v2 [data-pq=ranking] svg {
  color: #C45114;
}
.cps-v2 [data-pq=actions] .outline {
  color: #235DB8;
}
.cps-v2 [data-pq=votes] {
  width: 100%;
  text-align: left;
}
.cps-v2 [data-pq=votes] > span {
  background: #F3F6FB;
  color: #172C48;
  border-color: #CAD5E5;
}
.cps-photo-result {
  position: absolute;
  inset: 0;
  z-index: 7;
  background: #fffffff0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 25px 12px;
  color: #235DB8;
  pointer-events: none;
}
.cps-photo-result > strong {
  font-size: 25px;
  line-height: 1.2;
}
.cps-photo-result > small {
  font-size: 15px;
  color: #934015;
}
.cps-result-year {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #566781;
  font-size: 16px;
  font-weight: 650;
}
.cps-result-year b {
  font-size: 42px;
  background: #E5EEFC;
  border: 2px solid #235DB8;
  color: #235DB8;
  padding: 1px 12px;
  border-radius: 12px;
}
.cps-footer {
  font-size: 12px;
  line-height: 1.4;
  color: #566781;
  margin: 12px 0;
}
.cps-v2 [role=dialog] {
  color: #172C48;
}
.cps-v2 [role=dialog] > section,
.cps-v2 [role=dialog] > div {
  background: white;
  color: #172C48;
}
.cps-v2 [role=dialog] h2 {
  color: #172C48;
}
.cps-v2 [role=dialog] small {
  color: #566781;
}
@media (min-width: 800px) {
  .cps-v2 [data-pq=board] {
    grid-template-columns: minmax(0, 1.3fr) minmax(270px, .8fr);
  }
  .cps-v2 [data-pq=heading],
  .cps-v2 [data-pq=players],
  .cps-v2 [data-pq=timeline-panel] {
    grid-column: 1/-1;
  }
  .cps-v2 [data-pq=photo] {
    grid-row: 4;
    grid-column: 1;
  }
  .cps-v2 [data-pq=actions] {
    grid-row: 4;
    grid-column: 2;
    align-content: start;
  }
  .cps-v2 [data-current-photo] {
    height: 310px;
  }
  .cps-v2 [data-pq=players] {
    padding: 8px;
  }
  .cps-v2 [data-pq=player] > strong {
    font-size: 16px;
  }
}
@media (orientation: landscape) and (max-height: 500px) {
  .demo-tools {
    margin-top: 6px;
  }
  .demo-tools > strong {
    display: none;
  }
  .demo-tools button,
  .demo-tools select {
    min-height: 36px;
    padding: 5px;
  }
  .cps-brand {
    min-height: 48px;
  }
  .cps-brand img {
    width: 40px;
    height: 40px;
  }
  .cps-v2 [data-pq=board] {
    grid-template-columns: minmax(0, 1.3fr) minmax(240px, .8fr);
    gap: 6px;
  }
  .cps-v2 [data-pq=heading],
  .cps-v2 [data-pq=players] {
    grid-column: 1/-1;
  }
  .cps-v2 [data-pq=timeline-panel] {
    grid-column: 1;
    grid-row: 3/5;
  }
  .cps-v2 [data-pq=photo] {
    grid-column: 2;
    grid-row: 3;
  }
  .cps-v2 [data-pq=actions] {
    grid-column: 2;
    grid-row: 4;
  }
  .cps-v2 [data-current-photo] {
    height: 160px;
  }
  .cps-v2 [data-pq=timeline] {
    height: 230px;
    min-height: 230px;
    --timeline-height:210px;
  }
  .cps-v2 [data-pq=players] {
    padding: 3px;
  }
  .cps-v2 [data-pq=player] {
    min-height: 40px;
  }
  .cps-photo-result {
    gap: 5px;
    padding: 12px;
  }
  .cps-photo-result > strong {
    font-size: 20px;
  }
  .cps-result-year b {
    font-size: 29px;
  }
  .cps-v2 [data-pq=photo] h2 {
    display: none;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .cps-photo-result > strong {
    animation: cps-win .45s ease-out;
  }
  @keyframes cps-win {
    from {
      opacity: 0;
      transform: scale(.94);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
}
.cps-v2 [data-pq=player][data-me=true] {
  background: #E5EEFC;
  border-color: #235DB8;
}
.cps-v2 [data-pq=photo]:has(.cps-photo-result) h2 {
  display: none;
}
.cps-brand .cps-back {
  font-size: 14px;
  letter-spacing: 0;
  white-space: nowrap;
}
.cps-brand .cps-invite {
  border: 0;
  background: transparent;
  text-decoration: underline;
  padding: 4px;
  font-weight: 700;
}
.cps-brand a:not(.cps-back) {
  font-size: 24px;
}
.cps-brand img {
  width: 40px;
  height: 44px;
}
.cps-v2 [data-pq=board] {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto auto auto;
  gap: 10px;
}
.cps-v2 [data-pq=heading] {
  display: none;
}
.cps-v2 [data-pq=players] {
  grid-column: 1;
  grid-row: 1;
  display: block;
  padding: 0;
  overflow: hidden;
  background: white;
}
.cps-v2 .cps-my-score {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #E5EEFC;
  border: 0;
  border-radius: 0;
  padding: 9px 13px;
  text-align: left;
  color: #172C48;
}
.cps-v2 .cps-my-score strong {
  font-size: 19px;
}
.cps-rank {
  font-weight: 750;
  color: #566781;
  white-space: nowrap;
}
.cps-rank sup {
  font-size: .65em;
}
.cps-avatar {
  font-size: 25px;
}
.cps-points {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 20px;
  font-weight: 750;
  color: #235DB8;
  margin-left: 3px;
}
.cps-score-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  padding: 7px 9px 10px;
  min-width: 0;
}
.cps-v2 [data-pq=player] {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 7px;
  min-height: 44px;
  padding: 5px 9px;
  border: 1px solid #CAD5E5;
  background: white;
}
.cps-v2 [data-pq=player] > span:first-child {
  font-size: 14px;
}
.cps-v2 [data-pq=player] .cps-avatar {
  font-size: 22px;
}
.cps-v2 [data-pq=player] > strong {
  font-size: 14px;
}
.cps-v2 [data-pq=player] .cps-points {
  font-size: 17px;
}
.cps-v2 [data-pq=timeline-panel] {
  grid-row: 2;
  grid-column: 1;
  padding-top: 10px;
  overflow: hidden;
}
.cps-v2 [data-pq=timeline-panel] h2 {
  margin-bottom: 24px;
}
.cps-v2 [data-pq=timeline] {
  height: 156px;
  min-height: 156px;
  --timeline-height:136px;
}
.cps-v2 [data-pq=actions] {
  grid-row: 3;
  grid-column: 1;
  align-content: center;
  min-height: 68px;
  justify-content: space-between;
}
.cps-v2 [data-pq=actions] > div:first-child {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cps-v2 [data-pq=actions] > div:first-child > p {
  display: none;
}
.cps-v2 [data-pq=actions] > div:first-child > button {
  order: -1;
}
.cps-v2 [data-pq=actions] .cps-confirm-placement {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 9px;
  min-height: 48px;
  max-width: 61%;
  font-size: 14px;
}
.cps-confirm-placement [data-placement-source] {
  position: relative;
  inset: auto;
  transform: none;
  display: inline-flex;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
}
.cps-confirm-placement [data-placement-source] > svg {
  width: 38px;
  height: 38px;
}
.cps-v2 [data-pq=photo] {
  grid-row: 4;
  grid-column: 1;
}
.cps-v2 [data-current-photo] {
  height: clamp(230px, 35vh, 360px);
}
.cps-classification {
  background: white;
  border: 1px solid #CAD5E5;
  border-radius: 15px;
  padding: 15px;
  margin-top: 12px;
}
.cps-classification h1 {
  margin: 16px 0 5px;
  font-size: 25px;
}
.cps-classification p {
  color: #566781;
  font-size: 14px;
}
.cps-classification ol {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.cps-classification li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #CAD5E5;
  border-radius: 10px;
}
.cps-classification li[data-me=true] {
  background: #E5EEFC;
}
.cps-classification li strong {
  flex: 1;
}
.cps-classification li .cps-points {
  margin-left: auto;
}
@media (max-width: 420px) {
  .cps-brand {
    gap: 6px;
  }
  .cps-brand a:not(.cps-back) {
    font-size: 20px;
    gap: 3px;
  }
  .cps-brand img {
    width: 35px;
  }
  .cps-brand .cps-back,
  .cps-brand .cps-invite {
    font-size: 13px;
  }
}
.cps-v2 [data-pq=actions] {
  display: flex;
  flex-wrap: nowrap;
  min-height: 56px;
  padding: 4px 8px;
  gap: 6px;
}
.cps-v2 [data-pq=actions] .cps-action-left {
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  align-items: center;
  min-width: 0;
}
.cps-v2 [data-pq=actions] button {
  white-space: nowrap;
  font-size: 13px;
  min-height: 44px;
  padding: 5px 8px;
}
.cps-v2 [data-pq=actions] .cps-confirm-placement {
  min-height: 44px;
  max-width: none;
  gap: 5px;
  padding: 3px 7px;
  font-size: 13px;
}
.cps-vote-confirmed {
  font-size: 12px;
  color: #566781;
}
.cps-v2 [data-pq=timeline] {
  height: calc(156px + var(--votes-height,0px));
  min-height: calc(156px + var(--votes-height,0px));
}
.cps-interval-voters {
  position: absolute;
  top: calc(var(--thumb-height) + 24px);
  left: 50%;
  transform: translateX(-50%);
  width: 142px;
  display: grid;
  gap: 3px;
  z-index: 12;
}
.cps-interval-voters > span {
  font-size: 12px;
  font-weight: 450;
  line-height: 23px;
  border-radius: 6px;
  background: #EEF2F8;
  color: #172C48;
  padding: 0 5px;
  text-align: center;
  white-space: nowrap;
}
.cps-interval-voters > span[data-correct=true] {
  background: #DBF2E5;
  color: #146B3D;
  border: 1px solid #309365;
}
.cps-interval-voters > span[data-wrong=true] {
  color: #667388;
}
.cps-interval-voters > span[data-me=true] {
  font-weight: 800;
}
.cps-v2 [data-pq=player] > strong,
.cps-classification li strong {
  font-weight: 450;
}
.cps-v2 [data-pq=player][data-me=true] > strong,
.cps-classification li[data-me=true] strong {
  font-weight: 800;
}
.cps-classification li[data-me=true] {
  font-weight: 800;
}
.cps-v2 .cps-photo-result {
  border: 0;
  border-radius: 12px;
  pointer-events: auto;
  cursor: pointer;
  gap: 9px;
  padding: 15px 10px;
  background: #fffffff0;
  overflow: auto;
}
.cps-photo-result[data-revealing=true] {
  visibility: hidden;
  pointer-events: none;
}
.cps-v2 [data-pq=photo]:has(.cps-photo-result) [data-current-photo] {
  height: 330px;
}
.cps-round-ranking {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(620px, 100%);
  gap: 7px;
}
.cps-round-player {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 8px;
  border: 1px solid #CAD5E5;
  border-radius: 9px;
  background: #F3F6FB;
  font-size: 14px;
  font-weight: 450;
  color: #172C48;
}
.cps-round-player > strong {
  font-weight: 450;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cps-round-player[data-me=true],
.cps-round-player[data-me=true] > strong {
  font-weight: 800;
}
.cps-round-player[data-correct=true] {
  background: #E3F3EA;
  border-color: #55A47A;
}
.cps-round-points {
  margin-left: auto;
  font-size: 20px;
  color: #235DB8;
}
.cps-star {
  width: 18px;
  flex: 0 0 18px;
  color: #C45114;
  display: inline-flex;
}
.cps-v2 .cps-photo-result:focus-visible {
  outline: 3px solid #C45114;
  outline-offset: -4px;
}
.cps-v2 .cps-photo-result > strong {
  font-size: 23px;
}
.cps-v2 .cps-photo-result > small {
  font-size: 14px;
}
.cps-v2 .cps-photo-result .cps-result-year b {
  font-size: 37px;
}
@media (max-width: 359px) {
  .cps-round-ranking {
    grid-template-columns: 1fr;
  }
  .cps-v2 [data-pq=photo]:has(.cps-photo-result) [data-current-photo] {
    height: 410px;
  }
  .cps-v2 [data-pq=actions] button,
  .cps-v2 [data-pq=actions] .cps-confirm-placement {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .cps-photo-result:not([data-revealing=true]) {
    animation: cps-reveal .4s ease-out;
  }
  .cps-photo-result:not([data-revealing=true]) .cps-round-player[data-correct=true] .cps-round-points {
    animation: cps-point .5s .25s ease-out;
  }
  @keyframes cps-reveal {
    from {
      opacity: 0;
      transform: translateY(9px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes cps-point {
    50% {
      transform: scale(1.3);
    }
    100% {
      transform: none;
    }
  }
}
.cps-v2 [data-pq=actions] {
  flex-direction: row;
}
.cps-v2 [data-pq=actions] .cps-action-left {
  flex: 0 0 auto;
}
.cps-v2 [data-pq=actions] .cps-confirm-placement {
  flex: 0 1 auto;
}
.cps-interval-voters > span {
  font-size: 14px;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0 3px;
}
.cps-interval-voters > span[data-correct=true] {
  background: transparent;
  border: 0;
  color: #146B3D;
}
.cps-interval-voters {
  gap: 0;
}
.cps-interval-voters > span {
  font-size: 15px;
  line-height: 22px;
}
.cps-v2 [data-pq=actions] .cps-reveal {
  width: 52px;
  height: 48px;
  padding: 3px;
  background: #E5EEFC;
  border: 1.5px solid #235DB8;
  margin-left: auto;
}
.cps-reveal svg {
  display: block;
  width: 42px;
  height: 40px;
}
.cps-reveal .reveal-eye {
  transform-box: fill-box;
  transform-origin: center;
  animation: cps-eye-blink 1.2s ease-in-out 1;
}
@keyframes cps-eye-blink {
  0%, 20%, 40%, 60%, 100% {
    transform: scaleY(1);
  }
  30%, 50% {
    transform: scaleY(.12);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cps-reveal .reveal-eye {
    animation: none;
  }
}
.cps-v2 .cps-invite-dialog {
  position: fixed;
  inset: 0;
  z-index: 3000;
  margin: auto;
  border: 1px solid #CAD5E5;
  border-radius: 15px;
  max-width: 400px;
  width: calc(100% - 24px);
  max-height: 90dvh;
  overflow: auto;
  padding: 18px;
  background: white;
  color: #172C48;
  box-shadow: 0 0 0 100vmax #172c4866;
  text-align: center;
}
.cps-invite-dialog img {
  display: block;
  width: 200px;
  height: 200px;
  margin: 10px auto;
}
.cps-invite-dialog > strong {
  font-size: 30px;
  display: block;
}
.cps-invite-dialog input {
  width: 100%;
  min-width: 0;
}
.cps-v2 .cps-notice:empty {
  display: none;
}
.cps-v2 [data-pq=photo] {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}
.cps-test-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 10px;
  color: #566781;
}
.cps-test-switch small {
  font-size: 12px;
}
.cps-test-switch button {
  min-height: 44px;
  font-size: 12px;
  background: white;
  border: 1px solid #CAD5E5;
  border-radius: 8px;
  color: #235DB8;
  padding: 5px 8px;
}
.cps-score-strip:empty {
  display: none;
}
.cps-v2 .cps-interval-voters {
  top: 32px;
  left: var(--indicator-axis,50%);
  width: 142px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  gap: 0 6px;
  pointer-events: none;
}
.cps-v2 .cps-interval-voters > span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 15px;
  line-height: 22px;
  padding: 0;
  background: transparent;
  border: 0;
  white-space: nowrap;
}
.cps-v2[data-phase=result] .cps-interval-voters > span {
  background: rgb(255 255 255 / 85%);
  border-radius: 4px;
  padding-inline: 3px;
}
.cps-brand {
  position: relative;
  z-index: 100;
}
.cps-game-menu {
  position: relative;
  flex-shrink: 0;
  z-index: 1100;
}
.cps-game-menu > summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #CAD5E5;
  border-radius: 10px;
  background: white;
  color: #235DB8;
}
.cps-game-menu > summary::-webkit-details-marker {
  display: none;
}
.cps-game-menu > summary svg {
  width: 28px;
  height: 28px;
}
.cps-menu-panel {
  position: absolute;
  right: 0;
  top: 50px;
  width: min(350px, calc(100vw - 24px));
  max-height: 75dvh;
  overflow: auto;
  box-sizing: border-box;
  background: white;
  border: 1px solid #CAD5E5;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 10px 30px #172c4830;
  color: #172C48;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cps-menu-panel button,
.cps-menu-panel select {
  min-height: 44px;
  max-width: 100%;
}
.cps-master-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cps-menu-panel .game-management {
  margin: 0;
}
.cps-menu-panel .cps-reveal {
  width: 52px;
  height: 48px;
  padding: 3px;
  background: #E5EEFC;
  border: 1.5px solid #235DB8;
}
.cps-menu-panel .cps-invite {
  text-align: left;
}
.cps-menu-panel label {
  display: grid;
  gap: 5px;
}
.cps-menu-panel :focus-visible {
  outline: 3px solid #235DB8;
  outline-offset: 2px;
}
.cps-v2.pqSolo [data-pq=players] {
  max-height: none;
  padding: 0;
  flex: none;
}
.cps-v2 .cps-score-strip {
  display: flex;
  flex-flow: row nowrap;
  overflow-x: auto;
  gap: 8px;
}
.cps-v2 .cps-score-strip [data-pq=player] {
  flex: 0 0 auto;
  white-space: nowrap;
}
@media (orientation: portrait) and (max-width: 900px) {
  .cps-v2[data-timeline-expanded=true] [data-pq=timeline] {
    --timeline-height:clamp(210px,40svh,330px);
    height: calc(var(--timeline-height) + 20px + var(--votes-height,0px));
    min-height: calc(var(--timeline-height) + 20px + var(--votes-height,0px));
  }
  .cps-v2[data-timeline-expanded=true] [data-track-team] {
    --thumb-height:calc(var(--timeline-height) - 42px);
  }
  .cps-v2[data-timeline-expanded=true] [data-photo-id] > span {
    font-size: 22px;
    line-height: 28px;
  }
}
.cps-v2.pqSolo [data-pq=board] {
  gap: 4px;
}
.cps-v2.pqSolo [data-pq=players] {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}
.cps-v2 .cps-score-strip {
  position: relative;
  padding: 2px 4px;
  gap: 10px;
}
.cps-v2.pqSolo [data-pq=player],
.cps-v2.pqSolo [data-pq=player][data-me=true] {
  position: relative;
  min-height: 44px;
  padding: 2px 5px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-weight: 450;
}
.cps-v2.pqSolo [data-pq=player] > strong,
.cps-v2.pqSolo [data-pq=player] .cps-points,
.cps-v2.pqSolo [data-pq=player] .cps-rank {
  font-weight: inherit;
}
.cps-v2.pqSolo [data-pq=player][data-confirmed=true] {
  font-weight: 800;
}
.cps-v2.pqSolo [data-pq=timeline-panel] {
  margin: 0;
  padding: 6px;
}
.cps-vote-progress {
  position: relative;
  height: 14px;
  margin: 0 0 8px;
  border-radius: 5px;
  background: #edf1f7;
  overflow: hidden;
  flex: none;
}
.cps-vote-progress i {
  position: absolute;
  inset: 0 auto 0 0;
  background: #cbdcf5;
  transition: width .3s ease;
}
.cps-vote-progress > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #172c48;
  font: 600 10px/14px system-ui;
}
@media (prefers-reduced-motion: reduce) {
  .cps-vote-progress i {
    transition: none;
  }
}
.cps-v2.pqSolo [data-pq=player] .cps-rank {
  font-weight: 800;
}
.cps-v2 .cps-points:empty {
  display: none;
}
[data-photo-held=true] {
  outline: 3px solid #235db8;
  outline-offset: -3px;
}
.cps-next-action {
  font-size: 12px;
  color: #172c48;
}
.cps-v2[data-photo-on-tv=true] [data-pq=photo] {
  display: none;
}
.cps-v2 [data-pq=actions] .cps-action-left {
  flex: 1 1 auto;
  white-space: normal;
}
.cps-vote-confirmed {
  overflow-wrap: anywhere;
}
@media (orientation: landscape) and (min-width: 700px) {
  .cps-v2.shell:has([data-pq=board]) {
    height: 100svh;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: auto;
  }
  .cps-v2.pqSolo.shell [data-pq=board] {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    min-height: 0;
  }
  .cps-v2.pqSolo.shell [data-pq=players] {
    grid-column: 1/-1;
    grid-row: 1;
  }
  .cps-v2.pqSolo.shell [data-pq=timeline-panel] {
    grid-column: 1;
    grid-row: 2/4;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .cps-v2.pqSolo.shell [data-pq=timeline] {
    height: 100%;
    min-height: 0;
    flex: 1;
    --timeline-height:clamp(136px,calc(100svh - 230px),340px);
  }
  .cps-v2.pqSolo.shell [data-track-team] {
    --thumb-height:calc(var(--timeline-height) - 42px);
  }
  .cps-v2.pqSolo.shell [data-pq=photo] {
    grid-column: 2;
    grid-row: 2;
    min-height: 0;
  }
  .cps-v2.pqSolo.shell [data-current-photo] {
    height: 100%;
    min-height: 0;
  }
  .cps-v2.pqSolo.shell [data-pq=actions] {
    grid-column: 2;
    grid-row: 3;
    flex-wrap: wrap;
    min-height: 56px;
  }
  .cps-v2.pqSolo.shell [data-pq=actions] .cps-confirm-placement {
    max-width: 100%;
    white-space: normal;
  }
  .cps-v2[data-photo-on-tv=true].pqSolo.shell [data-pq=timeline-panel] {
    grid-column: 1/-1;
    grid-row: 2;
  }
  .cps-v2[data-photo-on-tv=true].pqSolo.shell [data-pq=actions] {
    grid-column: 1/-1;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .cps-next-action {
    animation: cps-guidance .5s ease-out;
  }
  @keyframes cps-guidance {
    from {
      background: #e5eefc;
    }
    to {
      background: transparent;
    }
  }
}
.cps-v2 [data-pq=actions]:has(.cps-show-photo) {
  flex-wrap: wrap;
}
.cps-v2 .cps-show-photo {
  font-size: 12px;
}
[data-role-cue=true] {
  animation: pq-role-cue 1.1s ease-out;
}
@keyframes pq-role-cue {
  0% {
    filter: brightness(1.35);
    transform: scale(1.025);
  }
  100% {
    filter: none;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-role-cue=true] {
    animation: none;
  }
}
.cps-v2.pqSolo [data-pq=board] {
  padding-top: 0;
}
.cps-v2.pqSolo.shell [data-track-team] {
  --thumb-height:calc(var(--timeline-height) - 8px);
}
.cps-v2 [data-pq=actions] .cps-placement-prompt {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  flex: 1;
  white-space: nowrap;
  color: #172c48;
}
.cps-placement-prompt strong {
  font-size: clamp(15px, 4.3vw, 18px);
  line-height: 1.2;
}
.cps-placement-prompt [data-placement-source] {
  flex: 0 0 44px;
  cursor: grab;
}
.cps-v2 [data-pq=actions] .cps-confirm-placement {
  font-size: 16px;
  white-space: nowrap;
  max-width: 100%;
}
.cps-v2[data-phase=vote] .cps-vote-confirmed {
  font-size: clamp(16px, 4.5vw, 20px);
  line-height: 1.25;
  font-weight: 650;
  color: #172c48;
}
@media (orientation: portrait) {
  .cps-v2[data-photo-on-tv=true] [data-pq=photo] {
    display: flex;
  }
  .cps-v2 [data-pq=actions] .cps-show-photo {
    display: none;
  }
  .cps-v2 [data-pq=actions]:has(.cps-show-photo) {
    flex-wrap: nowrap;
  }
  .cps-v2[data-timeline-expanded=true].pqSolo.shell [data-track-team] {
    --thumb-height:calc(var(--timeline-height) - 8px);
  }
}
.cps-vote-progress {
  height: 30px;
  margin-bottom: 4px;
  border-radius: 7px;
}
.cps-vote-progress > span {
  font-size: 16px;
  line-height: 30px;
}
.cps-timeline-handle {
  display: none;
}
.cps-chosen-interval {
  flex: 1 1 auto;
  min-width: 0;
  color: #172c48;
  font-size: clamp(12px, 3.6vw, 16px);
  line-height: 1.25;
  font-weight: 650;
  text-align: left;
}
.cps-v2.pqSolo.shell:has([data-pq=board]) {
  height: 100svh !important;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding-bottom: 4px;
  overflow: auto !important;
}
.cps-v2.pqSolo.shell .cps-brand {
  flex: none;
}
.cps-v2.pqSolo.shell [data-pq=board] {
  display: grid;
  flex: 1 1 0;
  min-height: 0;
  grid-template-rows: auto auto auto minmax(0, 1fr);
}
.cps-v2.pqSolo.shell [data-pq=photo] {
  min-height: 0;
  display: flex;
  overflow: hidden;
}
.cps-v2.pqSolo.shell [data-pq=photo] [data-current-photo] {
  flex: 1 1 0;
  height: 100%;
  min-height: 0;
  max-height: 100%;
}
.cps-v2.pqSolo.shell [data-current-photo] > img {
  min-height: 0;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
}
.cps-v2.pqSolo.shell .cps-photo-result {
  min-height: 0;
  overflow: auto;
}
.cps-v2 .cps-photo-zoom {
  padding: 8px;
  gap: 4px;
}
.cps-v2 .cps-photo-zoom > div:first-child {
  justify-content: flex-end;
}
.cps-v2 .cps-photo-zoom button {
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  background: transparent;
  border: 0;
}
@media (orientation: portrait) {
  .cps-timeline-handle {
    display: block;
    width: 38px;
    height: 4px;
    border-radius: 3px;
    background: #8b9cb3;
    margin: 2px auto 6px;
  }
  .cps-v2.pqSolo.shell [data-pq=timeline] {
    --timeline-height:clamp(112px,22svh,136px);
    height: calc(var(--timeline-height) + 20px + var(--votes-height,0px));
    min-height: calc(var(--timeline-height) + 20px + var(--votes-height,0px));
  }
  .cps-v2[data-timeline-expanded=true].pqSolo.shell [data-pq=timeline] {
    --timeline-height:clamp(160px,40svh,330px);
    height: calc(var(--timeline-height) + 20px + var(--votes-height,0px));
    min-height: calc(var(--timeline-height) + 20px + var(--votes-height,0px));
  }
}
@media (orientation: landscape) {
  .cps-v2.pqSolo.shell [data-pq=board] {
    grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
  }
  .cps-v2.pqSolo.shell [data-pq=timeline-panel] {
    grid-row: 2;
    grid-column: 1;
  }
  .cps-v2.pqSolo.shell [data-pq=actions] {
    grid-row: 3;
    grid-column: 1/-1;
    flex-wrap: nowrap;
  }
  .cps-v2.pqSolo.shell [data-pq=photo] {
    grid-row: 2;
    grid-column: 2;
  }
  .cps-v2.pqSolo.shell [data-pq=timeline] {
    --timeline-height:clamp(112px,calc(100svh - 232px),340px);
  }
}
.cps-v2.pqSolo.shell [data-pq=actions] {
  min-height: 52px;
  padding: 3px 8px;
}
@media (orientation: portrait) {
  .cps-v2.pqSolo.shell [data-pq=timeline-panel] {
    min-height: 0;
    max-height: calc(100svh - 240px);
  }
  .cps-v2.pqSolo.shell:has([data-pq=board]) [data-pq=timeline] {
    min-height: 0;
    max-height: calc(100svh - 300px);
    overflow-y: auto !important;
  }
}
.cps-v2 .cps-choice-label {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  color: #172c48;
  text-align: left;
  font-weight: 650;
  line-height: 1.25;
}
.cps-choice-label > span {
  display: inline-block;
  max-width: 100%;
  font-size: 18px;
}
.cps-choice-label > span > span {
  white-space: nowrap;
}
.cps-v2.pqSolo [data-pq=actions] .cps-action-left {
  min-width: 0;
}
@media (orientation: portrait) {
  .cps-v2.pqSolo [data-pq=timeline-panel] .cps-timeline-handle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    min-height: 44px;
    height: 44px;
    margin: 0;
    padding: 0 5px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    box-shadow: none;
    color: #566781;
    font-size: 12px;
    font-weight: 650;
    touch-action: none;
  }
  .cps-timeline-handle svg {
    width: 20px;
    height: 20px;
    flex: none;
  }
  .cps-v2.pqSolo.shell [data-pq=timeline-panel] {
    max-height: calc(100svh - 240px);
  }
  .cps-v2.pqSolo.shell:has([data-pq=board]) [data-pq=timeline] {
    max-height: calc(100svh - 332px);
  }
}
.cps-v2 [data-gap] {
  z-index: auto;
}
.cps-v2 [data-photo-id] {
  z-index: 0;
}
.cps-v2 [data-gap] > button {
  top: 12px;
  z-index: 30;
}
.cps-v2 .cps-interval-voters {
  top: 58px;
  z-index: 12;
}
.cps-v2.pqSolo.shell .cps-photo-result {
  justify-content: flex-start;
  gap: clamp(6px, 1.2svh, 12px);
  padding: clamp(8px, 2svh, 16px) 10px;
}
.cps-v2.pqSolo .cps-photo-result .cps-result-year {
  flex: none;
  gap: clamp(6px, 2vw, 12px);
  font-size: clamp(13px, 3.6vw, 17px);
}
.cps-v2.pqSolo .cps-photo-result .cps-result-year b {
  position: relative;
  font-size: clamp(34px, 7svh, 58px);
  line-height: 1.1;
  padding: 3px 12px;
}
.cps-result-year b:before,
.cps-result-year b:after {
  content: "\2726";
  position: absolute;
  pointer-events: none;
  color: #C45114;
  font-size: 13px;
  line-height: 1;
}
.cps-result-year b:before {
  left: -8px;
  top: -5px;
}
.cps-result-year b:after {
  right: -8px;
  bottom: -4px;
}
.cps-v2.pqSolo .cps-photo-result > strong {
  font-size: clamp(20px, 3svh, 26px);
  line-height: 1.1;
}
.cps-v2 .cps-round-ranking:has(> .cps-round-player:only-child) {
  grid-template-columns: minmax(0, 1fr);
  width: min(360px, 100%);
  align-self: center;
}
.cps-v2 .cps-photo-result > small {
  margin: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .cps-photo-result:not([data-revealing=true]) .cps-result-year b {
    animation: cps-year-pop .65s cubic-bezier(.2, .8, .3, 1);
  }
  @keyframes cps-year-pop {
    0% {
      opacity: 0;
      transform: translateY(8px) scale(.88);
    }
    65% {
      opacity: 1;
      transform: scale(1.045);
    }
    100% {
      transform: none;
    }
  }
}
.cps-v2.pqSolo.shell .cps-brand {
  min-height: 46px;
}
.cps-v2.pqSolo.shell .cps-brand a {
  min-height: 44px;
}
.cps-v2.pqSolo.shell [data-pq=board] {
  gap: 2px;
}
.cps-v2.pqSolo.shell .cps-score-strip {
  padding: 0 2px;
  gap: 8px;
}
.cps-v2.pqSolo.shell .cps-score-strip [data-pq=player] {
  min-height: 44px;
  padding-block: 0;
}
.cps-v2.pqSolo.shell [data-pq=timeline-panel] {
  padding: 4px;
}
@media (orientation: portrait) {
  .cps-v2.pqSolo [data-pq=timeline-panel] .cps-timeline-handle {
    margin-top: -18px;
    margin-bottom: 0;
  }
  .cps-v2.pqSolo.shell:has([data-pq=board]) [data-pq=timeline] {
    max-height: calc(100svh - 310px);
  }
}
.cps-v2 [data-gap] > button {
  top: -14px;
}
.cps-v2 .cps-interval-voters {
  top: 32px;
}
.cps-v2.pqSolo.shell:has([data-pq=board]) [data-pq=timeline] {
  padding-top: 26px;
  height: calc(var(--timeline-height) + 46px + var(--votes-height,0px));
}
@media (orientation: landscape) and (min-width: 700px) {
  .cps-v2.pqSolo.shell:has([data-pq=board]) [data-pq=timeline] {
    height: 100%;
  }
}
.cps-v2.pqSolo [data-gap] > button:disabled {
  opacity: 1;
}
.cps-v2 [data-choice-state=confirmed] {
  opacity: 1;
  box-shadow: 0 0 0 2px white, 0 2px 4px #172c4860;
}
.cps-v2.pqSolo.shell [data-pq=actions] .cps-choice-label {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #172c48;
  text-align: left;
  white-space: normal;
  font-weight: 650;
}
.cps-choice-label:focus-visible {
  outline: 2px solid #235DB8;
  outline-offset: 2px;
}
.cps-v2.pqSolo[data-browser-zoomed=true] [data-current-photo],
.cps-v2.pqSolo[data-browser-zoomed=true] img,
.cps-v2.pqSolo[data-browser-zoomed=true] [data-track-team],
.cps-v2.pqSolo[data-browser-zoomed=true] [data-gap] > button,
.cps-v2.pqSolo[data-browser-zoomed=true] [data-placement-source],
.cps-v2.pqSolo[data-browser-zoomed=true] .cps-timeline-handle {
  touch-action: pan-x pan-y pinch-zoom !important;
}
.cps-personal-standing {
  font-size: clamp(16px, 4.4vw, 21px);
  font-weight: 750;
  color: #235DB8;
  line-height: 1.25;
}
.cps-standing-comment {
  font-size: clamp(14px, 3.8vw, 17px);
  line-height: 1.3;
  color: #172c48;
  max-width: 460px;
}
.cps-v2.pqSolo.shell:has([data-pq=board]) {
  height: var(--cps-visible-height,100dvh) !important;
  max-height: var(--cps-visible-height,100dvh);
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: max(4px, env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}
.cps-v2 [data-pq=notifications] {
  flex: none;
  max-height: 80px;
  overflow: auto;
  font-size: 14px;
}
.cps-v2 [data-pq=notifications]:empty {
  display: none;
}
.cps-v2 [data-pq=notifications] p {
  margin: 2px 0;
  line-height: 1.25;
}
.cps-v2 [data-pq=notifications] .alert {
  margin: 2px 0;
  padding: 4px 8px;
}
.cps-v2.pqSolo.shell [data-pq=timeline-panel] {
  min-height: 0;
  max-height: none;
  display: flex;
  flex-direction: column;
}
.cps-v2.pqSolo.shell:has([data-pq=board]) [data-pq=timeline] {
  --timeline-height:var(--cps-line-height,136px);
  flex: 1 1 0;
  height: 100%;
  min-height: 0;
  max-height: none;
  padding-top: 26px;
  overflow-y: auto !important;
}
.cps-v2.pqSolo.shell [data-track-team] {
  --thumb-height:calc(var(--timeline-height) - 8px);
}
@media (orientation: portrait) {
  .cps-v2.pqSolo.shell [data-pq=board] {
    grid-template-rows: auto minmax(0, var(--cps-panel-height,238px)) auto minmax(80px, 1fr);
  }
  .cps-v2.pqSolo.shell [data-pq=timeline-panel] {
    grid-row: 2;
  }
  .cps-v2.pqSolo.shell [data-pq=actions] {
    grid-row: 3;
  }
  .cps-v2.pqSolo.shell [data-pq=photo] {
    grid-row: 4;
  }
  .cps-v2.pqSolo.shell [data-pq=players] {
    grid-row: 1;
  }
}
.cps-menu-panel {
  gap: 8px;
}
.cps-menu-panel .pq-menu-head {
  order: 0;
  margin: 6px 2px 0;
  font: 800 11px/1.2 system-ui, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6b778a;
}
.cps-menu-panel .pq-menu-group {
  display: grid;
  gap: 8px;
}
.cps-menu-panel :is(.pq-menu-group, .pq-menu-test, .cps-master-actions) button,
.cps-menu-panel > .cps-invite {
  width: 100%;
  min-height: 44px;
  height: 48px;
  padding-block: 0;
  text-align: center;
}
.cps-menu-panel > .cps-invite {
  order: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  background: #eef2fb;
  color: #235db8;
  font-weight: 700;
  text-decoration: none;
}
.cps-menu-panel > .cps-invite::before {
  content: "";
  width: 18px;
  height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h7v7H3zM14 3h7v7h-7zM3 14h7v7H3zM14 14h3v3h-3zM18 18h3v3h-3zM14 19h2v2h-2zM19 14h2v2h-2z' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 3h7v7H3zM14 3h7v7h-7zM3 14h7v7H3zM14 14h3v3h-3zM18 18h3v3h-3zM14 19h2v2h-2zM19 14h2v2h-2z' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
}
.cps-menu-panel:has(.pq-menu-head) .cps-master-actions {
  display: contents;
}
.cps-menu-panel:has(.pq-menu-head) .cps-master-actions > button {
  order: 9;
}
.cps-menu-panel:has(.pq-menu-head) .cps-master-actions > .cps-list-players {
  order: 3;
}
.cps-menu-panel .pq-menu-danger button {
  background: #fdecec !important;
  color: #b3261e !important;
  border-color: #f3c4c1 !important;
}
.cps-menu-panel .pq-menu-test {
  display: grid;
  gap: 8px;
  margin-top: 6px;
  padding: 10px;
  border-radius: 12px;
  background: #eef0f3;
}
.cps-menu-panel .pq-menu-test .pq-menu-head {
  margin-top: 0;
}
.cps-menu-panel .pq-menu-test select {
  width: 100%;
  min-height: 40px;
}
.cps-menu-panel .pq-auto-switch {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
}
.cps-menu-panel .pq-auto-switch input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 42px !important;
  height: 24px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  margin: 0;
  border-radius: 12px;
  background: #c4cad3 !important;
  position: relative;
  transition: background .2s;
  cursor: pointer;
}
.cps-menu-panel .pq-auto-switch input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px #0004;
  transition: left .2s;
}
.cps-menu-panel .pq-auto-switch input:checked {
  background: #34c759 !important;
}
.cps-menu-panel .pq-auto-switch input:checked::after {
  left: 21px;
}
.pq-quit {
  position: fixed;
  inset: 0;
  z-index: 3600;
  background: #0009;
  display: grid;
  place-items: center;
  padding: 16px;
}
.pq-quit-box {
  width: min(340px, 100%);
  background: #fff;
  color: #172c48;
  border-radius: 16px;
  padding: 18px;
  display: grid;
  gap: 10px;
  text-align: center;
}
.pq-quit-box h2 {
  margin: 0;
  font-size: 19px;
}
.pq-quit-box p {
  margin: 0;
  font-size: 14px;
  color: #4a5a72;
}
.pq-quit-box > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pq-quit-box button {
  min-height: 46px;
}
.pq-quit-box .pq-quit-go {
  background: #c62828;
  border-color: #c62828;
  color: #fff;
}
.cps-v2 [data-pq=player][data-left=true] {
  opacity: .45;
}
.cps-v2 .cps-left {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  font-style: italic;
}
.cps-v2 .cps-invite-dialog.pq-invite2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  padding: 22px 18px 16px;
}
.pq-invite2 h2 {
  margin: 0 44px;
  font-size: 21px;
}
.pq-invite2 .pq-inv-name {
  margin: 0;
  font-size: 14px;
  opacity: .8;
}
.pq-invite2 .pq-inv-code {
  font:
    900 34px/1.1 Nunito,
    system-ui,
    sans-serif;
  letter-spacing: 3px;
  margin-top: 4px;
}
html body dialog.cps-invite-dialog.pq-invite2 img {
  width: min(78vw, 300px);
  height: auto;
  aspect-ratio: 1;
  padding: 10px;
  border-radius: 14px;
  box-sizing: border-box;
}
.pq-invite2 .pq-inv-actions {
  display: flex;
  gap: 10px;
  width: 100%;
}
.pq-invite2 .pq-inv-actions button {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 46px;
  border-radius: 12px;
  font-weight: 800;
}
.pq-invite2 .pq-x {
  position: absolute;
  top: 10px;
  right: 10px;
  border-radius: 50% !important;
  width: 40px;
  height: 40px;
  min-height: 40px;
}
.pq-invite2 p[role=status]:empty {
  display: none;
}

/* game/cps/layout.css */
.cps-v2.pqSolo.shell .cps-brand {
  display: grid;
  grid-template-columns: minmax(44px, 1fr) auto minmax(44px, 1fr);
  gap: 6px;
  min-height: 44px;
}
.cps-v2 .cps-brand > .cps-back {
  justify-self: start;
  min-height: 44px;
  align-items: center;
}
.cps-v2 .cps-brand > details {
  justify-self: end;
}
.cps-v2 .cps-brand > :is(a:not(.cps-back), .cps-logo) {
  justify-self: center;
  white-space: nowrap;
}
.cps-v2 .cps-brand .cps-game-menu > summary {
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  box-sizing: border-box;
}
.cps-v2.pqSolo.shell [data-pq=players] {
  border: 0;
  background: transparent;
}
.cps-v2.pqSolo.shell .cps-score-strip {
  align-items: center;
  padding: 0 2px;
  scroll-padding-inline: 8px;
}
.cps-v2.pqSolo.shell .cps-score-strip [data-pq=player] {
  border: 0;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
  gap: 6px;
}
.cps-v2.pqSolo.shell .cps-score-strip [data-me=true] {
  color: #174f9f;
  text-decoration: underline;
  text-decoration-color: #235db8;
  text-underline-offset: 5px;
}
.cps-v2.pqSolo.shell .cps-score-strip [data-me=true] > strong {
  font-weight: 800;
}
.cps-v2.pqSolo.shell [data-pq=actions] {
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  min-height: 52px;
}
.cps-v2 [data-pq=actions] > .cps-choice-label,
.cps-v2 [data-pq=actions] > .cps-action-left {
  flex: 1 1 0;
  min-width: 0;
}
.cps-v2 [data-pq=actions] > button:not(.cps-choice-label) {
  flex: 0 0 auto;
  margin-left: auto;
}
.cps-v2 [data-pq=actions] > .cps-placement-prompt {
  flex: 1 1 auto;
  justify-content: space-between;
  min-width: 0;
}
.cps-v2.pqSolo.shell .cps-photo-result {
  scroll-padding: 12px;
  overscroll-behavior: contain;
}
.cps-v2 :is(button, a, summary):focus-visible {
  outline: 3px solid #235db8;
  outline-offset: 2px;
}
@media (max-width: 350px) {
  .cps-v2.pqSolo .cps-brand > :is(a:not(.cps-back), .cps-logo) {
    font-size: 18px;
    gap: 2px;
  }
  .cps-v2 .cps-brand img {
    width: 28px;
  }
  .cps-v2 .cps-brand .cps-back {
    font-size: 12px;
  }
}
@media (orientation: landscape) and (min-width: 900px) and (min-height: 600px) {
  .cps-v2.pqSolo.shell [data-pq=board] {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .6fr);
    grid-template-rows: 44px minmax(0, var(--cps-panel-height,270px)) minmax(0, 1fr);
    gap: 6px;
  }
  .cps-v2.pqSolo.shell [data-pq=players] {
    grid-row: 1;
    grid-column: 1/-1;
  }
  .cps-v2.pqSolo.shell [data-pq=timeline-panel] {
    grid-row: 2;
    grid-column: 1/-1;
  }
  .cps-v2.pqSolo.shell [data-pq=photo] {
    grid-row: 3;
    grid-column: 1;
  }
  .cps-v2.pqSolo.shell [data-pq=actions] {
    grid-row: 3;
    grid-column: 2;
    align-self: start;
    padding: 12px;
  }
  .cps-v2.pqSolo [data-pq=timeline-panel] .cps-timeline-handle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    height: 32px;
    min-height: 32px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #566781;
    font-size: 13px;
  }
  .cps-v2.pqSolo .cps-timeline-handle svg {
    width: 20px;
    height: 20px;
  }
}
@media (orientation: landscape) and (max-height: 599px) {
  .cps-v2.pqSolo.shell:has([data-pq=board]) {
    width: 100%;
    padding-left: max(6px, env(safe-area-inset-left, 0px));
    padding-right: max(6px, env(safe-area-inset-right, 0px));
  }
  .cps-v2.pqSolo.shell [data-pq=board] {
    grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
    grid-template-rows: 44px minmax(0, 1fr) 52px;
    gap: 3px;
  }
  .cps-v2.pqSolo.shell [data-pq=players] {
    grid-column: 1/-1;
    grid-row: 1;
  }
  .cps-v2.pqSolo.shell [data-pq=timeline-panel] {
    grid-column: 1;
    grid-row: 2;
    padding: 3px;
  }
  .cps-v2.pqSolo.shell [data-pq=photo] {
    grid-column: 2;
    grid-row: 2;
  }
  .cps-v2.pqSolo.shell [data-pq=actions] {
    grid-column: 1/-1;
    grid-row: 3;
  }
  .cps-v2.pqSolo.shell .cps-photo-result {
    padding: 5px 6px;
    gap: 4px;
    line-height: 1.15;
  }
  .cps-v2.pqSolo .cps-photo-result .cps-result-year {
    font-size: 14px;
    gap: 8px;
  }
  .cps-v2.pqSolo .cps-photo-result .cps-result-year b {
    font-size: 34px;
    padding: 1px 8px;
  }
  .cps-v2.pqSolo .cps-photo-result > strong {
    font-size: 19px;
    line-height: 1.1;
  }
  .cps-v2.pqSolo .cps-personal-standing {
    font-size: 16px;
    line-height: 1.15;
  }
  .cps-v2.pqSolo .cps-standing-comment,
  .cps-v2.pqSolo .cps-photo-result > small {
    font-size: 13px;
    line-height: 1.15;
  }
}
body:has(.cps-v2 [data-pq=board])::after {
  content: "";
  display: block;
  height: clamp(180px, 50svh, 360px);
  background: #fff;
  pointer-events: none;
}
.cps-logo {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: clamp(18px, 4vw, 24px);
  font-weight: 800;
  letter-spacing: -1px;
  color: #235db8;
}
.cps-logo img {
  width: 35px;
  height: 40px;
  object-fit: contain;
}
.cps-logo b span {
  color: #c45114;
}
.cps-v2.pqSolo.shell .cps-photo-result.compact-reveal {
  justify-content: flex-start;
  gap: 8px;
  padding: 12px 10px;
}
.cps-v2.pqSolo .compact-reveal .cps-result-year {
  gap: 6px;
  font-size: clamp(17px, 2vw, 21px);
  width: auto;
  max-width: 100%;
  justify-content: center;
}
.cps-v2.pqSolo .compact-reveal .cps-result-year b {
  font-size: clamp(36px, 6vh, 58px);
}
.cps-v2 .compact-reveal > strong {
  animation: pq-cps-reveal .35s .25s both;
}
.cps-v2 .compact-reveal > .result-consequence {
  font-size: 19px;
  animation: pq-cps-reveal .35s .5s both;
}
.cps-v2 .compact-reveal > small {
  font-size: 14px;
}
@keyframes pq-cps-reveal {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (orientation: landscape) and (max-height: 600px) {
  .cps-v2.pqSolo.shell .cps-photo-result.compact-reveal {
    padding: 7px;
    gap: 5px;
  }
  .cps-v2 .compact-reveal > .result-consequence {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cps-v2 .compact-reveal * {
    animation: none !important;
  }
}
.cps-v2 [data-source-deposited=true] [data-current-photo] img {
  visibility: hidden;
}
.cps-v2 [data-pq=player][data-online=false],
.cps-scores-page li[data-online=false] {
  color: #929eaf !important;
  text-decoration: none;
}
.cps-v2 [data-online=false] .cps-points {
  color: inherit;
}
.cps-game-ended {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 8px;
  background: #235db8;
  color: white;
  border-radius: 7px;
  margin-bottom: 3px;
}
.cps-game-ended strong {
  font-size: 21px;
}
.cps-game-ended span {
  font-size: 13px;
}
.cps-v2 [data-pq=players]:has(.cps-game-ended) {
  height: auto;
  min-height: 73px;
}
.cps-result-points {
  font-weight: 800;
  color: #235db8;
  font-size: clamp(17px, 2vw, 22px);
}
@media (orientation: landscape) and (max-height: 599px) {
  .cps-v2.pqSolo.shell:has(.cps-game-ended) [data-pq=board] {
    grid-template-rows: 76px minmax(0, 1fr) 52px;
  }
}
@media (orientation: landscape) and (min-height: 600px) {
  .cps-v2.pqSolo.shell:has(.cps-game-ended) [data-pq=board] {
    grid-template-rows: 76px minmax(0, var(--cps-panel-height,270px)) minmax(0, 1fr);
  }
}
.cps-v2 .cps-photo-result:disabled {
  opacity: 1;
  cursor: default;
}
.cps-v2 [data-pq=timeline] {
  overscroll-behavior-y: contain;
}
.cps-v2 [data-track-team] {
  overscroll-behavior-y: none;
}
.cps-v2 .compact-reveal > .cps-personal-total {
  margin-top: 1em;
  flex: none;
}
.cps-v2.pqSolo.shell .cps-score-strip {
  gap: 6px;
  align-items: center;
}
.cps-rank-group {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: none;
  white-space: nowrap;
  border: 1px solid #b9ccea;
  border-radius: 8px;
  padding: 0 6px;
  background: #e7effc;
  color: #172c48;
}
.cps-rank-group[data-rank-color="1"] {
  background: #fcebdd;
  border-color: #eac7a9;
}
.cps-rank-group[data-rank-color="2"] {
  background: #e6f3e9;
  border-color: #bad7c2;
}
.cps-rank-group[data-rank-color="3"] {
  background: #f0eafa;
  border-color: #d3c5e9;
}
.cps-rank-group[data-rank-color="4"] {
  background: #fff5d9;
  border-color: #e8d69e;
}
.cps-rank-group[data-rank-color="5"] {
  background: #e0f2f4;
  border-color: #b3d5d9;
}
.cps-v2.pqSolo.shell .cps-rank-summary {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 40px;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0 2px;
  color: inherit;
  font-size: 15px;
  font-weight: 650;
}
.cps-v2.pqSolo.shell .cps-rank-group [data-pq=player] {
  min-height: 40px;
  gap: 3px;
  padding: 0 1px;
  color: inherit;
  text-decoration: none;
}
.cps-v2 .cps-player-identity {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative;
  line-height: 1.25;
}
.cps-v2.pqSolo.shell .cps-score-strip .cps-avatar,
.cps-v2.cps-scores-page .cps-avatar {
  font-size: 1.15em;
  line-height: 1;
  width: 1.3em;
  flex: none;
  display: inline-grid;
  place-items: center;
}
.cps-player-separator {
  font-size: 13px;
  opacity: .65;
}
.cps-v2 .cps-interval-voters > span,
.cps-v2[data-phase=result] .cps-interval-voters > span {
  background: rgb(255 255 255 / 85%);
  border-radius: 4px;
  padding-inline: 3px;
  color: #111;
}
.cps-v2[data-phase=result] .cps-interval-voters > span[data-correct=true] {
  background: #dcefe2;
  color: #111;
}
.cps-scores-page .cps-brand {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 6px;
  align-items: center;
}
.cps-scores-page .cps-back {
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  max-width: 100%;
}
.cps-scores-page .cps-logo {
  font-size: 20px;
  letter-spacing: -.6px;
}
.cps-scores-page .cps-logo img {
  width: 29px;
  height: 34px;
}
.cps-v2 .cps-confirm-icon {
  display: inline-grid;
  place-items: center;
  flex: none;
  pointer-events: none;
}
@media (max-width: 360px) {
  .cps-scores-page .cps-logo {
    font-size: 17px;
  }
  .cps-scores-page .cps-back {
    font-size: 12px;
  }
  .cps-scores-page .cps-logo img {
    width: 25px;
  }
}
.cps-scores-page button.cps-back {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #235db8;
  padding: 0;
  text-align: left;
  min-height: 44px;
  font-family: inherit;
  font-weight: 650;
}
.cps-v2 .cps-rank-group {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 2px 7px;
}
.cps-v2.pqSolo.shell .cps-rank-summary {
  min-height: 24px;
  line-height: 24px;
  padding: 0;
  font-size: 14px;
}
.cps-rank-identities {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  gap: 4px;
}
.cps-v2.pqSolo.shell .cps-rank-group [data-pq=player] {
  min-height: 28px;
}
@media (orientation: landscape) and (max-height: 599px) {
  .cps-v2.pqSolo.shell [data-pq=board] {
    grid-template-rows: 58px minmax(0, 1fr) 52px;
  }
  .cps-v2.pqSolo.shell:has(.cps-game-ended) [data-pq=board] {
    grid-template-rows: 90px minmax(0, 1fr) 52px;
  }
}
@media (orientation: landscape) and (min-width: 900px) and (min-height: 600px) {
  .cps-v2.pqSolo.shell [data-pq=board] {
    grid-template-rows: 58px minmax(0, var(--cps-panel-height,270px)) minmax(0, 1fr);
  }
  .cps-v2.pqSolo.shell:has(.cps-game-ended) [data-pq=board] {
    grid-template-rows: 90px minmax(0, var(--cps-panel-height,270px)) minmax(0, 1fr);
  }
}
.cps-personal-total .cps-standing-movement,
.cps-personal-total .cps-standing-total {
  display: block;
  line-height: 1.25;
}
.cps-personal-total .cps-standing-total {
  margin-top: 8px;
}
.cps-v2.pqSolo.shell [data-pq=photo] > h2 {
  color: #172c48 !important;
  background: rgb(255 255 255 / 82%) !important;
  opacity: 1 !important;
  font-weight: 700;
  z-index: 12;
}
@media (max-width: 1366px) {
  html body .pq-cps-board {
    padding-left: 0 !important;
    padding-right: 0 !important;
    background: linear-gradient(rgb(29, 53, 96) 0%, rgb(13, 27, 51) 55%) !important;
  }
  html body .pq-cps-board .cps-v2.pqSolo.shell [data-pq=timeline-panel],
  html body .pq-cps-board .cps-v2.pqSolo.shell [data-pq=timeline-panel] > [data-pq=timeline] {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  html body .pq-cps-board .cps-v2.pqSolo.shell.shell .cps-vote-progress {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: auto !important;
  }
  html body .pq-cps-board > main.shell {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: max(8px, env(safe-area-inset-left)) !important;
    padding-right: max(8px, env(safe-area-inset-right)) !important;
    box-sizing: border-box !important;
    background: transparent !important;
  }
}
@media (orientation: portrait) {
  html body .pq-cps-board .cps-v2.pqSolo.shell [data-pq=timeline-panel] > [data-pq=timeline] {
    margin-top: -16px !important;
  }
}
html body .pq-cps-board .cps-v2.pqSolo.shell .cps-interval-voters {
  top: 24px !important;
  transform-origin: 0 0;
  animation: pq-who-swing 1.8s ease-out both;
}
@keyframes pq-who-swing {
  0% {
    rotate: 3.5deg;
  }
  22% {
    rotate: -2.4deg;
  }
  44% {
    rotate: 1.4deg;
  }
  64% {
    rotate: -.7deg;
  }
  82% {
    rotate: .25deg;
  }
  100% {
    rotate: 0deg;
  }
}
@media (prefers-reduced-motion: reduce) {
  html body .pq-cps-board .cps-v2.pqSolo.shell .cps-interval-voters {
    animation: none;
  }
}
html body .pq-cps-board .cps-v2.pqSolo.shell .cps-interval-voters {
  z-index: 60 !important;
}
html body .pq-cps-board .cps-interval-voters > span[data-player] {
  position: relative;
  overflow: visible;
}
html body .pq-cps-board .cps-interval-voters > span > .pq-vs-badge {
  position: absolute;
  right: -9px;
  top: -9px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px #0005;
  color: #168344;
}
html body .pq-cps-board .cps-interval-voters > span > .pq-vs-badge svg {
  width: 12px;
  height: 12px;
}
html body .pq-hung-pin {
  position: relative;
}
html body .pq-hung-pin > .pq-pin-check {
  animation: pq-pin-check-in .5s ease-out both;
}
@keyframes pq-pin-check-in {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  html body .pq-hung-pin > .pq-pin-check {
    animation: none;
  }
}
html body .cps-v2 [data-award-slot] > [data-new-photo-year] {
  color: #fff !important;
  overflow: visible !important;
}
html body .cps-v2 [data-new-photo-year] > .pq-year-check {
  position: absolute;
  right: -11px;
  top: -11px;
  width: 23px !important;
  height: 23px !important;
  padding: 0 !important;
  border: 0 !important;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff !important;
  box-shadow: 0 1px 2px #0005;
  color: #168344 !important;
}
html body .cps-v2 [data-new-photo-year] > .pq-year-check svg {
  width: 15px;
  height: 15px;
}
html body .pq-cps-board .cps-v2 [data-award-slot] > [data-new-photo-year][data-new-photo-year] {
  background: #1f8a4c !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: 0 1px 1px #0004;
}
html body .pq-cps-board .cps-v2 [data-new-photo-year] > .pq-year-check.pq-year-check {
  background: #fff !important;
  background-image: none !important;
  color: #1f8a4c !important;
  -webkit-text-fill-color: currentColor;
  opacity: 1 !important;
  filter: none !important;
  text-shadow: none;
}
html body .pq-cps-board .cps-v2 [data-new-photo-year] > .pq-year-check svg {
  stroke: #1f8a4c !important;
  opacity: 1 !important;
}
html body .illustrated-duel.pq-cps-board main.cps-v2.cps-v2.cps-v2 [data-track-team][data-track-team] > div > div[data-award-slot][data-photo-id][data-photo-id] > [data-new-photo-year][data-new-photo-year][data-new-photo-year] {
  z-index: 7 !important;
}

/* game/cps/illustrated.css */
.cps-v2.pqSolo.shell,
.cps-scores-page {
  font-family:
    Nunito,
    "Trebuchet MS",
    sans-serif !important;
}
.cps-v2.pqSolo.shell :is(h1, h2, h3, button, .pq-game-brand) {
  font-family: inherit !important;
}
.cps-v2.pqSolo.shell .cps-rank-group {
  background: linear-gradient(#287fe1, #1460bf) !important;
  color: white !important;
  border: 1px solid #186bd0 !important;
  border-radius: 11px !important;
  box-shadow: inset 0 1px 1px #ffffff66, 0 2px 3px #17335826 !important;
  overflow: visible;
}
.cps-v2.pqSolo.shell .cps-score-strip [data-pq=player] {
  background: transparent !important;
  border: 0 !important;
  color: white !important;
  border-radius: 7px !important;
}
.cps-v2.pqSolo.shell .cps-rank-summary {
  background: transparent !important;
  color: white !important;
  border: 0 !important;
  font-weight: 900;
}
.cps-v2.pqSolo.shell [data-pq=player] > strong,
.cps-v2.pqSolo.shell .cps-player-identity strong {
  font-weight: 900 !important;
}
.cps-v2.pqSolo.shell [data-pq=player][data-me=true] {
  text-decoration: none;
}
.cps-v2 .cps-name-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.05;
}
.cps-v2 .cps-me,
.cps-v2.pqSolo.shell .cps-rank-identities .cps-me {
  font-size: 10px;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: .02em;
}
.cps-v2.pqSolo.shell [data-pq=actions] {
  background: #eff5ff !important;
  border: 1px solid #aabedb !important;
  border-radius: 12px !important;
  box-shadow: inset 0 1px 0 #fff, 0 2px 4px #17335812 !important;
}
.cps-v2.pqSolo.shell [data-pq=actions] button {
  font-weight: 900;
  border-radius: 10px;
}
.cps-v2.pqSolo.shell :is(.cps-confirm-placement, .cps-reveal, .pq-next-photo) {
  background: linear-gradient(#277fe4, #1460bf) !important;
  color: white !important;
  border: 1px solid #1753a1 !important;
  box-shadow: inset 0 1px 0 #71adf9, 0 2px 0 #104c9b !important;
}
.cps-v2.pqSolo.shell .cps-reveal > svg > rect,
.cps-v2.pqSolo.shell .cps-reveal > svg > path {
  stroke: #fff;
}
.cps-v2.pqSolo.shell [data-pq=timeline] [data-timeline-photo],
.cps-v2.pqSolo.shell [data-current-photo] {
  border-radius: 9px !important;
  box-shadow: 0 3px 7px #142a4929 !important;
}
.cps-v2.pqSolo.shell :is(.cps-photo-result, .cps-classification) {
  border-radius: 14px !important;
  border-color: #aabedb !important;
  box-shadow: 0 2px 5px #17335818 !important;
}
.cps-v2.pqSolo.shell .cps-round-player {
  border-radius: 10px !important;
}
.cps-v2.pqSolo.shell .cps-round-player[data-me=true] > strong {
  font-weight: 900 !important;
}
.cps-v2.pqSolo.shell .cps-menu-panel {
  border-radius: 16px !important;
  background: #fffdf8;
}
.cps-v2.pqSolo.shell .cps-rank-identities :is(.cps-player-identity strong, .cps-player-separator) {
  color: white !important;
}
.cps-v2 .cps-interval-voters {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: center;
  gap: 3px;
}
.cps-v2 [data-timeline-photo] {
  border: 4px solid white;
  border-radius: 8px;
  box-sizing: border-box;
  width: calc((var(--thumb-height) - 8px) * var(--ratio,1) + 8px);
  box-shadow: 0 3px 6px #172c4826;
}
.cps-v2 [data-photo-id] {
  margin-inline: 4px;
}
.cps-v2 [data-track-team] {
  --thumb-height:var(--timeline-height);
}
.cps-v2 [data-photo-id] > span:first-child {
  border-radius: 6px;
  padding: 3px 9px;
  background: white;
  color: #172c48;
  font-weight: 900;
  box-shadow: 0 2px 4px #172c4826;
}
.cps-next-player {
  max-width: 450px;
}
.cps-next-player select {
  width: 100%;
  margin: 12px 0;
}
.cps-v2.pqSolo.shell [data-track-team] {
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  padding-top: 5px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-width: thin;
  touch-action: pan-x pinch-zoom;
}
.cps-v2.pqSolo.shell [data-track-team] > div {
  padding-inline: 12px !important;
  min-height: calc(var(--ill-thumb) + 30px) !important;
  height: calc(var(--ill-thumb) + 30px) !important;
  align-items: flex-start !important;
  border: 0 !important;
  background: linear-gradient(#9aaac0, #9aaac0) center calc(var(--ill-thumb) / 2) / 100% 3px no-repeat;
}
.cps-v2.pqSolo.shell [data-timeline-photo] {
  height: var(--ill-thumb) !important;
  width: calc((var(--ill-thumb) - 8px) * var(--ratio,1) + 8px) !important;
  background: white !important;
  border: 4px solid white !important;
  border-radius: 7px !important;
  box-shadow: 0 2px 6px #142a4930 !important;
  overflow: hidden !important;
  padding: 0 !important;
}
.cps-v2.pqSolo.shell [data-timeline-photo] img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: 3px;
}
.cps-v2.pqSolo.shell [data-track-team] > div > div[data-photo-id] > span:first-child {
  position: absolute !important;
  top: calc(var(--ill-thumb) + 2px) !important;
  bottom: auto !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
  min-width: 47px !important;
  padding: 3px 7px !important;
  border-radius: 5px !important;
  background: white !important;
  color: #122652 !important;
  box-shadow: 0 2px 4px #142a4928 !important;
  text-align: center !important;
  z-index: 30 !important;
}
.cps-v2.pqSolo.shell [data-gap] {
  height: var(--ill-thumb) !important;
}
.cps-v2.pqSolo.shell [data-gap] > span {
  display: none !important;
}
.cps-v2.pqSolo.shell [data-gap] > button {
  top: calc(var(--ill-thumb) / 2 - 20px) !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.cps-v2.pqSolo.shell [data-placement-placeholder] {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.cps-v2.pqSolo.shell [data-gap] > button:hover {
  background: #d9ecff80 !important;
  border-radius: 10px !important;
}
.cps-v2.pqSolo.shell [data-choice-kind=placement] {
  border: 0 !important;
  background: transparent !important;
  color: var(--owner) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  filter: none !important;
}
.cps-v2.pqSolo.shell [data-choice-kind=placement] > .illustrated-pin {
  width: 100% !important;
  height: 100% !important;
  stroke: none !important;
}
.cps-v2.pqSolo.shell [data-choice-kind=placement][data-choice-state=available] > .illustrated-pin {
  opacity: 0;
}
.cps-v2.pqSolo.shell [data-choice-kind=placement][data-choice-state=available]::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #7e91ab;
  border: 2px solid white;
  box-shadow: 0 1px 2px #17335820;
}
.cps-v2.pqSolo.shell [data-track-team] {
  --ill-thumb:var(--cps-thumb-height,calc(var(--timeline-height) - 66px));
  height: 100% !important;
  padding-top: 26px !important;
}
.cps-v2.pqSolo.shell [data-gap] > button {
  top: -14px !important;
  left: var(--indicator-axis,50%) !important;
  transform: translateX(-50%) !important;
}
.cps-v2.pqSolo.shell [data-gap] > button > [data-choice-kind] {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
}
.cps-v2.pqSolo.shell [data-track-team] > div {
  padding-bottom: var(--votes-height,0px) !important;
  min-height: calc(var(--ill-thumb) + 30px + var(--votes-height,0px)) !important;
  height: calc(var(--ill-thumb) + 30px + var(--votes-height,0px)) !important;
}
.cps-v2.pqSolo.shell [data-choice-kind=placement] {
  border: 0 !important;
  background: transparent !important;
  color: var(--owner) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  filter: none !important;
}
.cps-v2.pqSolo.shell [data-choice-kind=placement] > .illustrated-pin {
  width: 100% !important;
  height: 100% !important;
  stroke: none !important;
}
.cps-v2.pqSolo.shell [data-choice-kind=placement][data-choice-state=available] > .illustrated-pin {
  opacity: 0;
}
.cps-v2.pqSolo.shell [data-choice-kind=placement][data-choice-state=available]::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #7e91ab;
  border: 2px solid white;
}
.cps-v2.pqSolo.shell [data-photo-id] {
  margin-inline: 0;
}
.cps-v2.pqSolo.shell .cps-interval-voters {
  top: 32px;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
}
.cps-v2.pqSolo.shell .marker-space {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 40;
}
.cps-v2.pqSolo.shell .illustrated-hit-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
}
.cps-v2.pqSolo.shell .illustrated-hit-layer > button {
  position: absolute;
  top: 0;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: auto;
  touch-action: pan-x pinch-zoom;
}
.cps-v2.pqSolo.shell [data-gap] > button {
  z-index: 30;
  touch-action: pan-x pinch-zoom;
}
.cps-v2.pqSolo.shell [data-gap] > button[data-draggable=true] {
  touch-action: pinch-zoom;
}
.cps-v2.pqSolo.shell [data-award-slot] {
  margin-right: 10px;
}
.cps-v2.pqSolo.shell [data-award-slot] [data-timeline-photo] {
  border-color: #186bd0 !important;
}
.cps-v2.pqSolo.shell [data-current-photo][data-photo-draggable=true] {
  touch-action: pinch-zoom !important;
}
html[data-theme=dark] .cps-v2.pqSolo.shell [data-timeline-photo] {
  background: #22354b !important;
  border-color: #22354b !important;
}
html[data-theme=dark] .cps-v2.pqSolo.shell [data-award-slot] [data-timeline-photo] {
  border-color: #186bd0 !important;
}
html[data-theme=dark] .cps-v2.pqSolo.shell [data-track-team] > div > div[data-photo-id] > span:first-child {
  background: var(--pq-surface-alt) !important;
  color: var(--pq-text) !important;
}
.cps-v2.pqSolo.shell [data-edge=start] .cps-interval-voters {
  left: 0;
  transform: none;
  align-items: flex-start;
}
.cps-v2.pqSolo.shell [data-edge=end] .cps-interval-voters {
  left: auto;
  right: 0;
  transform: none;
  align-items: flex-end;
}
.cps-v2.pqSolo.shell [data-gap] .cps-interval-voters {
  left: var(--indicator-axis,50%) !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  align-items: center !important;
}
.cps-v2.pqSolo.shell .cps-photo-result {
  pointer-events: auto;
}
.cps-v2.pqSolo.shell [data-track-team] > div {
  padding-inline: 78px !important;
}

/* game/cps/harmony.css */
html body .pq-cps-board,
html body .pq-cps-board > .cps-v2.shell {
  background: #0d1b33 !important;
}
html body .pq-cps-board .cps-v2.shell.shell [data-pq=photo] {
  background: #0d1b33 !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
html body .pq-cps-board .cps-v2.shell.shell [data-pq=photo] [data-current-photo] > img {
  background: transparent !important;
}
html body .pq-cps-board .cps-v2.shell.shell .cps-photo-result {
  background: #0d1b33 !important;
  color: #e2ebf7 !important;
  border-color: #2a4166 !important;
}
html body .pq-cps-board .cps-v2.shell.shell .cps-photo-result :is(strong, small, span):not(.cps-result-year *):not(.cps-result-year) {
  color: #e2ebf7 !important;
}
html body .pq-cps-board .cps-v2.shell.shell [data-pq=heading] :is(h1, span),
html body .pq-cps-board .cps-v2.shell.shell .cps-game-ended,
html body .pq-cps-board .cps-v2 > [role=status] {
  color: #e2ebf7 !important;
}
html body .pq-cps-board .cps-brand {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 46px;
}
html body .pq-cps-board .cps-brand .pq-exit {
  display: grid !important;
  place-items: center;
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px !important;
  padding: 0 !important;
  margin: 0;
  border: 1px solid #3a5683 !important;
  border-radius: 12px !important;
  background: #1a2d4d !important;
  color: #e2ebf7 !important;
  text-decoration: none;
  flex: none;
  font-size: 0;
}
html body .pq-cps-board .cps-brand .pq-game-brand {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  margin: 0 !important;
}
html body .pq-cps-board .cps-brand .pq-game-brand small {
  color: #b8c7de !important;
}
html body .pq-cps-board .cps-brand .pq-brand-title > span:last-child {
  color: #7fb2ff !important;
}
html body .pq-cps-board .cps-brand .cps-game-menu {
  margin-left: auto;
}
html body .pq-cps-board .cps-brand .cps-game-menu > summary {
  width: 38px;
  height: 38px;
  min-width: 38px !important;
  min-height: 38px !important;
  border-radius: 12px;
  background: #1a2d4d !important;
  border: 1px solid #3a5683 !important;
  box-shadow: none !important;
  color: #e2ebf7 !important;
}
html body .pq-cps-board .cps-brand .cps-game-menu > summary svg {
  color: #e2ebf7 !important;
  stroke: currentColor;
}
html body .pq-cps-board .cps-v2.shell.shell section[data-contextual-action] {
  position: relative;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px;
  min-height: 76px;
  padding: 12px 8px 8px 10px !important;
  border-radius: 12px !important;
  border: 1px solid #186bd0 !important;
  background: #c4dbf8 !important;
  box-shadow: 0 1px 0 0 #ffffffcc inset, 0 2px 4px #17335812 !important;
  overflow: visible !important;
  margin-top: 8px;
}
html body .pq-cps-board .cps-v2.shell.shell section[data-contextual-action][data-neutral-action=true] {
  background: #e3e8ef !important;
  border-color: #c5cfdc !important;
}
html body .pq-cps-board .cps-v2.shell.shell section[data-contextual-action] > .illustrated-context-question {
  flex: 1 1 0;
  min-width: 0;
  padding-top: 6px;
  display: flex;
  align-items: center;
  min-height: 34px;
}
html body .pq-cps-board .cps-v2.shell.shell .illustrated-context-question h1,
html body .pq-cps-board .cps-v2.shell.shell .illustrated-context-question .cps-choice-label {
  margin: 0;
  font: 900 18px/1.15 Nunito, sans-serif !important;
  color: #172c48 !important;
  text-wrap: balance;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal !important;
  letter-spacing: 0;
}
@media (max-width: 350px) {
  html body .pq-cps-board .cps-v2.shell.shell .illustrated-context-question h1,
  html body .pq-cps-board .cps-v2.shell.shell .illustrated-context-question .cps-choice-label {
    font-size: 16px !important;
  }
}
html body .pq-cps-board .cps-v2.shell.shell .cps-choice-label {
  all: unset;
  cursor: pointer;
  text-align: left;
  min-height: 0 !important;
  width: 100%;
}
html body .pq-cps-board .cps-v2.shell.shell .pq-period {
  white-space: nowrap;
}
html body .pq-cps-board .cps-v2.shell.shell .cps-action-commands {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
html body .pq-cps-board .cps-v2.shell.shell section[data-contextual-action] .cps-confirm-placement {
  padding: 6px 10px !important;
  gap: 5px !important;
  font-size: 15px !important;
}
html body .pq-cps-board .cps-v2.shell.shell .cps-action-commands:empty {
  display: none;
}
html body .pq-cps-board .cps-v2.shell.shell .illustrated-action-medallion {
  position: absolute !important;
  left: 10px;
  top: -12px;
  height: 24px;
  max-width: calc(100% - 20px);
  display: flex !important;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  background: #186bd0;
  color: #fff;
  border-radius: 5px;
  border: 1px solid #fff;
  box-shadow: 0 1px 3px #142a4920;
  font: 900 13px/1 Nunito, sans-serif;
  z-index: 8;
  pointer-events: none;
}
html body .pq-cps-board .cps-v2.shell.shell .illustrated-action-medallion strong {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
html body .pq-cps-board .cps-v2.shell.shell .pq-cancel-round {
  position: absolute;
  right: 10px;
  top: -15px;
  z-index: 9;
  box-shadow: 0 1px 3px #142a4930 !important;
  display: grid;
  place-items: center;
  width: 30px !important;
  min-width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #172c48 !important;
  border: 1px solid #c5cfdc !important;
}
html body .pq-cps-board .cps-v2.shell.shell .cps-confirm-placement [data-choice-kind=placement] .illustrated-pin {
  color: #186bd0 !important;
  filter: drop-shadow(0 1px 1px #0003);
}
html body .pq-cps-board .round-photo-loading.pq-dots {
  position: absolute;
  inset: 0;
  margin: auto;
  width: max-content;
  height: max-content;
  background: transparent !important;
  box-shadow: none !important;
}
html body .pq-cps-board .round-photo-loading:not(.pq-dots) {
  color: #e2ebf7 !important;
}
html body .pq-cps-board .cps-v2.shell.shell [data-gap] > button[type] {
  background: transparent !important;
  box-shadow: none !important;
}
html body .pq-cps-board [data-gap][data-other-marker=true] [data-choice-kind=placement] {
  color: #8593a6 !important;
}
html body .pq-cps-board .cps-v2 .cps-photo-result[data-ready=true] {
  animation: pq-result-in .25s ease-out both;
}
@media (prefers-reduced-motion: reduce) {
  html body .pq-cps-board .cps-v2 .cps-photo-result[data-ready=true] {
    animation: none;
  }
}
html body .pq-cps-board .cps-rank-summary[data-score-grow=true] {
  animation: pq-cps-score-grow .7s ease-out both;
}
@keyframes pq-cps-score-grow {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.18);
  }
  100% {
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  html body .pq-cps-board .cps-rank-summary[data-score-grow=true] {
    animation: none;
  }
}
html body .pq-cps-board [data-current-photo][data-photo-waiting=true] {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
html body .pq-cps-board [data-current-photo][data-photo-waiting=true] > :not(.round-photo-loading) {
  visibility: hidden;
}
html body .pq-cps-board .cps-v2.shell.shell .cps-photo-result .cps-result-year > span {
  color: #b8c7de !important;
}
@media (orientation: landscape) {
  html body .pq-cps-board .cps-v2.shell.shell .cps-brand {
    min-height: 36px !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell > [data-pq=board] {
    display: grid !important;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr) !important;
    grid-template-rows: minmax(0, 1.1fr) auto minmax(0, 1fr) !important;
    gap: 6px 10px !important;
    height: calc(100svh - 62px) !important;
    min-height: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 10px 8px !important;
    box-sizing: border-box;
  }
  html body .pq-cps-board .cps-v2.shell.shell > [data-pq=board] > [data-pq=round] {
    display: contents !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell > [data-pq=board] > [data-pq=heading] {
    display: none !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell [data-pq=timeline-panel] {
    grid-column: 1/-1 !important;
    grid-row: 1 !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell [data-pq=photo] {
    grid-column: 1 !important;
    grid-row: 2/4 !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    align-self: stretch;
  }
  html body .pq-cps-board .cps-v2.shell.shell [data-pq=players] {
    grid-column: 2 !important;
    grid-row: 2 !important;
    min-width: 0;
    margin: 0 !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell section[data-contextual-action] {
    grid-column: 2 !important;
    grid-row: 3 !important;
    margin: 12px 0 0 !important;
    align-self: start;
  }
  html body .pq-cps-board .cps-v2.shell.shell .cps-score-strip {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden;
    max-width: 100%;
    scrollbar-width: thin;
  }
  html body .pq-cps-board .cps-v2.shell.shell .cps-score-strip > * {
    flex: none;
  }
  html body .pq-cps-board .cps-v2.shell.shell [data-pq=timeline-panel] {
    display: flex !important;
    flex-direction: column !important;
    overflow: visible;
  }
  html body .pq-cps-board .cps-v2.shell.shell [data-pq=timeline-panel] > [data-pq=timeline] {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    height: auto !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell .cps-timeline-handle {
    display: none !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell [data-pq=photo] [data-current-photo] {
    height: 100% !important;
    max-height: 100% !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell [data-pq=photo] [data-current-photo] > img {
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain;
  }
}
@media (orientation: landscape) and (max-height: 500px) {
  html body .pq-cps-board .cps-v2.shell.shell .cps-brand {
    min-height: 30px !important;
    height: 30px;
  }
  html body .pq-cps-board .cps-brand .pq-game-brand small {
    display: none;
  }
  html body .pq-cps-board .cps-brand :is(.pq-exit, .cps-game-menu > summary) {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    border-radius: 9px !important;
  }
  html body .pq-cps-board > .cps-v2.shell.shell {
    padding-top: 0 !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell > [data-pq=board] {
    height: calc(100svh - 60px) !important;
    max-height: calc(100svh - 60px) !important;
    gap: 4px 10px !important;
    padding-bottom: 4px !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell .cps-score-strip {
    min-height: 0;
  }
  html body .pq-cps-board .cps-v2.shell.shell .cps-vote-progress {
    min-height: 18px !important;
    height: 18px !important;
    font-size: 12px;
  }
}
html body .pq-cps-board .cps-v2.shell.shell [data-pq=timeline-panel] {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body .pq-cps-board .cps-v2.shell.shell [data-pq=timeline-panel] [data-pq=timeline],
html body .pq-cps-board .cps-v2.shell.shell [data-pq=timeline-panel] [data-track-team] {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body .pq-cps-board .cps-v2.shell.shell .cps-vote-progress {
  background: #1a2d4d !important;
  border: 0 !important;
  color: #e2ebf7 !important;
}
html body .pq-cps-board .cps-v2.shell.shell .cps-vote-progress > i {
  background: #2c4a78 !important;
}
html body .pq-cps-board .cps-v2.shell.shell .cps-vote-progress > span {
  color: #e2ebf7 !important;
}
html body .pq-cps-board .cps-v2.shell.shell .cps-timeline-handle {
  background: transparent !important;
  color: #b8c7de !important;
  border: 0 !important;
}
html body .pq-cps-board .cps-v2.shell.shell .cps-timeline-handle svg {
  color: #b8c7de !important;
}
html body .pq-cps-board .cps-v2.shell.shell [data-pq=photo] {
  container-type: size;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
html body .pq-cps-board .cps-v2.shell.shell [data-pq=photo] > h2 {
  display: none !important;
}
html body .pq-cps-board .cps-v2.shell.shell [data-pq=photo] [data-current-photo] {
  flex: none !important;
  width: fit-content !important;
  height: fit-content !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: auto !important;
  border: 5px solid #fff !important;
  border-radius: 7px !important;
  box-shadow: 0 2px 7px #15294428 !important;
  background: #0d1b33 !important;
  overflow: hidden;
  box-sizing: border-box;
}
html body .pq-cps-board .cps-v2.shell.shell [data-pq=photo] [data-current-photo] > img {
  display: block !important;
  width: min(calc(100cqw - 10px), calc((100cqh - 10px) * var(--photo-ratio,1.5))) !important;
  height: auto !important;
  max-width: none !important;
  max-height: calc(100cqh - 10px) !important;
  object-fit: cover !important;
  border-radius: 2px;
}
html body .pq-cps-board .cps-v2.shell.shell[data-phase=vote] [data-pq=photo] [data-current-photo]::before,
html body .pq-cps-board .cps-v2.shell.shell[data-phase=votes] [data-pq=photo] [data-current-photo]::before {
  content: "Photo \e0  placer";
  position: absolute;
  bottom: 5px;
  left: 8px;
  z-index: 11;
  background: #ffffffb8;
  color: #172c48;
  padding: 2px 10px;
  font: 800 11px/1.2 Nunito, sans-serif;
  white-space: nowrap;
  border-radius: 4px;
  box-shadow: 0 1px 3px #142a4920;
  pointer-events: none;
}
html body .pq-cps-board .cps-v2.shell.shell [data-pq=photo] [data-current-photo][data-photo-waiting=true] {
  border-color: transparent !important;
  box-shadow: none !important;
}
html body .pq-cps-board [data-gap] .cps-interval-voters {
  position: relative;
  z-index: 40;
}
html body .pq-cps-board .cps-v2.shell.shell .cps-question-stack {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  width: 100%;
}
html body .pq-cps-board .cps-v2.shell.shell .cps-peers {
  font: 800 14px/1.2 Nunito, sans-serif;
  color: #b8c7de;
}
html body .pq-cps-board .cps-v2.shell.shell section[data-contextual-action][data-contextual-action] {
  background: #1b3561 !important;
  border-color: #3d8bff !important;
  box-shadow: 0 2px 6px #00000033 !important;
}
html body .pq-cps-board .cps-v2.shell.shell section[data-contextual-action][data-neutral-action=true] {
  background: #243246 !important;
  border-color: #3f526b !important;
}
html body .pq-cps-board .cps-v2.shell.shell section[data-contextual-action] :is(h1, .cps-choice-label) {
  color: #eef4fc !important;
}
html body .pq-cps-board .cps-v2.shell.shell section[data-contextual-action] [data-placement-source] [data-choice-kind=placement] {
  color: #5aa2ff !important;
}
html body .pq-cps-board .cps-v2.shell.shell section[data-contextual-action] [data-placement-source] .illustrated-pin path {
  fill: #1b3561;
  stroke: #5aa2ff;
}
html body .pq-cps-board .cps-v2.shell.shell section[data-contextual-action] .cps-confirm-placement {
  border: 1px solid #7fb2ff !important;
}
html body .pq-cps-board .cps-revealed-year {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 12;
  background: #1f8a4c;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 10px;
  padding: 2px 14px;
  font: 900 30px/1.1 Nunito, sans-serif;
  box-shadow: 0 2px 6px #0005;
  animation: pq-result-in .25s ease-out both;
}
html body .pq-cps-board .cps-v2.shell.shell[data-phase=result] [data-pq=photo] [data-current-photo]::before {
  content: none;
}
html body .pq-cps-board .cps-outcome h1 {
  margin: 0;
}
@media (orientation: portrait) {
  html body .pq-cps-board .cps-v2.shell.shell section[data-contextual-action][data-contextual-action] {
    height: 92px !important;
    min-height: 92px !important;
    max-height: 92px !important;
    box-sizing: border-box;
  }
}
html body .pq-cps-board .cps-v2.shell.shell .cps-outcome h1 {
  font-size: 16px !important;
  line-height: 1.12 !important;
  -webkit-line-clamp: 3 !important;
}
html body .pq-cps-board .cps-v2.shell.shell .cps-question-stack .cps-peers {
  font-size: 13px;
}
html body .pq-cps-board .cps-speed-dial {
  width: 26px;
  height: 16px;
  flex: 0 0 auto;
  align-self: center;
  margin-left: 2px;
}
html body .pq-cps-board .cps-speed-dial.big {
  width: 58px;
  height: 35px;
  margin: 0;
}
html body .pq-cps-board .cps-speed-tie {
  margin: 0;
  padding: 0 10px 4px;
  font-size: 11px;
  color: #C9D6EA;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html body .pq-cps-board .cps-speed-detail {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}
html body .pq-cps-board .cps-speed-detail small {
  font-size: 11px;
  color: #566781;
  white-space: nowrap;
}
html body .pq-cps-board .cps-speed-win {
  font-weight: 800;
  color: #235DB8 !important;
}
html body .pq-cps-board .cps-speed-help {
  font-size: 12px !important;
}
@media (orientation: portrait) {
  html body .pq-cps-board .cps-v2.shell.shell .cps-vote-progress {
    height: 22px !important;
    min-height: 22px !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell [data-pq=timeline-panel] {
    padding-top: 2px !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell [data-pq=timeline-panel] > .cps-vote-progress + * {
    padding-top: 2px !important;
    padding-bottom: 0 !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell [data-pq=players] {
    margin-top: 6px !important;
  }
}
html body .pq-cps-board .cps-v2.shell.shell .cps-outcome h1 {
  font-size: 18px !important;
}
html body .pq-cps-board .cps-v2.shell.shell .cps-question-stack.cps-outcome .cps-peers {
  font-size: 15px !important;
}
html body .pq-cps-board,
html body .pq-cps-board > .cps-v2.shell {
  background:
    linear-gradient(
      180deg,
      #1d3560 0%,
      #0d1b33 55%) !important;
  background-attachment: fixed !important;
}
html body .pq-cps-board .cps-v2.shell.shell [data-pq=photo] {
  background: transparent !important;
}
html body .pq-cps-board .cps-v2.shell.shell section[data-contextual-action]:not([data-neutral-action=true]) {
  background: #2a4d85 !important;
  border-color: transparent !important;
  box-shadow: 0 6px 16px #0007, inset 0 1px 0 #ffffff22 !important;
}
html body .pq-cps-board .cps-v2.shell.shell section[data-contextual-action] .cps-confirm-placement {
  background: linear-gradient(#f07a2e, #d65a12) !important;
  color: #fff !important;
  font-weight: 900 !important;
  border: 1.5px solid #ffd2b0 !important;
  box-shadow: 0 2px 0 #9c3f08 !important;
}
html body .pq-cps-board .cps-v2.shell.shell [data-pq=photo] [data-current-photo]:not([data-photo-waiting=true]) {
  border-color: #fff !important;
  border-radius: 4px !important;
  box-shadow: 0 12px 24px #000a !important;
}
html body .pq-cps-board .cps-v2.pqSolo.shell .cps-rank-group {
  background: linear-gradient(#4f9af0, #2a78d6) !important;
  border-color: #6aa9f3 !important;
  box-shadow: 0 4px 12px #0006 !important;
}
html body .pq-cps-board .cps-v2.shell.shell .cps-rank-summary {
  position: relative;
  font-size: 17px !important;
  font-weight: 900 !important;
  overflow: visible !important;
}
html body .pq-cps-board .cps-v2.shell.shell .cps-rank-summary b {
  font-size: 19px;
}
@keyframes pq-plus-one {
  0% {
    opacity: 0;
    transform: translateY(4px) scale(.6);
  }
  20% {
    opacity: 1;
    transform: translateY(-6px) scale(1.15);
  }
  75% {
    opacity: 1;
    transform: translateY(-10px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-16px);
  }
}
html body .pq-cps-board .cps-rank-summary[data-my-gain=true]::after {
  content: "+1";
  position: absolute;
  right: -6px;
  top: -10px;
  padding: 1px 7px;
  border-radius: 999px;
  background: #f07a2e;
  color: #fff;
  font: 900 15px/1.3 Nunito, sans-serif;
  box-shadow: 0 2px 6px #0006;
  animation: pq-plus-one 1.6s ease-out both;
  pointer-events: none;
  z-index: 5;
}
@media (prefers-reduced-motion: reduce) {
  html body .pq-cps-board .cps-rank-summary[data-my-gain=true]::after {
    animation: none;
    opacity: 0;
  }
}
html body .pq-cps-board .cps-v2.shell.shell [data-track-team] [data-placement-target=true] {
  --owner:#e8661a !important;
}
html body .pq-cps-board .cps-v2.shell.shell [data-track-team] [data-placement-target=true] [data-choice-kind=placement] {
  color: #e8661a !important;
}
html body .pq-cps-board .cps-v2.shell.shell .cps-confirm-placement [data-choice-kind=placement] .illustrated-pin {
  color: #fff !important;
}
html body .pq-cps-board .cps-v2.shell.shell [data-track-team] [data-placement-target=true] [data-choice-kind=placement] .illustrated-pin path {
  fill: #e8661a !important;
}
html body .pq-cps-board .cps-v2.shell.shell .cps-vote-progress {
  display: flex !important;
  gap: 4px;
  height: 6px !important;
  min-height: 6px !important;
  margin: 6px 4px 8px !important;
  background: transparent !important;
  border: 0 !important;
  overflow: visible !important;
}
html body .pq-cps-board .cps-v2.shell.shell .cps-vote-progress > b {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: #ffffff33;
  transition: background .3s ease, transform .3s ease;
}
html body .pq-cps-board .cps-v2.shell.shell .cps-vote-progress > b[data-vote-done=true] {
  background: #f07a2e;
  animation: pq-vote-dash .4s ease-out;
}
@keyframes pq-vote-dash {
  0% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(2.2);
  }
  100% {
    transform: scaleY(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  html body .pq-cps-board .cps-v2.shell.shell .cps-vote-progress > b {
    animation: none !important;
  }
}
html body .pq-cps-board [data-placement-source] [data-choice-kind=placement],
html body:has(.pq-cps-board) [data-placement-flight] [data-choice-kind=placement],
html body .pq-cps-board [data-track-team] [data-placement-target=true] [data-choice-kind=placement] {
  color: #e8661a !important;
  --owner:#e8661a !important;
}
html body .pq-cps-board [data-placement-source] .illustrated-pin path,
html body:has(.pq-cps-board) [data-placement-flight] .illustrated-pin path,
html body:has(.pq-cps-board) .illustrated-marker-flight .illustrated-pin path {
  fill: #e8661a !important;
}
@media (orientation: portrait) {
  html body .pq-cps-board .cps-v2.shell.shell > [data-pq=board] {
    grid-template-rows: auto auto minmax(0, var(--cps-panel-height,238px)) minmax(80px, 1fr) !important;
    row-gap: 10px !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell > [data-pq=board] > [data-pq=players] {
    grid-row: 1 !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell > [data-pq=board] [data-pq=actions] {
    grid-row: 2 !important;
    margin-top: 0 !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell > [data-pq=board] [data-pq=timeline-panel] {
    grid-row: 3 !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell > [data-pq=board] > [data-pq=photo] {
    grid-row: 4 !important;
  }
}
@media (orientation: landscape) and (max-height: 599px) {
  html body .pq-cps-board > .cps-v2.shell.shell {
    --cps-line-height:100px !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell :is([data-pq=board], [data-pq=timeline], [data-track-team]) {
    --ill-thumb:100px !important;
    --thumb-height:100px !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell [data-track-team] > div {
    min-height: calc(var(--ill-thumb) + 6px) !important;
    height: calc(var(--ill-thumb) + 6px) !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell > [data-pq=board] {
    grid-template-rows: 154px auto minmax(0, 1fr) !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell [data-track-team] [data-photo-id] {
    position: relative;
  }
  html body .pq-cps-board > .cps-v2.shell.shell {
    --cps-line-height:122px !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell :is([data-pq=board], [data-pq=timeline], [data-track-team]) {
    --ill-thumb:122px !important;
    --thumb-height:122px !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell [data-pq=timeline][data-pq=timeline] {
    margin-top: -6px !important;
    padding-top: 0 !important;
    height: 140px !important;
    min-height: 140px !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell [data-track-team] [data-hanging] [data-placement-miniature][data-placement-miniature] {
    top: 18px !important;
    height: calc(var(--ill-thumb) - 58px) !important;
    max-height: calc(var(--ill-thumb) - 58px) !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell [data-track-team] [data-choice-kind=placement]:has(> [data-hanging]) {
    position: relative !important;
    z-index: 3 !important;
    isolation: isolate;
  }
  html body .pq-cps-board .cps-v2.shell.shell [data-track-team] [data-choice-kind=placement] > [data-hanging][data-hanging] {
    z-index: -1 !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell [data-track-team] {
    height: auto !important;
    min-height: 0 !important;
    padding-top: 16px !important;
    padding-bottom: 4px !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell [data-track-team] [data-photo-id] > span[data-decade],
  html body .pq-cps-board .cps-v2.shell.shell [data-track-team] [data-photo-id] > [data-new-photo-year] {
    position: absolute !important;
    left: 50% !important;
    top: calc(100% - 30px) !important;
    bottom: auto !important;
    transform: translateX(-50%);
    z-index: 6;
    margin: 0 !important;
  }
}
html body .pq-cps-board .cps-v2.pqSolo.shell .cps-rank-group[data-tone] {
  background: var(--tone-bg) !important;
  color: var(--tone-fg) !important;
  border-color: #ffffff66 !important;
  transition: background-color .35s, color .35s;
}
html body .pq-cps-board .cps-v2.pqSolo.shell .cps-rank-group[data-tone] :is(.cps-rank-summary, .cps-rank-summary b, .cps-name-stack strong, .cps-name-stack small, .cps-player-separator) {
  color: var(--tone-fg) !important;
}
html body .pq-cps-board .cps-v2.pqSolo.shell .cps-rank-group[data-tone=white] {
  border-color: #c9d3e2 !important;
}
html body .illustrated-duel .cps-v2.shell.shell [data-track-team] span[data-decade][data-decade][data-decade] {
  background: #1F3A66 !important;
  color: #fff !important;
}
@media (prefers-reduced-motion: no-preference) {
}
@keyframes pq-replay-in {
  0%, 15% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.pq-replay-badge {
  position: fixed;
  left: 50%;
  top: 150px;
  transform: translateX(-50%);
  z-index: 900;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding: 3px 11px;
  border-radius: 999px;
  background: #eef2f8;
  border: 1px solid #c9d4e4;
  color: #4a5b74;
  font-size: 12.5px;
  font-weight: 650;
  box-shadow: 0 2px 6px #172c4814;
  animation: pq-replay-in .4s ease-out both;
}
.pq-replay-badge > span {
  display: inline-block;
  animation: pq-replay-beat 1.8s ease-in-out infinite;
}
.pq-replay-badge[data-leaving] {
  animation: pq-replay-out .45s ease-in both;
}
@keyframes pq-replay-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes pq-replay-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes pq-replay-beat {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.18);
  }
}
html[data-theme=dark] .pq-replay-badge {
  background: #22324a;
  border-color: #3b4f6d;
  color: #c9d6ea;
}
@media (prefers-reduced-motion: reduce) {
  .pq-replay-badge,
  .pq-replay-badge > span {
    animation: none;
  }
}
[data-hanging] .pq-hanging-cord {
  position: relative;
  z-index: 0;
}
[data-hanging] [data-placement-miniature] {
  z-index: 1;
}

/* game/board-fixes.css */
html body .illustrated-duel .duel-shell [data-current-photo]:has(.festive-result) {
  width: var(--fitted-photo-width,100%) !important;
  height: var(--fitted-photo-height,100%) !important;
  max-width: 100% !important;
  max-height: 100% !important;
  flex: none !important;
  border: 5px solid #fff !important;
  border-radius: 7px !important;
  box-shadow: 0 2px 7px #15294428 !important;
  overflow: hidden !important;
  position: relative !important;
  box-sizing: border-box !important;
  background: #0d1b33 !important;
  padding: 0 !important;
}
html body .illustrated-duel .duel-shell [data-current-photo] > .festive-result {
  position: absolute !important;
  inset: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}
html body .illustrated-duel .duel-shell [data-current-photo] .illustrated-result-photo {
  position: absolute !important;
  inset: 0 !important;
  margin: 0 !important;
  min-height: 0 !important;
  width: auto !important;
  height: auto !important;
  display: block !important;
}
html body .illustrated-duel .duel-shell [data-current-photo] .illustrated-result-photo > img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  border: 0 !important;
  border-radius: 2px !important;
  box-shadow: none !important;
}
html body .illustrated-duel .duel-shell [data-current-photo] .illustrated-result-photo > figcaption {
  bottom: 8px !important;
}
html body .illustrated-duel .duel-shell [data-current-photo] > .festive-result > :is(.result-bonus, .result-ended) {
  position: absolute !important;
  top: 6px;
  right: 6px;
  margin: 0 !important;
  z-index: 2;
}
@media (orientation: portrait) {
  html body .illustrated-duel .duel-shell .illustrated-teams {
    height: 105px !important;
    min-height: 0 !important;
    margin-top: 7px !important;
  }
  html body .illustrated-duel .duel-shell .illustrated-teams > [data-team-heading] {
    height: 102px !important;
    min-height: 0 !important;
  }
  html body .illustrated-duel .duel-shell .illustrated-team-inner {
    grid-template-rows: 32px 31px 23px !important;
    height: auto !important;
  }
}
html body .illustrated-duel [data-reserve] {
  gap: 11px !important;
}
html body .illustrated-duel [data-award-slot] {
  overflow: visible !important;
}
html body .illustrated-duel [data-award-slot] > .pq-bubble-below {
  position: absolute !important;
  left: 50% !important;
  top: calc(100% + 29px) !important;
  right: auto !important;
  bottom: auto !important;
  transform: translateX(-50%) !important;
  z-index: 20 !important;
  margin: 0 !important;
  pointer-events: none;
  opacity: 1;
  transition: opacity .25s;
}
html body .illustrated-duel [data-award-slot][data-award-settled=false] > .pq-bubble-below {
  opacity: 0;
}
html body .illustrated-duel [data-award-slot] > .pq-bubble-below {
  visibility: hidden !important;
}
html body .illustrated-duel [data-award-slot] .pq-hung:not([data-hung-owner=none]) > .pq-bubble-travel {
  display: none !important;
}
html body .pq-bubble-floating {
  position: fixed !important;
  transform: translateX(-50%) !important;
  z-index: 40 !important;
  margin: 0 !important;
  pointer-events: none;
  animation: pq-result-in .25s ease-out both;
}
.pq-photo-enlarge {
  display: none;
}
@media (orientation: landscape) {
  html body :is(.illustrated-duel, .pq-cps-board) .pq-photo-enlarge {
    display: grid !important;
    place-items: center;
    position: absolute !important;
    top: 6px;
    right: 6px;
    z-index: 12;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    border: 1px solid #ffffffcc !important;
    border-radius: 9px !important;
    background: #0d1b33cc !important;
    color: #fff !important;
    box-shadow: 0 1px 4px #0006 !important;
  }
  html body .pq-cps-board .cps-v2.shell.shell[data-photo-enlarged=true] [data-pq=photo][data-pq=photo] {
    margin-top: calc(-1 * var(--pq-enlarge-up,30px)) !important;
    position: relative;
    z-index: 30;
  }
  html body .illustrated-duel main[data-photo-enlarged=true] [data-duel-board] > section:has([data-current-photo]),
  html body .illustrated-duel [data-photo-enlarged=true] [data-duel-board] > section:has([data-current-photo]),
  html body .illustrated-duel [data-duel-board][data-photo-enlarged=true] > section:has([data-current-photo]) {
    height: auto !important;
    max-height: none !important;
    align-self: stretch !important;
    margin-top: calc(-1 * var(--pq-enlarge-up,30px)) !important;
    position: relative;
    z-index: 30;
  }
}
html body .illustrated-duel .pq-wait-stack {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
html body .illustrated-duel .pq-wait-line {
  font: 800 13px/1.2 Nunito, sans-serif;
  color: #44577c;
}
html body .illustrated-duel [data-team-heading] {
  position: relative;
}
html body .illustrated-duel [data-team-heading] .pq-your-turn {
  position: absolute;
  right: 8px;
  bottom: -11px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 11px;
  background: #fff;
  color: var(--owner,#186bd0);
  border: 1px solid #fff;
  font: 900 13px/1 Nunito, sans-serif;
  box-shadow: 0 1px 4px #0004;
  z-index: 9;
  animation: pq-your-turn 1.6s ease-in-out 2;
}
html body .illustrated-duel [data-team-heading="0"] .pq-your-turn {
  color: #186bd0;
}
html body .illustrated-duel [data-team-heading="1"] .pq-your-turn {
  color: #ce4d10;
}
html body .illustrated-duel .illustrated-team-interval {
  text-align: left !important;
  justify-content: flex-start !important;
  justify-self: start !important;
}
html body .illustrated-duel .duel-shell [data-contextual-action][data-winner-zone="0"] {
  background: #c4dbf8 !important;
  border-color: #186bd0 !important;
}
html body .illustrated-duel .duel-shell [data-contextual-action][data-winner-zone="1"] {
  background: #fad6ba !important;
  border-color: #ce4d10 !important;
}
@keyframes pq-your-turn {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
}
@media (prefers-reduced-motion: reduce) {
  html body .illustrated-duel .pq-your-turn {
    animation: none;
  }
}
.pq-return-game {
  display: grid;
  gap: 4px;
  justify-items: center;
  margin: 6px 0 4px;
  text-align: center;
}
.pq-return-button {
  font-size: 18px !important;
  padding: 12px 20px !important;
  border-radius: 14px !important;
  max-width: 100%;
  background: #186bd0 !important;
  border-color: #186bd0 !important;
  color: #fff !important;
}
.pq-return-game small {
  color: #566781;
  font-size: 13px;
}
.pq-return-or {
  margin: 6px 0 0;
  color: #8b9db5;
  font-weight: 700;
}
@media (pointer: coarse) {
  html body .illustrated-duel::after {
    content: none !important;
    display: none !important;
  }
}
html body .illustrated-duel [data-current-photo]:is([data-photo-waiting=true], [data-award-moving=true])::before {
  display: none !important;
}
html body .pq-cps-board .cps-game-menu:not([open]) > .cps-menu-panel {
  display: none !important;
}
html body .pq-cps-board > .cps-v2.shell {
  min-height: 0 !important;
}
html body:has(.pq-cps-board)::after {
  content: none !important;
  display: none !important;
}
html body .illustrated-duel .pq-zone-swipe {
  position: relative;
  touch-action: pan-y pinch-zoom;
}
html body .illustrated-duel .pq-zone-swipe > [data-contextual-action] {
  animation: pq-zone-in .22s ease-out;
}
@keyframes pq-zone-in {
  from {
    opacity: .4;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html body .illustrated-duel .pq-zone-swipe > [data-contextual-action] {
    animation: none;
  }
}
html body .illustrated-duel .pq-zone-dots {
  position: absolute;
  left: 50%;
  bottom: -9px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 9;
}
html body .illustrated-duel .pq-zone-dots > button {
  width: 10px !important;
  height: 10px !important;
  min-width: 10px !important;
  min-height: 10px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  border: 1px solid #fff !important;
  background: #8b9db5 !important;
  box-shadow: none !important;
}
html body .illustrated-duel .pq-zone-dots > button[data-zone-dot="0"][aria-selected=true] {
  background: #186bd0 !important;
}
html body .illustrated-duel .pq-zone-dots > button[data-zone-dot="1"][aria-selected=true] {
  background: #ce4d10 !important;
}
html body .illustrated-duel .pq-contest-prompt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
html body .illustrated-duel .pq-contest-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 800 14px/1.2 Nunito, sans-serif;
  color: #172c48;
}
html body .illustrated-duel .pq-contest-line .illustrated-contest-token {
  flex: 0 0 auto;
}
html body .illustrated-duel .pq-pass-quiet button {
  background: white !important;
  color: var(--name,#172c48) !important;
  border: 2px solid var(--owner,#566781) !important;
  box-shadow: none !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  min-height: 40px !important;
  padding: 4px 12px !important;
}
html body .illustrated-duel .pq-last-chance {
  margin: 0 0 6px;
  padding: 6px 12px;
  border-radius: 10px;
  background: #FFF4D6;
  border: 1px solid #F2B33D;
  color: #7a4b00;
  font: 800 14px/1.2 Nunito, sans-serif;
  text-align: center;
}
@keyframes pq-token-nudge {
  0%, 100% {
    transform: none;
  }
  3% {
    transform: translateX(-3px) rotate(-8deg);
  }
  7% {
    transform: translateX(3px) rotate(8deg);
  }
  11% {
    transform: translateX(-2px) rotate(-5deg);
  }
  15% {
    transform: translateX(2px) rotate(4deg);
  }
  18% {
    transform: none;
  }
}
html body .illustrated-duel .pq-token-nudge:not([data-touched]):not(:disabled) > * {
  animation: pq-token-nudge 3s ease-in-out .6s infinite;
}
@media (prefers-reduced-motion: reduce) {
  html body .illustrated-duel .pq-token-nudge > * {
    animation: none !important;
  }
}
html body .illustrated-duel .pq-contest-line strong {
  font-weight: 900;
}
html body .illustrated-duel .duel-shell [data-contextual-action] .reveal-in-action.pq-reveal-word {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  width: auto !important;
  max-width: none !important;
  padding: 2px 12px 2px 4px !important;
  font: 900 17px/1 Nunito, sans-serif !important;
}
html body .illustrated-duel .duel-shell [data-contextual-action] .reveal-in-action.pq-reveal-word > span {
  white-space: nowrap;
  color: white;
}
html body .illustrated-duel .illustrated-team-name .illustrated-choice-mark {
  margin-left: 6px;
  flex: none;
}
@media (orientation: portrait) {
  html body .illustrated-duel .duel-shell .illustrated-teams {
    height: 89px !important;
  }
  html body .illustrated-duel .duel-shell .illustrated-teams > [data-team-heading] {
    height: 86px !important;
  }
  html body .illustrated-duel .duel-shell .illustrated-team-inner {
    grid-template-rows: 38px 31px !important;
    height: 100% !important;
    box-sizing: border-box;
  }
  html body .illustrated-duel .duel-shell .illustrated-board-cue {
    margin-top: -13px !important;
  }
  html body .illustrated-duel .duel-shell .illustrated-board-cue [data-contextual-action] {
    height: 86px !important;
    min-height: 86px !important;
    max-height: 86px !important;
  }
}
@media (orientation: portrait) and (min-height: 641px) {
  html body .illustrated-duel .duel-shell [data-duel-board]:not([data-contest-result]) {
    --ill-thumb:calc(clamp(96px,19svh,180px) + 3px);
  }
}
html body .illustrated-duel .duel-shell [data-team-heading][data-acting=true] .illustrated-team-inner {
  outline: 0 !important;
  border-color: transparent !important;
}
html body .illustrated-duel .duel-shell [data-team-heading][data-acting=true]::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid #ffdc82;
  border-radius: inherit;
  pointer-events: none;
  z-index: 3;
}
html body .illustrated-duel [data-contextual-action]:has(.pq-duel-lines) {
  padding: 6px 8px 10px !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
}
html body .illustrated-duel [data-contextual-action]:has(.pq-duel-lines) > .illustrated-context-question {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
html body .illustrated-duel [data-contextual-action]:has(.pq-duel-lines) > [data-action-commands] {
  flex: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  flex-wrap: nowrap !important;
  width: auto !important;
}
html body .illustrated-duel [data-contextual-action]:has(.pq-duel-lines) [data-action-commands] button {
  min-height: 36px !important;
  height: 36px !important;
  padding: 2px 10px !important;
}
html body .illustrated-duel .pq-duel-lines {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  width: 100%;
  min-width: 0;
  text-align: left;
}
html body .illustrated-duel .pq-duel-line {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  min-width: 0;
  font: 600 16px/1.25 Nunito, sans-serif;
  color: var(--name);
}
html body .illustrated-duel .pq-duel-line b {
  font-weight: 800;
}
html body .illustrated-duel .pq-duel-line[data-line-acting=true],
html body .illustrated-duel .pq-duel-line[data-line-acting=true] b {
  font-weight: 900;
}
html body .illustrated-duel .pq-duel-line[data-line-acting=false] {
  opacity: .6;
}
html body .illustrated-duel .pq-contest-start button {
  background: var(--owner) !important;
  color: white !important;
  border: 1px solid var(--owner) !important;
  font-weight: 900 !important;
}
html body .illustrated-duel .pq-zone-dots {
  bottom: 3px !important;
}
@keyframes pq-hold-out {
  to {
    opacity: 0;
  }
}
html body .illustrated-duel [data-confirm-holding] {
  opacity: 1 !important;
  cursor: default;
}
html body .illustrated-duel [data-confirmation-flying] [data-confirm-holding] [data-choice-kind] {
  visibility: hidden;
}
html body .illustrated-duel [data-confirmation-flying] [data-confirm-holding] {
  animation: pq-hold-out .2s ease .25s forwards;
}
html body .illustrated-duel :is(.duel-shell, .cps-v2.shell.shell) [data-track-team] span[data-decade][data-decade] {
  border-radius: 999px !important;
  color: #fff !important;
  padding: 0 8px !important;
  box-shadow: 0 1px 3px #0006;
}
html body .illustrated-duel :is(.duel-shell, .cps-v2.shell.shell) [data-track-team] span[data-decade="0"][data-decade] {
  background: #2f7de1 !important;
}
html body .illustrated-duel :is(.duel-shell, .cps-v2.shell.shell) [data-track-team] span[data-decade="1"][data-decade] {
  background: #1f9d6b !important;
}
html body .illustrated-duel :is(.duel-shell, .cps-v2.shell.shell) [data-track-team] span[data-decade="2"][data-decade] {
  background: #8a4fd8 !important;
}
html body .illustrated-duel :is(.duel-shell, .cps-v2.shell.shell) [data-track-team] span[data-decade="3"][data-decade] {
  background: #d6453d !important;
}
html body .illustrated-duel :is(.duel-shell, .cps-v2.shell.shell) [data-track-team] span[data-decade="4"][data-decade] {
  background: #c27a00 !important;
}
html body .illustrated-duel :is(.duel-shell, .cps-v2.shell.shell) [data-track-team] span[data-decade="5"][data-decade] {
  background: #0f8ea3 !important;
}
html body .illustrated-duel .duel-shell [data-contextual-action][data-action-team="0"]:not([data-neutral-action=true]):not([data-winner-zone]) {
  background: linear-gradient(#287fe1, #1460bf) !important;
  border-color: transparent !important;
}
html body .illustrated-duel .duel-shell [data-contextual-action][data-action-team="1"]:not([data-neutral-action=true]):not([data-winner-zone]) {
  background: linear-gradient(#dd671e, #c7450c) !important;
  border-color: transparent !important;
}
html body .illustrated-duel .duel-shell [data-contextual-action][data-neutral-action=true] {
  background: linear-gradient(#2aa35f, #1a7d44) !important;
  border-color: transparent !important;
}
html body .illustrated-duel .duel-shell [data-contextual-action]:not([data-winner-zone]) :is(.illustrated-context-question h1, .pq-wait-line, .pq-duel-line, .pq-duel-line b, .illustrated-message-team, .illustrated-message-line, .illustrated-context-wait) {
  color: #fff !important;
}
html body .illustrated-duel .pq-duel-line[data-line-acting=false] {
  opacity: 1 !important;
}
html body .illustrated-duel .duel-shell [data-contextual-action] :is([data-placement-source], [data-contest-action-source], [data-confirmation-source]) > [data-choice-kind],
html body .illustrated-duel .duel-shell [data-contextual-action] [data-confirmation-source] [data-choice-kind] {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
}
html body .illustrated-duel .duel-shell [data-contextual-action] [data-action-commands] button {
  min-height: 46px !important;
  height: 46px !important;
  font-size: 17px !important;
  padding: 2px 14px !important;
  border-radius: 12px !important;
}
html body .illustrated-duel .duel-shell [data-contextual-action]:not([data-neutral-action=true]) [data-action-commands] button:has([data-confirmation-source]),
html body .illustrated-duel .duel-shell [data-contextual-action] .pq-contest-start button {
  background: #fff !important;
  color: var(--name,#172c48) !important;
  border: 0 !important;
  box-shadow: 0 2px 0 #0003 !important;
  font-weight: 900 !important;
}
html body .illustrated-duel .duel-shell [data-contextual-action] .pq-pass-quiet button {
  background: transparent !important;
  color: #fff !important;
  border: 2px solid #ffffffcc !important;
}
html body .illustrated-duel .duel-shell [data-contextual-action] .pq-cancel-round {
  width: 46px !important;
  min-width: 46px !important;
  height: 46px !important;
}
html body .illustrated-duel .duel-shell [data-contextual-action] :is(.reveal-in-action, .next-in-action) {
  height: 50px !important;
  min-height: 50px !important;
}
@media (orientation: landscape) {
  html body :is(.illustrated-duel, .pq-cps-board) [data-photo-enlarged=true] [data-track-team],
  html body :is(.illustrated-duel, .pq-cps-board) [data-photo-enlarged=true] [data-track-team] [data-photo-id] {
    z-index: auto !important;
  }
  html body :is(.illustrated-duel, .pq-cps-board) [data-photo-enlarged=true] [data-track-team] :is(span[data-decade], [data-new-photo-year]) {
    z-index: 40 !important;
  }
  html body :is(.illustrated-duel, .pq-cps-board) [data-photo-enlarged=true] [data-track-team] span[data-decade]:not([style*=absolute]) {
    position: relative;
  }
}
@media (orientation: landscape) {
  html body .illustrated-duel main[data-photo-enlarged=true] [data-track-team][data-track-team] > div > div[data-photo-id] > span[data-decade][data-decade] {
    z-index: 40 !important;
  }
}
@media (orientation: landscape) {
  html body .illustrated-duel [data-duel-board][data-photo-enlarged=true] [data-track-team][data-track-team] > div > div[data-photo-id] > span[data-decade][data-decade] {
    z-index: 40 !important;
  }
}
html body .illustrated-duel .duel-shell [data-contextual-action] button[aria-label="Montrer les emplacements"],
html body .illustrated-duel .duel-shell [data-contextual-action] .illustrated-contest-token {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
  width: 48px !important;
  height: 48px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 0 !important;
}
html body .illustrated-duel [data-contextual-action] button[aria-label="Montrer les emplacements"] > span {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: auto !important;
  height: auto !important;
  display: grid;
  place-items: center;
}
html body .illustrated-duel [data-contextual-action] [data-placement-source] svg.illustrated-pin,
html body .illustrated-marker-flight[data-choice-kind=placement] > svg.illustrated-pin {
  filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff) drop-shadow(0 2px 3px rgba(0, 0, 0, .4));
}
html body .illustrated-duel .duel-shell [data-contextual-action] .illustrated-contest-token > [data-choice-kind=contest],
html body .illustrated-marker-flight[data-choice-kind=contest] {
  width: 40px !important;
  height: 40px !important;
  box-sizing: border-box !important;
  border-radius: 50% !important;
  background: #fff !important;
  border: 2px solid var(--owner) !important;
  color: var(--owner) !important;
  box-shadow: 0 0 0 2px #fff, 0 3px 8px rgba(0, 0, 0, .4) !important;
  display: grid !important;
  place-items: center !important;
}
html body .illustrated-duel [data-contextual-action] .illustrated-contest-token > [data-choice-kind=contest] svg,
html body .illustrated-marker-flight[data-choice-kind=contest] svg {
  color: var(--owner) !important;
  stroke: currentColor;
}
html body .pq-hung-bubble .pq-bubble-check {
  position: static !important;
  display: inline-grid !important;
  vertical-align: middle;
  margin-right: 6px;
  flex: none;
}
html body .pq-hung-bubble:has(.pq-bubble-check) {
  display: inline-flex;
  align-items: center;
}
html body .illustrated-duel .pq-token-ring .pq-ring-tick {
  stroke: var(--owner,#235db8);
  stroke-width: 2.2;
  stroke-linecap: butt;
}
@keyframes pq-ring-gain {
  0% {
    stroke-dasharray: 0 var(--c);
    opacity: .35;
  }
  70% {
    stroke-dasharray: var(--seg) var(--c);
    opacity: 1;
  }
  100% {
    stroke-dasharray: var(--seg) var(--c);
    opacity: 1;
  }
}
html body .illustrated-duel .pq-token-ring .pq-ring-gain {
  animation: pq-ring-gain .75s ease-out 3;
  filter: drop-shadow(0 0 3px #ffd25a);
}
html body .illustrated-duel .pq-token-ring .pq-ring-gain[data-complete] {
  animation: pq-ring-gain .9s ease-out 1 forwards;
}
@keyframes pq-token-won {
  0%, 100% {
    transform: scale(1);
    filter: none;
  }
  20% {
    transform: scale(1.45);
    filter: drop-shadow(0 0 10px #ffd25a);
  }
  40% {
    transform: scale(1);
  }
  60% {
    transform: scale(1.3);
    filter: drop-shadow(0 0 8px #ffd25a);
  }
  80% {
    transform: scale(1);
  }
}
html body .illustrated-duel [data-token-won] {
  animation: pq-token-won 1.3s ease-in-out .9s 2;
  position: relative;
  z-index: 3;
}
html body .illustrated-duel [data-token-won]::after {
  content: "+1";
  position: absolute;
  left: 50%;
  top: -6px;
  transform: translateX(-50%);
  font: 900 15px system-ui, sans-serif;
  color: #ffd25a;
  text-shadow: 0 1px 2px #0008;
  opacity: 0;
  animation: pq-token-plus 1.6s ease-out .9s 1 forwards;
  pointer-events: none;
}
@keyframes pq-token-plus {
  0% {
    opacity: 0;
    transform: translate(-50%, 6px);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -18px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html body .illustrated-duel .pq-ring-gain,
  html body .illustrated-duel [data-token-won],
  html body .illustrated-duel [data-token-won]::after {
    animation: none !important;
  }
}
html body .illustrated-duel .pq-duel-lines {
  gap: 4px !important;
  justify-content: center !important;
}
html body .illustrated-duel .pq-duel-line {
  line-height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body .illustrated-duel .duel-shell [data-team-heading] .illustrated-your-team {
  z-index: 4 !important;
}
html body .illustrated-duel .duel-shell [data-team-heading] [data-reserve] {
  margin-left: 5px !important;
}
@keyframes pq-cancel-fade {
  to {
    opacity: 0;
  }
}
html body .illustrated-duel [data-contextual-action] .pq-cancel-fading {
  animation: pq-cancel-fade .22s ease-out forwards;
  pointer-events: none;
}
html body .illustrated-duel [data-contextual-action] button[data-confirm-holding][data-cancel-contest-drop]:disabled {
  opacity: 1 !important;
}
html body .illustrated-duel.pq-cps-board main.cps-v2[data-photo-enlarged=true][data-photo-enlarged=true] [data-track-team][data-track-team] > div > div[data-photo-id][data-photo-id] > :is(span[data-decade], [data-new-photo-year]) {
  z-index: 1 !important;
}
html body :is(.illustrated-duel .duel-shell, .cps-v2.pqSolo.shell) [data-choice-kind=placement][data-choice-state=available]::after {
  content: none !important;
  display: none !important;
}
html body :is(.illustrated-duel .duel-shell, .cps-v2.pqSolo.shell) [data-choice-kind=placement][data-choice-state=available] > .illustrated-pin {
  opacity: .85 !important;
  transform: scale(.75);
  transform-origin: 50% 85%;
  overflow: visible;
  pointer-events: none;
}
html body :is(.illustrated-duel .duel-shell, .cps-v2.pqSolo.shell) [data-choice-kind=placement][data-choice-state=available] > .illustrated-pin path {
  fill: #e3e8ef99 !important;
  stroke: #3f4f66 !important;
  stroke-width: 6.4 !important;
  stroke-dasharray: 7 5;
}
html body :is(.illustrated-duel .duel-shell, .cps-v2.pqSolo.shell) [data-choice-kind=placement][data-choice-state=available] > .illustrated-pin circle {
  fill: #e3e8ef99 !important;
  stroke: #3f4f66 !important;
  stroke-width: 5.2 !important;
  stroke-dasharray: 5 4;
}
html body .illustrated-duel :is(.duel-shell, .cps-v2.shell.shell) [data-track-team] [data-new-photo-year][data-new-photo-year][data-new-photo-year] {
  background: #1f8a4c !important;
  color: #fff !important;
}
html body .pq-cps-board [data-placement-source] [data-choice-kind=placement],
html body .pq-cps-board .cps-v2.shell.shell [data-track-team] [data-placement-target=true] [data-choice-kind=placement],
html body .pq-cps-board .cps-v2.shell.shell .cps-confirm-placement [data-choice-kind=placement],
html body:has(.pq-cps-board) [data-placement-flight] [data-choice-kind=placement],
html body:has(.pq-cps-board) [data-placement-flight][data-choice-kind=placement],
html body:has(.pq-cps-board) [data-confirmation-flight][data-choice-kind=placement] {
  color: #e8661a !important;
  --owner:#e8661a !important;
}
html body .pq-cps-board [data-placement-source] [data-choice-kind=placement] svg.illustrated-pin,
html body .pq-cps-board .cps-v2.shell.shell [data-track-team] [data-placement-target=true] [data-choice-kind=placement] svg.illustrated-pin,
html body .pq-cps-board .cps-v2.shell.shell .cps-confirm-placement [data-choice-kind=placement] svg.illustrated-pin,
html body:has(.pq-cps-board) [data-placement-flight] svg.illustrated-pin,
html body:has(.pq-cps-board) [data-confirmation-flight] svg.illustrated-pin {
  color: #e8661a !important;
  filter: drop-shadow(0 1px 2px #0005) !important;
}
html body .pq-cps-board [data-placement-source] [data-choice-kind=placement] svg.illustrated-pin path,
html body .pq-cps-board .cps-v2.shell.shell [data-track-team] [data-placement-target=true] [data-choice-kind=placement] svg.illustrated-pin path,
html body .pq-cps-board .cps-v2.shell.shell .cps-confirm-placement [data-choice-kind=placement] svg.illustrated-pin path,
html body:has(.pq-cps-board) [data-placement-flight] svg.illustrated-pin path,
html body:has(.pq-cps-board) [data-confirmation-flight] svg.illustrated-pin path {
  fill: #e8661a !important;
  stroke: #fff !important;
  stroke-width: 2px !important;
}
html body .pq-cps-board [data-placement-source] [data-choice-kind=placement] svg.illustrated-pin circle,
html body .pq-cps-board .cps-v2.shell.shell [data-track-team] [data-placement-target=true] [data-choice-kind=placement] svg.illustrated-pin circle,
html body .pq-cps-board .cps-v2.shell.shell .cps-confirm-placement [data-choice-kind=placement] svg.illustrated-pin circle,
html body:has(.pq-cps-board) [data-placement-flight] svg.illustrated-pin circle,
html body:has(.pq-cps-board) [data-confirmation-flight] svg.illustrated-pin circle {
  fill: #fff !important;
  stroke: none !important;
  display: inline !important;
  opacity: 1 !important;
}
html body .pq-cps-board [data-placement-source] [data-choice-kind=placement] svg.illustrated-pin circle,
html body .pq-cps-board .cps-v2.shell.shell [data-track-team] [data-placement-target=true] [data-choice-kind=placement]:not([data-choice-state=confirmed]) svg.illustrated-pin circle,
html body:has(.pq-cps-board) [data-placement-flight] svg.illustrated-pin circle {
  fill: #e8661a !important;
}
html body .pq-cps-board .cps-v2 [data-pq=player][data-online=false],
html body .pq-cps-board .cps-scores-page li[data-online=false] {
  color: inherit !important;
  outline: 2px dashed currentColor;
  outline-offset: 1px;
  border-radius: 999px;
}
html body .pq-cps-board .cps-v2 [data-pq=player][data-online=false] :is(strong, small, .cps-points) {
  color: inherit;
}
html body .pq-cps-board :is(.cps-v2 [data-pq=player], .cps-scores-page li)[data-online=false] .cps-avatar {
  position: relative;
  filter: grayscale(1);
}
html body .pq-cps-board :is(.cps-v2 [data-pq=player], .cps-scores-page li)[data-online=false] .cps-avatar::after {
  content: "\1f4a4";
  position: absolute;
  right: -.45em;
  top: -.55em;
  font-size: .6em;
  filter: none;
}
@keyframes pq-photo-in {
  from {
    opacity: 0;
    transform: scale(.96);
  }
}
html body .pq-cps-board:not(.pq-tv2-board) [data-current-photo]:not([data-photo-waiting=true]) > img {
  animation: pq-photo-in .8s cubic-bezier(.2, .7, .2, 1) backwards;
}
@media (prefers-reduced-motion: reduce) {
  html body .pq-cps-board [data-current-photo] > img {
    animation: none !important;
  }
}
