@import url('./scene.css');
@import url('./panels.css');
@import url('./replies.css');
:root {
  color-scheme: dark;
  --ink: #dcebee;
  --muted: #839fae;
  --line: #9dc9d328;
  --gold: #e6c28c;
  font-family: 'Microsoft YaHei UI', 'PingFang SC', system-ui, sans-serif;
  background: #030a12;
  color: var(--ink);
}
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
body {
  min-height: 100svh;
}
button, input, textarea {
  font: inherit;
}
button, a {
  -webkit-tap-highlight-color: transparent;
}
button {
  border: 0;
  cursor: pointer;
}
button:focus-visible, a:focus-visible {
  outline: 1px solid #b4dce7;
  outline-offset: 5px;
}
button:disabled {
  cursor: wait;
}
.icon {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.scene-header {
  position: fixed;
  z-index: 6;
  inset: 31px 38px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.scene-header > * {
  pointer-events: auto;
}
.scene-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #d4e6ed;
  text-decoration: none;
}
.scene-brand > .icon {
  width: 26px;
  height: 26px;
  color: #a3c4d5;
}
.scene-brand h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 9px;
}
.brand-caption {
  display: block;
  margin-top: 7px;
  font: 7px/1.4 Consolas, monospace;
  letter-spacing: 2.1px;
  color: #88a7ba;
}
.scene-options {
  display: flex;
  align-items: center;
  gap: 23px;
}
.prototype-label {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #8aa1b2;
  white-space: nowrap;
}
.icon-button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #a3bac5;
  background: transparent;
  border-radius: 50%;
}
.icon-button:hover {
  color: #f1f9fa;
  background: #8ec6d316;
}
.scene-footer {
  position: fixed;
  z-index: 6;
  inset: auto 38px max(27px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.sea-status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 9px;
  letter-spacing: 1px;
  color: #91adbc;
}
.sea-status strong {
  color: #b6d6df;
  font: 11px Consolas, monospace;
  font-variant-numeric: tabular-nums;
}
.status-dot {
  width: 3px;
  height: 3px;
  background: #b3dce1;
  box-shadow: 0 0 9px #79c7d5;
  border-radius: 50%;
}
.scene-dock {
  position: absolute;
  left: 50%;
  bottom: -3px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 9px;
  border: 1px solid #a9d5e52c;
  border-radius: 40px;
  background: #10141cc9;
  box-shadow: 0 8px 40px #0005;
  pointer-events: auto;
}
.scene-dock button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 40px;
  padding: 0 20px;
  white-space: nowrap;
  color: #c2d8df;
  background: transparent;
  border-radius: 30px;
  font-size: 11px;
  letter-spacing: 2px;
  transition: background .25s, color .25s;
}
.scene-dock button:hover {
  background: #a1d6e118;
  color: #f3fbfc;
}
.scene-dock .seek-button {
  color: #d9edf0;
}
.seek-button .icon {
  color: #b5e0e5;
}
.is-seeking .seek-button .icon {
  animation: compass-turn 1.1s ease-in-out;
}
.dock-divider {
  width: 1px;
  height: 18px;
  background: #9cc5d62b;
}
.scene-dock .immersion-button {
  width: 37px;
  padding: 0;
  color: #91aebb;
}
.scene-dock .immersion-button[aria-pressed=true] {
  background: #b5d9dd16;
  color: #d7ecee;
}
.scene-hint {
  margin: 0;
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #7f9caa;
}
.toast {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: 110px;
  transform: translate(-50%, 6px);
  opacity: 0;
  transition: opacity .3s, transform .3s;
  pointer-events: none;
  max-width: calc(100vw - 32px);
  padding: 11px 18px;
  background: #081c28eb;
  border: 1px solid #9dcbd932;
  border-radius: 4px;
  color: #c3dce3;
  font-size: 11px;
  letter-spacing: 1px;
  line-height: 1.8;
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.no-script {
  position: fixed;
  inset: 40% 10% auto;
  padding: 24px;
  background: #132738;
  text-align: center;
}
@keyframes compass-turn {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 900px) {
  .scene-header {
    inset: 24px 25px auto;
  }
  .scene-footer {
    inset-inline: 25px;
  }
  .scene-hint {
    display: none;
  }
  .sea-status {
    position: absolute;
    bottom: 72px;
    width: 100%;
    justify-content: center;
    opacity: .8;
  }
}
@media (max-width: 700px) {
  .scene-header {
    inset: max(22px, env(safe-area-inset-top)) 22px auto;
  }
  .scene-brand {
    gap: 9px;
  }
  .scene-brand h1 {
    font-size: 17px;
    letter-spacing: 7px;
  }
  .scene-brand > .icon {
    width: 22px;
  }
  .brand-caption {
    font-size: 6px;
    letter-spacing: 1.2px;
  }
  .scene-options {
    gap: 6px;
  }
  .prototype-label {
    font-size: 8px;
    line-height: 1.8;
    letter-spacing: 1px;
    text-align: right;
  }
  .scene-footer {
    bottom: max(25px, calc(env(safe-area-inset-bottom) + 12px));
  }
  .scene-dock {
    padding: 6px 8px;
    gap: 1px;
  }
  .scene-dock button {
    padding: 0 16px;
    font-size: 11px;
    gap: 9px;
  }
  .scene-dock .immersion-button {
    width: 35px;
  }
  .sea-status {
    bottom: 71px;
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
