#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  height: 100%;
}

.content {
  height: 100%;
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  background-color: #000;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
}

.wrapper {
  overflow: hidden;
  height: 100%;
  position: relative;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  box-sizing: border-box;
  justify-content: center;
}

.line-and-tips {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
}

.line-content {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.line-content .line-item {
  width: 291px;
  height: 46px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  background: #ffffffcc;
  border-radius: 32px;
  justify-content: center;
}

.line-content .line-item:last-child {
  margin-bottom: 0;
}

.line-content .line-text {
  color: #2f2f2f;
  font-weight: 400;
  font-size: 16px;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tips {
  box-sizing: border-box;
  height: 32px;
  display: flex;
  justify-content: center;
  position: fixed;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
}

.bottom-footer {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.3);
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}

.bottom-footer-space {
  height: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0);
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}

.top_img {
  width: 280px;
  height: 92px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.tips_img {
  background-repeat: no-repeat;
  background-size: contain;
  width: 306px;
  height: 32px;
}

.lines-loading {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  pointer-events: auto;
  animation: lines-loading-fade-in 0.18s ease-out;
}

.lines-loading-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  min-width: 120px;
  padding: 22px 28px 18px;
  border-radius: 16px;
  background: linear-gradient(
    160deg,
    rgba(36, 36, 36, 0.96) 0%,
    rgba(18, 18, 18, 0.96) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.lines-loading-ring {
  position: relative;
  width: 42px;
  height: 42px;
}

.lines-loading-ring-outer,
.lines-loading-ring-inner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border-style: solid;
  border-color: transparent;
  box-sizing: border-box;
}

.lines-loading-ring-outer {
  border-width: 3px;
  border-top-color: #c43a36;
  border-right-color: rgba(196, 58, 54, 0.35);
  animation: lines-loading-spin 0.85s linear infinite;
}

.lines-loading-ring-inner {
  inset: 8px;
  border-width: 2px;
  border-bottom-color: rgba(255, 255, 255, 0.85);
  border-left-color: rgba(255, 255, 255, 0.25);
  animation: lines-loading-spin-reverse 1.1s linear infinite;
}

.lines-loading-text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  letter-spacing: 0.12em;
  line-height: 1;
}

@keyframes lines-loading-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes lines-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes lines-loading-spin-reverse {
  to {
    transform: rotate(-360deg);
  }
}

.lines-error {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
}

.lines-error-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
}

.lines-error-text {
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.lines-error-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.lines-action-btn {
  min-width: 120px;
  height: 40px;
  padding: 0 28px;
  border: none;
  border-radius: 20px;
  background: #ffffffcc;
  color: #2f2f2f;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.lines-action-btn:active {
  opacity: 0.85;
}
