* {
  font-family: 'Segoe UI 7', Arial, sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 100%
}

@font-face {
  font-family: "Segoe UI 7";
  src: url("fonts/SegoeUI7.ttf");
}

body {
  background-color: #000000;
  color: #ffffff;
  font-size: 16px;
  padding: 20px;
  text-align: left;
  background-image: url("aurora.png");
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (min-width: 768px) {
  body {
    padding: 40px;
  }
}

@media (min-width: 1200px) {
  body {
    padding: 70px;
  }
}

a {
  text-decoration: none;
  color: #add8e6;
}

a:hover {
  text-decoration: underline;
  color: #178ce5;
}

a:hover:active {
  text-decoration: none;
  color: #ff9500;
}

h2 {
  position: relative;
  left: -6px;
  top: -6px;
  padding: 6px;
  width: 100%;
  background: url('images/Reflection.png');
  margin: 0;
  border-bottom: 1px solid #ebf1f8;
  border-top: 1px solid #ebf1f8;
  color: #006e43;
  background-size: cover;
}

ul[role=menubar] {
  padding: 6px !important;
}

.window {
  margin-bottom: 6px;
  margin-left: auto;
  margin-right: auto;
  max-width: 95%;
}

@media (min-width: 768px) {
  .window {
    max-width: 90%;
  }
}
.dragHeader {
  cursor: move;
  user-select: none;
}

.dragHeader:active {
  cursor: grabbing;
}

.window-body {
  background: #fcfcfc !important;
}

.avatar {
  width: 100px;
  height: 100px;
  margin-right: 10px;
}

#nav-window {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  z-index: 1000;
}

#nav-window:before {
  background: linear-gradient(transparent 20%, #ffffffb3 40%, transparent 41%), 
              linear-gradient(90deg, #ffffff66, #0000001a, #ffffff33), 
              #cc0000 !important;
  border-radius: 0 !important;
}

#nav-window .title-bar {
  background: linear-gradient(90deg, #ffffff66, #0000001a, #ffffff33), #cc0000 !important;
  border-radius: 0 !important;
}

#nav-window .window-body {
  background: #ffcccc !important;
  margin: 0 6px 6px !important;
}

#nav-window ul[role=menubar] {
  margin: 0 !important;
  padding: 6px !important;
  justify-content: flex-start !important;
}

#bio-window {
  max-width: 95%;
  width: 100% !important;
}

@media (min-width: 768px) {
  #bio-window {
    max-width: 90%;
    width: 800px !important;
  }
}

@media (min-width: 1200px) {
  #bio-window {
    max-width: 1100px;
    width: 1100px !important;
  }
}

#bio-window:before {
  background: linear-gradient(transparent 20%, #ffffffb3 40%, transparent 41%), 
              linear-gradient(90deg, #ffffff66, #0000001a, #ffffff33), 
              #000000 !important;
}

#bio-window .title-bar {
  background: linear-gradient(90deg, #ffffff66, #0000001a, #ffffff33), #000000 !important;
}

#bio-window .window-body {
  background: #1a1a1a !important;
  color: #ffffff !important;
  font-size: 1.1em !important;
  padding: 30px 20px 0px 20px !important;
  min-height: 600px;
}

#bio-window .window-body p,
#bio-window .window-body li,
#bio-window .window-body h2 {
  color: #ffffff !important;
}

#bio-window .window-body p,
#bio-window .window-body li {
  font-size: 1.1em !important;
}

#bio-window .window-body p {
  margin-bottom: 20px !important;
  line-height: 1.6 !important;
}

#bio-window .window-body ul {
  padding-left: 40px !important;
  margin-bottom: 20px !important;
}

#bio-window .window-body li {
  margin-bottom: 16px !important;
  line-height: 1.6 !important;
  padding-left: 8px !important;
}

#bio-window .window-body li:last-child {
  margin-bottom: 40px !important;
}

#bio-window.modal-open {
  pointer-events: none;
  user-select: none;
}

#bio-window.maximized {
  border-radius: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  left: 0 !important;
  right: 0 !important;
}

#bio-window.maximized .window-body {
  margin: 0 6px 0 6px !important;
  font-size: 1.2em !important;
  padding: 39px 29px 0px 29px !important;
}

#bio-window.maximized .window-body p,
#bio-window.maximized .window-body li {
  font-size: 1.2em !important;
}

#bio-window.maximized .window-body p {
  margin-bottom: 24px !important;
  line-height: 1.68 !important;
}

#bio-window.maximized .window-body ul {
  padding-left: 49px !important;
  margin-bottom: 24px !important;
}

#bio-window.maximized .window-body li {
  margin-bottom: 19px !important;
  line-height: 1.68 !important;
  padding-left: 10px !important;
}

#bio-window.maximized .window-body li:last-child {
  margin-bottom: 49px !important;
}

#bio-window.maximized .window-body img.avatar {
  width: 116px !important;
  height: 116px !important;
}

#bio-window.maximized .window-body button {
  font-size: 1.09em !important;
  padding: 9px 19px !important;
}

#docs-window:before {
  background: linear-gradient(transparent 20%, #ffffffb3 40%, transparent 41%), 
              linear-gradient(90deg, #ffffff66, #0000001a, #ffffff33), 
              #808080 !important;
}

#docs-window .title-bar {
  background: linear-gradient(90deg, #ffffff66, #0000001a, #ffffff33), #808080 !important;
}

#docs-window .window-body {
  background: #f0f0f0 !important;
  color: #000000 !important;
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: hidden;
}

#docs-window .window-body p,
#docs-window .window-body article,
#docs-window .window-body [role=tabpanel] {
  color: #000000 !important;
}

#docs-window .window-body h2 {
  color: #000000 !important;
  font-size: 1.4em;
  font-weight: bold !important;
}

#docs-window .window-body [role=tabpanel] {
  padding: 10px;
}

#docs-window .window-body img {
  width: 48px !important;
}

#invite-window:before {
  background: linear-gradient(transparent 20%, #ffffffb3 40%, transparent 41%), 
              linear-gradient(90deg, #ffffff66, #0000001a, #ffffff33), 
              #e6c200 !important;
}

#invite-window .title-bar {
  background: linear-gradient(90deg, #ffffff66, #0000001a, #ffffff33), #e6c200 !important;
  padding: 2px 4px !important;
}

#invite-window .title-bar-text {
  padding: 0 4px !important;
  line-height: 1.2 !important;
}

#invite-window .window-body {
  background: #f0f0f0 !important;
  color: #000000 !important;
}

#invite-window .window-body p {
  color: #000000 !important;
}

#config-window:before {
  background:
    linear-gradient(transparent 20%, #ffffffb3 40%, transparent 41%),
    linear-gradient(90deg, #ffffff66, #0000001a, #ffffff33),
    #000000 !important;
}

#config-window .title-bar {
  background:
    linear-gradient(90deg, #ffffff66, #0000001a, #ffffff33),
    #000000 !important;
}

#config-window .window-body {
  background: #1a1a1a !important;
  color: #ffffff !important;
  font-size: 1.1em !important;
}

#config-window .window-body p {
  font-size: 1.1em !important;
}

#logging-window:before {
  background:
    linear-gradient(transparent 20%, #ffffffb3 40%, transparent 41%),
    linear-gradient(90deg, #ffffff66, #0000001a, #ffffff33),
    #000000 !important;
}

#logging-window .title-bar {
  background:
    linear-gradient(90deg, #ffffff66, #0000001a, #ffffff33),
    #000000 !important;
}

#logging-window .window-body {
  background: #1a1a1a !important;
  color: #ffffff !important;
  font-size: 1.1em !important;
}

#logging-window .window-body p {
  font-size: 1.1em !important;
}

#setup-window:before {
  background:
    linear-gradient(transparent 20%, #ffffffb3 40%, transparent 41%),
    linear-gradient(90deg, #ffffff66, #0000001a, #ffffff33),
    #000000 !important;
}

#setup-window .title-bar {
  background:
    linear-gradient(90deg, #ffffff66, #0000001a, #ffffff33),
    #000000 !important;
}

#setup-window .window-body {
  background: #1a1a1a !important;
  color: #ffffff !important;
  font-size: 1.1em !important;
}

#setup-window .window-body p {
  font-size: 1.1em !important;
}

#bitrate-window:before {
  background:
    linear-gradient(transparent 20%, #ffffffb3 40%, transparent 41%),
    linear-gradient(90deg, #ffffff66, #0000001a, #ffffff33),
    #000000 !important;
}

#bitrate-window .title-bar {
  background:
    linear-gradient(90deg, #ffffff66, #0000001a, #ffffff33),
    #000000 !important;
}

#bitrate-window .window-body {
  background: #1a1a1a !important;
  color: #ffffff !important;
  font-size: 1.1em !important;
}

#bitrate-window .window-body p {
  font-size: 1.1em !important;
}

#tempmod-window:before {
  background:
    linear-gradient(transparent 20%, #ffffffb3 40%, transparent 41%),
    linear-gradient(90deg, #ffffff66, #0000001a, #ffffff33),
    #000000 !important;
}

#tempmod-window .title-bar {
  background:
    linear-gradient(90deg, #ffffff66, #0000001a, #ffffff33),
    #000000 !important;
}

#tempmod-window .window-body {
  background: #1a1a1a !important;
  color: #ffffff !important;
  font-size: 1.1em !important;
}

#tempmod-window .window-body p {
  color: #ffffff !important;
  font-size: 1.1em !important;
}

#autoban-window:before {
  background:
    linear-gradient(transparent 20%, #ffffffb3 40%, transparent 41%),
    linear-gradient(90deg, #ffffff66, #0000001a, #ffffff33),
    #000000 !important;
}

#autoban-window .title-bar {
  background:
    linear-gradient(90deg, #ffffff66, #0000001a, #ffffff33),
    #000000 !important;
}

#autoban-window .window-body {
  background: #1a1a1a !important;
  color: #ffffff !important;
  font-size: 1.1em !important;
}

#autoban-window .window-body p {
  color: #ffffff !important;
  font-size: 1.1em !important;
}

#autoban-tiers-window {
  max-width: 95%;
  width: 100% !important;
}

@media (min-width: 768px) {
  #autoban-tiers-window {
    max-width: 90%;
    width: 900px !important;
  }
}

@media (min-width: 1200px) {
  #autoban-tiers-window {
    max-width: 1200px;
    width: 1200px !important;
  }
}

#autoban-tiers-window:before {
  background: linear-gradient(transparent 20%, #ffffffb3 40%, transparent 41%), 
              linear-gradient(90deg, #ffffff66, #0000001a, #ffffff33), 
              #cc0000 !important;
}

#autoban-tiers-window .title-bar {
  background: linear-gradient(90deg, #ffffff66, #0000001a, #ffffff33), #cc0000 !important;
}

#autoban-tiers-window .window-body {
  background: #ffcccc !important;
  color: #000000 !important;
}

#autoban-tiers-window .window-body p {
  color: #000000 !important;
}

#autoban-tiers-window .window-body ul li {
  margin-bottom: 10px !important;
  padding: 10px !important;
  gap: 10px !important;
}

#autoban-tiers-window .window-body ul li img {
  width: 64px !important;
  height: 64px !important;
}

#autoban-tiers-window .window-body ul li h3 {
  margin: 0 0 4px 0 !important;
  font-size: 14pt !important;
}

#autoban-tiers-window .window-body ul li p {
  font-size: 12pt !important;
}

#autoban-balloon,
#overseer-balloon {
  position: fixed;
  z-index: 10001;
  white-space: nowrap;
  pointer-events: none;
  color: #000000 !important;
  padding: 1em !important;
}

@media (max-width: 767px) {
  body {
    padding: 10px !important;
    font-size: 14px;
  }

  .window {
    max-width: 100% !important;
    margin-bottom: 10px;
  }

  #bio-window {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1001 !important;
  }

  #bio-window .window-body {
    padding: 20px 15px !important;
    min-height: auto !important;
    max-height: 65vh !important;
    overflow-y: auto !important;
  }

  #bio-window .window-body p {
    margin-bottom: 15px !important;
    font-size: 1em !important;
  }

  #bio-window .window-body ul {
    padding-left: 25px !important;
  }

  #bio-window .window-body li {
    margin-bottom: 12px !important;
    font-size: 1em !important;
  }

  .avatar {
    width: 80px !important;
    height: 80px !important;
    margin-bottom: 10px;
    float: none !important;
    display: block;
  }

  #nav-window {
    max-height: 100vh !important;
    overflow: hidden !important;
  }

  #nav-window .window-body {
    max-height: 220px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
  }

  #nav-window ul[role=menubar] {
    flex-direction: column;
    gap: 5px;
    padding: 6px !important;
  }

  #nav-window ul[role=menubar] a {
    display: flex;
    align-items: center;
    width: 100%;
  }

  #nav-window ul[role=menubar] img {
    width: 64px !important;
  }

  #docs-window {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1001 !important;
  }

  #autoban-tiers-window {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1001 !important;
  }

  #docs-window .window-body {
    padding: 15px 10px !important;
    max-height: 65vh !important;
    overflow-y: auto !important;
  }

  #docs-window .window-body img {
    width: 32px !important;
  }

  #docs-window .window-body h2 {
    font-size: 1.15em !important;
    font-weight: bold !important;
  }

  #invite-window {
    width: 95% !important;
    max-width: 95% !important;
  }

  #config-window,
  #setup-window,
  #bitrate-window,
  #logging-window,
  #tempmod-window {
    width: 95% !important;
    max-width: 95% !important;
  }

  #autoban-window {
    width: 95% !important;
    max-width: 95% !important;
  }

  #autoban-window .window-body {
    min-height: 180px !important;
    max-height: 50vh !important;
  }

  #bio-window .window-body p button {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }

  .title-bar-text {
    font-size: 11pt !important;
    padding: 4px 6px !important;
  }

  .window-body {
    font-size: 0.9em;
  }

  menu[role=tablist] {
    flex-wrap: wrap;
    gap: 5px;
  }

  menu[role=tablist] button {
    font-size: 0.85em;
    padding: 4px 8px !important;
  }
}