
/* Table Takes — cleaned stylesheet. Historical superseded declarations and unused selectors removed. */
:root {
  --muted: #85746e;
  --mint: #136f57;
  --gold: #d99b35;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: #f4eeeb;
  color: var(--dark);
}

button, input, select {
  font: inherit;
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #f08c80;
  outline-offset: 2px;
}

.layout {
  max-width: 1240px;
  margin: auto;
  padding: 22px;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0,1fr) 390px minmax(0,1fr);
}

.aside {
  padding-top: 48px;
}

.aside .kicker {
  color: var(--red);
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .16em;
}

.aside h1 {
  font: 900 41px/.98 Georgia,serif;
  letter-spacing: -.055em;
  margin: 17px 0;
}

.aside p, .aside li {
  font-size: 13px;
  line-height: 1.55;
  color: #655653;
}

.aside h3 {
  margin: 27px 0 10px;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: #8a7770;
  font-size: 11px;
}

.aside ul {
  padding-left: 18px;
}

.aside li {
  margin-bottom: 8px;
}

.jump {
  background: #fffaf6;
  border: 1px solid #e8d6cd;
  border-radius: 16px;
  padding: 16px;
}

.jump h3 {
  margin: 0 0 12px;
}

.jump-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.jump button {
  border: 1px solid #e4d3c9;
  background: white;
  color: #42302d;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 800;
  padding: 9px 5px;
  text-align: left;
}

.jump button:hover {
  border-color: var(--red);
  color: var(--red);
}

.phone {
  width: 390px;
  height: 844px;
  border: 8px solid #241e1d;
  border-radius: 43px;
  overflow: hidden;
  position: relative;
  background: var(--red);
  box-shadow: 0 25px 50px #29181230;
}

.phone:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 108px;
  height: 18px;
  background: #241e1d;
  z-index: 8;
  border-radius: 0 0 14px 14px;
  pointer-events: none;
}

.screen {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.red {
  color: white;
  background: var(--red);
}

.paper {
  background: var(--white);
}

.btn {
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: var(--red);
  color: white;
  font-size: 14px;
  font-weight: 900;
  padding: 10px 14px;
  width: 100%;
}

.btn.cream {
  background: var(--white);
  color: var(--red-dark);
}

.btn.outline {
  background: transparent;
  border: 1.5px solid #fff;
  color: white;
}

.btn.secondary {
  background: #f6eae4;
  color: var(--red-dark);
}

.btn.small {
  min-height: 38px;
  font-size: 12px;
}

.quiet {
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 800;
  padding: 8px;
  font-size: 12px;
}

.top {
  height: 62px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 24px 14px 5px;
}

.top .title {
  line-height: 1.13;
  font-weight: 900;
  font-size: 13px;
}

.top small {
  display: block;
  margin-top: 3px;
  color: #ffd5d7;
  font-size: 10px;
  font-weight: 650;
}

.top .nav {
  border: 1px solid #ffffff54;
  border-radius: 9px;
  background: #ffffff14;
  width: 36px;
  height: 34px;
  color: white;
  font-size: 20px;
  display: grid;
  place-items: center;
}

.count-strip {
  flex: none;
  margin: 0 16px;
  height: 4px;
  background: #ffffff3a;
  border-radius: 10px;
  overflow: hidden;
}

.count-strip span {
  display: block;
  height: 100%;
  background: #fff;
  transition: width .2s;
}

.home {
  padding: 28px 23px 28px;
  justify-content: space-between;
}

.home-top {
  text-align: right;
  font-size: 12px;
  font-weight: 800;
}

.home-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.home-logo {
  font: 900 78px/.81 Georgia,serif;
  text-align: center;
  text-shadow: 0 3px #910817;
}

.home-table {
  width: 170px;
  height: 120px;
  margin: 25px auto 5px;
}

.home-sub {
  text-align: center;
}

.home-actions {
  display: grid;
}

.room-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.room-caption {
  text-align: center;
}

.table-space {
  position: relative;
  flex: 1;
  width: 100%;
  margin: 5px auto 0;
}

.big-table {
  position: absolute;
  text-align: center;
  display: grid;
  place-items: center;
}

.big-table:after {
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  border: 1.5px solid #ffffff4a;
  content: "";
}

.seat {
  position: absolute;
  transform: translate(-50%,-50%);
  text-align: center;
  z-index: 3;
}

.seat button {
  display: grid;
  place-items: center;
  margin: auto;
}

.seat.remote button {
  background: #f1d7db;
}

.seat.empty button {
  font-size: 21px;
}

.seat-name {
  margin: 3px auto 0;
  padding: 3px;
  border-radius: 15px;
  white-space: nowrap;
  overflow: hidden;
}

.room-bottom {
  flex: none;
  padding: 13px 17px 22px;
  background: var(--white);
  color: var(--dark);
  display: grid;
}

.room-code {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.room-code strong {
  font-size: 17px;
  letter-spacing: .15em;
  color: var(--red-dark);
}

.light-line {
  background: #fff;
  border: 1px solid #e8d5cb;
  color: var(--dark);
  border-radius: 9px;
  padding: 11px 5px;
  font-size: 12px;
  font-weight: 850;
}

.config-top {
  height: 75px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 27px 17px 9px;
  border-bottom: 1px solid var(--line);
}

.config-top h2 {
  font: 900 26px Georgia,serif;
  letter-spacing: -.05em;
  margin: 0;
}

.xbtn {
  border: 0;
  background: transparent;
  color: var(--red);
  font-size: 24px;
}

.config-content {
  overflow-y: auto;
  flex: 1;
  padding: 12px 18px 25px;
}

.control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  border-bottom: 1px solid var(--line);
}

.control strong {
  font-size: 14px;
}

.stepper {
  display: flex;
  align-items: center;
  background: #f1e7e0;
  border-radius: 9px;
  overflow: hidden;
}

.stepper button {
  border: 0;
  background: transparent;
  color: var(--red-dark);
  font-size: 20px;
  height: 36px;
  width: 36px;
}

.stepper span {
  display: inline-block;
  width: 38px;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.group-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 28px 0 10px;
}

.group-title strong {
  font: 900 20px Georgia,serif;
}

.group-title small {
  font-size: 11px;
  color: var(--muted);
}

.add-device {
  border: 1px dashed #d6a69f;
  color: var(--red);
  background: #fff7f4;
  width: 100%;
  border-radius: 9px;
  font-weight: 900;
  font-size: 12px;
  padding: 12px;
}

.bottom-sticky {
  position: sticky;
  bottom: -25px;
  margin: 12px -18px -25px;
  padding: 15px 18px 22px;
  background: linear-gradient(transparent,var(--white) 18%);
}

.play-stage, .reveal-stage {
  display: flex;
  flex-direction: column;
}

.question-card {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-height: 0;
  flex: 1;
}

.question-card:before {
  pointer-events: none;
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid #eadbd0;
  border-radius: 10px;
}

.q-main {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.q-main h2 {
  font: 900 clamp(22px,3vw,32px)/1.1 Georgia,serif;
  margin: 0;
}

.card-answer .answer-num {
  place-items: center;
  font: 900 15px Georgia,serif;
}

.card-answer.winning {
  border-color: var(--red);
}

.card-tail {
  font-family: Georgia,serif;
  position: relative;
  z-index: 1;
}

.cards-dock {
  background: var(--white);
  color: var(--dark);
  border-radius: 19px 19px 0 0;
  padding: 12px 15px 19px;
  margin: 12px -13px 0;
  box-shadow: 0 -3px 12px #83000d24;
}

.dock-title {
  display: flex;
  align-items: center;
  font-size: 11px;
  font-weight: 900;
}

.dock-title small {
  font-size: 10px;
  color: var(--muted);
  font-weight: 650;
}

.selection-line {
  grid-template-columns: 54px 1fr;
  gap: 9px;
  align-items: center;
}

.selection-label {
  font: 900 22px/.9 Georgia,serif;
  color: var(--red);
}

.selection-label small {
  font: 700 9px Arial,sans-serif;
  letter-spacing: 0;
  color: var(--muted);
}

.keys {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 6px;
}

.keys.two {
  grid-template-columns: repeat(2,minmax(0,1fr));
}

.key {
  height: 49px;
  border: 1.5px solid #e1cbc2;
  color: var(--red);
  background: white;
  border-radius: 7px;
  box-shadow: 0 3px 0 #e5d7ce;
  font: 900 21px Georgia,serif;
}

.key.selected {
  background: var(--red);
  color: #fff;
  border-color: var(--red-dark);
  box-shadow: 0 3px 0 #920611;
}

.cards-dock .btn {
  margin-top: 3px;
}

.wait-bottom {
  padding: 17px 15px 22px;
  flex: none;
  background: var(--white);
  color: var(--dark);
  border-radius: 20px 20px 0 0;
  margin-top: 10px;
}

.readiness {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 7px;
  max-height: 210px;
  overflow-y: auto;
  margin-bottom: 12px;
}

.reveal-stage {
  padding-bottom: 0;
}

.reveal-stage .question-card {
  flex: 1;
}

.reveal-stage .card-answer-list {
  gap: 4px;
}

.reveal-stage .card-answer .answer-num {
  height: 22px;
  width: 22px;
}

.reveal-dock {
  background: var(--white);
  color: var(--dark);
  margin: 9px -13px 0;
  padding: 11px 13px 19px;
  flex: none;
  display: flex;
  flex-direction: column;
  max-height: 49%;
  min-height: 210px;
}

.reveal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
}

.reveal-head strong {
  font: 900 18px Georgia,serif;
}

.stage-pill {
  border-radius: 15px;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 900;
}

.score-head, .score-row {
  display: grid;
  align-items: center;
}

.score-head {
  border-bottom: 1px solid #e7d7cf;
  padding: 0 5px 5px;
  color: #a58c81;
  font-size: 9px;
  font-weight: 900;
  text-align: center;
}

.score-head div:first-child {
  text-align: left;
}

.scores {
  min-height: 0;
  overflow: auto;
  flex: 1;
}

.score-row {
  padding: 5px;
  border-bottom: 1px solid #f0e6e0;
  min-height: 33px;
  text-align: center;
  font-weight: 900;
  font-size: 12px;
}

.score-name {
  text-align: left;
  display: flex;
  align-items: center;
  min-width: 0;
  font-size: 11px;
}

.score-name .initial {
  background: #edc9c2;
  color: var(--red-dark);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 8px;
}

.score-name .person-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.score-name .score-total {
  white-space: nowrap;
}

.sc-box {
  display: inline-grid;
  place-items: center;
  margin: auto;
  border: 1px solid #e2cdc4;
  border-radius: 5px;
  width: 28px;
  height: 25px;
  color: var(--red-dark);
  font: 900 14px Georgia,serif;
  background: white;
}

.sc-box.t {
  background: #fae8e2;
}

.sc-box.hidden {
  background: #f5ece8;
  color: #b4a29c;
  font: 800 13px Arial,sans-serif;
}

.points {
  color: #0b7d55;
  font-size: 13px;
}

.reveal-dock .btn {
  margin-top: 9px;
  flex: none;
}

.reveal-dock.crowded {
  max-height: 53%;
}

.reveal-dock.crowded .score-row {
  min-height: 25px;
  padding: 2px 5px;
}

.reveal-dock.crowded .score-name .initial {
  height: 18px;
  width: 18px;
}

.reveal-dock.crowded .sc-box {
  height: 20px;
  width: 25px;
  font-size: 12px;
}

.reveal-dock.crowded .score-head {
  padding-bottom: 3px;
}

.modal-shade {
  position: absolute;
  inset: 0;
  background: #1a0609aa;
  z-index: 12;
  display: flex;
  align-items: flex-end;
}

.modal {
  background: var(--white);
  color: var(--dark);
  width: 100%;
  border-radius: 22px 22px 0 0;
  padding: 22px 18px 25px;
  box-shadow: 0 -10px 30px #21001532;
}

.modal h2 {
  font: 900 24px Georgia,serif;
  margin: 0 0 12px;
}

.modal label {
  display: block;
  font-size: 11px;
  font-weight: 900;
  margin: 12px 0 6px;
}

.modal input, .modal select {
  background: white;
  border: 1px solid #e5d0c8;
  border-radius: 10px;
  width: 100%;
  height: 46px;
  padding: 9px 12px;
  font-size: 14px;
  color: var(--dark);
}

.modal .btn {
  margin-top: 17px;
}

.modal .flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.handoff {
  position: absolute;
  inset: 0;
  z-index: 13;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--red);
  padding: 27px;
  color: white;
}

.handoff .icon {
  font-size: 54px;
  margin-bottom: 14px;
}

.handoff h2 {
  font: 900 31px Georgia,serif;
  margin: 0 0 9px;
}

.handoff p {
  font-size: 13px;
  color: #ffe1dd;
  line-height: 1.5;
}

.handoff button {
  margin-top: 25px;
}

@media (max-width:900px) {
  .layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .aside {
    display: none;
  }

  .phone {
    max-height: none;
  }

  .phone:before {
    display: none;
  }

  .top {
    padding-top: 10px;
  }

  .config-top {
    padding-top: 10px;
  }

  .home {
    padding-top: 20px;
  }

}

@media (max-height:720px) {
  .room-bottom {
    padding-top: 9px;
    padding-bottom: 13px;
  }

  .room-bottom .btn {
    min-height: 43px;
  }

  .play-stage {
    padding-top: 5px;
  }

  .key {
    height: 43px;
  }

  .cards-dock {
    margin-top: 6px;
    padding-bottom: 12px;
  }

  .reveal-stage {
    padding-top: 6px;
  }

  .reveal-dock {
    margin-top: 6px;
    min-height: 170px;
    max-height: 52%;
    padding-top: 8px;
    padding-bottom: 12px;
  }

}

.add-modal {
  max-height: 91%;
  overflow-y: auto;
  padding-bottom: 25px;
}

.add-modal .btn {
  margin-top: 14px;
  min-height: 44px;
}

.invite-separator {
  margin: 20px 0 10px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
}

.invite-separator span {
  font: 900 16px Georgia,serif;
  color: var(--red-dark);
}

.invite-code-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ead8ce;
  background: #fdf5ef;
  border-radius: 9px;
  padding: 11px 12px;
}

.invite-code-line span {
  color: #99817b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .11em;
}

.invite-code-line strong {
  letter-spacing: .12em;
  color: var(--red);
  font-size: 17px;
}

.invite-help {
  font-size: 12px;
  margin: 9px 0 13px;
  color: #6a5751;
}

.share-options {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 7px;
}

.share-option {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid #e6d6cd;
  border-radius: 12px;
  background: white;
  color: var(--red-dark);
  padding: 10px 3px;
  font-size: 10px;
  font-weight: 900;
  min-height: 75px;
}

.share-option:hover {
  border-color: var(--red);
  background: #fff6f4;
}

.share-icon {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #fbe6e1;
  color: var(--red);
  font-size: 17px;
  font-weight: 900;
}

.proto-note {
  color: #98877d;
  font-size: 10px;
  line-height: 1.4;
  margin: 12px 0 0;
}

.share-modal {
  padding-bottom: 30px;
}

.share-modal .invite-separator {
  margin-top: 5px;
}

.room-return {
  display: block;
  margin: 13px auto 0;
}

.toast {
  position: absolute;
  z-index: 30;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%,14px);
  border-radius: 24px;
  background: #231919;
  color: white;
  padding: 11px 20px;
  font-size: 12px;
  opacity: 0;
  transition: opacity .18s,transform .18s;
  pointer-events: none;
  white-space: nowrap;
  max-width: 95%;
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%,0);
}

:root {
  --red: #ca1228;
  --red-dark: #990c20;
  --dark: #181516;
  --white: #fffdfb;
  --paper: #fffdfa;
  --off: #f8f2ee;
  --line: #eedfdb;
}

html, body {
  font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}

.home-logo, .home-sub, .config-top h2, .group-title strong, .modal h2, .selection-label, .reveal-head strong, .card-tail, .q-main h2, .invite-separator span {
  font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  letter-spacing: -.035em;
}

.home-logo {
  font-weight: 950;
  letter-spacing: -.07em;
}

.room-stage {
  padding: 10px 17px 0;
}

.room-caption {
  font-weight: 850;
  font-size: 12px;
  color: #ffe2e5;
  margin-top: 12px;
}

.table-space {
  max-height: 430px;
  min-height: 250px;
  margin-top: 8px;
}

.big-table {
  left: 21%;
  top: 26%;
  width: 58%;
  height: 48%;
  border: 5px solid #f7ccd1;
  color: var(--red);
  border-radius: 50%;
}

.big-table:after {
  display: none;
}

.seat button {
  border: 2px solid #fff;
  color: var(--red);
  border-radius: 50%;
  font-weight: 950;
  box-shadow: 0 2px 8px #56081435;
}

.seat.local button {
  background: #fff;
}

.seat.empty button {
  background: #bd2938;
  border: 1.6px dashed #ffe0e3;
  color: #fff;
}

.seat-name {
  background: none;
  border: 0;
  color: #fff;
  text-shadow: 0 1px 3px #6c081a40;
}

.seat.empty .seat-name {
  background: none;
}

.room-bottom {
  border-radius: 18px 18px 0 0;
}

.room-code {
  font-size: 11px;
}

.roster-list {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.roster-line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-bottom: 1px solid #f0e4de;
  font-size: 13px;
}

.roster-line:last-child {
  border-bottom: 0;
}

.roster-line .initial {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: none;
  border-radius: 50%;
  background: #f9e3e3;
  color: var(--red);
  font-size: 10px;
  font-weight: 950;
}

.roster-line strong {
  flex: 1;
}

.roster-line button {
  border: none;
  background: transparent;
  font-size: 23px;
  color: #a7938d;
}

.bot-tag {
  font-size: 9px;
  letter-spacing: .06em;
  color: var(--red);
  background: #ffe8e9;
  padding: 3px 5px;
  border-radius: 4px;
  font-weight: 900;
}

.top .size-control {
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -.07em;
  line-height: 1;
  padding-bottom: 2px;
}

.question-card {
  border: 0;
  border-radius: 9px;
  box-shadow: 0 4px 0 #9f10252e,0 10px 20px #6b091632;
  padding: 19px 22px 16px;
  background: #fffdfb;
  color: var(--red);
  transition: background-color .25s ease,color .25s ease;
}

.question-card:before {
  display: none;
}

.q-main {
  justify-content: flex-start;
  gap: 22px;
  padding: 24px 0 8px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.q-main h2 {
  font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size: clamp(25px,3vw,33px);
  font-weight: 950;
  letter-spacing: -.055em;
  line-height: 1.09;
  text-align: left;
  color: inherit;
  flex: none;
}

.card-answer-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: inherit;
}

.card-answer {
  display: grid;
  grid-template-columns: 28px minmax(0,1fr) auto;
  align-items: baseline;
  border: 0;
  border-bottom: 1px solid #edcdd1;
  border-radius: 0;
  background: none;
  min-height: 36px;
  padding: 8px 0 8px;
  gap: 5px;
  color: inherit;
}

.card-answer .answer-num {
  display: block;
  border: none;
  border-radius: 0;
  background: none;
  color: inherit;
  height: auto;
  width: auto;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: -.05em;
  text-align: left;
}

.card-answer .answer-label {
  font-size: 15px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -.018em;
}

.card-answer.winning {
  border-bottom-color: inherit;
  background: none;
}

.card-answer.winning .answer-num {
  color: inherit;
  background: none;
}

.card-answer.winning .answer-label {
  font-weight: 950;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card-tail {
  font-size: 10px;
  letter-spacing: .1em;
  text-align: left;
  font-weight: 950;
  color: inherit;
  opacity: .78;
  padding-top: 10px;
  margin-top: auto;
}

.final-stage .reveal-stage {
  background: var(--red);
}

.question-card.final {
  background: var(--red);
  color: white;
  box-shadow: 0 4px 0 #5e00132f,0 10px 19px #5e00132f;
}

.question-card.final .card-answer {
  border-bottom-color: #ffffff58;
}

.text-size-1 .q-main h2 {
  font-size: clamp(27px,3vw,37px);
}

.text-size-2 .q-main h2 {
  font-size: clamp(29px,3vw,42px);
}

.text-size-1 .card-answer .answer-label {
  font-size: 16px;
}

.text-size-2 .card-answer .answer-label {
  font-size: 18px;
}

.reveal-stage .q-main {
  padding: 13px 0 5px;
  gap: 10px;
}

.reveal-stage .q-main h2 {
  font-size: clamp(22px,2.5vw,27px);
}

.reveal-stage .card-answer {
  min-height: 28px;
  padding: 4px 0;
}

.reveal-stage .card-tail {
  font-size: 9px;
}

.reveal-stage .question-card {
  min-height: 190px;
  padding: 13px 17px 12px;
}

.reveal-dock {
  border-radius: 17px 17px 0 0;
}

.wait-actions {
  display: grid;
  gap: 6px;
  margin-top: 7px;
}

.wait-actions .btn {
  min-height: 41px;
}

.bot-toggle {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  margin: 18px 0 9px !important;
  position: relative;
  min-height: 48px;
  cursor: pointer;
}

.bot-toggle div {
  margin-right: auto;
}

.bot-toggle strong {
  display: block;
  font-size: 13px;
}

.bot-toggle small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: #927970;
  margin-top: 2px;
}

.bot-toggle input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.bot-toggle .switch-track {
  width: 45px;
  height: 26px;
  flex: none;
  border-radius: 18px;
  background: #c8bcb6;
  position: relative;
  transition: background .2s;
}

.bot-toggle .switch-track:after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px #0002;
  transition: transform .2s;
}

.bot-toggle input:checked+.switch-track {
  background: var(--red);
}

.bot-toggle input:checked+.switch-track:after {
  transform: translateX(19px);
}

.bot-toggle input:focus-visible+.switch-track {
  outline: 2px solid #902534;
  outline-offset: 3px;
}

@media (max-height:720px) {
  .room-stage .table-space {
    min-height: 220px;
  }

  .question-card {
    padding: 13px 17px 12px;
  }

  .q-main {
    padding: 10px 0 4px;
    gap: 8px;
  }

  .q-main h2 {
    font-size: 25px;
  }

  .card-answer {
    min-height: 30px;
    padding: 5px 0;
  }

  .card-answer .answer-label {
    font-size: 13px;
  }

  .reveal-stage .q-main {
    padding: 6px 0 2px;
  }

  .reveal-stage .card-answer {
    min-height: 22px;
    padding: 2px 0;
  }

}

.question-card .q-main {
  padding-top: 15px;
  gap: 22px;
}

.question-card .card-tail {
  opacity: .95;
}

.card-tail-sep {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  opacity: .55;
}

.card-answer-list.has-tallies {
  gap: 0;
}

.card-tally-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) 43px 43px;
  align-items: end;
  gap: 0;
  border-bottom: 1px solid currentColor;
  opacity: .75;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .055em;
  padding: 0 6px 6px 0;
  text-align: center;
}

.card-answer-list.has-tallies .card-answer {
  grid-template-columns: 24px minmax(0,1fr) 43px 43px;
  column-gap: 3px;
  min-height: 34px;
}

.card-answer .tally-value {
  display: grid;
  place-items: center;
  min-width: 0;
  align-self: stretch;
  font-family: Arial,-apple-system,BlinkMacSystemFont,sans-serif;
  font-weight: 900;
  line-height: 1.4;
}

.card-answer .tally-value.read-tally {
  opacity: .9;
}

.question-card.final .card-answer.winning {
  background: #fff;
  color: var(--red);
  border: 2px solid #fff;
  border-radius: 7px;
  box-shadow: 0 0 0 1px #ffffff55;
  min-height: 38px;
  padding: 4px 6px;
  margin: 3px -6px;
}

.question-card.final .card-answer.winning .answer-label {
  font-weight: 950;
  text-decoration: none;
}

.question-card.final .card-answer.winning .tally-value {
  color: var(--red);
}

.question-card.final .card-answer.winning .answer-num {
  font-weight: 950;
  color: var(--red);
}

.question-card.final .card-answer:not(.winning) {
  border-bottom-color: #ffffff55;
}

.question-card.reveal-card {
  background: var(--red);
  color: #fff;
}

.question-card.reveal-card .card-answer {
  border-bottom-color: #ffffff52;
}

.question-card.reveal-card .card-answer .answer-num {
  color: #fff;
}

.question-card.reveal-card .card-answer.winning .answer-num {
  color: var(--red);
}

.question-card.reveal-card .card-tally-head {
  border-bottom-color: #ffffff55;
}

.question-card.reveal-card .q-main {
  padding-top: 10px;
  gap: 18px;
}

.question-card.reveal-card .card-tail {
  border-top-color: #ffffff55;
}

.reveal-stage .question-card .q-main h2 {
  font-size: clamp(22px,2.5vw,27px);
}

.reveal-stage .card-answer-list.has-tallies .card-answer {
  padding-top: 3px;
  padding-bottom: 3px;
  min-height: 27px;
}

.reveal-stage .card-tail {
  padding-top: 8px;
}

.selection-label.table-label {
  letter-spacing: -.03em;
}

.selection-label small {
  font-size: 9px;
  margin-top: 4px;
  line-height: 1.1;
}

@media (max-height:720px) {
  .reveal-stage .question-card .q-main {
    gap: 9px;
    padding-top: 4px;
  }

  .reveal-stage .card-answer-list.has-tallies .card-answer {
    min-height: 22px;
    padding-top: 1px;
    padding-bottom: 1px;
  }

  .reveal-stage .card-tally-head {
    padding-bottom: 3px;
  }

  .reveal-stage .question-card .card-tail {
    padding-top: 4px;
  }

}

.home-sub {
  font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 1.35;
  font-weight: 800;
  white-space: normal;
}

.room-settings {
  background: #fff;
  color: var(--red);
  border: 1.8px solid var(--red);
  min-height: 45px;
}

.room-settings:hover {
  background: #fff4f2;
}

.config-label {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--muted);
  margin: 10px 0 8px;
}

.mode-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: #f1e7e1;
  border-radius: 11px;
  padding: 4px;
}

.mode-toggle button {
  border: 0;
  background: transparent;
  border-radius: 8px;
  color: #85736c;
  min-height: 43px;
  font-weight: 900;
  font-size: 13px;
}

.mode-toggle button.active {
  background: var(--red);
  color: white;
  box-shadow: 0 2px 6px #84092023;
}

.config-player-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.config-player-actions .add-device {
  min-height: 43px;
}

.config-player-actions .invite-device {
  background: white;
  border-style: solid;
}

.selection-label small {
  display: none;
}

.question-card.reveal-card {
  border: 2px solid #fff;
  box-shadow: 0 4px 0 #55051433,0 10px 18px #55051433;
}

.card-answer .tally-value {
  font-size: 15px;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.reveal-stage .card-answer .tally-value {
  font-size: 14px;
}

.score-total {
  display: inline-grid;
  place-items: center;
  min-width: 21px;
  height: 20px;
  border-radius: 5px;
  padding: 0 5px;
  background: #efebe8;
  color: #817b77;
  font-weight: 900;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.status-indicator {
  display: grid;
  place-items: center;
  margin: auto;
  border: 1px solid #e4d5cb;
  border-radius: 6px;
  width: 28px;
  height: 25px;
  background: #f2edea;
  color: #938781;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.status-indicator.ready {
  background: #e3f3eb;
  border-color: #bfdccd;
  color: #197750;
  font-size: 16px;
}

.reveal-head strong {
  font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size: 16px;
  font-weight: 900;
}

.question-card .card-lower {
  position: relative;
  z-index: 1;
}

.question-card .card-feedback {
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 750;
}

.question-card .card-feedback>span {
  opacity: .68;
  margin-right: 4px;
}

.question-card .rating-button {
  width: 29px;
  height: 27px;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: transparent;
  border: 1px solid currentColor;
  color: inherit;
  border-radius: 7px;
  opacity: .68;
  font-size: 14px;
  line-height: 1;
}

.question-card .rating-button.rated {
  opacity: 1;
  background: #fff1e9;
  color: var(--red);
  border-color: var(--red);
}

.question-card.reveal-card .rating-button.rated {
  background: white;
  color: var(--red);
  border-color: white;
}

.question-card .card-tail {
  font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size: 9px;
  letter-spacing: .1em;
}

.question-card .q-main {
  min-height: 0;
}

@media (max-height:720px) {
  .question-card .card-feedback {
    margin-bottom: 5px;
    font-size: 9px;
  }

  .question-card .rating-button {
    width: 26px;
    height: 24px;
    font-size: 12px;
  }

  .room-bottom {
    gap: 7px;
  }

  .room-settings {
    min-height: 41px;
  }

}

.score-name .person-name {
  flex: 0 1 auto;
  min-width: 0;
}

.score-name .score-total {
  display: inline;
  flex: none;
  padding: 0;
  min-width: 0;
  height: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #aaa09c;
  font-size: 10px;
  font-weight: 600;
  font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.reveal-stage, .final-stage .reveal-stage {
  background: var(--red);
}

.score-head, .score-row {
  grid-template-columns: minmax(0,1fr) 55px 55px;
  gap: 8px;
}

.score-name {
  justify-content: flex-start;
  gap: 5px;
}

.score-name .score-total {
  margin-left: 2px;
}

.score-name .score-change {
  font-size: 10px;
  font-weight: 900;
  color: #14835b;
  white-space: nowrap;
  flex: none;
  font-variant-numeric: tabular-nums;
}

.score-row .status-indicator {
  justify-self: center;
  margin: 0 auto;
}

.home-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.home-top .rules-shortcut {
  width: 37px;
  height: 37px;
  border: 1px solid #ffffff88;
  border-radius: 9px;
  background: #ffffff11;
  color: white;
  display: grid;
  place-items: center;
  padding: 0;
}

.home-table.table-mark {
  display: block;
  color: white;
}

.table-mark {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--red);
}

.big-table .table-mark {
  width: 105px;
  height: 92px;
  max-width: 62%;
  max-height: 65%;
  z-index: 1;
}

.room-top .top-actions {
  display: flex;
  gap: 5px;
  align-items: center;
}

.room-top .top-actions .nav {
  width: 34px;
  height: 34px;
}

.dock-title {
  justify-content: flex-start !important;
  margin-bottom: 10px !important;
}

.dock-title strong {
  font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: -.035em;
}

.selection-label {
  font-size: 11px !important;
  line-height: 1.12;
  text-align: center !important;
  font-weight: 900 !important;
  letter-spacing: -.04em !important;
  max-width: 62px !important;
}

.selection-label.table-label {
  font-size: 11px !important;
}

.rules-screen {
  color: var(--dark);
}

.rules-main {
  min-height: 0;
  overflow-y: auto;
  flex: 1;
  padding: 22px 23px 12px;
}

.rules-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 0 15px;
  margin-bottom: 16px;
  color: var(--red);
}

.rules-brand-title {
  font-weight: 950;
  font-size: 22px;
  letter-spacing: -.06em;
}

.rules-brand-icon .rules-table-mark {
  width: 73px;
  height: 54px;
}

.rules-intro {
  font-size: 15px;
  font-weight: 850;
  margin: 0 0 36px;
  line-height: 1.4;
}

.rules-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  margin: 0 0 18px;
}

.rules-step>span {
  width: 26px;
  height: 26px;
  background: var(--red);
  color: white;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
  display: grid;
  place-items: center;
}

.rules-step strong {
  font-size: 15px;
  display: block;
  margin: 2px 0 5px;
}

.rules-step p {
  font-size: 12px;
  color: #766963;
  line-height: 1.42;
  margin: 0;
}

.rules-bottom {
  padding: 12px 18px 24px;
  border-top: 1px solid var(--line);
  flex: none;
}

.home-top .rules-shortcut {
  flex: none;
}

.home-center {
  gap: 0;
}

.home-center .home-sub {
  text-align: center;
  line-height: 1.3;
  font-weight: 800;
  color: #ffe3e7;
}

.home-center .home-table.table-mark {
  order: 2;
  flex: none;
  width: 185px;
  height: 136px;
  max-width: 100%;
  margin: 17px auto 0;
  color: white;
}

.question-card.reveal-card .card-answer.winning .answer-num, .question-card.reveal-card.final .card-answer.winning .answer-num, .question-card.reveal-card .card-answer.winning .tally-value, .question-card.reveal-card.final .card-answer.winning .tally-value {
  color: #fff;
}

.question-card.reveal-card .card-answer.winning .answer-label {
  color: #fff;
  text-decoration: none;
}

.question-card.reveal-card .card-answer.winning .tally-value.read-tally {
  color: #fff;
}

.score-row.round-winner {
  outline: 1.5px solid var(--red);
  outline-offset: -2px;
  border-radius: 7px;
  background: #fff5f4;
  border-bottom-color: transparent;
  margin: 2px 0;
}

.reveal-dock.crowded .score-row.round-winner {
  outline-width: 1.5px;
  margin: 1px 0;
}

@media (max-width:900px) {
  .home-center .home-sub {
    margin-bottom: 22px;
  }

}

.cards-dock {
  padding-top: 13px;
}

.cards-dock .dock-title {
  margin-bottom: 10px;
}

.selection-line {
  display: block;
  margin-bottom: 10px;
}

.selection-label, .selection-label.table-label {
  display: block;
  max-width: none !important;
  text-align: left !important;
  font-size: 12px !important;
  line-height: 1.2;
  letter-spacing: 0 !important;
  margin-bottom: 7px;
  padding-left: 1px;
  color: #a11427;
  font-weight: 900 !important;
}

.selection-line .keys {
  width: 100%;
}

.selection-line .key {
  height: 46px;
}

@media (max-height:720px) {
  .selection-line {
    margin-bottom: 7px;
  }

  .selection-label, .selection-label.table-label {
    margin-bottom: 4px;
  }

  .selection-line .key {
    height: 38px;
  }

  .cards-dock {
    padding-top: 9px;
  }

}

.question-card.reveal-card .card-answer.winning, .question-card.reveal-card.final .card-answer.winning {
  background: #b60b20 !important;
  color: #fff !important;
  border: 2.5px solid white !important;
  border-radius: 10px !important;
  box-shadow: 0 0 0 2px #ffffff22;
  min-height: 40px;
  margin: 5px 0 6px !important;
  padding: 6px 9px !important;
}

.question-card.reveal-card .card-answer.winning .answer-label {
  font-weight: 950 !important;
}

.reveal-stage .card-answer-list.has-tallies .card-answer.winning {
  min-height: 39px;
}

.seat {
  width: 77px;
}

.seat button {
  font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size: 25px;
  line-height: 1;
  width: 47px;
  height: 47px;
  background: #fffdfb;
}

.seat.bot button {
  background: #fff6e6;
}

.seat-name {
  width: 77px;
  max-width: 77px;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.14;
  text-overflow: ellipsis;
}

.seat-name.name-long {
  font-size: 10px;
}

.seat-name.name-very-long {
  font-size: 9px;
}

.seat button:hover, .roster-avatar:hover {
  border-color: #ffc2c7;
  transform: translateY(-1px);
}

.roster-avatar {
  border: 0;
  background: #ffebea;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 21px;
  line-height: 1;
  display: grid;
  place-items: center;
  flex: none;
  padding: 0;
  cursor: pointer;
}

.roster-line .roster-avatar {
  background: #f7ebe5;
  color: var(--red);
  font-size: 20px;
}

.score-name .initial.emoji-avatar {
  font-family: inherit;
  font-size: 15px;
  background: #f6e9e5;
  border: 1px solid #efe0db;
  color: inherit;
}

.emoji-choices {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 8px;
  margin: 16px 0 8px;
}

.emoji-choice {
  font-size: 28px;
  min-height: 45px;
  border: 1px solid #e8d8cf;
  border-radius: 12px;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 0;
}

.emoji-choice.selected {
  border: 2px solid var(--red);
  background: #fff0ef;
}

.emoji-modal p {
  font-size: 12px;
  line-height: 1.4;
  color: #786965;
  margin: 3px 0 7px;
}

@media (max-height:720px) {
  .seat {
    width: 69px;
  }

  .seat button {
    width: 41px;
    height: 41px;
    font-size: 23px;
  }

  .seat-name {
    width: 69px;
    max-width: 69px;
    font-size: 11px;
  }

  .seat-name.name-long {
    font-size: 9px;
  }

}

html {
  -webkit-text-size-adjust: 100%;
}

button, input, select {
  touch-action: manipulation;
}

@media (max-width:900px) {
  html, body {
    width: 100%;
    margin: 0;
    overflow-x: hidden;
    background: var(--red);
  }

  .layout {
    width: 100%;
    min-height: 100svh;
    display: block;
  }

  .phone {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    border: 0;
    border-radius: 0;
    max-width: none;
    overflow: hidden;
    box-shadow: none;
  }

  #app, .screen {
    height: 100%;
    min-height: 0;
  }

  .top {
    height: auto;
    min-height: 53px;
    padding: calc(8px + env(safe-area-inset-top,0px)) 12px 7px;
  }

  .top .nav {
    min-width: 38px;
    min-height: 38px;
  }

  .home {
    padding: calc(15px + env(safe-area-inset-top,0px)) 20px calc(20px + env(safe-area-inset-bottom,0px));
  }

  .home-center {
    min-height: 0;
  }

  .home-logo {
    font-size: clamp(57px,17vw,78px);
  }

  .home-center .home-table.table-mark {
    width: clamp(130px,39vw,185px);
    height: auto;
    max-height: 125px;
  }

  .home-actions {
    padding-bottom: 4px;
  }

  .btn {
    min-height: 48px;
    font-size: 15px;
  }

  .room-stage {
    overflow: hidden;
    min-height: 0;
  }

  .table-space {
    min-height: 0;
    max-height: none;
  }

  .room-bottom {
    padding-bottom: calc(12px + env(safe-area-inset-bottom,0px));
    flex: none;
  }

  .seat {
    max-width: 21vw;
  }

  .seat button {
    min-width: 38px;
    min-height: 38px;
  }

  .seat-name {
    max-width: 20vw;
  }

  .config-top {
    height: auto;
    min-height: 63px;
    padding: calc(12px + env(safe-area-inset-top,0px)) 16px 9px;
  }

  .config-content {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .bottom-sticky {
    padding-bottom: calc(16px + env(safe-area-inset-bottom,0px));
  }

  .play-stage, .reveal-stage {
    padding: 7px 10px 0;
    min-height: 0;
  }

  .question-card {
    min-height: 0;
    padding: 12px 13px 10px;
    border-radius: 15px;
  }

  .q-main {
    gap: clamp(7px,1.7vh,17px);
    padding: 6px 0;
    justify-content: center;
  }

  .q-main h2 {
    font-size: clamp(20px,6.3vw,30px);
    line-height: 1.1;
  }

  .card-answer-list {
    gap: 5px;
  }

  .card-answer {
    min-height: 34px;
  }

  .card-answer .answer-label {
    font-size: clamp(11px,3.3vw,14px);
  }

  .cards-dock, .reveal-dock, .wait-bottom {
    margin-left: -10px;
    margin-right: -10px;
    padding-left: 12px;
    padding-right: 12px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom,0px));
  }

  .cards-dock {
    margin-top: 7px;
    padding-top: 10px;
  }

  .selection-line {
    margin-bottom: 8px;
  }

  .selection-line .key {
    height: clamp(39px,6.5vh,52px);
    font-size: 20px;
  }

  .reveal-dock {
    max-height: 56%;
    min-height: 0;
    margin-top: 7px;
    padding-top: 9px;
  }

  .reveal-stage .question-card {
    min-height: 0;
  }

  .scores {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .reveal-dock .btn {
    margin-top: 7px;
  }

  .modal-shade {
    align-items: flex-end;
  }

  .modal {
    max-height: calc(100% - env(safe-area-inset-top,0px) - 15px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(20px + env(safe-area-inset-bottom,0px));
  }

  .modal input, .modal select {
    font-size: 16px;
  }

  .handoff {
    padding: calc(28px + env(safe-area-inset-top,0px)) 22px calc(25px + env(safe-area-inset-bottom,0px));
  }

  .rules-bottom {
    padding-bottom: calc(14px + env(safe-area-inset-bottom,0px));
  }

  .toast {
    bottom: calc(16px + env(safe-area-inset-bottom,0px));
  }

}

@media (max-width:900px) and (max-height:740px) {
  .home-center .home-sub {
    margin-bottom: 12px;
  }

  .home-center .home-table.table-mark {
    max-height: 93px;
    margin-top: 7px;
  }

  .home-logo {
    font-size: clamp(52px,14vw,69px);
  }

  .room-stage {
    padding-top: 0;
  }

  .room-bottom {
    padding-top: 9px;
    gap: 6px;
  }

  .room-bottom .btn {
    min-height: 43px;
  }

  .table-space {
    min-height: 0 !important;
  }

  .seat button {
    width: 39px;
    height: 39px;
    font-size: 21px;
  }

  .seat-name {
    font-size: 10px;
    margin-top: 2px;
    padding: 2px;
  }

  .play-stage, .reveal-stage {
    padding-top: 5px;
  }

  .question-card {
    padding: 9px 12px 7px;
  }

  .card-answer {
    min-height: 27px;
    padding: 2px 5px;
  }

  .card-answer .answer-num {
    height: 22px;
    width: 22px;
    font-size: 13px;
  }

  .q-main h2 {
    font-size: clamp(19px,5.4vw,24px);
  }

  .q-main {
    gap: 5px;
    padding: 2px 0;
  }

  .question-card .card-feedback {
    margin-bottom: 3px;
  }

  .cards-dock {
    margin-top: 4px;
    padding-top: 7px;
  }

  .dock-title {
    margin-bottom: 6px !important;
  }

  .selection-line {
    margin-bottom: 5px;
  }

  .selection-line .key {
    height: 37px;
  }

  .reveal-dock {
    max-height: 59%;
    padding-top: 7px;
  }

  .reveal-head {
    margin-bottom: 4px;
  }

  .score-row {
    min-height: 28px;
    padding-top: 3px;
    padding-bottom: 3px;
  }

}

@media (max-width:900px) and (max-width:360px) {
  .seat {
    width: 59px;
  }

  .seat button {
    width: 37px;
    height: 37px;
  }

  .seat-name {
    width: 57px;
    max-width: 57px;
    font-size: 9px;
  }

  .score-head, .score-row {
    grid-template-columns: minmax(0,1fr) 42px 42px;
    gap: 4px;
  }

  .score-name {
    gap: 3px;
  }

  .score-name .person-name {
    font-size: 10px;
  }

  .card-answer .answer-label {
    font-size: 11px;
  }

}

@media (max-width:900px) and (orientation:landscape) and (max-height:500px) {
  .screen {
    overflow-y: auto;
  }

  .phone {
    overflow: auto;
  }

  .room-stage {
    flex: 1 0 auto;
    min-height: 400px;
  }

  .home {
    min-height: 460px;
  }

}

.question-card.reveal-card .card-answer-list.has-tallies {
  gap: 4px;
}

.question-card.reveal-card .card-tally-head {
  grid-template-columns: minmax(0,1fr) 43px 43px;
  padding: 0 8px 5px 0;
}

.question-card.reveal-card .card-answer-list.has-tallies .card-answer, .question-card.reveal-card.final .card-answer-list.has-tallies .card-answer {
  box-sizing: border-box;
  grid-template-columns: 24px minmax(0,1fr) 43px 43px;
  column-gap: 3px;
  border: 1px solid transparent !important;
  border-radius: 9px !important;
  padding: 5px 8px !important;
  min-height: 39px !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-height:720px) {
  .question-card.reveal-card .card-answer-list.has-tallies {
    gap: 2px;
  }

  .question-card.reveal-card .card-answer-list.has-tallies .card-answer, .question-card.reveal-card.final .card-answer-list.has-tallies .card-answer {
    min-height: 30px !important;
    padding: 2px 6px !important;
  }

}

.home-center .home-logo {
  order: 0;
}

.home-center .home-sub {
  order: 1;
  margin: 19px auto 0 !important;
  max-width: 270px;
  letter-spacing: .01em;
  font-size: 14px;
}

.home-center .home-table {
  order: 2;
  margin-top: 18px;
}

.reveal-stage .question-card .q-main h2, .reveal-stage .q-main h2 {
  font-size: clamp(22px,6.3vw,30px) !important;
  line-height: 1.1 !important;
}

.reveal-stage .card-answer .answer-label {
  font-size: clamp(11px,3.3vw,14px) !important;
}

.reveal-stage .card-answer .answer-num {
  font-size: 15px !important;
}

.reveal-stage .question-card .q-main {
  gap: clamp(7px,1.7vh,17px);
}

.reveal-stage .score-row.round-winner .score-change {
  color: #12784d !important;
  font-weight: 900;
}

@media (max-width:900px) and (max-height:740px) {
  .reveal-stage .question-card .q-main h2 {
    font-size: clamp(19px,5.4vw,24px) !important;
  }

  .reveal-stage .card-answer .answer-label {
    font-size: clamp(11px,3.3vw,14px) !important;
  }

  .reveal-stage .question-card .q-main {
    gap: 5px;
  }

}

.picker-eligible-row {
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin-top: 16px !important;
  padding: 10px;
  border: 1px solid #ecd9d4;
  border-radius: 10px;
}

.picker-eligible-row input {
  width: 19px !important;
  height: 19px !important;
  flex: none;
  accent-color: var(--red);
}

.picker-eligible-row strong, .picker-eligible-row small {
  display: block;
}

.picker-eligible-row small {
  font-size: 10px;
  color: #8d7975;
  margin-top: 3px;
}

.picker-screen {
  overflow: hidden;
}

.picker-content {
  padding: 10px 17px 18px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1;
  gap: 13px;
}

.picker-meta {
  font-size: 12px;
  font-weight: 800;
  color: var(--red);
}

.picker-search input {
  width: 100%;
  border: 1px solid #e7d6d1;
  border-radius: 11px;
  padding: 12px 14px;
  background: #fff;
  color: var(--dark);
  font-size: 15px;
}

.picker-categories {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  flex: none;
  padding: 2px 1px 7px;
  scrollbar-width: thin;
}

.category-chip {
  border: 1px solid #e3c8c5;
  border-radius: 999px;
  background: white;
  color: #7e5655;
  padding: 9px 13px;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 800;
  min-height: 37px;
}

.category-chip.active {
  background: var(--red);
  color: white;
  border-color: var(--red);
}

.picker-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.picker-question {
  width: 100%;
  min-height: 93px;
  position: relative;
  text-align: left;
  border: 1.5px solid #e5d7d1;
  background: white;
  border-radius: 13px;
  padding: 13px 39px 13px 15px;
  color: var(--dark);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.picker-question strong {
  font-size: 16px;
  line-height: 1.23;
}

.picker-serial {
  font-size: 10px;
  color: var(--red);
  font-weight: 900;
  letter-spacing: .03em;
}

.picker-arrow {
  position: absolute;
  right: 15px;
  top: 38%;
  color: var(--red);
  font-size: 24px;
}

.picker-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.picker-hint {
  font-size: 11px;
  text-align: center;
  color: #9b7c79;
  margin: 0;
}

.picker-empty {
  padding: 30px 12px;
  color: #8b7770;
  text-align: center;
}

.pick-wait-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
}

.pick-wait-symbol {
  font-size: 55px;
}

.pick-wait-main h2 {
  font-size: 25px;
  line-height: 1.2;
  max-width: 290px;
}

.pick-wait-main p {
  color: #ffccd0;
}

.pick-wait-bottom {
  padding: 18px 20px 25px;
  text-align: center;
}

.pick-wait-bottom .quiet {
  color: #fff;
  text-decoration: underline;
}

@media (max-height:690px) {
  .picker-question {
    min-height: 76px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .picker-content {
    gap: 8px;
  }

  .picker-question strong {
    font-size: 14px;
  }

}

.home-actions {
  background: var(--white);
  border-radius: 20px 20px 0 0;
  padding: 16px 14px calc(18px + env(safe-area-inset-bottom));
  margin: 0 -23px -28px;
  gap: 10px;
}

.home-actions .home-enter {
  background: #fff;
  color: var(--red);
  border: 1.5px solid var(--red);
}

.home-actions .home-start {
  background: var(--red);
  color: white;
  border: 1.5px solid var(--red);
}

.top .title {
  flex: 1;
  text-align: left;
  padding-left: 4px;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: none;
}

.top .header-controls .nav:last-child {
  font-size: 25px;
  line-height: 1;
}

.question-card .card-feedback {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 7px;
  min-height: 35px;
  gap: 8px;
}

.card-feedback-left, .card-feedback-right {
  display: flex;
  align-items: center;
  gap: 7px;
}

.card-feedback-right {
  margin-left: auto;
}

.question-card .card-feedback .rating-button {
  display: grid;
  place-items: center;
  width: 33px;
  height: 33px;
  padding: 6px;
  border: none;
  background: transparent;
  color: inherit;
  border-radius: 7px;
  opacity: .78;
  touch-action: manipulation;
}

.question-card .card-feedback .rating-button svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: none;
}

.question-card .card-feedback .rating-button.rated {
  background: transparent;
  color: var(--red);
  opacity: 1;
}

.question-card.reveal-card .card-feedback .rating-button.rated {
  color: white;
  opacity: 1;
}

.question-card .card-feedback .rating-button:active {
  background: #8c8c8c24;
}

.question-card .card-feedback .rating-button:focus-visible {
  outline: 2px solid currentColor;
}

@media (max-height:720px) {
  .question-card .card-feedback .rating-button {
    height: 29px;
    width: 29px;
    padding: 4px;
  }

  .question-card .card-feedback .rating-button svg {
    height: 19px;
    width: 19px;
  }

}

.question-card .card-tail {
  gap: 6px;
  padding-top: 7px;
  border-top: 1px solid currentColor;
  text-align: left;
  margin-top: 0;
}

.card-footer-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  flex: none;
  font-size: 9px;
  letter-spacing: .055em;
}

.question-card .card-tail .card-feedback {
  align-items: center;
  gap: 3px;
  min-height: 32px;
}

.question-card .card-tail .card-feedback-left, .question-card .card-tail .card-feedback-right {
  gap: 2px;
}

.question-card .card-tail .card-feedback .rating-button {
  width: 31px;
  height: 31px;
  padding: 5px;
  opacity: .9;
}

.question-card .card-tail .card-feedback .rating-button svg {
  width: 20px;
  height: 20px;
}

@media (max-width:350px) {
  .card-footer-brand {
    font-size: 8px;
    gap: 5px;
  }

  .question-card .card-tail .card-feedback .rating-button {
    width: 27px;
    height: 29px;
    padding: 4px;
  }

  .question-card .card-tail .card-feedback .rating-button svg {
    width: 18px;
    height: 18px;
  }

}

.top:has(.header-controls) {
  position: relative;
  justify-content: flex-end;
}

.top:has(.header-controls) .title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 114px);
  padding: 0;
  margin: 0;
  text-align: center;
  pointer-events: none;
}

.question-card .card-tail .card-footer-brand {
  min-width: 0;
  text-align: center;
  gap: 7px;
}

.question-card .card-tail {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 43px;
  isolation: isolate;
}

.question-card .card-tail .card-footer-brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: max-content;
  max-width: 52%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: none;
  margin: 0;
  pointer-events: none;
  z-index: 1;
}

.question-card .card-tail .card-feedback {
  display: flex;
  justify-content: space-between;
  flex: 1 1 100%;
  width: 100%;
  min-width: 0;
  position: relative;
  z-index: 2;
  margin: 0;
}

.question-card .card-tail .rating-button.rated {
  opacity: 1;
  color: var(--red);
  background: #ffe2e4;
  border-radius: 8px;
}

.question-card .card-tail .rating-button.rated svg {
  fill: currentColor;
  stroke: currentColor;
}

.question-card.reveal-card .card-tail .rating-button.rated {
  color: var(--red);
  background: white;
}

.question-card .card-tail .rating-button:not(.rated) svg {
  fill: none;
}

@media (max-width:375px) {
  .question-card .card-tail .card-footer-brand {
    font-size: 8px;
    gap: 4px;
    letter-spacing: 0;
    max-width: 46%;
  }

}

.room-add-floating {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 43px;
  height: 43px;
  background: #fffdf8;
  color: var(--red);
  border: 2px solid #f0c2c2;
  border-radius: 50%;
  font-size: 26px;
  font-weight: 600;
  box-shadow: 0 3px 10px #5c081d44;
  z-index: 5;
  display: grid;
  place-items: center;
}

.seat.overflow-seat button {
  background: #fff7f4;
  color: var(--red);
  border: 2px solid #ffdbdd;
  font-weight: 900;
}

.room-add-floating.is-hidden {
  display: none !important;
}

.seat.add-seat button {
  background: #fffdf8;
  color: var(--red);
  border: 2px solid #f0c2c2;
  font-size: 25px;
  font-weight: 700;
}

.seat.overflow-seat button {
  font-family: inherit;
  font-size: 10px;
  line-height: 1.1;
  white-space: nowrap;
  padding: 0 2px;
}

.sc-box.t.read-winner {
  background: #148553 !important;
  color: #fff !important;
  border-color: #148553 !important;
}

.reveal-dock .btn, .wait-actions .btn {
  box-sizing: border-box;
  height: 49px;
  min-height: 49px;
  max-height: 49px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  font-size: 14px;
}

.config-content > .config-label:first-child {
  margin-top: 0;
}

.config-content > .control {
  border-bottom: none;
}

.stage-pill {
  background: #eeecea !important;
  color: #77716f !important;
  border: 1px solid #e3dfdc !important;
}

.reveal-stage .score-row.round-winner {
  outline: 2px solid #198454 !important;
  outline-offset: -2px;
  border: 0 !important;
  background: #e7f5ec !important;
  border-radius: 9px !important;
}

.reveal-stage .score-row.round-winner .score-name {
  color: #176643;
}

:root {
  --tt-green: #14865a;
}

.play-stage, .reveal-stage {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow: hidden;
}

.play-stage > .question-card, .reveal-stage > .question-card {
  box-sizing: border-box;
  flex: 0 0 auto !important;
  height: var(--tt-card-height) !important;
  min-height: 0 !important;
  max-height: none !important;
}

.cards-dock {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.reveal-dock, .reveal-dock.crowded {
  flex: 1 1 auto;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden;
}

.reveal-dock .scores {
  flex: 1 1 auto;
  overflow-y: auto;
  min-height: 0;
}

.question-card, .question-card.reveal-card, .question-card.reveal-card.final, .question-card.final {
  background: #fffdfb !important;
  color: var(--red) !important;
  border: 1.5px solid #fffdfb !important;
  box-shadow: 0 4px 0 #810b1d29, 0 10px 18px #57031229 !important;
}

.question-card.reveal-card .card-answer, .question-card.reveal-card.final .card-answer {
  color: var(--red) !important;
  background: transparent !important;
  border-bottom-color: #edccd0 !important;
}

.question-card.reveal-card .card-answer .answer-num, .question-card.reveal-card .card-answer .answer-label, .question-card.reveal-card .card-answer .tally-value, .question-card.reveal-card.final .card-answer .answer-num, .question-card.reveal-card.final .card-answer .answer-label, .question-card.reveal-card.final .card-answer .tally-value {
  color: var(--red) !important;
}

.question-card.reveal-card .card-tally-head, .question-card.reveal-card .card-tail, .question-card.reveal-card.final .card-tail {
  border-color: #edccd0 !important;
}

.question-card.reveal-card .card-answer-list.has-tallies .card-answer.winning, .question-card.reveal-card.final .card-answer-list.has-tallies .card-answer.winning {
  border-radius: 9px !important;
}

.question-card.reveal-card .card-answer.winning .answer-num, .question-card.reveal-card .card-answer.winning .answer-label, .question-card.reveal-card .card-answer.winning .tally-value {
  color: var(--red) !important;
  text-decoration: none !important;
}

.question-card.reveal-card .card-tail .rating-button.rated, .question-card.reveal-card.final .card-tail .rating-button.rated {
  color: var(--red) !important;
  background: #ffe2e4 !important;
}

@media (max-width:900px) and (orientation:landscape) and (max-height:500px) {
  .play-stage, .reveal-stage {
    flex: 1 0 auto !important;
    min-height: 480px !important;
    overflow: visible;
  }

  .play-stage > .question-card, .reveal-stage > .question-card {
    height: 255px !important;
  }

}

:root {
  --tt-card-height: 340px;
}

@media (max-height:650px) {
  :root {
    --tt-card-height: 46dvh;
  }

}

.play-stage > .cards-dock {
  flex: 0 0 auto !important;
  min-height: 0 !important;
  margin-top: auto !important;
  overflow: visible !important;
  overscroll-behavior: auto;
}

.play-stage, .reveal-stage {
  padding: 7px 10px 0 !important;
}

.play-stage > .question-card, .reveal-stage > .question-card, .reveal-stage .question-card, .play-stage .question-card {
  padding: 12px 13px 10px !important;
  border: 1.5px solid #fffdfb !important;
}

:root {
  --tt-vote-head: 20px;
}

.question-card .q-main, .reveal-stage .question-card .q-main, .question-card.reveal-card .q-main {
  display: grid !important;
  grid-template-rows: var(--tt-question-slot) minmax(0, 1fr);
  gap: 0 !important;
  justify-content: stretch !important;
  align-content: start !important;
  padding: 9px 0 0 !important;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}

.question-card .q-main::-webkit-scrollbar {
  display: none;
}

.question-card .q-main h2, .reveal-stage .question-card .q-main h2, .question-card.reveal-card .q-main h2 {
  display: block;
  margin: 0;
  padding: 0;
  align-self: start;
  font-size: clamp(20px,6.3vw,30px) !important;
  line-height: 1.1 !important;
  flex: none;
}

.question-card.text-size-1 .q-main h2 {
  font-size: clamp(22px,6.8vw,33px) !important;
}

.question-card.text-size-2 .q-main h2 {
  font-size: clamp(24px,7.3vw,36px) !important;
}

.question-card .card-answer-list, .question-card .card-answer-list.has-tallies, .reveal-stage .question-card .card-answer-list {
  display: flex !important;
  flex-direction: column;
  margin: 0;
  padding: 0;
  min-width: 0;
  flex: none;
}

.question-card .card-tally-head, .question-card.reveal-card .card-tally-head {
  box-sizing: border-box;
  display: grid;
  flex: 0 0 var(--tt-vote-head);
  height: var(--tt-vote-head);
  min-height: var(--tt-vote-head);
  align-items: center;
  text-align: center;
  gap: 0;
  font-size: 9px;
  font-weight: 900;
  padding: 0 6px 0 0 !important;
  border-bottom: 1px solid #edccd0 !important;
  opacity: 1;
  color: var(--red);
}

.question-card .card-tally-head.concealed {
  visibility: hidden;
}

.question-card .card-answer, .question-card .card-answer-list.has-tallies .card-answer, .question-card.reveal-card .card-answer-list.has-tallies .card-answer, .question-card.reveal-card.final .card-answer-list.has-tallies .card-answer {
  box-sizing: border-box;
  display: grid;
  flex: 0 0 var(--tt-option-row);
  width: 100%;
  height: var(--tt-option-row) !important;
  min-height: var(--tt-option-row) !important;
  max-height: var(--tt-option-row) !important;
  align-items: center !important;
  padding: 3px 6px !important;
  margin: 0 !important;
  border: 1px solid transparent !important;
  border-bottom: 1px solid #edccd0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--red) !important;
}

.question-card .card-answer .answer-num, .reveal-stage .question-card .card-answer .answer-num {
  width: auto !important;
  height: auto !important;
  align-self: center;
  font-size: 15px !important;
  color: var(--red) !important;
  border: 0 !important;
  background: none !important;
}

.question-card .card-answer .answer-label, .reveal-stage .question-card .card-answer .answer-label {
  font-size: clamp(11px,3.3vw,14px) !important;
  line-height: 1.2 !important;
  color: var(--red) !important;
  font-weight: 700;
  min-width: 0;
}

.question-card.text-size-1 .card-answer .answer-label {
  font-size: 15px !important;
}

.question-card.text-size-2 .card-answer .answer-label {
  font-size: 16px !important;
}

.question-card .card-answer .tally-value {
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 14px !important;
  color: var(--red) !important;
  min-width: 0;
}

.question-card .card-answer .tally-value.concealed {
  visibility: hidden;
}

.question-card.reveal-card .card-answer-list.has-tallies .card-answer.winning, .question-card.reveal-card.final .card-answer-list.has-tallies .card-answer.winning {
  border: 1px solid transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: inset 0 0 0 2px var(--tt-green) !important;
  background: transparent !important;
  padding: 3px 6px !important;
  margin: 0 !important;
  color: var(--red) !important;
}

.question-card .card-lower {
  margin-top: auto;
  flex: 0 0 auto;
}

.question-card .card-tail, .question-card.reveal-card .card-tail {
  box-sizing: border-box;
  height: 43px;
  min-height: 43px;
  max-height: 43px;
  padding: 0 !important;
  margin: 0 !important;
  border-top: 1px solid #edccd0 !important;
  display: flex;
  align-items: center;
}

@media (max-height:650px) {
  :root {
    --tt-vote-head: 13px;
  }

  .question-card .q-main h2, .reveal-stage .question-card .q-main h2 {
    font-size: clamp(17px,5.6vw,22px) !important;
  }

  .question-card .card-answer .answer-label, .reveal-stage .question-card .card-answer .answer-label {
    font-size: 11px !important;
  }

}

:root {
  --teal: #176B70;
}

.big-table {
  background: var(--teal) !important;
  border-color: #d4e8e7 !important;
  box-shadow: 0 8px 0 #124e52, 0 12px 18px #4409123d !important;
}

.big-table .table-mark {
  color: #fffdfb !important;
  filter: none !important;
}

.screen.gameplay-screen {
  background: var(--teal) !important;
}

.gameplay-screen .top, .gameplay-screen .play-stage, .gameplay-screen .reveal-stage, .gameplay-screen.final-stage .reveal-stage {
  background: var(--teal) !important;
}

.gameplay-screen .count-strip {
  background: #ffffff43;
}

.gameplay-screen .count-strip span {
  background: #fff;
}

.top.room-top {
  position: relative;
}

.top.room-top .title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 146px;
  max-width: calc(100% - 168px);
  padding: 0 !important;
  margin: 0 !important;
  text-align: center !important;
  flex: none !important;
  white-space: nowrap;
  pointer-events: none;
}

.top.room-top .title small {
  text-align: center;
}

.room-code {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 6px;
  justify-content: stretch;
}

.room-code .room-code-label {
  text-align: left;
  white-space: nowrap;
}

.room-code strong {
  justify-self: center;
  white-space: nowrap;
}

.room-code .quiet {
  justify-self: end;
  text-align: right;
  white-space: nowrap;
  padding: 8px 0 8px 6px;
}

@media (max-width:350px) {
  .room-code {
    column-gap: 3px;
  }

  .room-code strong {
    font-size: 15px;
    letter-spacing: .10em;
  }

  .room-code .room-code-label, .room-code .quiet {
    font-size: 10px;
  }

}

.table-space .seat button, .table-space .seat.add-seat button, .table-space .seat.overflow-seat button {
  border: 2px solid #176B70 !important;
  border-radius: 50%;
  box-shadow: 0 2px 0 #105257, 0 5px 10px #410b1933;
}

.table-space .seat.add-seat button {
  background: #fffdf9 !important;
  color: var(--red) !important;
}

.table-space .seat button:hover {
  border-color: #176B70 !important;
}

.cards-dock .selection-label, .cards-dock .selection-label.table-label {
  color: #21191a !important;
}

:root {
  --tt-question-slot: 86px;
  --tt-option-row: 33px;
}

.question-card .card-answer-list, .question-card .card-answer-list.has-tallies, .reveal-stage .question-card .card-answer-list {
  gap: 3px !important;
}

.question-card .card-tally-head, .question-card.reveal-card .card-tally-head {
  grid-template-columns: minmax(0,1fr) 42px 42px !important;
  column-gap: 9px !important;
  padding-right: 7px !important;
}

.question-card .card-answer, .question-card .card-answer-list.has-tallies .card-answer, .question-card.reveal-card .card-answer-list.has-tallies .card-answer, .question-card.reveal-card.final .card-answer-list.has-tallies .card-answer {
  grid-template-columns: 24px minmax(0,1fr) 42px 42px !important;
  column-gap: 9px !important;
}

@media (max-height:650px) {
  :root {
    --tt-question-slot: 65px;
    --tt-option-row: 26px;
  }

  .question-card .card-answer-list, .question-card .card-answer-list.has-tallies, .reveal-stage .question-card .card-answer-list {
    gap: 0 !important;
  }

}

.question-card .card-tail .card-feedback-right {
  gap: 5px;
}

.question-card .card-tail .vote-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #D9B9B4;
  border-radius: 999px;
  background: transparent;
  overflow: hidden;
  flex: none;
  height: 31px;
  padding: 1px 3px;
}

.question-card .card-tail .vote-pill-divider {
  display: block;
  width: 1px;
  height: 17px;
  background: #E4CBC7;
  flex: none;
}

.question-card .card-tail .card-feedback .vote-arrow {
  width: 27px;
  height: 27px;
  min-height: 27px;
  min-width: 27px;
  padding: 4px;
  border-radius: 50%;
  opacity: 1;
}

.question-card .card-tail .card-feedback .vote-arrow svg {
  width: 19px;
  height: 19px;
}

.question-card .card-tail .card-feedback .vote-arrow.rated, .question-card.reveal-card .card-tail .card-feedback .vote-arrow.rated, .question-card.reveal-card.final .card-tail .card-feedback .vote-arrow.rated {
  background: #FFE2E4 !important;
  color: var(--red) !important;
}

.question-card .card-tail .card-feedback .vote-arrow.rated svg {
  fill: currentColor !important;
  stroke: currentColor !important;
}

.question-card .card-tail .card-feedback .vote-arrow:not(.rated) svg {
  fill: none !important;
}

.question-card .card-tail .card-feedback .skip-control {
  flex: none;
  opacity: 1;
  color: var(--red);
  width: 28px;
  height: 31px;
  padding: 4px;
  border-radius: 7px;
}

.question-card .card-tail .card-feedback .skip-control svg {
  width: 21px;
  height: 21px;
  fill: none !important;
}

.question-card .card-tail .card-feedback .skip-control:active {
  background: #F6E9E8;
}

@media (max-width:375px) {
  .question-card .card-tail .card-feedback-right {
    gap: 4px;
  }

  .question-card .card-tail .vote-pill {
    height: 30px;
    padding: 1px 2px;
  }

  .question-card .card-tail .card-feedback .vote-arrow {
    width: 25px;
    height: 26px;
    min-width: 25px;
    min-height: 26px;
    padding: 4px;
  }

  .question-card .card-tail .card-feedback .vote-arrow svg {
    width: 17px;
    height: 17px;
  }

  .question-card .card-tail .card-feedback .skip-control {
    width: 25px;
    height: 29px;
    padding: 3px;
  }

  .question-card .card-tail .card-feedback .skip-control svg {
    width: 20px;
    height: 20px;
  }

}

@media (max-width:350px) {
  .question-card .card-tail .card-feedback-right {
    gap: 3px;
  }

  .question-card .card-tail .vote-pill {
    height: 27px;
    padding: 0 1px;
  }

  .question-card .card-tail .card-feedback .vote-arrow {
    width: 23px;
    height: 25px;
    min-width: 23px;
    min-height: 25px;
    padding: 4px;
  }

  .question-card .card-tail .card-feedback .vote-arrow svg {
    width: 17px;
    height: 17px;
  }

  .question-card .card-tail .card-feedback .skip-control {
    width: 23px;
    height: 27px;
    padding: 2px;
  }

  .question-card .card-tail .card-footer-brand {
    font-size: 8px;
  }

}

.home-top .rules-shortcut, .top.room-top .top-actions .nav {
  box-sizing: border-box;
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  flex: 0 0 38px;
  border: 1px solid #ffffff88;
  border-radius: 9px;
  background: #ffffff11;
  color: #fff;
  padding: 0;
  display: grid;
  place-items: center;
  line-height: 1;
}

.home-top .rules-shortcut svg, .top.room-top .top-actions .nav svg {
  display: block;
  flex: none;
  width: 19px;
  height: 19px;
}

.home-top {
  height: 38px;
  gap: 7px;
  margin-right: -9px;
  margin-top: -6px;
}

.top.room-top .top-actions {
  gap: 7px;
}

@media (max-width: 900px) {
  .home-top {
    margin-right: -8px;
    margin-top: -7px;
  }

}

#cards-workspace {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 100;
  background: #176B70;
  overflow: hidden;
}

#cards-workspace[hidden] {
  display: none !important;
}

#cards-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #176B70;
}

@media (max-width:350px) {
  .top.room-top .nav, .top.room-top .top-actions .nav {
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    flex: 0 0 34px !important;
  }

  .top.room-top .top-actions {
    gap: 4px;
  }

  .top.room-top .title {
    font-size: 11px;
  }

}

.room-bottom {
  gap: 10px;
}

.room-bottom > .btn {
  box-sizing: border-box;
  width: calc(100% + 6px);
  margin-left: -3px;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  padding: 10px 14px;
}

@media (max-width: 900px) {
  .room-bottom > .btn {
    width: calc(100% + 12px);
    margin-left: -6px;
  }

}

.modal .end-game-button {
  box-sizing: border-box;
  display: block;
  width: calc(100% + 8px);
  margin: 5px 0 5px -4px;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 900;
  color: var(--red);
}

@media (max-width:900px) {
  .modal .end-game-button {
    width: calc(100% + 14px);
    margin-left: -7px;
  }

}

.cards-dock .selection-line .selection-label, .cards-dock .selection-line .selection-label.table-label {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 23px;
  margin-bottom: 6px;
  line-height: 1;
  font-size: 12px !important;
  color: #a58c81 !important;
  font-weight: 900 !important;
  letter-spacing: .075em !important;
  text-transform: uppercase;
}

.cards-dock .selection-label-text {
  display: inline-block;
  flex: none;
}

.cards-dock .selection-avatar-group {
  display: inline-flex;
  align-items: center;
  flex: none;
  padding-left: 1px;
}

.cards-dock .selection-avatar {
  box-sizing: border-box;
  display: inline-grid;
  place-items: center;
  height: 23px;
  width: 23px;
  flex: 0 0 23px;
  border-radius: 50%;
  border: 1.5px solid #fffdfb;
  background: #f6e5e3;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
  overflow: hidden;
}

.cards-dock .selection-avatar + .selection-avatar {
  margin-left: -7px;
}

.cards-dock .selection-avatar-more {
  font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  background: #dedad7;
  color: #514644;
  font-size: 9px;
  letter-spacing: -.03em;
}

@media (max-height:720px) {
  .cards-dock .selection-line .selection-label, .cards-dock .selection-line .selection-label.table-label {
    min-height: 20px;
    margin-bottom: 4px;
  }

  .cards-dock .selection-avatar {
    height: 20px;
    width: 20px;
    flex-basis: 20px;
    font-size: 12px;
  }

  .cards-dock .selection-avatar-more {
    font-size: 9px;
  }

}

.gameplay-screen .cards-dock, .gameplay-screen .reveal-dock, .gameplay-screen .wait-bottom {
  background: #ffffff !important;
}

.final-scores-dock .score-head, .final-scores-dock .score-row {
  grid-template-columns: minmax(0, 1fr) 55px !important;
  gap: 8px;
}

.final-scores-dock .score-head div:last-child {
  text-align: center;
}

.final-scores-dock .score-row {
  min-height: 39px;
}

.final-scores-dock .final-score-cell {
  justify-self: center;
  font-variant-numeric: tabular-nums;
}

.final-scores-dock .final-score-cell.winning-score {
  border-color: var(--tt-green);
  background: var(--tt-green);
  color: #fff;
}

.final-scores-dock .final-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: none;
  margin-top: 9px;
}

.final-scores-dock .final-actions .btn {
  margin: 0;
  height: 48px;
  min-height: 48px;
  max-height: 48px;
  flex: none;
}

.final-scores-dock .final-actions .final-go-table {
  background: #fff;
  border: 1.5px solid #e4c7c4;
  color: var(--red-dark);
}

.gameplay-screen .question-card.text-size-0 .q-main h2 {
  font-size: clamp(20px,6.3vw,30px) !important;
}

.gameplay-screen .question-card.text-size-1 .q-main h2 {
  font-size: clamp(22px,6.8vw,33px) !important;
}

.gameplay-screen .question-card.text-size-2 .q-main h2 {
  font-size: clamp(24px,7.3vw,36px) !important;
}

.gameplay-screen .question-card.text-size-0 .card-answer .answer-label {
  font-size: clamp(11px,3.3vw,14px) !important;
}

.gameplay-screen .question-card.text-size-1 .card-answer .answer-label {
  font-size: 15px !important;
}

.gameplay-screen .question-card.text-size-2 .card-answer .answer-label {
  font-size: 16px !important;
}

@media (max-height:650px) {
  .gameplay-screen .question-card.text-size-0 .q-main h2 {
    font-size: clamp(17px,5.6vw,22px) !important;
  }

  .gameplay-screen .question-card.text-size-0 .card-answer .answer-label {
    font-size: 11px !important;
  }

}

