/* One illustrated room: generated furniture behind the approved Pal geometry and localized UI. */
.scene-illustration {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1;
  container-type: inline-size;
  --scene-ink: #182640;
  --scene-paper: #f1efff;
  --scene-pink: #ad2885;
  font-family: Nunito, sans-serif;
}
.scene-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.scene-illustration img {
  display: block;
  max-width: none;
}
.scene-illustration .party-pal,
.scene-illustration .avatar {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.scene-pal-body {
  position: relative;
  width: 100%;
}
.scene-pal-figure {
  position: relative;
  z-index: 1;
  transform: rotate(var(--pal-tilt, 0deg));
}
.scene-pal-figure .avatar-shadow-arrival,
.scene-pal-figure .party-pal > ellipse {
  display: none;
}
.scene-contact-light {
  position: absolute;
  left: 12%;
  top: var(--contact-y, 105%);
  width: 76%;
  height: 8%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    color-mix(in srgb, var(--pal-light), transparent 45%) 0%,
    color-mix(in srgb, var(--pal-light), transparent 75%) 40%,
    transparent 72%
  );
  transform: translateY(-50%);
}
.scene-question {
  position: absolute;
  display: grid;
  align-content: center;
  text-align: center;
  padding: 5.5% 6%;
  border-radius: 2.3cqw;
  background: linear-gradient(145deg, #fcf8ff, #e9ebff);
  color: var(--scene-ink);
  font:
    850 5.2cqw/1.3 Nunito,
    sans-serif;
  box-shadow:
    inset 0 1px #fff,
    0 12px 35px #05071c20;
  overflow-wrap: normal;
  text-wrap: balance;
}
.scene-question em {
  font-style: normal;
  color: var(--scene-pink);
  display: contents;
}
.scene-question em {
  display: inline;
}
.scene-sofa {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  z-index: 0;
}
.scene-gathering .scene-stage {
  transform: translateY(-6%);
}
.scene-seated {
  position: absolute;
  z-index: 1;
  width: 23%;
  top: 44%;
  --contact-y: 97%;
}
.scene-seated-0 {
  left: 12%;
  top: 46%;
  --pal-tilt: -8deg;
}
.scene-seated-1 {
  left: 31%;
  top: 43%;
  width: 24%;
  --pal-tilt: 6deg;
}
.scene-seated-2 {
  left: 51%;
  top: 46%;
  --pal-tilt: -5deg;
}
.scene-seated-3 {
  left: 75%;
  top: 59%;
  width: 24%;
  --pal-tilt: -10deg;
  --contact-y: 125%;
}
.scene-table {
  position: absolute;
  left: 24%;
  top: 47%;
  width: 64%;
  height: auto;
  z-index: 2;
}
.scene-gathering {
  aspect-ratio: 1.12;
}
.scene-gathering .scene-stage {
  inset: -12% -2% 0;
}
.scene-card-back {
  position: absolute;
  left: 16%;
  top: 17%;
  width: 78%;
  height: 42%;
  border: 1px solid #b8c9ee50;
  border-radius: 4cqw;
  background: #37234d;
  transform: rotate(7deg);
}
.scene-questions .scene-question {
  left: 9%;
  top: 15%;
  width: 82%;
  height: 44%;
  transform: rotate(-3deg);
  padding: 5%;
  font-size: 4.9cqw;
  border-radius: 5cqw;
}
.scene-curious-pal {
  position: absolute;
  left: 16%;
  top: 65%;
  width: 32%;
  --pal-tilt: -6deg;
}
.scene-thought {
  position: absolute;
  left: calc(100% + 1cqw);
  top: 3%;
  color: #ed92d9;
  font:
    900 12cqw/1 Nunito,
    sans-serif;
  transform: rotate(10deg);
}
.scene-faq .scene-curious-pal {
  left: 8%;
  top: 20%;
  width: 75%;
}
.scene-faq .scene-thought {
  left: 87%;
  top: -15%;
  font-size: 32cqw;
}
.scene-television {
  position: absolute;
  inset: 0;
  width: 92%;
}
.scene-television > img {
  width: 100%;
  height: auto;
}
.scene-tv-ui {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  overflow: visible;
}
.scene-tv-plane {
  position: relative;
  width: 1000px;
  height: 580px;
  transform-origin: 0 0;
  /* Map the UI plane to the four inside corners of shared-screen-v1's glass. */
  transform: matrix3d(
    1.0302197293,
    0.0246025657,
    0,
    0.0000800177,
    0.0013831603,
    0.9623576503,
    0,
    0.0000079492,
    0,
    0,
    1,
    0,
    174,
    132,
    0,
    1
  );
}
.scene-tv-brand {
  position: absolute;
  left: 29%;
  top: 8%;
  width: 42%;
  height: auto;
}
.scene-tv-ui .scene-question {
  left: 7%;
  top: 31%;
  width: 86%;
  height: 50%;
  padding: 0 2%;
  font-size: 48px;
  background: none;
  color: #f3f6ff;
  border-radius: 0;
  box-shadow: none;
}
.scene-tv-ui .scene-question em {
  color: #ed92d9;
}
.scene-controller {
  position: absolute;
  left: 63%;
  top: 34%;
  width: 37%;
  height: auto;
  z-index: 3;
  transform: rotate(8deg);
}
.scene-controller > img {
  width: 100%;
  height: auto;
}
.scene-controller-ui {
  position: absolute;
  left: 22%;
  top: 18%;
  width: 56%;
  height: 65%;
  font:
    800 2.3cqw/1.3 Nunito,
    sans-serif;
  color: #eaf1ff;
}
.scene-controller-heading {
  display: block;
  font-size: 2.5cqw;
  text-align: center;
  margin-bottom: 10%;
}
.scene-choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3%;
  height: 24%;
  border: 1px solid transparent;
  border-radius: 1.5cqw;
  padding: 2%;
}
.scene-choice > .party-pal,
.scene-choice > .avatar {
  width: 45%;
  flex: none;
}
.scene-choice-selected {
  background: #a5dffa18;
  border-color: #96d3f377;
}
.scene-choice > b {
  position: absolute;
  right: 3%;
  bottom: 3%;
  font-size: 2.4cqw;
  color: #b6ed98;
}
.scene-viewer {
  position: absolute;
  left: 7%;
  top: 61%;
  width: 28%;
  z-index: 2;
  --pal-tilt: -8deg;
  --contact-y: 110%;
}
.scene-second-viewer {
  position: absolute;
  left: 65%;
  top: 61%;
  width: 25%;
  z-index: 2;
  --pal-tilt: 7deg;
  --contact-y: 110%;
}
.scene-tv .scene-television {
  width: 100%;
  top: 2%;
}
.scene-tv .scene-viewer {
  left: 5%;
  top: 65%;
  width: 25%;
}
.scene-join .scene-television {
  width: 67%;
  left: 0;
  top: 2%;
  opacity: 0.85;
}
.scene-join .scene-controller {
  width: 51%;
  left: 43%;
  top: 15%;
  transform: rotate(7deg);
}
.scene-join .scene-controller-ui {
  font-size: 3cqw;
}
.scene-join .scene-controller-heading {
  font-size: 3.4cqw;
}
.scene-join .scene-viewer {
  width: 39%;
  left: 7%;
  top: 54%;
}
.scene-join-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5%;
  height: 100%;
  font:
    800 3cqw/1.3 Nunito,
    sans-serif;
}
.scene-join-profile > .party-pal,
.scene-join-profile > .avatar {
  width: 85%;
  height: auto;
  margin: 2% 0;
}
.scene-profile-name {
  padding: 7% 8%;
  width: 100%;
  text-align: left;
  border: 1px solid #acbad355;
  border-radius: 1.4cqw;
  color: #eaf1ff;
}
.scene-profile-action {
  padding: 7% 4%;
  width: 100%;
  text-align: center;
  background: #b6ed98;
  border-radius: 1.4cqw;
  color: #173322;
  font-weight: 900;
}

/* Same Brain has actual A–D answers, with the personal selection only on the phone. */
.scene-same .scene-question-sheet {
  position: absolute;
  left: 9%;
  top: 12%;
  width: 82%;
  height: 53%;
  border-radius: 4cqw;
  background: linear-gradient(145deg, #fcf8ff, #e9ebff);
  box-shadow: 0 12px 35px #05071c20;
  transform: rotate(-3deg);
  padding: 6% 6% 4%;
}
.scene-same.scene-questions .scene-question {
  position: static;
  transform: none;
  width: 100%;
  height: auto;
  min-height: 38%;
  padding: 0;
  background: none;
  box-shadow: none;
  font-size: 4.3cqw;
}
.scene-answer-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8cqw;
  text-align: left;
}
.scene-answer-options > div {
  display: flex;
  align-items: center;
  gap: 1.2cqw;
  min-width: 0;
  line-height: 1.2;
}
.scene-answer-options b {
  flex: none;
  display: grid;
  place-items: center;
  width: 4cqw;
  height: 4cqw;
  border-radius: 1cqw;
  background: #41577915;
  color: #344563;
  font-size: 2.5cqw;
}
.scene-answer-options span {
  font-size: 2.7cqw;
  font-weight: 800;
  color: #243650;
}
.scene-question-sheet > .scene-answer-options {
  margin-top: 5%;
}
.scene-same.scene-questions .scene-card-back {
  top: 14%;
  height: 53%;
}
.scene-same.scene-questions .scene-curious-pal {
  top: 73%;
  width: 26%;
}
.scene-same .scene-question em {
  color: #267b9c;
}
.scene-same .scene-tv-brand {
  left: 30%;
  width: 40%;
  top: 6%;
}
.scene-same .scene-tv-ui .scene-question {
  top: 23%;
  height: 25%;
  font-size: 40px;
}
.scene-same .scene-tv-ui .scene-answer-options {
  position: absolute;
  left: 9%;
  top: 54%;
  width: 82%;
  height: 35%;
  gap: 14px 24px;
}
.scene-same .scene-tv-ui .scene-answer-options > div {
  gap: 16px;
}
.scene-same .scene-tv-ui .scene-answer-options b {
  width: 44px;
  height: 44px;
  font-size: 27px;
  border-radius: 12px;
  background: #b2dff222;
  color: #9edaff;
}
.scene-same .scene-tv-ui .scene-answer-options span {
  font-size: 28px;
  color: #f1f4ff;
}
.scene-same .scene-tv-ui .scene-question em {
  color: #9edaff;
}
.scene-same-controller .scene-controller-heading {
  font-size: 2.2cqw;
  margin-bottom: 9%;
}
.scene-same-choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4%;
  height: 19%;
  padding: 3%;
  margin-bottom: 3%;
  border: 1px solid #acbad326;
  border-radius: 1cqw;
  font-size: 1.85cqw;
  line-height: 1.1;
}
.scene-same-choice > b {
  color: #9edaff;
  font-size: 2cqw;
}
.scene-same-choice > span {
  flex: 1;
}
.scene-same-choice.is-selected {
  background: #9edaff20;
  border-color: #b6ed98b0;
}
.scene-same-choice > i {
  font-size: 2cqw;
  color: #b6ed98;
  font-style: normal;
}

.scene-guilty-controller {
  display: grid;
  gap: 2cqw;
  min-width: 0;
}
.scene-guilty-answer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 9cqw;
  padding: 2cqw;
  border: 0.2cqw solid #b7b2f460;
  border-radius: 1.5cqw;
  color: #c5c8ff;
  background: #7866c315;
  font:
    800 3.2cqw/1 Nunito,
    sans-serif;
}
.scene-guilty-answer.is-selected {
  color: #ffc000;
  border-color: #ffd18b;
  background: #edb54920;
}
.scene-guilty-privacy {
  color: #b4c6df;
  font-size: 1.8cqw;
  line-height: 1.4;
  text-align: center;
}
.scene-guilty .scene-viewer {
  left: 24%;
}
