﻿:root {
  --bg: #0f1516;
  --bg-card: #1a2123;
  --text: #e5d7ea;
  --text-muted: #a898b0;
  --accent-blue: #407fb4;
  --accent-pink: #b5406f;
  --accent-purple: #9340b4;
  --accent-teal: #00fa9a;
  --accent-gold: #d4a847;
  --radius: 12px;
  --radius-sm: 6px;
  --space-sm: 4px;
  --space-md: 8px;
  --space-lg: 16px;
  --bar-swsh: #407fb4;
  --bar-bdsp: #9340b4;
  --bar-sv: #b5406f;
  --bar-la: #256483;
}

html {
  position: relative;
  min-height: 100%;
  max-width: 98vw;
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  margin-bottom: 60px;
  color: var(--text);
  background-color: var(--bg);
  z-index: 2;
}

a {
  color: #9156e6;
}

a:hover {
  color: #b388f0;
}

.backDrop {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.cornerLeft {
  position: fixed;
  bottom: 0;
  left: 0;
  font-size: 11px;
  text-align: left;
  padding: 0 0 4px 8px;
  z-index: 1;
}

.cornerLeft a {
  display: inline-block;
}

.cornerButton {
  position: fixed;
  bottom: 0;
  right: 8px;
  font-size: 12px;
  z-index: 1;
}

#myProgress {
  width: 60vw;
  background-color: #ddd;
  margin: 0 auto;
  border-radius: var(--radius);
}

#myBar0 {
  width: 0%;
  height: 25px;
  background-color: var(--bar-swsh);
  text-align: center;
  line-height: 25px;
  color: black;
  border-radius: var(--radius);
  white-space: nowrap;
  font-size: clamp(0.6rem, 3vmin, 1.25rem);
  transition: width 0.3s ease;
}

#myBar1 {
  width: 0%;
  height: 25px;
  background-color: var(--bar-bdsp);
  text-align: center;
  line-height: 25px;
  color: black;
  border-radius: var(--radius);
  white-space: nowrap;
  font-size: clamp(0.6rem, 3vmin, 1.25rem);
  transition: width 0.3s ease;
}

#myBar2 {
  width: 0%;
  height: 25px;
  background-color: var(--bar-sv);
  text-align: center;
  line-height: 25px;
  color: black;
  border-radius: var(--radius);
  white-space: nowrap;
  font-size: clamp(0.6rem, 3vmin, 1.25rem);
  transition: width 0.3s ease;
}

#myBar3 {
  width: 0%;
  height: 25px;
  background-color: var(--bar-la);
  text-align: center;
  line-height: 25px;
  color: black;
  border-radius: var(--radius);
  white-space: nowrap;
  font-size: clamp(0.6rem, 1.7vmin, 0.85rem);
  transition: width 0.3s ease;
}

#rcorners2 {
  border-radius: var(--radius);
  border: 4px solid var(--accent-blue);
  text-align: center;
  line-height: 25px;
  padding: 20px;
  width: 60vw;
  margin: 0 auto;
  animation: fadein 1s;
}

#info {
  height: 26px;
  position: fixed;
  bottom: 0;
  left: 0;
  opacity: 1;
  font-size: 14px;
}

.box {
  width: 30%;
  height: 200px;
  border: 5px dashed #f7a239;
}

em {
  font-style: normal;
  font-size: clamp(1.2rem, 3.8vw, 2rem);
}

@keyframes fadein {
  from { opacity: 0; }
  to { opacity: 1; }
}

.status-live {
  color: fuchsia;
}

.status-success {
  color: var(--accent-teal);
}

.status-online {
  color: var(--accent-teal);
}

.status-warning {
  color: #fae300;
}

.status-offline {
  color: red;
}

.title-main {
  font-size: clamp(1.5rem, 4vh, 2.5rem);
}

.title-jp {
  font-size: clamp(1.5rem, 4vh, 2.5rem);
}

.section-gap {
  margin-top: var(--space-lg);
}

.section-gap-sm {
  margin-top: var(--space-md);
}

.status-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  align-items: center;
}

.status-bar p {
  margin: 0;
}

@media (max-width: 768px) {
  .cornerLeft {
    position: static;
    text-align: center;
    margin: var(--space-md) 0;
  }

  .cornerButton {
    position: static;
    text-align: center;
    margin: var(--space-md) 0;
  }

  #myProgress {
    width: 90vw;
  }

  #rcorners2 {
    width: 90vw;
  }
}
