:root {
  color-scheme: dark;
  --bg: #010314;
  --card: #1a1c23;
  --text: #f4f6f8;
  --muted: #9aa1ab;
  --line: rgba(255, 255, 255, 0.06);
  --gold: #e6c48a;
  --gold-line: #c6a36a;
  --green: #2ee59a;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.verify {
  min-height: 100dvh;
  background: #0e1420;
  color: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.verify-wrap {
  width: min(320px, calc(100% - 48px));
  text-align: center;
}

.ring-box {
  position: relative;
  width: 188px;
  height: 188px;
  margin: 0 auto 28px;
}

.ring-glow {
  position: absolute;
  inset: 24px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 229, 154, 0.18), transparent 68%);
}

.spin {
  position: absolute;
  inset: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  animation: spin 9s linear infinite;
}

.spin circle {
  fill: none;
  stroke: rgba(46, 229, 154, 0.45);
  stroke-width: 1.4;
  stroke-dasharray: 5 12;
}

.ring {
  position: relative;
  width: 188px;
  height: 188px;
  transform: rotate(-90deg);
}

.ring-track,
.ring-value {
  fill: none;
  stroke-width: 8;
}

.ring-track {
  stroke: rgba(255, 255, 255, 0.08);
}

.ring-value {
  stroke: #3ddc97;
  stroke-linecap: round;
  stroke-dasharray: 326.726;
  stroke-dashoffset: 323.459;
}

.ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.num {
  display: flex;
  align-items: flex-start;
  font-variant-numeric: tabular-nums;
}

.num strong {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
}

.num small {
  margin-top: 8px;
  margin-left: 2px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.72);
}

.verify h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: 1px;
}

#status {
  min-height: 22px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.verify.is-done #status {
  color: #3ddc97;
}

.track {
  height: 4px;
  margin: 22px auto 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

#bar {
  width: 1%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #14924a, #3ddc97);
}

.enter {
  min-height: 100dvh;
  background: #000;
  color: #fff;
  display: grid;
  place-items: center;
}

.enter main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(320px, calc(100% - 48px));
  text-align: center;
}

.brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #34d37a, #14924a);
  box-shadow: 0 6px 16px rgba(20, 146, 74, 0.28);
  flex: none;
}

.brand-icon svg {
  display: block;
}

.enter .brand-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  margin-bottom: 18px;
}

.enter .brand-icon svg {
  width: 32px;
  height: 32px;
}

.enter h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

.enter p {
  margin: 10px 0 28px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

.enter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 196px;
  height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #34d37a, #14924a);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: 1px;
  box-shadow: 0 10px 24px rgba(20, 146, 74, 0.32);
}

.enter-btn:active {
  transform: translateY(1px);
}

.portal {
  min-height: 100dvh;
  background: #010314;
  color: var(--text);
}

.page {
  width: min(480px, 100%);
  margin: 0 auto;
  padding: env(safe-area-inset-top) 16px 32px;
}

.top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 2px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.block h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 2px 12px;
  font-size: 16px;
  font-weight: 650;
}

.block h2 i {
  width: 3px;
  height: 14px;
  border-radius: 2px;
  background: #9cad4e;
}

.auto-tip {
  min-height: 18px;
  margin: -4px 4px 10px;
  color: var(--muted);
  font-size: 12px;
}

.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.line {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 64px;
  padding: 12px 14px;
  color: inherit;
  text-decoration: none;
  background: transparent;
}

.line + .line {
  box-shadow: inset 0 1px 0 var(--line);
}

.line:active,
.line:hover {
  background: rgba(255, 255, 255, 0.035);
}

.line:focus-visible {
  outline: 2px solid var(--gold-line);
  outline-offset: -2px;
}

.no {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--gold-line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--gold);
  background: radial-gradient(circle at 50% 40%, #3a3428, #1a1814 72%);
  font-size: 13px;
  font-weight: 650;
}

.line-main {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.line-name {
  font-size: 15px;
  white-space: nowrap;
}

.tag {
  flex: none;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1;
}

.tag.hot {
  background: #8a4514;
  color: #f6d3b0;
}

.tag.recommend {
  background: #6d5b32;
  color: #f3e2b6;
}

.tag.ok {
  background: #1caf72;
  color: #f3fff9;
}

.metrics {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex: none;
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.bars i {
  display: block;
  width: 3px;
  border-radius: 1px;
  background: var(--green);
  animation: pulse 1.5s ease-in-out infinite;
}

.bars i:nth-child(1) { height: 4px; animation-delay: 0s; }
.bars i:nth-child(2) { height: 7px; animation-delay: 0.12s; }
.bars i:nth-child(3) { height: 10px; animation-delay: 0.24s; }
.bars i:nth-child(4) { height: 13px; animation-delay: 0.36s; }

.ms {
  min-width: 52px;
  color: #e7ebf0;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.ms-num {
  display: inline-block;
}

.ms-num.tick {
  animation: tick 0.35s ease;
}

.chev {
  width: 7px;
  height: 7px;
  border-top: 1.5px solid #8b919c;
  border-right: 1.5px solid #8b919c;
  transform: rotate(45deg);
  flex: none;
}

.tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 22px 8px 18px;
}

.tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #e8eaee;
  font-size: 14px;
}

.tool + .tool {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.tool-icon {
  width: 54px;
  height: 54px;
  border: 1.5px solid rgba(214, 176, 106, 0.9);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--gold);
}

.nav-card {
  padding: 16px 12px 18px;
}

.nav-label {
  margin: 0 4px 14px;
  color: #d5d8de;
  font-size: 14px;
}

.nav-label + .nav-grid {
  margin-bottom: 18px;
}

.nav-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 6px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #9aa0a8;
  font-size: 12px;
  text-decoration: none;
  text-align: center;
}

.nav-item:active .mark {
  transform: scale(0.96);
}

.mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}

.mark.baidu { background: #2f46e8; }
.mark.sina { background: #e6162d; }
.mark.netease { background: #a30d16; }
.mark.toutiao { background: #ff4b5c; }
.mark.weibo { background: #ff2d3a; }
.mark.zhihu { background: #0084ff; }
.mark.xhs { background: #ff4d6a; }
.mark.douyin {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

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

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes tick {
  from { opacity: 0.35; }
  to { opacity: 1; }
}

@media (max-width: 360px) {
  .line-name { font-size: 13px; }
  .tag { padding: 3px 6px; }
  .ms { min-width: 46px; font-size: 12px; }
  .mark { width: 46px; height: 46px; font-size: 20px; }
}
