/* 职责：黑色镜像页、居中原比例内容和底部静态操作栏。 */
body,
.screen {
  background: #000;
}
.screen {
  color: #fff;
}
.status svg:not(.battery-icon) {
  fill: #fff;
}
.wifi path {
  stroke: #fff;
}
.close-control {
  position: absolute;
  top: 59px;
  left: 12px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #c8c8c8;
  display: grid;
  place-items: center;
  color: #009e92;
}
.close-control svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
}
.mirror-content {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 390px;
  height: auto;
  display: block;
}
.mirror-controls {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 46px;
  height: 60px;
  background: #c8c8c8;
  border-radius: 36px;
  display: flex;
  align-items: center;
  padding: 5px 8px;
  color: #000;
}
.mirror-controls > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.mirror-controls svg {
  height: 25px;
  width: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mirror-controls svg .fill {
  fill: currentColor;
  stroke: none;
}
.mirror-controls span {
  font-size: 14px;
  line-height: 19px;
  letter-spacing: -0.2px;
}

/* 横屏基于 844×390 参考画布，16:9 镜像等比居中，系统状态栏隐藏。 */
.landscape .stage {
  width: min(100%, 844px);
  aspect-ratio: 844 / 390;
}
.landscape .screen {
  width: 844px;
  height: 390px;
}
.landscape .status {
  display: none;
}
.landscape .mirror-content {
  width: 693.333333px;
  height: 390px;
  left: 75.333333px;
}
.landscape .close-control {
  left: 59px;
  top: 32px;
  z-index: 1;
  background: #badfe9;
}
.landscape .mirror-controls {
  left: 261px;
  right: auto;
  bottom: 32px;
  width: 322px;
  background: #eee9e9e8;
  backdrop-filter: blur(22px);
}

/* 固定录制状态用于官网演示，不启动计时器或录制。 */
.recording-status,
.home-indicator,
.mirror-controls .stop-label,
.mirror-controls .stop-symbol {
  display: none;
}
.recording .mirror-controls {
  height: 79px;
}
.recording .mirror-controls > div:nth-child(2) {
  color: #ff373d;
}
.recording .mirror-controls > div:nth-child(2) > svg:not(.stop-symbol),
.recording .mirror-controls .record-label {
  display: none;
}
.recording .mirror-controls .stop-symbol {
  display: block;
  order: -1;
  fill: currentColor;
  stroke: none;
}
.recording .mirror-controls .stop-label {
  display: block;
  text-align: center;
}
.recording .recording-status {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 121px;
  height: 38px;
  padding: 0 14px;
  border-radius: 25px;
  background: #d6e2e1e8;
  backdrop-filter: blur(22px);
  color: black;
  font-size: 18px;
  white-space: nowrap;
}
.recording-status > span {
  width: 18px;
  height: 18px;
  border: 5px solid #ff373d;
  border-radius: 50%;
}
.recording .home-indicator {
  display: block;
  position: absolute;
  bottom: 8px;
  left: 37.15%;
  width: 25.7%;
  height: 5px;
  border-radius: 4px;
  background: #ddd;
}
