:root {
  color-scheme: dark;
  --bg:#07151f;
  --cyan:#30e3ee;
  --white:#eff8ff;
  --muted:#a1bbce;
  --line:#244b60;
  --panel:#0a2333;
  --glow-line:#30e3ee73;
  --glow-soft:0 0 18px #13c5ee29;
  --glow-active:0 0 8px #30e3ee5c, 0 0 24px #13c5ee33;
  --font:"Microsoft YaHei UI","Microsoft YaHei","PingFang SC",sans-serif;
}
.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../assets/screen-background.png) center/cover no-repeat;
  opacity: .55;
  pointer-events: none;
}
.left-panel,
.right-panel,
.metrics,
.space-portal,
.bottom-nav,
.data-note {
  z-index: 3;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  overflow: hidden;
  background: #030c13;
  color: var(--white);
  font-family: var(--font);
}
button,
select {
  font: inherit;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: wait;
  opacity: .6;
}
button:focus-visible,
select:focus-visible,
canvas:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 5px;
}
button {
  border: 0;
}
button:hover {
  color: var(--cyan);
}
[hidden] {
  display: none !important;
}
.stage {
  position: absolute;
  width: 1920px;
  height: 1080px;
  transform-origin: top left;
  background: var(--bg);
  overflow: hidden;
}
.icon {
  display: inline-block;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: currentColor;
  mask: var(--icon) center/contain no-repeat;
  vertical-align: middle;
}
.plain {
  background: none;
}
.screen-header {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 18px;
  height: 48px;
  border-bottom: 1px solid var(--glow-line);
  box-shadow: 0 8px 16px -12px #30e3ee;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  z-index: 8;
}
.brand-home {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 3px 0;
  font-size: 21px;
  font-weight: 600;
  white-space: nowrap;
}
.brand-home .icon {
  width: 30px;
  height: 30px;
}
.screen-header h1 {
  position: absolute;
  left: 50%;
  top: -2px;
  transform: translateX(-50%);
  margin: 0;
  font-size: 31px;
  font-weight: 700;
  letter-spacing: 2px;
  white-space: nowrap;
  text-shadow: 0 0 20px #3edbff52;
}
.screen-header h1 > span {
  margin: 0 12px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 1px;
  font-size: 15px;
}
.header-actions time {
  white-space: nowrap;
}
.header-actions button {
  border: 1px solid #37677e;
  border-radius: 5px;
  background: #0a293b;
  padding: 7px 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c7f9ff;
  font-size: 15px;
  box-shadow: var(--glow-soft), inset 0 0 14px #13c5ee14;
}
.header-actions .icon {
  width: 21px;
  height: 21px;
}
h2 {
  font-size: 21px;
  font-weight: 650;
  margin: 0;
  letter-spacing: .5px;
}
.metrics {
  position: absolute;
  top: 80px;
  left: 252px;
  right: 252px;
  height: 60px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #08213070;
  border-radius: 5px;
  outline: 1px solid #30e3ee38;
  box-shadow: var(--glow-soft);
}
.metric {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 36px;
  border-right: 1px solid var(--line);
}
.metric:last-of-type {
  border: 0;
}
.metric > .icon {
  width: 34px;
  height: 34px;
  color: var(--cyan);
  filter: drop-shadow(0 0 5px #30e3ee70);
}
.metric-label {
  font-size: 16px;
  color: #c0d4e2;
}
.metric p {
  margin: 0;
  white-space: nowrap;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.metric strong {
  font-family: Arial, var(--font);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.15;
  text-shadow: 0 0 16px #30e3ee38;
}
.metric p > span {
  font-size: 17px;
}
.sample-tag {
  color: #bbdfed;
  border: 1px solid #36708c;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.3;
  display: inline-block;
  padding: 3px 6px;
  white-space: nowrap;
  background: #082333;
}
.metric-sample {
  position: absolute;
  right: -228px;
  top: 18px;
}
.left-panel {
  position: absolute;
  left: 24px;
  top: 154px;
  width: 212px;
  height: 776px;
}
.left-panel h2,
.right-panel h2,
.portal-heading h2 {
  border-left: 3px solid var(--cyan);
  padding-left: 10px;
  line-height: 1.15;
  filter: drop-shadow(0 0 5px #30e3ee4d);
}
.left-panel h2 {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--glow-line);
}
.overview-list {
  margin: 4px 0 28px;
}
.overview-list > div {
  height: 62px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.overview-list dt {
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.overview-list dt .icon {
  width: 22px;
  height: 22px;
}
.overview-list dd {
  margin: 0;
  font-size: 15px;
  white-space: nowrap;
}
.overview-list strong {
  font: 600 28px Arial, var(--font);
  letter-spacing: .3px;
}
.building-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
  max-height: 340px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.building-row {
  height: 56px;
  padding: 10px;
  border: 1px solid #173e56;
  border-radius: 7px;
  background: #092637;
  display: flex;
  align-items: center;
  text-align: left;
  gap: 8px;
  width: 100%;
  box-shadow: inset 0 0 18px #13c5ee0f;
  transition: border-color .2s, box-shadow .2s;
}
.building-row > .icon {
  color: #c9e0f1;
  width: 26px;
  height: 26px;
}
.building-row strong {
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
}
.building-row > span:last-child {
  margin-left: auto;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}
.building-row > span:last-child .icon {
  width: 17px;
  height: 17px;
}
.building-row.active {
  background: #08394c;
  border-color: var(--cyan);
  box-shadow: inset 0 0 17px #13c5ee24, var(--glow-active);
}
.building-row.active > .icon {
  color: var(--cyan);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b0e4f4;
  background: transparent;
  font-size: 16px;
  padding: 10px 0;
}
.text-link .icon {
  width: 20px;
  height: 20px;
}
.buildings-panel > .text-link {
  margin-top: 14px;
}
.scene-region {
  position: absolute;
  left: 252px;
  top: 154px;
  width: 1416px;
  height: 776px;
  border-left: 1px solid #1f465a;
  border-right: 1px solid #1f465a;
  overflow: hidden;
  transition:
    left .35s,
    top .35s,
    width .35s,
    height .35s;
  background: var(--bg);
}
#campus-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
#campus-canvas {
  opacity: 0;
  transition: opacity .45s ease-out;
  pointer-events: none;
  touch-action: none;
  cursor: grab;
}
#campus-canvas:active {
  cursor: grabbing;
}
.scene-ready #campus-canvas {
  opacity: 1;
  pointer-events: auto;
}
.scene-tag {
  position: absolute;
  left: 18px;
  top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid #326e89;
  background: #061d2adf;
  border-radius: 5px;
  font-size: 17px;
  box-shadow: var(--glow-soft);
}
.scene-tag .icon {
  width: 21px;
  height: 21px;
  color: var(--cyan);
}
.scene-status {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #a9c2d1;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 1px;
  text-align: center;
  width: max-content;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  z-index: 2;
}
.scene-loader {
  width: 32px;
  height: 32px;
  border: 1px solid #244656;
  border-top-color: #68e7f5;
  border-right-color: #68e7f588;
  border-radius: 50%;
  animation: scene-loading 1.1s linear infinite;
}
@keyframes scene-loading {
  to { transform: rotate(360deg); }
}
.scene-region:not(.scene-ready) .scene-ui {
  visibility: hidden;
}
.scene-region[data-state="error"] .scene-loader {
  display: none;
}
.scene-ready .scene-status {
  display: none;
}
.scene-status .text-link {
  font-size: 14px;
  padding: 6px 18px;
  border: 1px solid #326579;
  border-radius: 4px;
  background: #0d2537;
}
@media (prefers-reduced-motion: reduce) {
  #campus-canvas { transition: none; }
  .scene-loader { animation: none; }
}
.scene-toolbar {
  position: absolute;
  bottom: 16px;
  left: 18px;
  display: flex;
  gap: 12px;
}
.pill {
  padding: 9px 17px;
  border: 1px solid #4782a0;
  background: #082030eb;
  border-radius: 28px;
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
  box-shadow: var(--glow-soft);
  transition: border-color .2s, box-shadow .2s;
}
.pill .icon {
  width: 23px;
  height: 23px;
}
.pill.active {
  border-color: var(--cyan);
  background: #073247e8;
  color: #ecffff;
  box-shadow: var(--glow-active), inset 0 0 14px #30e3ee14;
}
.map-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.map-marker {
  position: absolute;
  left: 50%;
  top: 35%;
  transform: translate(-50%, -100%);
  padding: 8px 14px;
  border: 1px solid var(--cyan);
  background: #042638e8;
  border-radius: 5px;
  font-size: 17px;
  white-space: nowrap;
  pointer-events: auto;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: var(--glow-active);
}
.map-marker::after {
  content: "";
  position: absolute;
  border-left: 1px solid var(--cyan);
  height: 17px;
  bottom: -18px;
  left: 50%;
  box-shadow: 0 0 7px var(--cyan);
}
.map-marker > span {
  color: var(--cyan);
  font-size: 14px;
}
.compass {
  position: absolute;
  right: 20px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font: 17px Arial;
  color: #cbe7f6;
  gap: 3px;
}
.compass .icon {
  color: var(--cyan);
  width: 28px;
  height: 28px;
}
.space-portal {
  position: absolute;
  left: 252px;
  top: 942px;
  width: 1416px;
  height: 64px;
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr) 130px;
  gap: 16px;
  align-items: center;
}
.portal-heading {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
}
.portal-heading h2 {
  font-size: 20px;
  white-space: nowrap;
}
.breadcrumb {
  display: none;
}
.portal-heading > .sample-tag {
  margin-left: 13px;
  border: 0;
  padding: 0;
  background: none;
}
.space-form {
  display: grid;
  grid-template-columns: 1.1fr .63fr 1.1fr .92fr;
  gap: 12px;
}
.space-form label {
  border: 1px solid #29617d;
  background: #0a2a3e;
  border-radius: 7px;
  padding: 7px 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  height: 58px;
  min-width: 0;
  border-color: var(--glow-line);
  box-shadow: var(--glow-soft), inset 0 0 18px #13c5ee0f;
}
.space-form label > .icon {
  color: var(--cyan);
  width: 24px;
  height: 24px;
}
.select-copy {
  display: block;
  min-width: 0;
  flex: 1;
  color: #cadce8;
  font-size: 13px;
  line-height: 1.3;
}
.select-copy select {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  height: 27px;
  cursor: pointer;
}
.select-copy option {
  background: #0c293b;
}
.primary {
  border: 1px solid var(--cyan);
  background: var(--cyan);
  color: #03202c;
  font-size: 20px;
  font-weight: 650;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  box-shadow: 0 0 20px #30e3ee47;
}
.primary:hover {
  background: #89f7ff;
  color: #031a24;
}
.primary .icon {
  width: 25px;
  height: 25px;
}
.floor-link {
  justify-content: center;
  height: 58px;
  padding: 0 10px;
  border: 1px solid #29617d;
  border-radius: 7px;
  background: #0a2333;
  font-size: 17px;
  box-shadow: var(--glow-soft);
}
.floor-link .icon {
  width: 19px;
  height: 19px;
}
.right-panel {
  position: absolute;
  right: 24px;
  top: 154px;
  width: 212px;
  height: 776px;
}
.section-title {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--glow-line);
}
.weather-main {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}
.weather-main > .icon {
  color: #ffd16d;
  width: 44px;
  height: 44px;
}
.weather-main > span:not(.icon) {
  font-size: 22px;
  font-weight: 650;
}
.weather-main strong {
  font: 600 38px Arial;
}
.weather-main small {
  font-size: 20px;
  font-weight: 400;
}
.environment-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin-bottom: 28px;
}
.environment-values > div {
  display: flex;
  gap: 6px;
  align-items: center;
}
.environment-values > div + div {
  border-left: 1px solid var(--line);
  padding-left: 8px;
}
.environment-values .icon {
  width: 22px;
  height: 22px;
  color: var(--cyan);
}
.environment-values > div > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.environment-values > div > div > span {
  font-size: 14px;
  color: #b3c8d7;
}
.environment-values strong {
  font: 600 22px Arial;
  white-space: nowrap;
}
.environment-values small {
  font-size: 11px;
  font-weight: 400;
}
.cameras-panel .section-title {
  gap: 8px;
  padding-bottom: 14px;
}
.camera-preview {
  display: block;
  width: 100%;
  padding: 0;
  background: #082333;
  border: 1px solid #296078;
  border-radius: 7px;
  overflow: hidden;
  margin-top: 12px;
  box-shadow: var(--glow-soft);
  transition: border-color .2s, box-shadow .2s;
}
.camera-preview:hover {
  border-color: var(--cyan);
}
.camera-preview img {
  display: block;
  width: 100%;
  height: 104px;
  object-fit: fill;
}
.cameras-panel > .text-link {
  margin: 12px auto 0;
  display: flex;
  justify-content: center;
}
.bottom-nav {
  position: absolute;
  left: 450px;
  right: 450px;
  top: 1022px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 5px;
  background: #071d2bc2;
  outline: 1px solid #30e3ee38;
  box-shadow: var(--glow-soft);
}
.bottom-nav > button {
  background: none;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  padding: 7px 20px;
  white-space: nowrap;
  position: relative;
}
.bottom-nav > button + button {
  border-left: 1px solid var(--line);
}
.bottom-nav .icon {
  width: 26px;
  height: 26px;
}
.bottom-nav > button.active {
  color: var(--cyan);
  text-shadow: 0 0 12px #30e3ee66;
  background: #0a425344;
}
.bottom-nav > button.active > .icon {
  filter: drop-shadow(0 0 5px #30e3ee80);
}
.bottom-nav > button.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 2px;
  left: 10px;
  right: 10px;
  background: var(--cyan);
  box-shadow: 0 0 8px #30e3eeb3, 0 0 18px #13c5ee66;
}
.data-note {
  position: absolute;
  right: 24px;
  bottom: 16px;
  font-size: 11px;
  color: #a9c3d4;
  max-width: 212px;
  text-align: right;
}
.experience-layout .left-panel,
.experience-layout .right-panel,
.experience-layout .space-portal {
  display: none;
}
.experience-layout .scene-region {
  left: 24px;
  width: 1872px;
  height: 852px;
}
.experience-exit {
  display: none;
  position: absolute;
  top: 16px;
  right: 18px;
}
.experience-mode .experience-exit {
  display: flex;
}
.immersive .scene-region {
  left: 24px;
  top: 80px;
  width: 1872px;
  height: 926px;
  border: 0;
}
.immersive .screen-header time {
  visibility: hidden;
}
.immersive .scene-region:focus-within {
  outline: none;
}
.experience-controls {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: #062032f2;
  border: 1px solid var(--glow-line);
  border-radius: 7px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 3;
  box-shadow: var(--glow-soft), inset 0 0 20px #13c5ee14;
}
.experience-top {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 15px;
  flex-shrink: 0;
}
.experience-top > strong {
  font-size: 18px;
  min-width: 100px;
}
.experience-top > span {
  color: var(--cyan);
  font-family: Arial;
}
.tour-actions {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.tour-actions button {
  border: 1px solid #31718a;
  background: #0a3449;
  height: 40px;
  padding: 7px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
}
.tour-actions .icon {
  width: 20px;
  height: 20px;
}
.tour-stops {
  display: flex;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.tour-stops button {
  background: #092637;
  border: 1px solid #1f4b64;
  border-radius: 5px;
  font-size: 16px;
  flex: 1;
  height: 40px;
  padding: 8px 3px;
  white-space: nowrap;
}
.tour-stops button.active {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: var(--glow-active), inset 0 0 14px #30e3ee14;
}
.header-actions button:hover,
.building-row:hover,
.camera-preview:hover,
.pill:hover,
.map-marker:hover,
.floor-link:hover,
.tour-actions button:hover,
.tour-stops button:hover,
.walk-pad button:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow-active);
}
.space-form label:focus-within {
  border-color: var(--cyan);
  box-shadow: var(--glow-active);
}
.scene-region.experience-mode .scene-toolbar,
.scene-region.experience-mode .compass {
  display: none;
}
.walk-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.walk-controls p {
  color: var(--muted);
  font-size: 16px;
  margin: 4px 0 0;
}
.walk-pad {
  display: flex;
  gap: 7px;
}
.walk-pad button {
  background: #0a3449;
  border: 1px solid #34768f;
  border-radius: 5px;
  padding: 9px 14px;
  font-size: 16px;
  touch-action: none;
}
.portal-highlight {
  outline: 2px solid var(--cyan);
  outline-offset: 8px;
}
.screen-dialog {
  width: min(1320px, calc(100vw - 64px));
  max-height: calc(100vh - 48px);
  padding: 26px;
  background: #071e2e;
  color: var(--white);
  border: 1px solid #2e718e;
  border-radius: 14px;
  box-shadow: 0 25px 120px #000a;
  overflow: auto;
  font-family: var(--font);
}
.screen-dialog::backdrop {
  background: #020b13d9;
}
.screen-dialog > header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}
.eyebrow {
  font-size: 15px;
  color: var(--cyan);
  display: block;
  margin-bottom: 8px;
}
.screen-dialog h2 {
  font-size: 27px;
}
.screen-dialog .close-dialog:not(.pill) {
  padding: 7px;
  background: #0b3448;
  border-radius: 6px;
}
.screen-dialog .close-dialog > .icon {
  width: 24px;
  height: 24px;
}
.space-image-wrap {
  position: relative;
  background: #06141c;
  border-radius: 8px;
  overflow: hidden;
}
.space-image-wrap > img {
  display: block;
  width: 100%;
  height: min(53vh, 590px);
  object-fit: cover;
}
.space-image-wrap > .sample-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #061d2ee8;
}
.screen-dialog footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-top: 20px;
}
.screen-dialog footer p {
  font-size: 16px;
  color: var(--muted);
}
.screen-dialog footer > div {
  display: flex;
  gap: 12px;
}
.screen-dialog .pill {
  font-size: 16px;
  padding: 9px 18px;
}
.floor-offices {
  display: flex;
  gap: 15px;
  margin-top: 18px;
}
.floor-offices button {
  padding: 12px 20px;
  border: 1px solid #2d718b;
  border-radius: 6px;
  background: #0a3449;
  color: var(--white);
  font-size: 17px;
}
.camera-wall {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.camera-wall figure {
  margin: 0;
  border: 1px solid #28566e;
  border-radius: 8px;
  overflow: hidden;
  background: #092637;
}
.camera-wall img {
  display: block;
  width: 100%;
  height: 290px;
  object-fit: cover;
}
.camera-wall figcaption {
  font-size: 18px;
  padding: 14px 18px;
}
.camera-wall figure.selected {
  border-color: var(--cyan);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  background: #0a3045f5;
  border: 1px solid #34758f;
  border-radius: 8px;
  color: #e0f8ff;
  padding: 14px 24px;
  max-width: 90vw;
  z-index: 100;
  font-size: 17px;
}
.attention {
  border-color: var(--cyan) !important;
}
@media (max-width: 900px) {
  .screen-dialog {
    width: calc(100vw - 24px);
    padding: 18px;
  }
  .screen-dialog h2 {
    font-size: 21px;
  }
  .screen-dialog footer {
    flex-wrap: wrap;
  }
  .camera-wall {
    grid-template-columns: 1fr;
  }
  .camera-wall img {
    height: 210px;
  }
  .floor-offices {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
