:root {
  color-scheme: dark;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #101414;
  color: #f4f1ea;
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  min-width: 320px;
}

#school-scene {
  display: block;
  width: 100%;
  height: 100%;
  background: #111716;
  cursor: grab;
}

#school-scene:active {
  cursor: grabbing;
}

.hud {
  position: fixed;
  left: clamp(16px, 3vw, 36px);
  top: clamp(16px, 3vw, 32px);
  display: flex;
  max-width: min(580px, calc(100vw - 32px));
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  pointer-events: none;
  text-shadow: 0 2px 16px rgb(0 0 0 / 55%);
}

.eyebrow {
  margin: 0 0 6px;
  color: #d7c6a3;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #fffaf0;
  font-size: clamp(1.8rem, 4vw, 4rem);
  font-weight: 850;
  line-height: 0.95;
}

.controls {
  display: grid;
  min-width: 132px;
  gap: 6px;
  padding-top: 4px;
  color: #e8e3d7;
  font-size: 0.82rem;
  line-height: 1.25;
}

.reset-camera {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgb(255 255 255 / 30%);
  border-radius: 6px;
  background: rgb(19 25 24 / 78%);
  color: #f9f1df;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 750;
  box-shadow: 0 12px 36px rgb(0 0 0 / 35%);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.reset-camera:hover {
  background: rgb(43 52 49 / 84%);
}

@media (max-width: 680px) {
  .hud {
    display: block;
  }

  .controls {
    grid-template-columns: repeat(3, minmax(0, auto));
    margin-top: 12px;
    gap: 10px;
    font-size: 0.74rem;
  }

  .reset-camera {
    min-height: 38px;
    padding-inline: 14px;
  }
}
