@import url("/assets/etm-font.css");
:root {
  --etm-ink: #0a1210;
  --etm-line: #CCFF45;
  --etm-mint: #CCFF45;
  --etm-type: "ETM Segment", monospace;
}
.etm-dock {
  position: fixed;
  z-index: 201;
  left: max(24px, env(safe-area-inset-left));
  bottom: max(24px, env(safe-area-inset-bottom));
  display: flex;
  align-items: stretch;
  gap: 1px;
  background: var(--etm-line);
  border: 1px solid var(--etm-line);
  box-shadow: 0 8px 32px #0006;
  color: #eafff4;
  font: 13px var(--etm-type);
}
.etm-dock[hidden] { display: none; }
.etm-dock a, .etm-dock summary, .etm-directory-links button {
  color: inherit;
  background: var(--etm-ink);
  text-decoration: none;
  white-space: nowrap;
}
.etm-home, .etm-join, .etm-dock summary {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
}
.etm-home { font-size: 21px; font-weight: bold; }
.etm-home span, .etm-dock summary span { color: var(--etm-mint); }
.etm-dock summary { cursor: pointer; list-style: none; gap: 12px; }
.etm-dock summary::-webkit-details-marker { display: none; }
.etm-dock .etm-join { gap: 15px; color: #06120c; background: var(--etm-mint); }
.etm-dock .etm-join:hover { background: #e3fff0; }
.etm-directory-links {
  position: absolute;
  bottom: calc(100% + 8px);
  left: -1px;
  width: calc(100% + 2px);
  display: grid;
  background: var(--etm-ink);
  border: 1px solid var(--etm-line);
}
.etm-directory:not([open]) .etm-directory-links { display: none; }
.etm-directory-links a, .etm-directory-links button {
  font: inherit;
  text-align: left;
  cursor: pointer;
  border: 0;
  border-bottom: 1px solid #ffffff20;
  padding: 11px 14px;
}
.etm-directory-links :is(button, a):hover, .etm-dock summary:hover { background: #19372d; }
.etm-dock :focus-visible, .s5-controls button:focus-visible, .hud-audio-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -3px;
}
.hud-audio-btn, .hud-xp, .hud-menu-btn, .s5-pad-btn, .s5-joystick {
  border: 1px solid var(--etm-line) !important;
  border-radius: 5px !important;
  background: #0a1210ef !important;
  color: var(--etm-mint) !important;
  box-shadow: 0 4px 18px #0004 !important;
}
.hud-xp { font-family: var(--etm-type) !important; }
.hud-xp-icon { display: none !important; }
.hud-xp-label { color: var(--etm-mint) !important; opacity: 1 !important; }
.hud-audio-btn svg { color: var(--etm-mint); }
.s5-joystick {
  left: auto !important;
  right: max(22px, env(safe-area-inset-right)) !important;
  bottom: 134px !important;
  width: 62px !important;
  height: 62px !important;
}
.s5-joystick-knob {
  width: 25px !important;
  height: 25px !important;
  border: 1px solid #CCFF45 !important;
  border-radius: 3px !important;
  background: #CCFF45 !important;
}
.s5-pad-btn:hover { background: #CCFF45 !important; }
.s5-pad { bottom: 23px !important; }
.map-panel {
  background: #0a1210 !important;
  border: 1px solid var(--etm-line);
  border-radius: 8px !important;
  color: #eafff4 !important;
}
.map-panel .mp-hero { background: #c5ead8 !important; border-radius: 4px !important; }
.map-panel .mp-join { border-radius: 4px !important; color: #06120c !important; background: var(--etm-mint) !important; }
.scroll-ruler { visibility: hidden !important; }
@media (max-width: 600px) {
  .etm-dock { left: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
  .etm-home, .etm-join, .etm-dock summary { min-height: 44px; padding-inline: 9px; gap: 6px; }
  .s5-joystick { right: 12px !important; bottom: 123px !important; }
  .s5-pad { bottom: 69px !important; }
}
.s5-joystick-knob { margin: -12.5px 0 0 -12.5px !important; }
.hud-audio-btn svg { display: none; }
.hud-audio-btn::before { content: "SOUND OFF"; font: 10px var(--etm-type); white-space: nowrap; }
.hud-audio-btn.is-playing::before { content: "SOUND ON"; }
.hud-audio-btn { min-width: 78px; }
.mtl-timeline, .mtl-menu { display: none !important; }

@font-face {
  font-family: "PP Supply Mono";
  src: url("/assets/fonts/PPSupplyMono-Regular.otf") format("opentype");
  font-display: swap;
}
.etm-page {
  margin: 0;
  min-height: 100svh;
  display: grid;
  align-items: center;
  color: #eafff4;
  background: #0a1210;
  font-family: var(--etm-type);
}
.etm-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, #0a1210 5%, #0a1210ef 32%, #0a12108c 100%),
    url("/assets/textures/etm-city-upright.jpg") center / cover;
  pointer-events: none;
}
.etm-page-content {
  position: relative;
  width: min(690px, calc(100% - 48px));
  margin: 0 auto 0 clamp(24px, 9vw, 160px);
  padding-block: 56px 124px;
}
.etm-page-content h1 {
  margin: 0 0 22px;
  font-size: clamp(45px, 9vw, 108px);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.etm-page-content p {
  max-width: 52ch;
  margin: 0;
  color: #c3e4d4;
  font-size: clamp(15px, 2vw, 19px);
  line-height: 1.65;
}
.etm-page-action {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 26px;
  padding: 14px 18px;
  background: var(--etm-mint);
  color: #06120c;
  text-decoration: none;
}
.etm-page-action:hover { background: #e3fff0; }
.etm-page-action:focus-visible { outline: 2px solid white; outline-offset: 3px; }
@media (max-width: 600px) {
  .etm-page-content { margin-left: 24px; }
  .etm-page::before { background-position: 59% center; }
}

#ui-container .scroll-indicator {
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font: 400 15px/1.2 var(--etm-type);
  padding: 0;
}
#ui-container .scroll-indicator-dot { display: none; }
#ui-container .scroll-indicator-label { line-height: inherit; transform: none; }

#ui-container .scroll-indicator .glass-effect { display: none; }
.etm-community-page::before {
  background: radial-gradient(ellipse at 78% 45%, #16362a, #0a1210 60%);
}

.hud-status-label, .hud-hold-label { font-family: var(--etm-type) !important; }
.etm-home .etm-brand-mark { display: block; width: 3.25rem; border-radius: 4px; }

.etm-intro-celebration{position:fixed;inset:0;z-index:9000;display:grid;place-items:center;pointer-events:none;overflow:hidden;background:radial-gradient(ellipse at center,#f5f6f7f2 0%,#f5f6f7dd 32%,#f5f6f700 72%)}
.etm-intro-celebration__word{position:relative;z-index:1;color:#101110;font-family:"ETM Segment",monospace;font-size:clamp(20px,6.8vw,130px);font-weight:400;line-height:1.1;white-space:nowrap;letter-spacing:-.025em;text-shadow:0 2px 16px #f5f6f7}
.etm-intro-celebration__confetti{position:fixed;display:block;border-radius:1px;will-change:transform,opacity}

.etm-home .etm-brand-mark{width:136px;height:auto;border-radius:0}

/* Shared lime accents and a compact, legible sound control. */
:root{--etm-mint:#CCFF45;--etm-line:#CCFF45}
.hud-audio-btn{display:flex!important;align-items:center!important;justify-content:center!important;gap:9px!important;min-width:112px!important;height:42px!important;padding:0 15px!important;border-radius:24px!important;border:1px solid #CCFF4570!important;background:#10140fee!important;color:#CCFF45!important;box-shadow:none!important;backdrop-filter:blur(12px)}
.hud-audio-btn::before{font:500 12px -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;letter-spacing:.01em;order:2}.hud-audio-btn svg{display:block!important;width:17px!important;height:17px!important;order:1;color:inherit!important}.hud-audio-btn:not(.is-playing){color:#ccd1c8!important;border-color:#ccd1c855!important}.hud-audio-btn:not(.is-playing) svg{opacity:.5}.hud-audio-btn:focus-visible{outline:2px solid #CCFF45!important;outline-offset:4px!important}.hud-status,.hud-status-label,.hud-status-chevron,.hud-hold-label{color:#CCFF45!important}

.hud-audio-btn::after{display:none!important}.scroll-indicator,.scroll-indicator-label,.scroll-indicator-dot{color:#CCFF45!important}.scroll-indicator-dot{background:#CCFF45!important}
