/*
Theme Name: Traton 3D
Author: Compani 56
Version: 1.0
Text Domain: traton-3d
*/

:root {
  --traton-aqua-200: #A9D8DD;
  --traton-aqua-400: #5BAFBD;
  --traton-deep-teal: #003E47;
  --traton-deep-teal-900: #001B1E;
  --traton-black: #000000;
  --traton-gold: #FFB90F;
  --traton-stone-700: #9C9B91;
  --traton-stone-500: #BAB7AC;
  --traton-stone-400: #D2CEC3;
  --traton-stone-300: #E8E4D9;
  --traton-ivory-200: #F5EFE3;
  --traton-ivory-50: #FDFAF6;
  --glass-liquid-glass: var(--traton-ivory-50);
  --glass-liquid-light: #ffffff;
  --glass-liquid-dark: #001b1e;
  --glass-liquid-reflex-dark: 1.2;
  --glass-liquid-reflex-light: 0.9;
  --glass-liquid-saturation: 160%;
}
hr {
  border-color: #ffffff1f;
}
html, body {
  height: 100%;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  width: 100%;
}

#app, #scene {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: block;
  overflow: hidden;
  overscroll-behavior: none;
}

#scene {
  position: relative;
}

canvas {
  display: block;
  touch-action: none;
}

.app-fade-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 350ms ease;
  z-index: 9999;
  filter: blur(1.5px);
  transform: scale(1.01);
}

.app-loading-screen {
  position: absolute;
  inset: 0;
  z-index: 10010;
  overflow: hidden;
  color: var(--traton-ivory-50);
  background:
    radial-gradient(circle at 22% 108%, rgba(253,250,246,0.78) 0%, rgba(253,250,246,0) 32%),
    radial-gradient(circle at 78% 82%, rgba(169,216,221,0.26) 0%, rgba(169,216,221,0) 30%),
    linear-gradient(180deg, #185f69 0%, #3f99a7 54%, #7bc0cb 100%);
  opacity: 1;
  pointer-events: auto;
  transition: opacity 560ms ease, visibility 0s linear 560ms;
}

.app-loading-screen.is-complete {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.app-loading-screen.is-error .app-loading-screen__status {
  color: var(--traton-gold);
}

.app-loading-screen__ambience,
.app-loading-screen__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.app-loading-screen__ambience {
  background:
    radial-gradient(circle at 50% 54%, rgba(253,250,246,0.24) 0%, rgba(253,250,246,0) 36%),
    linear-gradient(180deg, rgba(0,27,30,0.28), rgba(0,27,30,0.04) 28%, rgba(0,0,0,0) 100%);
}

.app-loading-screen__particles {
  opacity: 0.88;
  overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 14%, rgba(0,0,0,0.9) 38%, rgba(0,0,0,0.95) 78%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 14%, rgba(0,0,0,0.9) 38%, rgba(0,0,0,0.95) 78%, transparent 100%);
}

.app-loading-screen__band-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(1080px, 92vw);
  height: min(260px, 34vh);
  transform: translate(-50%, -50%) rotate(7deg);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(253,250,246,0.16) 0%, rgba(253,250,246,0.08) 34%, rgba(253,250,246,0) 72%);
  filter: blur(14px);
  opacity: 0.72;
  pointer-events: none;
}

.app-loading-screen__band-haze {
  position: absolute;
  left: var(--haze-left);
  top: var(--haze-top);
  width: var(--haze-width);
  height: var(--haze-height);
  transform: translate(-50%, -50%) rotate(var(--haze-rotation));
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(253,250,246,0.18) 0%, rgba(253,250,246,0.08) 38%, rgba(253,250,246,0) 76%);
  filter: blur(20px);
  opacity: 0.45;
  pointer-events: none;
}

.app-loading-screen__star {
  position: absolute;
  left: var(--star-left);
  top: var(--star-top);
  width: var(--star-size);
  height: var(--star-size);
  transform: translate3d(-50%, -50%, 0);
  animation: appLoadingStarFloat var(--star-float-duration) ease-in-out infinite;
  animation-delay: var(--star-float-delay);
  will-change: transform;
}

.app-loading-screen__star--band {
  z-index: 1;
}

.app-loading-screen__star-dot {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  opacity: var(--star-opacity);
  background: rgba(var(--star-color), 0.96);
  box-shadow:
    0 0 var(--star-blur) rgba(var(--star-color), 0.42),
    0 0 calc(var(--star-blur) * 0.42) rgba(var(--star-color), 0.85);
  animation: appLoadingStarTwinkle var(--star-twinkle-duration) ease-in-out infinite;
  animation-delay: var(--star-twinkle-delay);
  will-change: opacity, transform;
}

.app-loading-screen__star--band .app-loading-screen__star-dot {
  box-shadow:
    0 0 calc(var(--star-blur) * 1.2) rgba(var(--star-color), 0.48),
    0 0 calc(var(--star-blur) * 0.65) rgba(var(--star-color), 0.92);
}

.app-loading-screen__orb {
  position: absolute;
  left: var(--orb-left);
  top: var(--orb-top);
  width: var(--orb-size);
  height: var(--orb-size);
  transform: translate(-50%, -50%);
  border-radius: 999px;
  opacity: var(--orb-opacity);
  background:
    radial-gradient(circle at 34% 32%, rgba(var(--orb-color), 0.34) 0%, rgba(var(--orb-color), 0.16) 18%, rgba(var(--orb-color), 0.08) 42%, rgba(var(--orb-color), 0.02) 58%, rgba(var(--orb-color), 0) 72%);
  filter: blur(2px);
  animation: appLoadingOrbDrift var(--orb-duration) ease-in-out infinite;
  animation-delay: var(--orb-delay);
  pointer-events: none;
}

.app-loading-screen__brand,
.app-loading-screen__footer {
  position: absolute;
  z-index: 1;
}

.app-loading-screen__brand {
  top: clamp(20px, 2.2vw, 34px);
  left: clamp(20px, 2.6vw, 38px);
}

.app-loading-screen__logo {
  width: min(210px, 36vw);
  max-width: 210px;
  aspect-ratio: 567 / 143;
  background: var(--traton-ivory-50);
  -webkit-mask-image: var(--app-loading-logo-url);
  mask-image: var(--app-loading-logo-url);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  filter: drop-shadow(0 10px 22px rgba(0, 27, 30, 0.18));
}

.app-loading-screen__body {
  position: absolute;
  inset: 0;
  padding: 0 8vw;
  box-sizing: border-box;
}

.app-loading-screen__slides {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(1100px, calc(100% - 16vw));
  min-height: clamp(120px, 24vh, 240px);
  transform: translate(-50%, -50%);
}

.app-loading-screen__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translate3d(0, 14px, 0) scale(0.992);
  transition: opacity 1650ms ease, transform 1650ms cubic-bezier(.2,.72,.16,1);
  will-change: opacity, transform;
}

.app-loading-screen__slide.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.app-loading-screen__slide-heading {
  margin: 0;
  max-width: 15ch;
  color: var(--traton-ivory-50);
  font-family: "TRATON Display", Arial, sans-serif;
  font-size: clamp(38px, 5vw, 82px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: 0.01em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 10px 36px rgba(0, 27, 30, 0.16);
}
h1.app-loading-screen__slide-heading.app-loading-screen__slide-heading--welcome {
  max-width: none;
  font-size: clamp(58px, 8.2vw, 152px);
  line-height: 0.9;
  letter-spacing: 0.01em;
}

.app-loading-screen__slide-heading--welcome .app-loading-screen__slide-prefix {
  margin-bottom: 0.42em;
  font-size: clamp(14px, 1.5vw, 28px);
  letter-spacing: 0.08em;
  opacity: 0.92;
}
.app-loading-screen__slide-prefix {
  display: block;
  margin-bottom: 0.34em;
  font-size: 0.34em;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.78;
}

.app-loading-screen__cta {
  position: absolute;
  left: 50%;
  top: calc(46% + clamp(78px, 9vw, 136px));
  display: flex;
  justify-content: center;
  width: min(520px, calc(100% - 16vw));
  opacity: 0;
  transform: translate3d(-50%, 26px, 0);
  pointer-events: none;
  transition: opacity 1450ms ease, transform 1700ms cubic-bezier(.16,.84,.18,1);
}

.app-loading-screen.is-ready .app-loading-screen__cta {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
  pointer-events: auto;
}

.app-loading-screen__enter-button,
.room-wall-back-button {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(195, 243, 248, 0.28);
  background:
    linear-gradient(180deg, rgba(110, 208, 219, 0.34), rgba(85, 176, 191, 0.28) 44%, rgba(28, 78, 90, 0.26) 100%),
    rgba(74, 183, 199, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(247, 254, 255, 0.42),
    inset 0 0 0 1px rgba(181, 237, 244, 0.12),
    inset 0 -16px 24px rgba(0, 27, 30, 0.12),
    0 10px 24px rgba(0, 27, 30, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.app-loading-screen__enter-button::before,
.room-wall-back-button::before,
.app-loading-screen__enter-button::after,
.room-wall-back-button::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

.app-loading-screen__enter-button::before,
.room-wall-back-button::before {
  inset: 1px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0.06) 28%, rgba(255,255,255,0) 56%),
    linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02) 34%, rgba(255,255,255,0) 100%);
  opacity: 0.95;
}

.app-loading-screen__enter-button::after,
.room-wall-back-button::after {
  inset: auto 0 0 0;
  height: 34%;
  border-radius: 0 0 inherit inherit;
  background: linear-gradient(180deg, rgba(0, 27, 30, 0), rgba(0, 27, 30, 0.16));
  opacity: 0.9;
}

.app-loading-screen__enter-button {
  padding: 22px 44px;
  border-radius: 18px;
  color: var(--traton-ivory-50);
  font-family: "TRATON Display", Arial, sans-serif;
  font-size: clamp(16px, 1.25vw, 18px);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 220ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease,
    filter 180ms ease;
}

.app-loading-screen__enter-button:hover:not(:disabled) {
  transform: translateY(-2px) scale(1.01);
  background:
    linear-gradient(180deg, rgba(124, 222, 233, 0.4), rgba(94, 188, 202, 0.32) 44%, rgba(34, 87, 99, 0.3) 100%),
    rgba(82, 194, 210, 0.24);
  border-color: rgba(217, 249, 252, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(248, 254, 255, 0.5),
    inset 0 0 0 1px rgba(190, 243, 249, 0.16),
    inset 0 -16px 24px rgba(0, 27, 30, 0.14),
    0 14px 28px rgba(0,27,30,0.14);
  filter: brightness(1.02);
}

.app-loading-screen__enter-button:active:not(:disabled) {
  transform: translateY(0);
}

.app-loading-screen__enter-button:focus-visible {
  outline: 2px solid rgba(253,250,246,0.92);
  outline-offset: 4px;
}

.app-loading-screen__enter-button:disabled {
  opacity: 0.65;
  cursor: default;
}

.app-loading-screen__footer {
  right: clamp(22px, 2.8vw, 42px);
  bottom: clamp(40px, 5.5vh, 72px);
  width: min(340px, calc(100vw - 44px));
  display: grid;
  gap: 10px;
}

.app-loading-screen__status {
  color: rgba(253,250,246,0.94);
  font-family: "TRATON Display", Arial, sans-serif;
  font-size: clamp(13px, 1vw, 18px);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: left;
  text-shadow: 0 4px 12px rgba(0, 27, 30, 0.18);
}

.app-loading-screen__progress-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
}

.app-loading-screen__progress-track {
  position: relative;
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(253,250,246,0.46);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
}

.app-loading-screen__progress-fill {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform: scaleX(0);
  border-radius: inherit;
  background: var(--traton-deep-teal);
  box-shadow: 0 0 18px rgba(0,62,71,0.18);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.app-loading-screen.is-loaded .app-loading-screen__progress-fill {
  background: var(--traton-deep-teal);
  box-shadow: 0 0 18px rgba(0,27,30,0.22);
}

.app-loading-screen__ready-status {
  position: absolute;
  left: 50%;
  bottom: 9%;
  width: min(420px, calc(100vw - 44px));
  color: rgba(253,250,246,0.94);
  font-family: "TRATON Display", Arial, sans-serif;
  font-size: clamp(16px, 1.35vw, 28px);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;
  text-shadow: 0 4px 12px rgba(0, 27, 30, 0.18);
  opacity: 0;
  transform: translate(-50%, 18px);
  pointer-events: none;
  transition: opacity 1850ms ease, transform 2100ms cubic-bezier(.16,.84,.18,1);
}

.app-loading-screen.is-ready-status-visible .app-loading-screen__ready-status {
  opacity: 1;
  transform: translate(-50%, 0);
}

.app-loading-screen__percent {
  min-width: 52px;
  color: var(--traton-ivory-50);
  font-family: "TRATON Display", Arial, sans-serif;
  font-size: clamp(16px, 1.4vw, 16px);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: right;
}

@keyframes appLoadingStarFloat {
  0% {
    transform: translate3d(-50%, -50%, 0);
  }
  50% {
    transform: translate3d(
      calc(-50% + var(--star-drift-x)),
      calc(-50% + var(--star-drift-y)),
      0
    );
  }
  100% {
    transform: translate3d(-50%, -50%, 0);
  }
}

@keyframes appLoadingStarTwinkle {
  0% {
    opacity: calc(var(--star-opacity) * 0.42);
    transform: scale(0.82);
  }
  35% {
    opacity: var(--star-opacity);
    transform: scale(1);
  }
  60% {
    opacity: calc(var(--star-opacity) * 0.58);
    transform: scale(var(--star-pulse-scale));
  }
  100% {
    opacity: calc(var(--star-opacity) * 0.42);
    transform: scale(0.82);
  }
}

@keyframes appLoadingOrbDrift {
  0% {
    transform: translate(-50%, -50%);
  }
  50% {
    transform: translate(
      calc(-50% + var(--orb-drift-x)),
      calc(-50% + var(--orb-drift-y))
    );
  }
  100% {
    transform: translate(-50%, -50%);
  }
}

.app-traton-logo {
  position: absolute;
  top: clamp(16px, 2vw, 28px);
  left: clamp(16px, 2.4vw, 32px);
  width: min(150px, 32vw);
  max-width: 150px;
  aspect-ratio: 567 / 143;
  height: auto;
  background-color: #003E47;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  pointer-events: none;
  z-index: 10003;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.08));
  transition: filter 180ms ease, background-color 180ms ease;
}

.app-utility-menu {
  position: absolute;
  top: clamp(16px, 2vw, 28px);
  right: clamp(16px, 2.4vw, 32px);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: 999px;
  background: rgba(236,245,248,0.16);
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(0,0,0,0.16), inset 0 1px 0 rgba(255,255,255,0.18);
  pointer-events: auto;
  z-index: 10003;
  box-sizing: border-box;
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.app-room-button-tooltip {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  isolation: isolate;
  z-index: 10006;
  width: max-content;
  max-width: min(340px, calc(100vw - 32px));
  padding: 10px 16px;
  border: 1px solid rgba(195, 243, 248, 0.28);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(110, 208, 219, 0.26), rgba(85, 176, 191, 0.2) 44%, rgba(28, 78, 90, 0.18) 100%),
    rgba(6, 30, 36, 0.34);
  color: var(--traton-ivory-50);
  font-family: "TRATON Display", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  text-wrap: balance;
  overflow-wrap: anywhere;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 8px)) scale(0.96);
  transform-origin: center bottom;
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  box-shadow:
    inset 0 1px 0 rgba(247, 254, 255, 0.36),
    inset 0 0 0 1px rgba(181, 237, 244, 0.1),
    inset 0 -12px 20px rgba(0, 27, 30, 0.14),
    0 12px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px) saturate(155%);
  -webkit-backdrop-filter: blur(16px) saturate(155%);
}

.app-room-button-tooltip::before,
.app-room-button-tooltip::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.app-room-button-tooltip::before {
  inset: 1px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.24), rgba(255,255,255,0.07) 28%, rgba(255,255,255,0) 56%),
    radial-gradient(circle at top right, rgba(255,255,255,0.16), rgba(255,255,255,0) 38%);
  opacity: 0.92;
}

.app-room-button-tooltip::after {
  inset: auto 0 0 0;
  height: 42%;
  border-radius: 0 0 inherit inherit;
  background: linear-gradient(180deg, rgba(0, 27, 30, 0), rgba(0, 27, 30, 0.18));
  opacity: 0.88;
}

.app-room-button-tooltip.is-visible {
  opacity: 1;
  transform: translate(-50%, calc(-100% - 8px)) scale(1);
}

.app-utility-menu::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.34), rgba(255,255,255,0.04));
  opacity: 0.72;
  mix-blend-mode: screen;
}

.app-utility-menu__button {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  border: 1px solid rgba(195, 243, 248, 0.28);
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  color: inherit;
  cursor: pointer;
  padding: 0 13px;
  font-family: "TRATON Display", Arial, sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
  z-index: 1;
  -webkit-tap-highlight-color: transparent;
}

.app-utility-menu__button::before,
.app-utility-menu__button::after {
  content: none;
}

.app-utility-menu__button:hover {
  transform: translateY(-1px) scale(1.01);
  background: transparent;
  border-color: rgba(217, 249, 252, 0.36);
  box-shadow: none;
  filter: none;
}

.app-utility-menu__button:active {
  transform: translateY(0);
}

.app-utility-menu__button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.app-utility-menu__reset-icon {
  width: 15px;
  height: 15px;
  display: block;
  opacity: 0.92;
  flex: 0 0 auto;
}

.app-utility-menu__icon-button,
.app-utility-menu__music {
  width: 36px;
  padding: 0;
}

.app-utility-menu__symbol-icon {
  width: 18px;
  height: 18px;
  display: block;
  flex: 0 0 auto;
  opacity: 0.9;
}

.app-utility-menu__bars {
  position: relative;
  display: inline-flex;
  align-items: end;
  justify-content: center;
  gap: 3px;
  width: 18px;
  height: 16px;
}

.app-utility-menu__bar {
  width: 3px;
  height: 15px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0.92;
  transform-origin: center bottom;
  animation: appUtilityMusicBars 820ms ease-in-out infinite alternate;
  box-shadow: 0 0 10px rgba(255,255,255,0.2);
}

.app-utility-menu__bar:nth-child(1) {
  animation-duration: 760ms;
  animation-delay: -140ms;
}

.app-utility-menu__bar:nth-child(2) {
  animation-duration: 920ms;
  animation-delay: -320ms;
}

.app-utility-menu__bar:nth-child(3) {
  animation-duration: 680ms;
  animation-delay: -220ms;
}

.app-utility-menu__music[data-playing="false"] .app-utility-menu__bar {
  animation-play-state: paused;
  opacity: 0.34;
  transform: scaleY(0.45);
}

.app-utility-menu__mute-icon {
  width: 22px;
  height: 22px;
  display: none;
  flex: 0 0 auto;
  opacity: 0.9;
}

.app-utility-menu__music[data-muted="true"] .app-utility-menu__bars {
  display: none;
}

.app-utility-menu__music[data-muted="true"] .app-utility-menu__mute-icon {
  display: block;
}

.app-info-modal {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 40px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 10015;
  background:
    radial-gradient(circle at 20% 18%, rgba(169,216,221,0.16), rgba(169,216,221,0) 28%),
    radial-gradient(circle at 80% 86%, rgba(253,250,246,0.12), rgba(253,250,246,0) 32%),
    rgba(0, 27, 30, 0.28);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.app-info-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 220ms ease;
}

.app-info-modal__panel {
  position: relative;
  width: min(640px, 100%);
  max-height: min(82vh, 760px);
  overflow: auto;
  padding: clamp(24px, 3.5vw, 34px);
  border-radius: 32px;
  border: 1px solid rgba(241, 252, 255, 0.34);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0.1) 42%, rgba(255,255,255,0.06)),
    linear-gradient(140deg, rgba(169,216,221,0.18), rgba(0,62,71,0.12) 68%, rgba(0,27,30,0.14)),
    rgba(6, 30, 36, 0.26);
  color: var(--traton-ivory-50);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.24),
    inset 0 -18px 30px rgba(0, 27, 30, 0.12),
    0 28px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(24px) saturate(165%);
  -webkit-backdrop-filter: blur(24px) saturate(165%);
  transform: translateY(24px) scale(0.985);
  transition: transform 280ms cubic-bezier(.16,.84,.18,1), box-shadow 280ms ease;
}

.app-info-modal.is-open .app-info-modal__panel {
  transform: translateY(0) scale(1);
}

.app-info-modal__panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0.04) 24%, rgba(255,255,255,0) 54%),
    radial-gradient(circle at top right, rgba(255,255,255,0.14), rgba(255,255,255,0) 36%);
  opacity: 0.9;
}

.app-info-modal__close {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(241, 252, 255, 0.28);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: inherit;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.app-info-modal__close:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.14);
  border-color: rgba(241, 252, 255, 0.42);
}

.app-info-modal__close:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.app-info-modal__close svg {
  width: 22px;
  height: 22px;
  display: block;
}

.app-info-modal__eyebrow {
  margin: 0 0 12px 0;
  padding-right: 52px;
  color: rgba(255,255,255,0.72);
  font-family: "TRATON Display", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.app-info-modal__title {
  margin: 0 0 18px 0;
  max-width: 12ch;
  color: var(--traton-ivory-50);
  font-family: "TRATON Display", Arial, sans-serif;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.02em;
}

.app-info-modal__body {
  position: relative;
  z-index: 1;
  font-family: "TRATON Display", Arial, sans-serif;
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.48;
  letter-spacing: 0.01em;
  color: rgba(253,250,246,0.94);
}

.app-info-modal__body p {
  margin: 0 0 1em 0;
}

.app-info-modal__list {
  margin: 0 0 1.1em 0;
  padding-left: 1.2em;
}

.app-info-modal__list li {
  margin: 0 0 0.62em 0;
}

.app-info-modal__footnote {
  color: rgba(255,255,255,0.72);
  font-size: 0.92em;
}

@keyframes appUtilityMusicBars {
  0% {
    transform: scaleY(0.34);
    opacity: 0.32;
  }
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}

.room-wall-text {
  position: absolute;
  top: 10%;
  left: 0;
  right: 0;
  height: 70vh;
  color: #ffffff;
  font-family: "TRATON Display", Arial, sans-serif;
  font-size: clamp(15px, 1.55vw, 24px);
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: 0.005em;
  text-align: center;
  white-space: normal;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  z-index: 10000;
  transition: opacity 220ms ease;
  text-shadow: 0 2px 10px rgba(0,0,0,0.16);
  overflow: hidden;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  display: none;
  padding: 0 7%;
  will-change: opacity;
}

.room-wall-text::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none;
}

.room-wall-back-button {
  position: absolute;
  left: 50%;
  bottom: 7%;
  transform: translateX(-50%) translateY(16px);
  min-width: 160px;
  padding: 14px 24px;
  border-radius: 18px;
  color: #ffffff;
  font-family: "TRATON Display", Arial, sans-serif;
  font-size: clamp(15px, 1.3vw, 20px);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  z-index: 10002;
  transition:
    opacity 240ms ease,
    transform 240ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
  display: none;
}

.room-wall-back-button:hover {
  transform: translateX(-50%) translateY(14px) scale(1.01);
  background:
    linear-gradient(180deg, rgba(124, 222, 233, 0.4), rgba(94, 188, 202, 0.32) 44%, rgba(34, 87, 99, 0.3) 100%),
    rgba(82, 194, 210, 0.24);
  border-color: rgba(217, 249, 252, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(248, 254, 255, 0.5),
    inset 0 0 0 1px rgba(190, 243, 249, 0.16),
    inset 0 -16px 24px rgba(0, 27, 30, 0.14),
    0 12px 26px rgba(0,27,30,0.12);
  filter: brightness(1.02);
}

.room-wall-scrollbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 0;
  transform: none;
  background: rgb(255 255 255 / 20%);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  z-index: 10001;
  transition: opacity 220ms ease;
  display: none;
}

.room-wall-scrollbar__thumb {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 88px;
  background: #a8dde3;
  border-radius: 999px;
}

.room-wall-text .room-wall-focus-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  width: 100%;
  box-sizing: border-box;
}

.room-wall-text .room-wall-focus-layout__icon-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.room-wall-text .room-wall-focus-layout__main {
  min-width: 0;
  width: 100%;
  max-width: 70vw;
  margin: 0 auto;
}

.room-wall-text .room-wall-focus-layout__main > :first-child {
  margin-top: 0;
}

.room-wall-text .room-wall-focus-layout__main > :last-child {
  margin-bottom: 0;
}

.room-wall-text .room-wall-focus-layout__heading {
  margin: 0 0 0.65em 0;
  font-family: "TRATON Display", Arial, sans-serif;
  font-size: 1.1em;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
}

.room-wall-text .room-wall-focus-layout__main p {
  margin: 0 0 0.82em 0;
  font-size: 0.94em;
  line-height: 1.45;
  text-align: center;
}

.room-wall-text .room-wall-focus-layout__icon {
  width: clamp(56px, 5vw, 78px);
  max-width: 78px;
  max-height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  fill: currentColor;
}

.room-wall-text .room-wall-focus-layout__icon svg {
  width: 100%;
  height: 100%;
  max-height: 100%;
  display: block;
  fill: currentColor;
}

.room-wall-text .room-wall-focus-layout__icon svg * {
  fill: currentColor;
}

.room-wall-text .room-wall-focus-layout__main > * {
  max-width: 100%;
}

@media (max-width: 1180px) {
  .room-wall-text {
    height: 75vh;
    font-size: clamp(15px, 1.6vw, 22px);
    line-height: 1.42;
    padding: 0 6% 20% 6%;
  }

  .room-wall-back-button {
    bottom: 6.5%;
    min-width: 156px;
    padding: 13px 22px;
  }

  .room-wall-scrollbar {
    width: 10px;
  }
}

@media (max-width: 980px) {
  .room-wall-text .room-wall-focus-layout {
    gap: 18px;
  }
}

@media (max-width: 767px) {
  .room-wall-text {
    height: 75vh;
    font-size: clamp(14px, 3.4vw, 17px);
    line-height: 1.46;
    padding: 0 5% 24% 5%;
  }

  .room-wall-back-button {
    bottom: 6%;
    min-width: 148px;
    padding: 12px 20px;
  }

  .room-wall-scrollbar {
    width: 8px;
  }

  .room-wall-text .room-wall-focus-layout__icon {
    width: clamp(50px, 12vw, 64px);
    max-width: 64px;
    max-height: 64px;
  }
}

@media (max-width: 640px) {
  .app-loading-screen__body {
    padding: 0 10vw;
  }

  .app-loading-screen__slide-heading {
    max-width: 9ch;
    font-size: clamp(30px, 9.5vw, 54px);
    line-height: 0.98;
  }

  .app-loading-screen__slides {
    width: calc(100% - 20vw);
  }

  .app-loading-screen__cta {
    top: calc(46% + clamp(72px, 14vw, 122px));
    width: calc(100% - 20vw);
  }

  .app-loading-screen__footer {
    right: 22px;
    width: auto;
    bottom: 36px;
  }

  .app-loading-screen__ready-status {
    left: 50%;
    bottom: 36px;
    width: calc(100% - 44px);
  }

  .app-loading-screen__progress-row {
    gap: 10px;
  }

  .app-loading-screen__percent {
    min-width: 46px;
    font-size: 18px;
  }

  .app-utility-menu {
    gap: 6px;
    padding: 6px;
  }

  .app-utility-menu__button {
    min-height: 38px;
    padding: 0 13px;
    font-size: 11px;
    letter-spacing: 0.07em;
  }

  .app-utility-menu__icon-button,
  .app-utility-menu__music {
    width: 46px;
    padding: 0;
  }

  .app-info-modal__panel {
    border-radius: 28px;
  }

  .app-info-modal__title {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .app-info-modal {
    padding: 14px;
  }

  .app-info-modal__panel {
    max-height: min(84vh, 760px);
    padding: 22px 20px 20px;
    border-radius: 24px;
  }

  .app-info-modal__close {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
  }

  .app-info-modal__eyebrow {
    margin-bottom: 10px;
    padding-right: 44px;
    font-size: 11px;
  }

  .app-info-modal__title {
    margin-bottom: 16px;
    font-size: clamp(28px, 9vw, 40px);
    line-height: 0.98;
  }

  .app-info-modal__body {
    font-size: 15px;
    line-height: 1.5;
  }
}

body.error404 {
  overflow: auto;
  background:
    radial-gradient(circle at 18% 18%, rgba(169, 216, 221, 0.24), rgba(169, 216, 221, 0) 30%),
    radial-gradient(circle at 82% 82%, rgba(253, 250, 246, 0.18), rgba(253, 250, 246, 0) 28%),
    linear-gradient(180deg, #0a2f36 0%, #003e47 54%, #0d5b66 100%);
  color: var(--traton-ivory-50);
}

body.error404 .site-header,
body.error404 .site-footer {
  display: none;
}

.not-found-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 5vw, 56px);
  box-sizing: border-box;
}

.not-found-page__panel {
  width: min(680px, 100%);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.04)),
    rgba(0, 27, 30, 0.22);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
}

.not-found-page__logo {
  display: block;
  width: clamp(172px, 28vw, 228px);
  aspect-ratio: 313 / 73;
  margin-bottom: clamp(28px, 4vw, 40px);
  background: var(--traton-ivory-50);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.not-found-page__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(253, 250, 246, 0.76);
}

.not-found-page__title {
  margin: 0 0 16px;
  font-size: clamp(40px, 7vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.not-found-page__text {
  max-width: 34rem;
  margin: 0;
  font-size: clamp(17px, 2.4vw, 21px);
  line-height: 1.5;
  color: rgba(253, 250, 246, 0.86);
}

.not-found-page__actions {
  margin-top: 30px;
}

.not-found-page__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--traton-ivory-50);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.not-found-page__button:hover,
.not-found-page__button:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.34);
}

@media (max-width: 640px) {
  .not-found-page__panel {
    border-radius: 24px;
  }

  .not-found-page__title {
    max-width: 9ch;
  }
}
