/* Canonical desktop UI, consolidated from reviewed references; mobile-r1.css is the platform adaptation. */
#world,.socket-hit{touch-action:none;}
@font-face { font-family: Game; src: url("../assets/fonts/ui.ttf") format("truetype"); font-display: swap; }

* {
  box-sizing: border-box;
}

input {
  font-style: inherit;
  font-variant-ligatures: inherit;
  font-variant-caps: inherit;
  font-variant-numeric: inherit;
  font-variant-east-asian: inherit;
  font-variant-alternates: inherit;
  font-variant-position: inherit;
  font-variant-emoji: inherit;
  font-weight: inherit;
  font-stretch: inherit;
  font-size: inherit;
  line-height: inherit;
  font-family: inherit;
  font-optical-sizing: inherit;
  font-size-adjust: inherit;
  font-kerning: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-language-override: inherit;
}

select {
  font-style: inherit;
  font-variant-ligatures: inherit;
  font-variant-caps: inherit;
  font-variant-numeric: inherit;
  font-variant-east-asian: inherit;
  font-variant-alternates: inherit;
  font-variant-position: inherit;
  font-variant-emoji: inherit;
  font-weight: inherit;
  font-stretch: inherit;
  font-size: inherit;
  line-height: inherit;
  font-family: inherit;
  font-optical-sizing: inherit;
  font-size-adjust: inherit;
  font-kerning: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-language-override: inherit;
}

button {
  font-style: inherit;
  font-variant-ligatures: inherit;
  font-variant-caps: inherit;
  font-variant-numeric: inherit;
  font-variant-east-asian: inherit;
  font-variant-alternates: inherit;
  font-variant-position: inherit;
  font-variant-emoji: inherit;
  font-weight: inherit;
  font-stretch: inherit;
  font-size: inherit;
  line-height: inherit;
  font-family: inherit;
  font-optical-sizing: inherit;
  font-size-adjust: inherit;
  font-kerning: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-language-override: inherit;
  cursor: pointer;
  color: inherit;
}

button:focus-visible {
  outline-color: rgb(255, 227, 155);
  outline-style: solid;
  outline-width: 3px;
  outline-offset: 4px;
}

a:focus-visible {
  outline-color: rgb(255, 227, 155);
  outline-style: solid;
  outline-width: 3px;
  outline-offset: 4px;
}

input:focus-visible {
  outline-color: rgb(255, 227, 155);
  outline-style: solid;
  outline-width: 3px;
  outline-offset: 4px;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

#viewport {
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  display: grid;
  align-items: center;
  justify-items: center;
}

#stage {
  width: 1280px;
  height: 800px;
  position: absolute;
  transform-origin: center center;
  overflow-x: hidden;
  overflow-y: hidden;
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgb(9, 20, 34);
  box-shadow: rgba(26, 82, 115, 0.314) 0px 0px 100px;
}

#world {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  width: 1280px;
  height: 800px;
}

#ui {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  width: 1280px;
  height: 800px;
  pointer-events: none;
}

#ui > * {
  pointer-events: auto;
}

#loading {
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  display: grid;
  align-items: center;
  justify-items: center;
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgb(9, 20, 34);
  font-size: 24px;
  z-index: 20;
}

#rotate {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  padding-top: 12px;
  padding-right: 20px;
  padding-bottom: 12px;
  padding-left: 20px;
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgba(16, 34, 49, 0.93);
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: rgb(78, 227, 247);
  border-right-color: rgb(78, 227, 247);
  border-bottom-color: rgb(78, 227, 247);
  border-left-color: rgb(78, 227, 247);
  border-image-source: none;
  border-image-slice: 100%;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  white-space-collapse: collapse;
  text-wrap-mode: nowrap;
  display: flex;
  row-gap: 15px;
  column-gap: 15px;
  align-items: center;
  font-size: 13px;
}

#rotate[hidden] {
  display: none;
}

#rotate button {
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: transparent;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: rgb(94, 199, 212);
  border-right-color: rgb(94, 199, 212);
  border-bottom-color: rgb(94, 199, 212);
  border-left-color: rgb(94, 199, 212);
  border-image-source: none;
  border-image-slice: 100%;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
  padding-top: 7px;
  padding-right: 7px;
  padding-bottom: 7px;
  padding-left: 7px;
}

.eyebrow {
  font-size: 15px;
  color: rgb(105, 212, 228);
  letter-spacing: 5px;
}

.muted {
  color: rgb(145, 168, 188);
}

.small {
  font-size: 15px;
  line-height: 1.6;
}

.secondary:hover {
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgb(27, 52, 75);
}

.ghost {
  border-top-width: 0px;
  border-right-width: 0px;
  border-bottom-width: 0px;
  border-left-width: 0px;
  border-top-style: none;
  border-right-style: none;
  border-bottom-style: none;
  border-left-style: none;
  border-top-color: currentcolor;
  border-right-color: currentcolor;
  border-bottom-color: currentcolor;
  border-left-color: currentcolor;
  border-image-source: none;
  border-image-slice: 100%;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: transparent;
  color: rgb(166, 196, 213);
  padding-top: 8px;
  padding-right: 12px;
  padding-bottom: 8px;
  padding-left: 12px;
}

.label {
  font-size: 14px;
  letter-spacing: 2px;
  color: rgb(131, 182, 201);
}

.home-art {
  position: absolute;
  left: 785px;
  top: 200px;
  width: 340px;
  height: 350px;
  object-fit: contain;
  filter: drop-shadow(rgba(77, 183, 230, 0.29) 0px 0px 40px);
}

.chapters {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 22px;
  column-gap: 22px;
}

.chapter:hover {
  border-top-color: rgb(100, 216, 243);
  border-right-color: rgb(100, 216, 243);
  border-bottom-color: rgb(100, 216, 243);
  border-left-color: rgb(100, 216, 243);
}

.stat {
  display: flex;
  align-items: center;
  row-gap: 9px;
  column-gap: 9px;
  font-size: 21px;
  min-width: 92px;
}

.stat img {
  width: 37px;
  height: 37px;
  object-fit: contain;
}

.topbar .spacer {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0%;
}

.iconbutton img {
  height: 30px;
  width: 30px;
  object-fit: contain;
  vertical-align: middle;
}

.wave-panel img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.tower-card img {
  width: 61px;
  height: 69px;
  position: absolute;
  left: 2px;
  top: 8px;
  object-fit: contain;
  filter: drop-shadow(rgba(57, 140, 190, 0.267) 0px 0px 8px);
}

.tower-card:hover {
  border-top-color: rgb(99, 203, 220);
  border-right-color: rgb(99, 203, 220);
  border-bottom-color: rgb(99, 203, 220);
  border-left-color: rgb(99, 203, 220);
}

.dock-divider {
  height: 70px;
  width: 1px;
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgb(49, 80, 102);
  margin-top: 0px;
  margin-right: 5px;
  margin-bottom: 0px;
  margin-left: 5px;
}

.skill b {
  display: block;
  color: rgb(171, 236, 255);
  font-size: 21px;
  margin-top: 5px;
  margin-right: 5px;
  margin-bottom: 5px;
  margin-left: 5px;
}

.launch small {
  display: block;
  font-size: 13px;
  color: rgb(142, 201, 210);
  margin-top: 8px;
}

.socket-hit:hover {
  box-shadow: rgba(116, 225, 229, 0.467) 0px 0px 0px 2px;
}

.socket-hit:focus-visible {
  outline-offset: 0px;
}

.detail p {
  font-size: 14px;
  margin-top: 6px;
  margin-right: 0px;
  margin-bottom: 6px;
  margin-left: 0px;
  color: rgb(159, 183, 201);
  line-height: 1.5;
}

.modal img.hero {
  width: 95px;
  height: 95px;
  object-fit: contain;
  float: right;
}

.modal input[type="range"] {
  width: 230px;
  accent-color: rgb(98, 214, 228);
}

.modal input[type="checkbox"] {
  width: 24px;
  height: 24px;
  accent-color: rgb(98, 214, 228);
}

#toast.visible {
  opacity: 1;
}

.editor-banner {
  position: absolute;
  bottom: 3px;
  left: 4px;
  font-size: 11px;
  color: rgb(113, 147, 158);
}

.scene-glow {
  position: absolute;
  right: 0px;
  top: 0px;
  width: 600px;
  height: 800px;
  background-image: radial-gradient(at 55% 45%, rgba(21, 113, 139, 0.14), transparent 65%);
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: initial;
  pointer-events: none !important;
}

.wave-name {
  display: none;
}

@font-face { font-family: GameBody; src: url("../assets/fonts/ui-sans.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

html {
  width: 100%;
  height: 100%;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  overflow-x: hidden;
  overflow-y: hidden;
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgb(6, 13, 24);
  color: rgb(222, 239, 246);
  font-family: GameBody, Game, sans-serif;
}

body {
  width: 100%;
  height: 100%;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  overflow-x: hidden;
  overflow-y: hidden;
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgb(6, 13, 24);
  color: rgb(222, 239, 246);
  font-family: GameBody, Game, sans-serif;
}

.wordmark {
  letter-spacing: 4px;
  font-size: 81px;
  font-weight: 700;
  margin-top: 10px;
  margin-right: 0px;
  margin-bottom: 10px;
  margin-left: 0px;
  color: rgb(198, 248, 255);
  text-shadow: rgb(73, 230, 239) 3px 0px, rgb(95, 22, 79) -2px 2px, rgba(35, 190, 210, 0.267) 0px 0px 30px;
  font-family: Game, GameBody, sans-serif;
  font-style: italic;
}

.home-copy {
  position: absolute;
  left: 76px;
  top: 142px;
  width: 575px;
}

.home-copy .eyebrow {
  font-size: 14px;
  letter-spacing: 7px;
}

.home-copy p {
  font-size: 20px;
  line-height: 1.9;
  max-width: 490px;
  color: rgb(166, 193, 208);
}

.home-copy .small {
  font-size: 17px;
  line-height: 1.9;
}

.home-actions {
  display: flex;
  row-gap: 14px;
  column-gap: 14px;
  margin-top: 26px;
}

.home-actions .primary {
  min-width: 230px;
  padding-top: 16px;
  padding-right: 25px;
  padding-bottom: 16px;
  padding-left: 25px;
}

.home-footer {
  position: absolute;
  left: 0px;
  bottom: 0px;
  display: flex;
  row-gap: 60px;
  column-gap: 60px;
  color: rgb(166, 198, 216);
  font-size: 16px;
  width: 1280px;
  min-height: 100px;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: rgb(69, 101, 117);
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgba(12, 25, 39, 0.9);
  align-items: center;
  justify-content: center;
}

.iconbutton {
  border-top-width: 0px;
  border-right-width: 0px;
  border-bottom-width: 0px;
  border-left-width: 0px;
  border-top-style: none;
  border-right-style: none;
  border-bottom-style: none;
  border-left-style: none;
  border-top-color: currentcolor;
  border-right-color: currentcolor;
  border-bottom-color: currentcolor;
  border-left-color: currentcolor;
  border-image-source: none;
  border-image-slice: 100%;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgb(16, 37, 58);
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  padding-top: 6px;
  padding-right: 12px;
  padding-bottom: 6px;
  padding-left: 12px;
  min-height: 40px;
  font-size: 17px;
  clip-path: polygon(10px 0px, calc(100% - 10px) 0px, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0px calc(100% - 10px), 0px 10px);
}

.primary {
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: rgb(163, 247, 255);
  border-right-color: rgb(163, 247, 255);
  border-bottom-color: rgb(163, 247, 255);
  border-left-color: rgb(163, 247, 255);
  border-image-source: none;
  border-image-slice: 100%;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  background-image: linear-gradient(130deg, rgb(126, 243, 255) 0%, rgb(37, 209, 232) 62%, rgb(16, 184, 208) 100%);
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: initial;
  padding-top: 14px;
  padding-right: 24px;
  padding-bottom: 14px;
  padding-left: 24px;
  font-size: 20px;
  min-height: 52px;
  box-shadow: rgba(18, 60, 80, 0.333) 0px 0px 0px 3px inset, rgba(36, 205, 221, 0.208) 0px 0px 23px;
  clip-path: polygon(10px 0px, calc(100% - 10px) 0px, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0px calc(100% - 10px), 0px 10px);
  color: rgb(4, 35, 49);
  font-weight: 750;
}

.launch {
  height: 90px;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0%;
  min-width: 145px;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: rgb(163, 247, 255);
  border-right-color: rgb(163, 247, 255);
  border-bottom-color: rgb(163, 247, 255);
  border-left-color: rgb(163, 247, 255);
  border-image-source: none;
  border-image-slice: 100%;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  background-image: linear-gradient(130deg, rgb(126, 243, 255) 0%, rgb(37, 209, 232) 62%, rgb(16, 184, 208) 100%);
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: initial;
  font-size: 21px;
  padding-top: 6px;
  padding-right: 6px;
  padding-bottom: 6px;
  padding-left: 6px;
  clip-path: polygon(10px 0px, calc(100% - 10px) 0px, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0px calc(100% - 10px), 0px 10px);
  color: rgb(4, 35, 49);
  box-shadow: rgba(18, 60, 80, 0.333) 0px 0px 0px 3px inset, rgba(36, 205, 221, 0.208) 0px 0px 23px;
  font-weight: 750;
}

.primary:hover {
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgb(148, 246, 255);
  color: rgb(0, 32, 42);
}

.launch:hover {
  color: rgb(0, 32, 42);
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgb(148, 246, 255);
}

.secondary {
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: rgb(101, 212, 229);
  border-right-color: rgb(101, 212, 229);
  border-bottom-color: rgb(101, 212, 229);
  border-left-color: rgb(101, 212, 229);
  border-image-source: none;
  border-image-slice: 100%;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  background-image: linear-gradient(135deg, rgb(12, 36, 53), rgb(7, 23, 37));
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: initial;
  padding-top: 14px;
  padding-right: 24px;
  padding-bottom: 14px;
  padding-left: 24px;
  font-size: 20px;
  min-height: 52px;
  box-shadow: rgba(33, 172, 195, 0.1) 0px 0px 20px;
  clip-path: polygon(10px 0px, calc(100% - 10px) 0px, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0px calc(100% - 10px), 0px 10px);
}

.danger {
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: rgb(244, 138, 171);
  border-right-color: rgb(244, 138, 171);
  border-bottom-color: rgb(244, 138, 171);
  border-left-color: rgb(244, 138, 171);
  border-image-source: none;
  border-image-slice: 100%;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  background-image: linear-gradient(135deg, rgb(76, 37, 59), rgb(50, 24, 39));
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: initial;
  padding-top: 14px;
  padding-right: 24px;
  padding-bottom: 14px;
  padding-left: 24px;
  font-size: 20px;
  min-height: 52px;
  box-shadow: rgba(33, 172, 195, 0.1) 0px 0px 20px;
  clip-path: polygon(10px 0px, calc(100% - 10px) 0px, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0px calc(100% - 10px), 0px 10px);
  color: rgb(255, 212, 221);
}

.primary:disabled {
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgb(21, 43, 61);
  color: rgb(113, 147, 165);
  border-top-color: rgb(69, 98, 118);
  border-right-color: rgb(69, 98, 118);
  border-bottom-color: rgb(69, 98, 118);
  border-left-color: rgb(69, 98, 118);
  opacity: 0.65;
}

.launch:disabled {
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgb(21, 43, 61);
  color: rgb(113, 147, 165);
  border-top-color: rgb(69, 98, 118);
  border-right-color: rgb(69, 98, 118);
  border-bottom-color: rgb(69, 98, 118);
  border-left-color: rgb(69, 98, 118);
  opacity: 0.65;
}

.topbar .brand {
  font-size: 24px;
  letter-spacing: 3px;
  font-family: Game, GameBody, sans-serif;
  color: rgb(184, 245, 255);
  text-shadow: rgb(40, 181, 208) 2px 0px;
}

.topbar .chapter-name {
  font-size: 16px;
  color: rgb(202, 220, 230);
}

.topbar .stat {
  font-family: GameBody, sans-serif;
  font-weight: 650;
}

.tower-card {
  width: 132px;
  height: 94px;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: rgb(60, 111, 136);
  border-right-color: rgb(60, 111, 136);
  border-bottom-color: rgb(60, 111, 136);
  border-left-color: rgb(60, 111, 136);
  border-image-source: none;
  border-image-slice: 100%;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  background-image: linear-gradient(145deg, rgb(15, 40, 59), rgb(8, 24, 39));
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: initial;
  position: relative;
  text-align: left;
  padding-top: 8px;
  padding-right: 8px;
  padding-bottom: 7px;
  padding-left: 63px;
  font-size: 14px;
  clip-path: polygon(10px 0px, calc(100% - 10px) 0px, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0px calc(100% - 10px), 0px 10px);
}

.tower-card b {
  display: block;
  font-size: 16px;
  white-space-collapse: collapse;
  text-wrap-mode: nowrap;
  margin-top: 8px;
  font-weight: 700;
}

.tower-card span {
  display: block;
  color: rgb(167, 229, 239);
  margin-top: 7px;
  font-family: GameBody, sans-serif;
  font-size: 13px;
}

.tower-card.selected {
  background-image: linear-gradient(145deg, rgb(18, 63, 83), rgb(11, 39, 60));
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: initial;
  border-top-width: 2px;
  border-right-width: 2px;
  border-bottom-width: 2px;
  border-left-width: 2px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: rgb(99, 239, 250);
  border-right-color: rgb(99, 239, 250);
  border-bottom-color: rgb(99, 239, 250);
  border-left-color: rgb(99, 239, 250);
  border-image-source: none;
  border-image-slice: 100%;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  padding-left: 62px;
  box-shadow: rgb(108, 239, 252) 0px -3px inset;
}

.skill {
  height: 90px;
  width: 131px;
  background-image: linear-gradient(145deg, rgb(20, 58, 80), rgb(10, 36, 56));
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: initial;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: rgb(99, 201, 224);
  border-right-color: rgb(99, 201, 224);
  border-bottom-color: rgb(99, 201, 224);
  border-left-color: rgb(99, 201, 224);
  border-image-source: none;
  border-image-slice: 100%;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  font-size: 16px;
  clip-path: polygon(10px 0px, calc(100% - 10px) 0px, 100% 10px, 100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0px calc(100% - 10px), 0px 10px);
}

.detail-actions .primary {
  font-size: 15px;
}

.detail-actions .secondary:last-child {
  border-top-color: rgb(217, 165, 88);
  border-right-color: rgb(217, 165, 88);
  border-bottom-color: rgb(217, 165, 88);
  border-left-color: rgb(217, 165, 88);
  color: rgb(255, 209, 133);
}

.modal {
  position: relative;
  width: 720px;
  background-image: linear-gradient(135deg, rgba(16, 39, 56, 0.97), rgba(6, 21, 35, 0.96));
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: initial;
  padding-top: 38px;
  padding-right: 45px;
  padding-bottom: 38px;
  padding-left: 45px;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: rgb(105, 226, 241);
  border-right-color: rgb(105, 226, 241);
  border-bottom-color: rgb(105, 226, 241);
  border-left-color: rgb(105, 226, 241);
  border-image-source: none;
  border-image-slice: 100%;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  box-shadow: rgba(58, 158, 181, 0.086) 0px 0px 0px 6px inset, rgba(20, 95, 123, 0.19) 0px 0px 50px, rgba(0, 0, 0, 0.533) 0px 30px 100px;
  max-height: 715px;
  overflow-x: auto;
  overflow-y: auto;
}

.modal::before {
  content: "";
  position: absolute;
  pointer-events: none;
  width: 50px;
  height: 4px;
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgb(137, 245, 255);
  box-shadow: rgb(69, 220, 239) 0px 0px 14px;
  transform: rotate(-45deg);
  left: -6px;
  top: 17px;
}

.modal::after {
  content: "";
  position: absolute;
  pointer-events: none;
  width: 50px;
  height: 4px;
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgb(137, 245, 255);
  box-shadow: rgb(69, 220, 239) 0px 0px 14px;
  transform: rotate(-45deg);
  left: auto;
  top: auto;
  right: -6px;
  bottom: 17px;
}

.modal h1 {
  font-size: 45px;
  letter-spacing: 4px;
  margin-top: 8px;
  margin-right: 0px;
  margin-bottom: 20px;
  margin-left: 0px;
  font-family: Game, GameBody, sans-serif;
  font-style: italic;
  color: rgb(198, 248, 255);
  text-shadow: rgb(66, 186, 202) 2px 0px, rgb(141, 26, 123) -1px 1px;
}

.modal p {
  font-size: 18px;
  line-height: 1.85;
  color: rgb(175, 200, 215);
}

.modal .small {
  font-size: 16px;
}

.modal .actions {
  display: flex;
  row-gap: 12px;
  column-gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.modal .primary {
  font-size: 18px;
  padding-top: 13px;
  padding-right: 22px;
  padding-bottom: 13px;
  padding-left: 22px;
}

.modal .secondary {
  font-size: 18px;
  padding-top: 13px;
  padding-right: 22px;
  padding-bottom: 13px;
  padding-left: 22px;
}

.modal .danger {
  font-size: 18px;
  padding-top: 13px;
  padding-right: 22px;
  padding-bottom: 13px;
  padding-left: 22px;
}

.modal .setting-row input[type="checkbox"] {
  accent-color: rgb(99, 235, 247);
}

.chapter-pick {
  position: absolute;
  top: 65px;
  right: 45px;
  bottom: 30px;
  left: 45px;
}

.chapter-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.chapter-heading h1 {
  font-size: 47px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  font-family: Game, GameBody, sans-serif;
  color: rgb(195, 245, 255);
  font-style: italic;
  letter-spacing: 4px;
}

.chapter {
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: rgb(64, 119, 141);
  border-right-color: rgb(64, 119, 141);
  border-bottom-color: rgb(64, 119, 141);
  border-left-color: rgb(64, 119, 141);
  border-image-source: none;
  border-image-slice: 100%;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  overflow-x: hidden;
  overflow-y: hidden;
  background-image: linear-gradient(135deg, rgba(11, 36, 53, 0.93), rgba(7, 23, 37, 0.91));
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: initial;
  text-align: left;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  position: relative;
  min-height: 255px;
}

.chapter:not(:disabled):hover {
  box-shadow: rgb(106, 222, 239) 0px 0px 0px 2px inset;
}

.chapter:disabled {
  opacity: 0.45;
}

.chapter .number {
  position: absolute;
  right: 22px;
  top: 14px;
  color: rgb(93, 240, 251);
  font-size: 28px;
  opacity: 0.75;
  font-family: GameBody, sans-serif;
}

.chapter img {
  width: 125px;
  height: 135px;
  object-fit: contain;
  float: left;
  margin-top: 34px;
  margin-right: 20px;
  margin-bottom: 24px;
  margin-left: 20px;
}

.result-metrics {
  display: flex;
  row-gap: 27px;
  column-gap: 27px;
  margin-top: 20px;
  margin-right: 0px;
  margin-bottom: 20px;
  margin-left: 0px;
  padding-top: 24px;
  padding-right: 0px;
  padding-bottom: 24px;
  padding-left: 0px;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: rgb(42, 78, 100);
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: rgb(42, 78, 100);
  justify-content: space-between;
}

.result-metrics b {
  display: block;
  font-size: 34px;
  color: rgb(159, 231, 240);
  font-family: GameBody, sans-serif;
  font-weight: 750;
}

.result-metrics span {
  font-size: 16px;
  color: rgb(144, 170, 190);
}

.result-award {
  width: 115px;
  height: 115px;
  object-fit: contain;
  float: right;
}

#toast {
  position: absolute;
  left: 50%;
  top: 105px;
  transform: translateX(-50%);
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgba(20, 47, 68, 0.96);
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: rgb(94, 177, 196);
  border-right-color: rgb(94, 177, 196);
  border-bottom-color: rgb(94, 177, 196);
  border-left-color: rgb(94, 177, 196);
  border-image-source: none;
  border-image-slice: 100%;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  padding-top: 13px;
  padding-right: 23px;
  padding-bottom: 13px;
  padding-left: 23px;
  max-width: 700px;
  font-size: 17px;
  pointer-events: none;
  opacity: 0;
  z-index: 30;
  font-family: GameBody, sans-serif;
}

.chapter .route-preview {
  width: 230px;
  height: 122px;
  margin-top: 50px;
  margin-right: 22px;
  margin-bottom: 35px;
  margin-left: 18px;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: rgb(41, 85, 107);
  border-right-color: rgb(41, 85, 107);
  border-bottom-color: rgb(41, 85, 107);
  border-left-color: rgb(41, 85, 107);
  border-image-source: none;
  border-image-slice: 100%;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  object-fit: contain;
}

.chapter .title {
  display: block;
  font-size: 25px;
  margin-top: 34px;
  font-family: GameBody, sans-serif;
  font-weight: 750;
}

.chapter p {
  color: rgb(160, 183, 200);
  padding-right: 25px;
  line-height: 1.7;
  font-size: 16px;
  min-height: 70px;
  margin-right: 18px;
}

.chapter .bottom {
  display: block;
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgba(13, 48, 65, 0.67);
  padding-top: 10px;
  padding-right: 24px;
  padding-bottom: 10px;
  padding-left: 24px;
  color: rgb(164, 230, 237);
  font-size: 15px;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: rgb(38, 78, 99);
  clear: both;
}

.detail-portrait {
  position: absolute;
  left: 15px;
  top: 16px;
  width: 70px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(rgba(62, 217, 239, 0.227) 0px 0px 8px);
}

/* Match the visible third-tier frost portrait to its family; source pixels stay intact. */
.detail-portrait[data-asset-id="frost-lv3-r2"] {
  transform: translateY(-6px) scale(1.3);
  transform-origin: 50% 50%;
}

.detail h3 {
  font-size: 21px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 6px;
  margin-left: 81px;
  font-family: GameBody, sans-serif;
}

.detail .detail-stats {
  margin-left: 81px;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 9px;
  margin-bottom: 14px;
}

.detail-actions {
  display: flex;
  row-gap: 9px;
  column-gap: 9px;
  margin-top: 15px;
  clear: both;
}

.detail-actions button {
  font-size: 14px;
  padding-top: 8px;
  padding-right: 7px;
  padding-bottom: 8px;
  padding-left: 7px;
  min-height: 40px;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0%;
}

.detail-close {
  position: absolute;
  right: 5px;
  top: 3px;
  width: 34px;
  height: 34px;
  font-size: 24px;
  line-height: 24px;
  z-index: 1;
}

.wave-panel .wave-title {
  font-size: 16px;
  color: rgb(213, 239, 248);
  display: flex;
  align-items: center;
  row-gap: 10px;
  column-gap: 10px;
}

.wave-panel .composition {
  display: flex;
  row-gap: 12px;
  column-gap: 12px;
  height: 56px;
  margin-top: 8px;
}

.wave-kind {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: GameBody, sans-serif;
  color: rgb(191, 234, 243);
}

.wave-panel .composition img {
  width: 35px;
  height: 35px;
}

.wave-kind small {
  font-size: 12px;
  line-height: 16px;
}

.wave-panel p {
  font-size: 13px;
  color: rgb(183, 213, 228);
  margin-top: 6px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  line-height: 20px;
}

.topbar {
  position: absolute;
  left: 32px;
  right: 32px;
  top: 21px;
  height: 58px;
  display: flex;
  align-items: center;
  row-gap: 30px;
  column-gap: 30px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: rgb(96, 220, 240);
  background-image: linear-gradient(90deg, rgba(8, 23, 37, 0.98), rgba(10, 29, 44, 0.96));
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: initial;
  padding-top: 0px;
  padding-right: 15px;
  padding-bottom: 0px;
  padding-left: 15px;
  z-index: 5;
}

.wave-panel {
  position: absolute;
  right: 26px;
  top: 94px;
  width: 247px;
  background-image: linear-gradient(135deg, rgba(10, 32, 52, 0.96), rgba(6, 19, 33, 0.95));
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: initial;
  border-left-width: 1px;
  border-left-style: solid;
  border-left-color: rgb(76, 191, 213);
  padding-top: 12px;
  padding-right: 16px;
  padding-bottom: 12px;
  padding-left: 16px;
  pointer-events: none !important;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-top-color: rgb(76, 191, 213);
  border-right-color: rgb(76, 191, 213);
  border-bottom-color: rgb(76, 191, 213);
  border-image-source: none;
  border-image-slice: 100%;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  clip-path: polygon(12px 0px, 100% 0px, 100% 100%, 0px 100%, 0px 12px);
  height: 155px;
  z-index: 4;
}

.dock {
  position: absolute;
  left: 25px;
  top: 660px;
  width: 1230px;
  height: 118px;
  background-image: linear-gradient(rgba(9, 26, 44, 0.96), rgba(6, 18, 31, 0.96));
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: initial;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: rgb(78, 140, 160);
  border-right-color: rgb(78, 140, 160);
  border-bottom-color: rgb(78, 140, 160);
  border-left-color: rgb(78, 140, 160);
  border-image-source: none;
  border-image-slice: 100%;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  display: flex;
  align-items: center;
  row-gap: 9px;
  column-gap: 9px;
  padding-top: 10px;
  padding-right: 13px;
  padding-bottom: 10px;
  padding-left: 13px;
  box-shadow: rgba(1, 5, 13, 0.533) 0px -10px 60px;
  z-index: 5;
}

.socket-hit {
  position: absolute;
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: transparent;
  border-top-width: 0px;
  border-right-width: 0px;
  border-bottom-width: 0px;
  border-left-width: 0px;
  border-top-style: none;
  border-right-style: none;
  border-bottom-style: none;
  border-left-style: none;
  border-top-color: currentcolor;
  border-right-color: currentcolor;
  border-bottom-color: currentcolor;
  border-left-color: currentcolor;
  border-image-source: none;
  border-image-slice: 100%;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
  width: 76px;
  height: 76px;
  padding-top: 0px;
  padding-right: 0px;
  padding-bottom: 0px;
  padding-left: 0px;
  z-index: 1;
}

.detail {
  position: absolute;
  left: 40px;
  top: 435px;
  width: 390px;
  min-height: 175px;
  background-image: linear-gradient(135deg, rgba(16, 44, 64, 0.97), rgba(6, 23, 38, 0.97));
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: initial;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: rgb(100, 203, 220);
  border-right-color: rgb(100, 203, 220);
  border-bottom-color: rgb(100, 203, 220);
  border-left-color: rgb(100, 203, 220);
  border-image-source: none;
  border-image-slice: 100%;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
  padding-top: 15px;
  padding-right: 18px;
  padding-bottom: 15px;
  padding-left: 18px;
  box-shadow: rgba(0, 0, 0, 0.6) 0px 0px 25px;
  height: 175px;
  overflow-x: hidden;
  overflow-y: hidden;
  z-index: 6;
}

.modal-shade {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgba(2, 8, 20, 0.72);
  display: grid;
  align-items: center;
  justify-items: center;
  backdrop-filter: blur(6px);
  z-index: 20;
}

.map-instruction {
  position: absolute;
  left: 38px;
  top: 612px;
  color: rgb(182, 209, 223);
  font-size: 16px;
  display: flex;
  align-items: center;
  row-gap: 12px;
  column-gap: 12px;
  line-height: 30px;
  z-index: 3;
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgba(7, 27, 42, 0.94);
  padding-top: 0px;
  padding-right: 12px;
  padding-bottom: 0px;
  padding-left: 12px;
  border-left-width: 2px;
  border-left-style: solid;
  border-left-color: rgb(102, 220, 236);
  text-shadow: rgb(0, 0, 0) 0px 1px;
}

.map-instruction::before {
  content: "";
  width: 5px;
  height: 17px;
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgb(99, 223, 231);
  display: none;
}

.inspect-resume {
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: rgb(109, 233, 243);
  border-right-color: rgb(109, 233, 243);
  border-bottom-color: rgb(109, 233, 243);
  border-left-color: rgb(109, 233, 243);
  border-image-source: none;
  border-image-slice: 100%;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgb(22, 56, 75);
  color: rgb(198, 245, 250);
  padding-top: 3px;
  padding-right: 13px;
  padding-bottom: 3px;
  padding-left: 13px;
  font-size: 14px;
  min-height: 28px;
  margin-left: 15px;
}

.wave-ribbon {
  left: 480px;
  top: 86px;
  right: auto;
  width: 450px;
  height: 70px;
  display: flex;
  align-items: center;
  row-gap: 16px;
  column-gap: 8px;
  padding-top: 5px;
  padding-right: 14px;
  padding-bottom: 5px;
  padding-left: 14px;
}

.wave-ribbon .wave-title {
  font-size: 15px;
  white-space-collapse: collapse;
  text-wrap-mode: nowrap;
  row-gap: 6px;
  column-gap: 6px;
}

.wave-ribbon .wave-title > img {
  width: 23px;
  height: 23px;
}

.wave-ribbon .composition {
  height: 38px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  row-gap: 9px;
  column-gap: 5px;
  align-items: center;
}

.wave-ribbon .wave-kind {
  flex-direction: row;
  row-gap: 2px;
  column-gap: 1px;
}

.wave-ribbon .composition img {
  width: 28px;
  height: 28px;
}

.wave-ribbon .wave-kind small {
  font-size: 12px;
}

.wave-ribbon p {
  font-size: 12px;
  line-height: 18px;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: auto;
  white-space-collapse: collapse;
  text-wrap-mode: nowrap;
  color: rgb(194, 230, 238);
}

.modal-close {
  position: absolute;
  right: 17px;
  top: 12px;
  width: 42px;
  height: 42px;
  font-size: 31px;
  line-height: 30px;
  color: rgb(139, 239, 250);
  padding-top: 3px;
  padding-right: 3px;
  padding-bottom: 3px;
  padding-left: 3px;
}

.modal .setting-row {
  display: grid;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  margin-right: 0px;
  margin-bottom: 25px;
  margin-left: 0px;
  font-size: 20px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: rgb(49, 84, 108);
  padding-bottom: 22px;
  grid-template-columns: 160px minmax(0px, 1fr) 55px;
  row-gap: 18px;
  column-gap: 18px;
}

.setting-row label {
  display: flex;
  row-gap: 15px;
  column-gap: 15px;
  align-items: center;
  white-space-collapse: collapse;
  text-wrap-mode: nowrap;
}

.setting-icon {
  font-size: 28px;
  width: 28px;
  color: rgb(146, 230, 245);
}

.modal .setting-row input[type="range"] {
  width: 100%;
  accent-color: rgb(100, 235, 255);
  height: 8px;
  appearance: none;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: rgb(49, 85, 117);
  border-right-color: rgb(49, 85, 117);
  border-bottom-color: rgb(49, 85, 117);
  border-left-color: rgb(49, 85, 117);
  border-image-source: none;
  border-image-slice: 100%;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  cursor: pointer;
  background: linear-gradient(to right,#59ecf7 var(--value),#173047 var(--value));
}

.setting-row input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  border-bottom-right-radius: 50%;
  border-bottom-left-radius: 50%;
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgb(16, 45, 65);
  border-top-width: 3px;
  border-right-width: 3px;
  border-bottom-width: 3px;
  border-left-width: 3px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: rgb(155, 247, 255);
  border-right-color: rgb(155, 247, 255);
  border-bottom-color: rgb(155, 247, 255);
  border-left-color: rgb(155, 247, 255);
  border-image-source: none;
  border-image-slice: 100%;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  box-shadow: rgb(70, 233, 244) 0px 0px 13px;
}

.setting-row output {
  text-align: right;
  font-size: 18px;
  color: rgb(194, 231, 243);
}

.setting-row:has(input[type="checkbox"]) {
  grid-template-columns: 1fr 30px;
}

.setting-row input[type="checkbox"] {
  appearance: none;
  width: 27px;
  height: 27px;
  border-top-width: 2px;
  border-right-width: 2px;
  border-bottom-width: 2px;
  border-left-width: 2px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: rgb(133, 205, 221);
  border-right-color: rgb(133, 205, 221);
  border-bottom-color: rgb(133, 205, 221);
  border-left-color: rgb(133, 205, 221);
  border-image-source: none;
  border-image-slice: 100%;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgb(11, 32, 49);
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  border-bottom-left-radius: 2px;
  cursor: pointer;
}

.setting-row input[type="checkbox"]:checked {
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgb(103, 232, 239);
  box-shadow: rgb(21, 52, 71) 0px 0px 0px 5px inset;
}

.recovery-warning {
  padding-top: 16px;
  padding-right: 20px;
  padding-bottom: 16px;
  padding-left: 20px;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: rgb(220, 166, 87);
  border-right-color: rgb(220, 166, 87);
  border-bottom-color: rgb(220, 166, 87);
  border-left-color: rgb(220, 166, 87);
  border-image-source: none;
  border-image-slice: 100%;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgba(201, 139, 23, 0.08);
  color: rgb(255, 214, 139) !important;
  font-size: 17px !important;
}

.loading-stage {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  display: grid;
  align-items: center;
  justify-items: center;
  background-image: radial-gradient(at 50% 40%, rgb(21, 50, 72), rgb(7, 18, 31) 70%);
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: initial;
  pointer-events: auto;
}

.loading-card {
  position: relative;
  width: 620px;
  max-width: calc(100% - 36px);
  padding-top: 38px;
  padding-right: 35px;
  padding-bottom: 38px;
  padding-left: 35px;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-top-style: solid;
  border-right-style: solid;
  border-bottom-style: solid;
  border-left-style: solid;
  border-top-color: rgb(67, 138, 163);
  border-right-color: rgb(67, 138, 163);
  border-bottom-color: rgb(67, 138, 163);
  border-left-color: rgb(67, 138, 163);
  border-image-source: none;
  border-image-slice: 100%;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgba(11, 33, 49, 0.85);
  text-align: center;
}

.loading-card h1 {
  font-family: Game, GameBody, sans-serif;
  font-style: italic;
  font-size: 52px;
  letter-spacing: 6px;
  margin-top: 12px;
  margin-right: 12px;
  margin-bottom: 12px;
  margin-left: 12px;
  color: rgb(200, 247, 255);
  text-shadow: rgb(77, 207, 231) 2px 0px;
}

.loading-card p {
  font-size: 21px;
}

.loading-card .small {
  font-size: 16px;
}

.loading-card .eyebrow {
  font-size: 13px;
  letter-spacing: 3px;
}

.loading-progress {
  width: 100%;
  height: 9px;
  border-top-width: 0px;
  border-right-width: 0px;
  border-bottom-width: 0px;
  border-left-width: 0px;
  border-top-style: none;
  border-right-style: none;
  border-bottom-style: none;
  border-left-style: none;
  border-top-color: currentcolor;
  border-right-color: currentcolor;
  border-bottom-color: currentcolor;
  border-left-color: currentcolor;
  border-image-source: none;
  border-image-slice: 100%;
  border-image-width: 1;
  border-image-outset: 0;
  border-image-repeat: stretch;
  appearance: none;
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgb(23, 53, 74);
  margin-top: 20px;
}

.loading-progress::-webkit-progress-bar {
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgb(23, 53, 74);
}

.loading-progress::-webkit-progress-value {
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgb(99, 223, 234);
  box-shadow: rgb(76, 227, 236) 0px 0px 15px;
}
.detail .tower-level{display:inline-flex;align-items:center;gap:4px;font-size:16px}
.detail .level-badge{width:22px;height:22px;object-fit:contain;vertical-align:middle}

.pump-hit{position:absolute;z-index:3;border:0;background:transparent!important;color:#acdae4;clip-path:none!important;padding:0;min-width:0;min-height:0;cursor:pointer;display:flex;align-items:flex-start;justify-content:center;overflow:visible}.pump-hit span{font:11px GameBody,sans-serif;background:#091d2bd9;border:1px solid #538391;line-height:16px;padding:0 4px;white-space:nowrap}.pump-hit:focus-visible span,.pump-hit.selected span{outline:2px solid #79ebef}.pump-hit.active span{color:#b2fff0;border-color:#8be5d0}.pump-detail .detail-stats{line-height:19px}.pump-detail .detail-actions{gap:6px}

.touch-ui .pump-detail .detail-stats{display:block;font-size:10px;line-height:14px}.touch-ui .pump-detail h3 span{font-size:10px!important}

.coupler-detail .detail-stats{margin-top:2px;margin-bottom:3px;font-size:12px;line-height:16px}.coupler-banks{display:flex;gap:6px;margin-left:81px}.coupler-banks button{font-size:12px;min-height:28px;padding:3px 10px}.coupler-banks .chosen{background:#165266!important;color:#d9fbff!important;border:1px solid #8fedff}.coupler-detail .detail-actions{margin-top:6px}.touch-ui .coupler-detail .detail-stats{display:block;margin:2px 0;font-size:10px;line-height:14px}.touch-ui .coupler-banks{display:grid;grid-template-columns:1fr 1fr;margin:2px 0;gap:4px}.touch-ui .coupler-banks button{min-width:0;min-height:44px;padding:2px!important;font-size:11px!important}.touch-ui .coupler-detail h3 span{font-size:10px!important}

.relay-detail .detail-stats{margin-top:2px;margin-bottom:3px;font-size:12px;line-height:16px}.relay-detail .detail-actions{margin-top:6px}.touch-ui .relay-detail .detail-stats{display:block;margin:2px 0;font-size:10px;line-height:14px}.touch-ui .relay-detail h3 span{font-size:10px!important}

.buffer-detail .detail-stats{margin-top:2px;margin-bottom:3px;font-size:12px;line-height:16px}.buffer-detail .detail-actions{margin-top:6px}.buffer-cell{white-space:nowrap}.touch-ui .buffer-detail .detail-stats{display:block;margin:2px 0;font-size:10px;line-height:14px}.touch-ui .buffer-detail h3 span{font-size:10px!important}
