/* roboto-regular - latin */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("..fonts/roboto-v30-latin-regular.eot");
  src: local(""),
    url("../fonts/roboto-v30-latin-regular.eot?#iefix") format("embedded-opentype"),
    url("../fonts/roboto-v30-latin-regular.woff2") format("woff2"),
    url("../fonts/roboto-v30-latin-regular.woff") format("woff"),
    url("../fonts/roboto-v30-latin-regular.ttf") format("truetype"),
    url("../fonts/roboto-v30-latin-regular.svg#Roboto") format("svg");
}
/* roboto-500 - latin */
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/roboto-v30-latin-500.eot");
  src: local(""),
    url("assets/fonts/roboto-v30-latin-500.eot?#iefix") format("embedded-opentype"),
    url("../fonts/roboto-v30-latin-500.woff2") format("woff2"),
    url("../fonts/roboto-v30-latin-500.woff") format("woff"),
    url("../fonts/roboto-v30-latin-500.ttf") format("truetype"),
    url("../fonts/roboto-v30-latin-500.svg#Roboto") format("svg");
}

body {
  margin: 0px;
  padding: 0px;
  display: block;
  background-color: #3b1a58;
}

::-webkit-scrollbar { display: none; }
html { -ms-overflow-style: none; scrollbar-width: none; }

/* ── Branding header ─────────────────────────────────── */
.twentyfour-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: rgba(46, 15, 73, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(198, 244, 0, 0.15);
}
.twentyfour-header img {
  max-height: 44px;
}

/* ── Credits ─────────────────────────────────────────── */
.Credits {
  color: #d9d3e6;
  text-align: center;
  font-size: 13px;
  font-family: Roboto-Medium, Roboto;
  font-weight: 500;
  padding-top: 8px;
}
.Credits a {
  text-decoration: none;
  color: #d9d3e6;
}
.Credits a:hover {
  color: #c6f400;
}

.ConnectError { display: none; }

.openSpeedtestApp {
  height: 100vh;
  width: 100vw;
  display: none;
  overflow: hidden;
}

/* ── Gauge ───────────────────────────────────────────── */
.main-Gaugebg {
  fill: none;
  stroke: rgba(198, 244, 0, 0.12);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 22px;
  stroke-dasharray: 681;
}
.main-GaugeBlue {
  fill: none;
  stroke: url(#gradient);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 22px;
  stroke-dasharray: 681;
  stroke-opacity: 0;
}
.main-GaugeWhite {
  fill: none;
  stroke: rgba(255,255,255,0.6);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 15px;
  stroke-dasharray: 0, 681;
  stroke-dashoffset: 1;
  stroke-opacity: 0;
}
.oDo-Meter {
  font-size: 16.633283615112305px;
  fill: #d9d3e6;
  font-family: Roboto-Medium, Roboto;
  font-weight: 500;
}
.oDoLive-Speed {
  font-size: 28px;
  fill: #ffffff;
  font-family: Roboto-Medium, Roboto;
  font-weight: 500;
  text-anchor: middle;
}
.oDoLive-Status {
  font-size: 10px;
  fill: rgba(198, 244, 0, 0.7);
  font-family: Roboto-Medium, Roboto;
  font-weight: 500;
  text-anchor: middle;
}
.uiBg { fill: #2e0f49; }
.progressbg {
  stroke: rgba(198, 244, 0, 0.15);
  stroke-width: 8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 0;
}
.Cards { fill: #2e0f49; }
.Symbol { fill: url(#gradient); }
.rtext {
  font-size: 12px;
  fill: #d9d3e6;
  font-family: Roboto-Medium, Roboto;
  font-weight: 500;
}
.rtextnum {
  font-size: 23px;
  fill: #ffffff;
  font-family: Roboto-Medium, Roboto;
  font-weight: 500;
  text-anchor: middle;
}
.rtextmbms {
  font-size: 12px;
  fill: #d9d3e6;
  font-family: Roboto-Medium, Roboto;
  font-weight: 500;
  text-anchor: middle;
}
.jitter-Mob {
  font-size: 9px;
  fill: #d9d3e6;
  font-family: Roboto-Medium, Roboto;
  font-weight: 500;
  text-anchor: middle;
}
.startButton {
  fill: url(#RadialGradient1);
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  pointer-events: visible;
}
.buttonTxt {
  font-size: 40px;
  fill: #201136;
  font-family: Roboto-Medium, Roboto;
  font-weight: 500;
  text-anchor: middle;
}
.intro-Progress {
  stroke: #c6f400;
  stroke-width: 8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 0;
}
.progressElmstart {
  stroke: #c6f400;
  stroke-width: 8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 0;
  display: block;
}
.Startsettings {
  fill: url(#RadialGradient1);
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  pointer-events: visible;
  opacity: 0.1;
  transition: opacity 1s ease-in-out;
}
.Startsettings:hover { opacity: 1; }
.deskStart {
  fill: none;
  stroke: rgba(198, 244, 0, 0.15);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 22px;
  stroke-dasharray: 681;
  stroke: url(#gradient);
}
#UI-Desk { display: none; }
#UI-Mob  { display: none; }
.oDoTop-Speed {
  font-size: 16.96px;
  fill: #d9d3e6;
  font-family: Roboto-Medium, Roboto;
  font-weight: 500;
  text-anchor: end;
}
#upSymbolDesk   { fill: #c6f400; display: none; }
#downSymbolDesk { fill: #c6f400; display: none; }
#upSymbolMob    { fill: #c6f400; display: none; }
#downSymbolMob  { fill: #c6f400; display: none; }

#ipMob {
  font-size: 15px;
  fill: #ffffff;
  font-family: Roboto-Medium, Roboto;
  font-weight: 500;
  text-anchor: middle;
  display: none;
}
#ipDesk {
  font-size: 15px;
  fill: #ffffff;
  font-family: Roboto-Medium, Roboto;
  font-weight: 500;
  text-anchor: middle;
  display: none;
}

/* ── Spinner ─────────────────────────────────────────── */
.spinner {
  position: absolute;
  z-index: 999;
  top: 50vh;
  left: 50vw;
  text-align: center;
}
.spinner > div {
  width: 20px;
  height: 20px;
  background-color: #c6f400;
  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.spinner .bounce1 { -webkit-animation-delay: -0.32s; animation-delay: -0.32s; }
.spinner .bounce2 { -webkit-animation-delay: -0.16s; animation-delay: -0.16s; }
@-webkit-keyframes sk-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0); }
  40%           { -webkit-transform: scale(1); }
}
@keyframes sk-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0); transform: scale(0); }
  40%           { -webkit-transform: scale(1); transform: scale(1); }
}

/* ── Dark mode toggle (hidden — not needed) ──────────── */
.darkmode { display: none !important; }

/* ── Layout ──────────────────────────────────────────── */
.Mobile, .Desktop {
  visibility: hidden;
  width: 100vw;
  height: 100vh;
}
@media only screen and (orientation: landscape) {
  .Mobile    { visibility: hidden; }
  .Desktop   { visibility: visible; }
}
@media only screen and (orientation: portrait) {
  .spinner { top: 42vh; left: 42vw; }
  .Mobile  { visibility: visible; }
  .Desktop { visibility: hidden; }
}
@media only screen and (max-width: 300px) {
  .Credits { display: none; }
}
