:root {
  --primary: #00b1ad;
  --primary-dark: #0b707e;
  --page-bg: #e9ecef;
  --text-muted: #666666;
}

.mian-color,
.title-top-2,
.title-top,
.footer-nav,
.sea-btn,
.search-box,
.ac-img,
.sign-inf a.mian-color {
  background-color: var(--primary) !important;
}

.search-box {
  border-color: var(--primary) !important;
}

.group-box li {
  border-color: var(--primary);
}

.group-box li.group-box-select {
  background-color: var(--primary) !important;
}

.group-box li a {
  color: var(--primary);
}

.footer-nav a.at-a {
  opacity: 1;
}

body {
  margin: 0;
  font-family: "PingFang TC", "Microsoft JhengHei", sans-serif;
  background: var(--page-bg);
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

/* 侧栏、遮罩：见 mobile.css */

/* 弹层通用 */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.55);
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.show {
  display: flex;
}

/* main.css 里 .logo-win 默认 display:none，弹层内必须显示 */
.modal-overlay .modal-box,
.modal-overlay .logo-win {
  display: block !important;
}

.modal-box {
  background: #fff;
  border-radius: 8px;
  width: 100%;
  max-width: 340px;
  padding: 24px 20px;
  box-sizing: border-box;
  text-align: center;
}

.modal-box h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.modal-box p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 14px;
}

.auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-buttons img {
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  display: block;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.78);
  color: #fff;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 14px;
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.toast.show {
  opacity: 1;
}

.loading-tip,
.empty-tip {
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  list-style: none;
}

.verify-input {
  width: 100%;
  box-sizing: border-box;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0 10px;
  margin: 12px 0;
}

.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.modal-actions button {
  flex: 1;
  height: 40px;
  border: none;
  border-radius: 4px;
  font-size: 15px;
  cursor: pointer;
}

.modal-actions .btn-cancel {
  background: #eee;
  color: #333;
}

.modal-actions .btn-primary {
  background: var(--primary);
  color: #fff;
}
