/* Project the real Quiz companion dock with a short scripted dialogue. */
.qcf {
  position: absolute;
  inset: 0;
  z-index: 2;
  isolation: isolate;
  overflow: hidden;
  color: #f3f3ec;
  background: radial-gradient(ellipse at 83% 82%,#183d45 0%,transparent 55%),
              linear-gradient(117deg,#071014 3%,#0a1b22 54%,#102b33 100%);
}
.qcf-light {
  position: absolute;
  inset: -9%;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(ellipse at 83% 103%,#80c9b77a 0%,#357d7a50 20%,transparent 53%),
              radial-gradient(ellipse at 78% 8%,#3d879448 0%,transparent 42%);
  transform: translate3d(calc((var(--qcf-drift,0) - .5) * -1.8%),0,0);
}
.qcf-light::after {
  content: '';
  position: absolute;
  left: 43%;
  right: -29%;
  bottom: -53%;
  height: 76%;
  border-radius: 50%;
  transform: rotate(-14deg);
  box-shadow: 0 -1.1cqh 2.7cqh .23cqh #82d4c229,
              0 -2.8cqh 7.5cqh 1.2cqh #47959840;
}
.qcf-copy {
  position: absolute;
  z-index: 2;
  left: 8.1%;
  top: 49%;
  width: 39%;
  transform: translateY(-41%);
  font-family: 'PingFang SC','Microsoft YaHei','Noto Sans CJK SC',sans-serif;
  text-align: left;
}
.qcf-title {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  margin: 0;
  font-size: min(5.9cqw,12.9cqh);
  line-height: 1.26;
  font-weight: 690;
  letter-spacing: -.059em;
  white-space: nowrap;
  opacity: calc(.35 + .65 * var(--qcf-intro,0));
  transform: translateY(calc((1 - var(--qcf-intro,0)) * .11em));
}
.qcf-action {
  color: #91d4ce;
  margin-left: .13em;
}
.qcf-quote {
  margin: 2.8cqh 0 0;
  color: #c5d7d2;
  font-size: min(1.95cqw,4.7cqh);
  font-weight: 420;
  line-height: 1.45;
  letter-spacing: .025em;
  max-width: 17em;
  text-wrap: pretty;
  opacity: var(--qcf-answer,0);
  transform: translateY(calc((1 - var(--qcf-answer,0)) * .18em));
}
.qcf-frame {
  --qcf-camera: 0;
  position: absolute;
  right: 6.6%;
  top: 50%;
  width: min(44cqw,103cqh);
  aspect-ratio: 2.32;
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: min(1.1cqw,2.7cqh);
  background-color: #f2ede4;
  box-shadow: 0 3cqh 8cqh -2.5cqh #0009,0 0 0 1px #ffffff35;
  transform: translate3d(0,-50%,0) scale(calc(.966 + .034 * var(--qcf-camera)));
}
@media (max-aspect-ratio: 1/1) {
  .qcf-copy {left:8%;top:20%;width:84%;transform:none}
  .qcf-title {font-size:10cqw}
  .qcf-quote {margin-top:1.4cqh;font-size:4.2cqw;max-width:100%}
  .qcf-frame {left:6%;right:6%;top:61%;width:88%}
}
@media (prefers-reduced-motion: reduce) {
  .qcf-light,.qcf-title,.qcf-quote {transform:none}
  .qcf-frame {transform:translateY(-50%)}
}
