/* CHANGELOG: 2026-07-30 | 01统一UI窗口/Codex | 新建飞机引擎施工候选，不覆盖旧版。 */
/* CHANGELOG: 2026-07-30 | 新统一UI窗口/Codex | 强化第二版候选底部文案安全区和移动端可读性，不改锁死文案。 */

:root {
  color-scheme: light;
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC",
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #edf1f4;
  color: #202630;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #edf1f4;
}

body {
  letter-spacing: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

.construction-page {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: #edf1f4;
}

.construction-page::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: min(32vh, 260px);
  pointer-events: none;
  content: "";
  background: linear-gradient(
    180deg,
    rgba(237, 241, 244, 0) 0%,
    rgba(237, 241, 244, 0.74) 58%,
    rgba(237, 241, 244, 0.94) 100%
  );
}

#engine-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  outline: 0;
}

.scene-fallback {
  position: absolute;
  top: 40%;
  left: 50%;
  z-index: 0;
  width: 340px;
  height: 180px;
  transform: translate(-50%, -50%);
  opacity: 0.55;
  transition: opacity 220ms ease;
}

.scene-fallback[hidden] {
  display: none;
}

.scene-fallback__ring,
.scene-fallback__shaft,
.scene-fallback__arm {
  position: absolute;
  display: block;
  border: 8px solid #b8c2ca;
}

.scene-fallback__ring {
  top: 24px;
  left: 105px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
}

.scene-fallback__shaft {
  top: 82px;
  left: 40px;
  width: 260px;
  height: 14px;
  border: 0;
  background: #8b969f;
}

.scene-fallback__arm {
  top: 4px;
  width: 70px;
  height: 130px;
  border-width: 12px;
  border-color: #ff7a1a;
  border-radius: 44px;
}

.scene-fallback__arm--left {
  left: 10px;
  transform: rotate(28deg);
}

.scene-fallback__arm--right {
  right: 10px;
  transform: rotate(-28deg);
}

.construction-copy {
  position: absolute;
  right: 24px;
  bottom: 66px;
  left: 24px;
  z-index: 2;
  text-align: center;
  pointer-events: none;
}

.construction-copy h1 {
  max-width: 860px;
  margin: 0 auto;
  color: #202630;
  font-size: 42px;
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

.construction-copy p {
  max-width: 720px;
  margin: 14px auto 0;
  color: #66717d;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.64);
}

.site-footer {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  z-index: 3;
  text-align: center;
}

.site-footer a {
  color: #727d88;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: 0;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #ff6a00;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .construction-page {
    min-height: 540px;
  }

  .construction-copy {
    right: 18px;
    bottom: 70px;
    left: 18px;
  }

  .construction-copy h1 {
    max-width: 360px;
    font-size: 28px;
    line-height: 1.24;
  }

  .construction-copy p {
    max-width: 340px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.65;
  }

  .site-footer {
    bottom: 16px;
  }
}

@media (max-height: 650px) and (min-width: 721px) {
  .construction-copy {
    bottom: 42px;
  }

  .construction-copy h1 {
    font-size: 34px;
  }

  .construction-copy p {
    margin-top: 8px;
  }

  .site-footer {
    bottom: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scene-fallback {
    transition: none;
  }
}
