*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

html {
  background-color: #c5d5e1;
  font-size: clamp(10px, calc(16 * 100vw / 390), 21px);
}

div {
  font-size: inherit;
}

body {
  font-family:
    PingFang SC,
    Microsoft YaHei,
    Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

button {
  border: 0;
  padding: 0;
  font: inherit;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.hidden {
  display: none !important;
}

.bg {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  min-height: 100vh;
  background: url("/images/bg.aac8bd44.webp") no-repeat;
  background-size: cover;
  background-position: top center;
  font-size: 0.875rem;
  position: relative;
  overflow-x: hidden;
}

.main {
  padding: 23.125rem 0.75rem 0;
  z-index: 2;
  position: relative;
}

.lineList {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  row-gap: 0.75rem;
}

#line-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  row-gap: 0.75rem;
}

.lineItem {
  background-color: #fff;
  border-radius: 0.5rem;
  padding: 1rem;
  position: relative;
}

.lineItemText {
  display: flex;
  align-items: center;
  column-gap: 0.75rem;
  color: #303442;
  font-size: 0.75rem;
}

.linkIcon {
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 auto;
}

.img-tuijian {
  width: 2rem;
  height: 1rem;
  position: absolute;
  right: 0;
  top: 0;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.enterGame {
  padding: 0.5625rem 0.75rem;
  border-radius: 0.5rem;
  background-color: rgba(100, 119, 151, 0.1);
  display: flex;
  align-items: center;
}

.enterGame.disabled {
  background-color: #fff;
  border: 0.0625rem solid rgba(201, 205, 219, 0.3);
  cursor: not-allowed;
  pointer-events: none;
}

.contact {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(180deg, #17e1ff, #0583e1);
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 1.5625rem;
  right: 0.75rem;
}

.contact .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.btnGroup {
  padding: 1.25rem 0;
  display: grid;
  grid-template-columns: 2fr 3fr;
  column-gap: 0.75rem;
}

.btn {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 5.125rem;
  row-gap: 0.5rem;
  color: #697c9c;
  font-size: 0.875rem;
  border-radius: 0.5rem;
}

.btn img {
  width: 1.5rem;
  height: 1.5rem;
}

.img-size16 {
  height: 1rem;
  object-fit: contain;
}

.img-size14 {
  height: 0.875rem;
  object-fit: contain;
}

.signal-strength {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.signal-bars {
  display: flex;
  align-items: flex-end;
  gap: 0.125rem;
  height: 0.875rem;
  width: 0.875rem;
}

.signal-bar {
  width: 0.125rem;
  background-color: #e0e0e0;
  border-radius: 0.0625rem 0.0625rem 0 0;
  transition: background-color 0.3s ease;
}

.signal-bar.active.excellent {
  background-color: #39c524;
}

.signal-bar.active.good {
  background-color: #ff9e00;
}

.signal-bar.active.average {
  background-color: #ff9100;
}

.signal-bar.active.poor {
  background-color: #f53f3f;
}

.signal-bar.active.unavailable {
  background-color: #9e9e9e;
}

.signal-bar.testing {
  animation: pulse 1.5s infinite;
  background-color: #2196f3;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }

  100% {
    opacity: 1;
  }
}

.signal-label {
  font-size: 0.875rem;
  text-align: center;
}

.signal-label.excellent {
  color: #39c524;
}

.signal-label.good {
  color: #ff9e00;
}

.signal-label.average {
  color: #ff9100;
}

.signal-label.poor {
  color: #f53f3f;
}

.signal-label.unavailable {
  color: #9e9e9e;
}

.signal-label.testing {
  color: #2196f3;
}

#nprogress {
  pointer-events: none;
}

#nprogress .bar {
  background: #179cff;
  position: fixed;
  z-index: 1031;
  top: 0;
  left: 0;
  width: 0;
  height: 0.125rem;
  opacity: 0;
  transition:
    width 180ms ease,
    opacity 160ms ease;
}

#nprogress.active .bar {
  opacity: 1;
}

@media (min-width: 640px) {
  .bg {
    max-width: 26.875rem;
    margin: 0 auto;
  }
}
