:root {
  --tv-blue: #1769FF;
  --tv-blue-2: #3B82FF;
  --tv-ink: #0B1F4D;
  --tv-muted: #64748b;
  --tv-line: #E2E8F0;
  --tv-bg: #F5F7FB;
  --tv-card: #ffffff;
  --tv-ok: #16a34a;
  --tv-danger: #dc2626;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
.tv-body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background: var(--tv-bg);
  color: var(--tv-ink);
  min-height: 100vh;
}
.tv-hidden { display: none !important; }
.tv-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--tv-line);
  position: sticky; top: 0; z-index: 30;
}
.tv-back { color: var(--tv-blue); font-size: 1.25rem; text-decoration: none; width: 40px; }
.tv-brand { font-weight: 800; }
.tv-user a { color: var(--tv-blue); font-weight: 700; text-decoration: none; }
.tv-user span { color: var(--tv-muted); font-size: .85rem; }

.tv-main { width: min(920px, 100%); margin: 0 auto; padding: 16px 14px 56px; }
.is-desktop .tv-main { width: min(1080px, 100%); padding: 24px 20px 72px; }
.tv-hero-wrap { margin-bottom: 14px; }
.tv-hero { margin-bottom: 0; }
.is-desktop .tv-hero-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.is-desktop .tv-hero { flex: 1; min-width: 0; }
.is-desktop .tv-social-entry {
  flex: 0 1 auto;
  display: block;
  text-decoration: none;
  line-height: 0;
  transition: transform .2s, filter .2s;
}
.is-desktop .tv-social-entry:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}
.is-desktop .tv-social-entry img {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(544px, 48vw);
  object-fit: contain;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}
.is-mobile .tv-hero { margin-bottom: 10px; }
.tv-hero-row {
  display: flex; align-items: center; gap: 14px;
}
.tv-hero-logos { display: flex; flex-shrink: 0; margin-bottom: 0; }
.tv-hero-logos img { width: 52px; height: 52px; object-fit: contain; }
.tv-hero-text { min-width: 0; text-align: left; }
.tv-hero h1 { margin: 0 0 4px; font-size: clamp(1.35rem, 3vw, 1.85rem); font-weight: 900; color: var(--tv-ink); }
.tv-hero p { margin: 0; color: var(--tv-muted); font-size: .92rem; }
.is-desktop .tv-hero-logos img { width: 56px; height: 56px; }
.is-mobile .tv-hero-wrap { margin-bottom: 10px; }
.is-mobile .tv-hero-row { gap: 10px; }
.is-mobile .tv-hero-logos img { width: 44px; height: 44px; }
.is-mobile .tv-hero h1 { font-size: 1.22rem; margin-bottom: 2px; }
.is-mobile .tv-hero p { font-size: .76rem; }

.tv-section-row {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 12px;
}
.tv-section-row > h2 {
  flex: 0 0 auto; margin: 0; font-size: 1.02rem; font-weight: 800;
  white-space: nowrap; padding-top: 10px;
}
.tv-section-row .tv-rules,
.tv-pattern-main { flex: 1; min-width: 0; }
.tv-pattern-main .tv-field-hint { margin: 4px 0 0; }

.tv-card h2 { margin: 0 0 12px; font-size: 1.02rem; font-weight: 800; }
.tv-card h2.ok { color: var(--tv-ok); }
.tv-card > h2:not(.tv-section-row h2) { margin: 0 0 12px; }

.tv-rules { display: grid; gap: 10px; margin-bottom: 0; }
.is-desktop .tv-rule-section {
  align-items: center; gap: 16px; margin-bottom: 10px;
}
.is-desktop .tv-rule-section > h2 { padding-top: 0; min-width: 108px; }
.is-desktop .tv-rules { grid-template-columns: repeat(3, 1fr); }
.is-desktop .tv-rule {
  flex-direction: row; align-items: center; min-height: 0;
  padding: 10px 12px; gap: 8px;
}
.is-desktop .tv-rule-check {
  position: static; margin-left: auto; flex-shrink: 0;
}
.is-desktop .tv-rule-body small { display: none; }
.is-desktop .tv-rule-body strong { margin-bottom: 0; font-size: .88rem; }
.is-desktop .tv-rule-ico { width: 32px; height: 32px; font-size: .95rem; }

.is-desktop .tv-pattern-section {
  align-items: flex-start; gap: 16px; margin-bottom: 8px;
}
.is-desktop .tv-pattern-section > h2 { padding-top: 12px; min-width: 108px; }

.is-mobile .tv-rule-section {
  flex-direction: column; gap: 8px; margin-bottom: 10px;
}
.is-mobile .tv-rule-section > h2 { padding-top: 0; }
.is-mobile .tv-rules {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
.is-mobile .tv-rule {
  flex-direction: column; align-items: center; text-align: center;
  padding: 8px 4px; gap: 4px; position: relative;
}
.is-mobile .tv-rule-ico { width: 30px; height: 30px; font-size: .85rem; }
.is-mobile .tv-rule-body strong { font-size: .68rem; line-height: 1.2; }
.is-mobile .tv-rule-body small { display: none; }
.is-mobile .tv-rule-check {
  position: absolute; top: 3px; right: 3px; font-size: .75rem;
}

.is-mobile .tv-pattern-section {
  align-items: flex-start; gap: 8px; margin-bottom: 8px;
}
.is-mobile .tv-pattern-section > h2 {
  padding-top: 11px; font-size: .95rem; min-width: 4.2em;
}
.is-mobile .tv-field-hint { display: none; }

.tv-rule {
  display: flex; align-items: center; gap: 10px; text-align: left;
  border: 1.5px solid var(--tv-line); background: #f8fbff; border-radius: 12px;
  padding: 12px; cursor: pointer; transition: .15s;
  position: relative;
}
.tv-steps {
  display: flex; gap: 4px; overflow-x: auto; background: #fff;
  border: 1px solid var(--tv-line); border-radius: 14px; padding: 10px 8px;
  margin-bottom: 14px; -webkit-overflow-scrolling: touch;
}
.tv-step {
  flex: 1; min-width: 64px; text-align: center; color: #94a3b8; font-size: .68rem; font-weight: 700;
}
.tv-step i {
  display: inline-flex; width: 24px; height: 24px; border-radius: 50%;
  align-items: center; justify-content: center; background: #e2e8f0; color: #64748b;
  font-style: normal; font-size: .75rem; margin-bottom: 4px;
}
.tv-step span { display: block; white-space: nowrap; }
.tv-step.active { color: var(--tv-blue); }
.tv-step.active i { background: var(--tv-blue); color: #fff; }
.tv-step.done i { background: #bfdbfe; color: var(--tv-blue); }

.tv-card {
  background: #fff; border: 1px solid var(--tv-line); border-radius: 16px;
  padding: 16px; box-shadow: 0 8px 24px rgba(15,23,42,.04); margin-bottom: 14px;
}

.tv-rule-ico {
  width: 36px; height: 36px; border-radius: 50%; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.tv-rule-ico.c1 { background: #1769FF; }
.tv-rule-ico.c2 { background: #22c55e; }
.tv-rule-ico.c3 { background: #8b5cf6; }
.tv-rule-body { flex: 1; min-width: 0; }
.tv-rule-body strong { display: block; font-size: .95rem; margin-bottom: 2px; }
.tv-rule-body small { color: var(--tv-muted); font-size: .72rem; line-height: 1.35; display: block; }
.tv-rule-check { color: transparent; font-size: 1.1rem; }
.tv-rule.active { border-color: var(--tv-blue); background: #fff; box-shadow: 0 0 0 3px rgba(23,105,255,.12); }
.tv-rule.active .tv-rule-check { color: var(--tv-blue); }

.tv-tip {
  border-radius: 10px; padding: 10px 12px; font-size: .82rem; line-height: 1.45;
  display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 14px;
}
.tv-tip.yellow { background: #fffbeb; color: #92400e; }
.tv-tip.blue { background: #eff6ff; color: #1e40af; }
.tv-tip.green { background: #ecfdf5; color: #065f46; text-align: left; }
.tv-tip i { flex-shrink: 0; margin-top: 2px; }

.tv-input-wrap {
  position: relative; display: flex; align-items: center;
  border: 1px solid var(--tv-line); border-radius: 10px; background: #fff;
}
.tv-input-wrap input {
  flex: 1; border: 0; outline: none; padding: 12px 64px 12px 14px; font-size: 1rem;
  background: transparent; min-width: 0;
}
.tv-clear {
  position: absolute; right: 8px; border: 0; background: transparent;
  color: var(--tv-blue); font-weight: 700; cursor: pointer; padding: 6px 8px;
}
.tv-field-hint { color: var(--tv-muted); font-size: .75rem; margin: 6px 0 4px; }
.tv-input-guide {
  margin: 0 0 8px; padding: 8px 10px; border-radius: 8px;
  background: #eff6ff; color: #1d4ed8; font-size: .86rem; font-weight: 700;
  line-height: 1.4;
}
.is-desktop .tv-input-guide {
  margin-bottom: 6px; padding: 6px 10px; font-size: .82rem;
}
.is-mobile .tv-input-guide {
  margin-bottom: 6px; padding: 6px 8px; font-size: .78rem; line-height: 1.35;
}
.tv-fill-tips {
  display: grid; gap: 10px; margin: 10px 0 14px;
}
.is-desktop .tv-fill-tips {
  grid-template-columns: 1fr 1fr;
  gap: 8px; margin: 6px 0 10px;
}
.is-desktop .tv-fill-tip {
  padding: 6px 10px; font-size: .78rem; line-height: 1.35;
}
.is-desktop .tv-fill-tip strong { margin-bottom: 1px; font-size: .8rem; }
.is-desktop .tv-fill-tip p { font-size: .74rem; }
.is-mobile .tv-fill-tips {
  grid-template-columns: 1fr;
  gap: 0; margin: 6px 0 8px;
}
.is-mobile .tv-fill-tip {
  padding: 7px 9px; font-size: .72rem; line-height: 1.35;
}
.is-mobile .tv-fill-tip-extra { display: none; }
.is-mobile .tv-fill-tip strong { font-size: .74rem; margin-bottom: 1px; }
.is-mobile .tv-fill-tip p { font-size: .7rem; }
.tv-fill-tip {
  display: flex; gap: 8px; align-items: flex-start;
  background: #eff6ff; color: #1e40af; border-radius: 10px;
  padding: 10px 12px; font-size: .82rem; line-height: 1.45;
}
.tv-fill-tip i { flex-shrink: 0; margin-top: 2px; color: var(--tv-blue); }
.tv-fill-tip strong { display: block; margin-bottom: 2px; }
.tv-fill-tip p { margin: 0; color: #334155; }

.tv-preview-grid {
  display: grid; gap: 12px; border: 1px solid var(--tv-line); border-radius: 14px;
  padding: 14px; margin-bottom: 10px; background: #f8fafc;
  align-items: start;
}
.is-desktop .tv-preview-grid {
  grid-template-columns: 40% 60%;
  align-items: stretch;
}
.is-mobile .tv-preview-grid {
  min-height: 0; padding: 10px; gap: 10px;
  grid-template-columns: 1fr;
}
.is-mobile .tv-preview-right { order: -1; }
.tv-preview-left {
  background: #fff; border: 1px solid #e8eef7; border-radius: 12px; padding: 12px 12px 10px;
  height: fit-content;
}
.is-desktop .tv-preview-left {
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 100%;
  box-sizing: border-box;
  padding: 14px 14px 12px;
}
.tv-ana-head { margin-bottom: 6px; }
.tv-ana-head strong { display: block; color: var(--tv-blue); font-size: .95rem; }
.tv-ana-head span { color: var(--tv-muted); font-size: .72rem; }
.is-desktop .tv-ana-head { margin-bottom: 10px; }
.is-desktop .tv-ana-head strong { font-size: 1.05rem; }
.is-desktop .tv-ana-head span { font-size: .78rem; }
.tv-kv-row {
  display: flex; justify-content: space-between; gap: 10px; align-items: flex-start;
  padding: 7px 0; border-bottom: 1px dashed #e2e8f0; font-size: .86rem;
}
.is-desktop .tv-kv-row {
  flex: 1 1 auto;
  align-items: center;
  padding: 16px 0;
  font-size: .95rem;
}
.tv-kv-row:last-of-type { border-bottom: 0; }
.tv-kv-row > span {
  color: var(--tv-muted); flex-shrink: 0; display: inline-flex; align-items: center; gap: 5px;
}
.tv-kv-ico {
  width: 18px; height: 18px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; font-size: .7rem; color: #fff;
  background: #1769FF;
}
.is-desktop .tv-kv-ico {
  width: 22px; height: 22px; font-size: .78rem;
}
.tv-kv-row[data-reveal="pattern"] .tv-kv-ico { background: #22c55e; }
.tv-kv-row[data-reveal="diff"] .tv-kv-ico { background: #f59e0b; }
.tv-kv-row[data-reveal="price"] .tv-kv-ico { background: #8b5cf6; }
.tv-kv-row[data-reveal="eta"] .tv-kv-ico { background: #3b82f6; }
.tv-kv-row[data-reveal="preview"] .tv-kv-ico { background: #06b6d4; }
.tv-kv-row strong {
  text-align: right; word-break: break-all; font-weight: 800; color: var(--tv-ink);
  white-space: pre-line; line-height: 1.35;
}
.tv-kv-row strong.price { color: var(--tv-blue); font-size: 1.02rem; }
.is-desktop .tv-kv-row strong.price { font-size: 1.08rem; }
.is-desktop .tv-kv-row .tv-preview-sub { font-size: .74rem; }
.is-desktop .tv-kv-row .tv-diff-tag { font-size: .74rem; }
.tv-kv-row strong.is-scanning,
.tv-kv-row strong.is-wait { color: #94a3b8; font-weight: 600; }
.tv-kv-row .tv-diff-tag {
  display: inline-block; margin-left: 4px; margin-top: 2px; padding: 1px 6px; border-radius: 999px;
  background: #fff7ed; color: #c2410c; font-size: .68rem; font-weight: 700; vertical-align: middle;
}
.tv-kv-row .tv-preview-sub {
  display: block; margin-top: 2px; color: #94a3b8; font-size: .68rem; font-weight: 600;
}
.tv-ana-info {
  margin-top: 8px; padding: 8px 10px; border-radius: 10px;
  background: #eff6ff; border: 1px solid #dbeafe;
  color: #1e40af; font-size: .72rem; line-height: 1.45; font-weight: 600;
  min-height: 0;
}
.is-desktop .tv-ana-info {
  margin-top: 8px;
  flex-shrink: 0;
  padding: 10px 12px;
  font-size: .78rem;
}
.tv-ana-info:empty { display: none; }

.tv-preview-right {
  background: #fff; border: 1px solid #e8eef7; border-radius: 12px;
  padding: 14px 12px 12px; text-align: center;
  display: flex; flex-direction: column; justify-content: flex-start;
  min-height: 0;
}
.is-desktop .tv-preview-right {
  padding: 14px 10px 12px;
}
.is-mobile .tv-preview-right { padding: 12px 10px; }
.tv-ana-idle i { font-size: 1.8rem; color: #94a3b8; display: block; margin-bottom: 8px; }
.tv-ana-idle p { margin: 0; color: var(--tv-muted); font-size: .86rem; line-height: 1.45; }
.tv-ana-title { font-weight: 800; color: #1769FF; font-size: 1rem; margin-bottom: 4px; }
.tv-ana-sub { margin: 0 0 8px; color: var(--tv-muted); font-size: .74rem; line-height: 1.4; }

.tv-ana-stage {
  position: relative; margin: 4px auto 10px; width: 100%; max-width: 420px;
  border-radius: 16px; overflow: hidden;
  border: 1px solid #d7e7fa;
  padding: 0;
  min-height: 280px;
  background:
    radial-gradient(circle at 50% 43%, rgba(65,148,248,.17), transparent 25%),
    radial-gradient(circle at 50% 76%, rgba(63,151,250,.12), transparent 31%),
    linear-gradient(180deg, #fff 0%, #edf6ff 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}
.is-desktop .tv-ana-stage {
  max-width: none;
  width: 100%;
  margin: 4px 0 10px;
  box-sizing: border-box;
  min-height: 340px;
}
.is-mobile .tv-ana-stage { min-height: 240px; max-width: none; }

/* —— 扫描动态图 —— */
.tv-scanner {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
}
.tv-sc-grid {
  position: absolute; inset: 0; opacity: .28;
  background-image:
    linear-gradient(rgba(74,140,213,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,140,213,.09) 1px, transparent 1px);
  background-size: 36px 36px;
}
.tv-sc-orbit {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  border: 2px solid rgba(73,151,239,.20); border-radius: 50%;
}
.tv-sc-orbit.o1 { width: 140%; height: 78%; animation: tvScRot 20s linear infinite; }
.tv-sc-orbit.o2 { width: 118%; height: 92%; border-style: dashed; animation: tvScRotr 15s linear infinite; }
.tv-sc-orbit.o3 { width: 98%; height: 62%; animation: tvScRot 11s linear infinite; }
.tv-sc-orbit.o4 { width: 78%; height: 96%; border-color: rgba(73,151,239,.13); animation: tvScRotr 18s linear infinite; }

.tv-sc-node {
  position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: #4aa0f4; box-shadow: 0 0 9px #4aa0f4, 0 0 20px rgba(74,160,244,.55);
  animation: tvScBlink 2s ease-in-out infinite; z-index: 3;
}
.tv-sc-node.n1 { left: 10%; top: 18%; }
.tv-sc-node.n2 { left: 22%; top: 10%; animation-delay: .5s; }
.tv-sc-node.n3 { right: 12%; top: 20%; animation-delay: 1s; }
.tv-sc-node.n4 { right: 24%; top: 11%; animation-delay: 1.5s; }
.tv-sc-node.n5 { left: 12%; bottom: 18%; animation-delay: .7s; }
.tv-sc-node.n6 { right: 12%; bottom: 20%; animation-delay: 1.3s; }
.tv-sc-node.n7 { left: 28%; bottom: 10%; animation-delay: 1.8s; }
.tv-sc-node.n8 { right: 28%; bottom: 12%; animation-delay: .3s; }

.tv-sc-flow {
  position: absolute; height: 1px;
  background: linear-gradient(90deg, transparent, #3aaaff, transparent);
  box-shadow: 0 0 7px rgba(58,170,255,.55); z-index: 3;
  animation: tvScFlow 3s linear infinite;
}
.tv-sc-flow.f1 { width: 28%; left: 2%; top: 28%; }
.tv-sc-flow.f2 { width: 24%; right: 2%; top: 34%; animation-delay: .7s; }
.tv-sc-flow.f3 { width: 26%; left: 5%; top: 72%; animation-delay: 1.3s; }
.tv-sc-flow.f4 { width: 22%; right: 5%; top: 68%; animation-delay: 2s; }
.tv-sc-flow.f5 { width: 18%; left: 14%; top: 14%; animation-delay: 1.1s; }
.tv-sc-flow.f6 { width: 18%; right: 14%; top: 16%; animation-delay: .4s; }

.tv-sc-core {
  position: absolute; left: 50%; top: 50%; width: min(100%, 420px); height: 92%;
  transform: translate(-50%, -50%); z-index: 10;
}
.tv-sc-platform {
  position: absolute; left: 50%; top: 74%; width: 78%; height: 28%;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(ellipse, rgba(45,130,238,.25), transparent 68%);
}
.tv-sc-base-bottom {
  position: absolute; left: 50%; top: 50%; width: 100%; height: 90%;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: linear-gradient(180deg, #c8e5ff 0%, #73aff3 55%, #3787e8 100%);
  border: 2px solid #6daaf0; box-shadow: 0 12px 22px rgba(34,105,205,.18);
}
.tv-sc-base-bottom:after {
  content: ""; position: absolute; left: 4%; right: 4%; top: 9%; height: 62%;
  border-radius: 50%; border: 2px solid rgba(255,255,255,.78);
}
.tv-sc-base-middle {
  position: absolute; left: 50%; top: 42%; width: 82%; height: 72%;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: linear-gradient(180deg, #fff 0%, #d9ecff 65%, #a5d0ff 100%);
  border: 2px solid #a1c9f4; box-shadow: 0 6px 14px rgba(42,111,207,.17);
}
.tv-sc-base-middle:after {
  content: ""; position: absolute; left: 8%; right: 8%; top: 12%; height: 60%;
  border-radius: 50%; border: 3px solid #66a6f2;
}
.tv-sc-base-top {
  position: absolute; left: 50%; top: 34%; width: 64%; height: 52%;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: linear-gradient(#fff, #e7f3ff); border: 2px solid #9cc4ef;
}
.tv-sc-base-top:after {
  content: ""; position: absolute; left: 14%; right: 14%; top: 12%; height: 55%;
  border-radius: 50%; border: 2px solid #6caaf4;
}

.tv-sc-tron {
  position: absolute; left: 50%; top: 38%; width: 250px; height: 250px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle at 35% 24%, #69bfff 0, #3c92ef 28%, #1674df 58%, #0757bd 100%);
  border: 10px solid #d9edff;
  box-shadow:
    0 0 0 2px rgba(91,160,236,.45),
    0 0 0 17px rgba(81,151,236,.09),
    0 0 0 32px rgba(81,151,236,.045),
    0 20px 40px rgba(24,99,199,.24),
    inset 0 0 30px rgba(255,255,255,.16);
  display: grid; place-items: center;
  animation: tvScBreath 3s ease-in-out infinite;
}
.tv-sc-tron:before {
  content: ""; position: absolute; inset: 14px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.24);
}
.tv-sc-tron-logo {
  width: 148px; height: 148px; object-fit: contain; position: relative; z-index: 2;
  filter: drop-shadow(0 0 7px rgba(255,255,255,.7));
}
.tv-sc-usdt {
  position: absolute; left: calc(50% + 92px); top: calc(38% + 55px);
  width: 82px; height: 82px; border-radius: 50%; background: #26a17b;
  border: 5px solid rgba(255,255,255,.92);
  box-shadow: 0 0 0 2px rgba(38,161,123,.18), 0 10px 25px rgba(0,150,112,.25);
  display: grid; place-items: center; z-index: 15;
  animation: tvScFloat 3s ease-in-out infinite;
}
.tv-sc-usdt-logo {
  width: 52px; height: 52px; object-fit: contain;
  filter: brightness(0) invert(1);
}

.tv-sc-ring {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  border: 2px solid rgba(45,143,245,.25); border-radius: 50%; z-index: 6;
}
.tv-sc-ring.s1 { width: 42%; height: 48%; animation: tvScRot 7s linear infinite; }
.tv-sc-ring.s2 { width: 58%; height: 64%; border-style: dashed; animation: tvScRotr 10s linear infinite; }
.tv-sc-ring.s3 { width: 74%; height: 80%; border-color: rgba(45,143,245,.16); animation: tvScRot 14s linear infinite; }
.tv-sc-ring.s4 { width: 90%; height: 94%; border-style: dashed; border-color: rgba(45,143,245,.11); animation: tvScRotr 18s linear infinite; }

.tv-sc-probe {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  border-radius: 50%; z-index: 7;
}
.tv-sc-probe:after {
  content: ""; position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 8px #fff, 0 0 18px #26a5ff, 0 0 30px #26a5ff;
}
.tv-sc-probe.p1 { width: 58%; height: 64%; animation: tvScRot 4.5s linear infinite; }
.tv-sc-probe.p2 { width: 74%; height: 80%; animation: tvScRotr 7s linear infinite; }
.tv-sc-probe.p3 { width: 90%; height: 94%; animation: tvScRot 10s linear infinite; }

.tv-sc-sector {
  position: absolute; left: 50%; top: 46%; width: 72%; height: 0; padding-bottom: 72%;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 330deg, rgba(44,161,255,.17) 348deg, transparent 360deg);
  z-index: 5; animation: tvScSector 2.8s linear infinite;
}
.tv-sc-scanline {
  position: absolute; left: 4%; right: 4%; height: 2px; top: 5%;
  background: linear-gradient(90deg, transparent, #38c4ff, #fff, #38c4ff, transparent);
  box-shadow: 0 0 12px #38c4ff, 0 0 24px rgba(56,196,255,.45);
  z-index: 20; animation: tvScSweep 2.3s ease-in-out infinite;
}
.tv-sc-pulse {
  position: absolute; left: 50%; top: 48%; width: 120px; height: 120px;
  transform: translate(-50%, -50%) scale(.55);
  border: 2px solid rgba(47,145,246,.35); border-radius: 50%; z-index: 4;
  animation: tvScPulse 2.8s ease-out infinite;
}
.tv-sc-pulse.d1 { animation-delay: .9s; }
.tv-sc-pulse.d2 { animation-delay: 1.8s; }

.is-mobile .tv-sc-tron { width: 175px; height: 175px; border-width: 7px; }
.is-mobile .tv-sc-tron-logo { width: 104px; height: 104px; }
.is-mobile .tv-sc-usdt { width: 58px; height: 58px; left: calc(50% + 61px); top: calc(38% + 38px); border-width: 4px; }
.is-mobile .tv-sc-usdt-logo { width: 38px; height: 38px; }

/* 电脑端浮层状态块：小、透明，不挡动态图 */
.tv-ana-chips {
  display: none;
  position: absolute; inset: 0; z-index: 25; pointer-events: none;
}
.is-desktop .tv-ana-chips {
  display: block;
}
.tv-ana-chip {
  position: absolute;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0;
  text-align: left;
  background: rgba(255,255,255,.42);
  border: 1px solid rgba(191,219,254,.55);
  border-radius: 8px;
  padding: 5px 22px 5px 8px;
  backdrop-filter: blur(2px);
  min-width: 0;
  max-width: 128px;
  box-shadow: 0 4px 12px rgba(23,105,255,.06);
}
.tv-ana-chip[data-chip="1"] { left: 10px; top: 14%; }
.tv-ana-chip[data-chip="2"] { left: 10px; bottom: 16%; }
.tv-ana-chip[data-chip="3"] { right: 10px; top: 14%; }
.tv-ana-chip[data-chip="4"] { right: 10px; bottom: 16%; }
.tv-ana-chip b { font-size: .7rem; color: #0f172a; line-height: 1.2; }
.tv-ana-chip em { font-style: normal; font-size: .58rem; color: #64748b; line-height: 1.2; }
.tv-ana-chip i {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: .62rem; color: #cbd5e1;
}
.tv-ana-chip.is-wait i { color: #cbd5e1; font-size: .48rem; }
.tv-ana-chip.is-done {
  border-color: rgba(254,202,202,.65);
  background: rgba(254,242,242,.48);
}
.tv-ana-chip.is-done i { color: #ef4444; font-size: .85rem; }
.tv-ana-chip.is-active {
  border-color: rgba(147,197,253,.7);
  background: rgba(239,246,255,.5);
}
.tv-ana-chip.is-active i { color: #1769FF; font-size: .85rem; animation: tvSpin .8s linear infinite; }

.tv-ana-progressline {
  display: flex; align-items: center; gap: 8px; margin: 6px 2px 10px;
}
.tv-ana-bar {
  flex: 1; height: 8px; border-radius: 999px; background: #e2e8f0; overflow: hidden;
}
.tv-ana-bar i {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, #1769FF, #60a5fa);
  transition: width .8s linear;
}
.tv-ana-pct { font-size: .8rem; font-weight: 800; color: var(--tv-blue); min-width: 40px; text-align: right; }

.tv-ana-steps {
  display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center;
  gap: 6px 4px; margin: 0 0 8px; padding: 0;
}
.is-desktop .tv-ana-steps { flex-wrap: nowrap; gap: 2px; }
.tv-ana-step {
  flex: 1 1 30%; min-width: 86px; max-width: 120px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 6px 4px; border-radius: 10px; color: #94a3b8;
  background: #f8fafc; border: 1px solid transparent;
}
.is-mobile .tv-ana-steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
}
.is-mobile .tv-ana-step {
  flex: none; min-width: 0; max-width: none; width: auto;
  grid-column: span 2;
}
.is-mobile .tv-ana-step[data-step="4"] { grid-column: 2 / span 2; }
.is-mobile .tv-ana-step[data-step="5"] { grid-column: 4 / span 2; }
.is-desktop .tv-ana-step { flex: 1 1 0; min-width: 0; max-width: none; }
.tv-ana-step-ico {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #e2e8f0; color: #94a3b8; font-size: .9rem;
}
.tv-ana-step.is-wait .tv-ana-step-ico {
  background: #e2e8f0; color: #cbd5e1; font-size: .55rem;
}
.tv-ana-step-txt { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.tv-ana-step-txt b { font-size: .72rem; font-weight: 800; }
.tv-ana-step-txt em { font-style: normal; font-size: .6rem; color: #94a3b8; }
.tv-ana-step.is-active {
  color: #1769FF; background: #eff6ff; border-color: #bfdbfe;
}
.tv-ana-step.is-active .tv-ana-step-ico { background: #1769FF; color: #fff; }
.tv-ana-step.is-active .tv-ana-step-ico i { animation: tvSpin .8s linear infinite; }
.tv-ana-step.is-done { color: #b91c1c; background: #fef2f2; border-color: #fecaca; }
.tv-ana-step.is-done .tv-ana-step-ico { background: #ef4444; color: #fff; }
.tv-ana-step-arrow {
  display: none; align-items: center; color: #cbd5e1; font-size: .85rem; flex: 0 0 auto;
}
.is-desktop .tv-ana-step-arrow { display: inline-flex; }

.tv-ana-footer {
  margin-top: auto; font-size: .78rem; font-weight: 700; color: #1d4ed8;
  background: #eff6ff; border-radius: 999px; padding: 8px 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; align-self: center;
  min-width: min(100%, 280px);
}
.tv-ana-footer.is-hint {
  border-radius: 12px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-weight: 700;
  line-height: 1.55;
  padding: 10px 14px;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}
.tv-ana-footer b { font-weight: 900; color: #1e40af; }
.tv-preview-tip { margin-top: 0; margin-bottom: 14px; }

@keyframes tvScRot { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes tvScRotr { to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes tvScSector { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes tvScBreath {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.03); }
}
@keyframes tvScFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes tvScSweep {
  0% { top: 5%; opacity: 0; }
  15% { opacity: .85; }
  85% { opacity: .85; }
  100% { top: 92%; opacity: 0; }
}
@keyframes tvScFlow {
  0% { transform: translateX(-15%); opacity: 0; }
  20% { opacity: .8; }
  80% { opacity: .8; }
  100% { transform: translateX(20%); opacity: 0; }
}
@keyframes tvScPulse {
  0% { transform: translate(-50%, -50%) scale(.55); opacity: .7; }
  100% { transform: translate(-50%, -50%) scale(2.4); opacity: 0; }
}
@keyframes tvScBlink {
  0%, 100% { opacity: .35; transform: scale(.7); }
  50% { opacity: 1; transform: scale(1.35); }
}
@media (prefers-reduced-motion: reduce) {
  .tv-sc-orbit, .tv-sc-ring, .tv-sc-probe, .tv-sc-sector, .tv-sc-tron, .tv-sc-usdt,
  .tv-sc-scanline, .tv-sc-flow, .tv-sc-pulse, .tv-sc-node,
  .tv-ana-chip.is-active i, .tv-ana-step.is-active .tv-ana-step-ico i { animation: none !important; }
}

.tv-btn {
  position: relative;
  border: 0; border-radius: 12px; padding: 13px 16px; font-weight: 800;
  cursor: pointer; font-size: .95rem; display: inline-flex; align-items: center;
  justify-content: center; gap: 6px; text-decoration: none;
}
.tv-icon-actions button { position: relative; }
.tv-btn:disabled { opacity: .45; cursor: not-allowed; }
.tv-btn-primary { background: var(--tv-blue); color: #fff; width: 100%; }
.tv-btn-primary:hover:not(:disabled) { background: var(--tv-blue-2); }
.tv-btn-ghost { background: #f1f5f9; color: var(--tv-ink); border: 1px solid var(--tv-line); }
.w-100 { width: 100%; }
.tv-foot-note { text-align: center; color: var(--tv-muted); font-size: .78rem; margin: 10px 0 14px; line-height: 1.5; }
.tv-login-tip { text-align: center; margin-top: 10px; }
.tv-login-btn {
  display: inline-flex; min-width: 140px; padding: 10px 18px; border-radius: 10px;
  background: var(--tv-blue); color: #fff !important; text-decoration: none !important; font-weight: 800;
}

.tv-guide-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #fff; border: 1px solid var(--tv-line); border-radius: 12px;
  padding: 14px; color: var(--tv-ink); text-decoration: none; font-weight: 800;
  margin-bottom: 14px;
}
.is-desktop .tv-guide-btn { display: none; }
.tv-guide-desktop { display: none; }
.is-desktop .tv-guide-desktop {
  display: block; background: #fff; border: 1px solid var(--tv-line);
  border-radius: 16px; padding: 16px; margin-top: 8px; margin-bottom: 14px;
}
.tv-guide-desktop h2 { margin: 0 0 12px; font-size: 1.02rem; font-weight: 800; }
.tv-guide-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
}
.tv-guide-item {
  display: flex; flex-direction: column; gap: 6px;
  background: #f8fafc; border: 1px solid var(--tv-line); border-radius: 12px;
  padding: 12px 10px; min-height: 88px;
}
.tv-guide-item i {
  font-style: normal; width: 24px; height: 24px; border-radius: 50%;
  background: var(--tv-blue); color: #fff; font-size: .75rem; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
}
.tv-guide-item span { font-size: .78rem; color: var(--tv-muted); line-height: 1.4; }
.tv-guide-list { margin: 0; padding-left: 1.2rem; color: var(--tv-muted); line-height: 1.9; }
.tv-trust {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px;
}
.tv-trust > div {
  background: #fff; border: 1px solid var(--tv-line); border-radius: 12px;
  padding: 12px; text-align: center;
}
.tv-trust i { color: var(--tv-blue); font-size: 1.3rem; display: block; margin-bottom: 6px; }
.tv-trust strong { display: block; font-size: .88rem; margin-bottom: 4px; }
.tv-trust span { font-size: .72rem; color: var(--tv-muted); }
.is-mobile .tv-trust-desktop { display: none; }

.tv-stage-head { text-align: center; margin: 8px 0 16px; }
.tv-stage-head h1 { margin: 0 0 6px; font-size: 1.35rem; color: var(--tv-ink); font-weight: 900; }
.tv-stage-head p { margin: 0; color: var(--tv-muted); font-size: .88rem; }
.tv-center { text-align: center; }
.tv-center-note { color: var(--tv-muted); line-height: 1.6; margin: 12px 0 16px; }
.tv-ok-ico {
  width: 64px; height: 64px; border-radius: 50%; background: #22c55e; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 10px;
}
.tv-rocket { font-size: 3rem; color: var(--tv-blue); margin: 8px 0 16px; }
.tv-progress-line {
  display: flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.tv-progress-line .tv-progress-bar {
  flex: 1; height: 10px; border-radius: 999px; background: #e2e8f0; overflow: hidden; position: relative;
}
.tv-progress-line .tv-progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--tv-blue), #60a5fa); border-radius: 999px;
  transition: width .25s ease;
}
#tvPct { font-weight: 800; color: var(--tv-blue); min-width: 42px; text-align: right; }
.tv-stats-list { text-align: left; margin: 0 auto 14px; max-width: 360px; }
.tv-stats-list > div {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 0; border-bottom: 1px dashed var(--tv-line); font-size: .9rem;
}
.tv-stats-list span { color: var(--tv-muted); }
.tv-stats-list em { font-style: normal; font-size: .75rem; color: var(--tv-muted); margin-left: 4px; }

.tv-pay-card .tv-qr-wrap { text-align: center; margin: 14px 0 12px; }
.tv-pay-card .tv-pay-qr {
  display: block; margin: 0 auto;
  width: 200px; height: 200px;
  border: 1px solid var(--tv-line); border-radius: 10px;
  background: #fff; object-fit: contain;
}
.tv-pay-card .tv-pay-qr:not([src]) { visibility: hidden; }
.tv-pay-card .tv-qr-wrap p { margin: 10px 0 0; font-size: .82rem; color: var(--tv-muted); }
.tv-addr-box {
  background: #f8fafc; border-radius: 12px; padding: 14px 16px;
  margin: 0 auto 12px; max-width: 100%; text-align: center;
}
.tv-addr-label {
  font-size: .92rem; font-weight: 800; color: var(--tv-ink); margin-bottom: 8px;
}
.tv-addr-row {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: nowrap; max-width: 100%;
}
.tv-addr-row code {
  flex: 1 1 auto; min-width: 0; word-break: break-all;
  font-size: .88rem; font-weight: 800; color: #0f172a;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  line-height: 1.45; background: none; padding: 0;
}
.tv-addr-copy {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px;
  border: 0; background: none; color: var(--tv-blue);
  font-size: .85rem; font-weight: 700; cursor: pointer;
  padding: 4px 0; white-space: nowrap;
}
.tv-addr-copy:hover { color: var(--tv-blue-2); }
.tv-btn-cancel {
  margin-top: 10px; background: #fff; color: #dc2626;
  border: 1px solid #fecaca;
}
.tv-btn-cancel:hover:not(:disabled) { background: #fef2f2; border-color: #fca5a5; }
.is-mobile .tv-addr-row code { font-size: .78rem; }
.is-mobile .tv-addr-label { font-size: .88rem; }
.is-mobile .tv-addr-copy { font-size: .78rem; }
.tv-link { border: 0; background: none; color: var(--tv-blue); font-weight: 700; cursor: pointer; padding: 0; }
.tv-waiting { text-align: center; color: var(--tv-blue); font-weight: 700; margin: 12px 0; }
.tv-spin {
  display: inline-block; width: 14px; height: 14px; border: 2px solid #bfdbfe;
  border-top-color: var(--tv-blue); border-radius: 50%; animation: tvSpin .8s linear infinite;
  vertical-align: -2px; margin-right: 4px;
}
@keyframes tvSpin { to { transform: rotate(360deg); } }

.tv-addr-hl {
  background: #f1f5f9; border-radius: 12px; padding: 14px; margin: 12px 0;
  font-family: ui-monospace, Menlo, Consolas, monospace; word-break: break-all;
  font-size: .92rem; line-height: 1.5; text-align: left;
}
.tv-addr-hl .hl { color: #dc2626; font-weight: 900; }
.tv-icon-actions {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0;
}
.tv-icon-actions button {
  border: 0; background: transparent; color: var(--tv-blue); cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 4px; font-weight: 700; font-size: .78rem;
}
.tv-icon-actions i { font-size: 1.35rem; }
.tv-mono {
  font-family: ui-monospace, Menlo, Consolas, monospace; word-break: break-all;
  background: #0B1F4D; color: #fff; border-radius: 12px; padding: 14px; font-size: .88rem;
}
.tv-field { margin-bottom: 12px; text-align: left; }
.tv-field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .86rem; }
.tv-warn { color: var(--tv-danger); font-size: .82rem; margin-top: 8px; }
.tv-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tv-alert {
  background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412;
  border-radius: 12px; padding: 14px;
}
.text-center { text-align: center; }

/* 页内弹窗 / 轻提示（替代浏览器 alert） */
.tv-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.tv-modal.tv-hidden { display: none !important; }
.tv-modal-mask {
  position: absolute; inset: 0; background: rgba(15, 23, 42, .45);
}
.tv-modal-panel {
  position: relative; z-index: 1; width: min(400px, 100%);
  background: #fff; border-radius: 16px; padding: 22px 18px 16px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .2);
}
.tv-modal-msg {
  font-size: .95rem; line-height: 1.55; color: var(--tv-ink);
  margin-bottom: 16px; text-align: center; word-break: break-word;
}
.tv-modal-btns {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.tv-modal-btns .tv-btn { width: 100%; margin: 0; }
.tv-modal-btns .tv-btn-primary { width: 100%; }
.tv-toast {
  position: fixed; left: 50%; bottom: 72px; z-index: 210;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, .88); color: #fff;
  padding: 10px 18px; border-radius: 999px; font-size: .86rem; font-weight: 700;
  pointer-events: none; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .25);
}
.tv-toast.tv-hidden { display: none !important; }

@media (max-width: 768px) {
  .is-desktop .tv-rules { grid-template-columns: 1fr; }
  .tv-steps { gap: 2px; }
  .tv-step span { font-size: .62rem; }
}
@media (max-width: 900px) {
  .tv-guide-grid { grid-template-columns: repeat(2, 1fr); }
}
