/* =========================================================
   JYC 双币经济体系 · 路演演示页 token.css
   独立样式层：不引用主站任何 CSS，不污染主站
   视觉基调：鼠界紫 + 冠军金 + 通缩青 / USDT 绿
   ========================================================= */

:root {
  --tk-bg: #0b0713;
  --tk-panel: rgba(23, 16, 38, .78);
  --tk-panel2: rgba(32, 22, 52, .92);
  --tk-line: rgba(168, 140, 220, .18);
  --tk-line2: rgba(168, 140, 220, .34);
  --tk-purple: #a855f7;
  --tk-purple-deep: #6d28d9;
  --tk-gold: #f5c451;
  --tk-gold-soft: #ffe9a8;
  --tk-cyan: #4cc9f0;
  --tk-green: #22c55e;
  --tk-usdt: #26a17b;
  --tk-red: #ef4444;
  --tk-txt: #ece6f8;
  --tk-muted: #9b8dbb;
  --tk-r: 16px;
  --tk-shadow: 0 20px 50px -22px rgba(0, 0, 0, .9);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body {
  margin: 0; padding: 0; min-height: 100%;
  background:
    radial-gradient(1200px 700px at 12% -8%, rgba(168, 85, 247, .22), transparent 62%),
    radial-gradient(900px 600px at 92% 4%, rgba(245, 196, 81, .13), transparent 58%),
    radial-gradient(1000px 800px at 50% 108%, rgba(109, 40, 217, .2), transparent 60%),
    var(--tk-bg);
  background-attachment: fixed;
  color: var(--tk-txt);
  font-family: "Noto Sans SC", Inter, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 15px; line-height: 1.75;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(168, 85, 247, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, .05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 50% 20%, #000 18%, transparent 76%);
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select { font-family: inherit; }
a { color: var(--tk-cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
.num { font-family: "Rajdhani", Inter, sans-serif; font-weight: 700; letter-spacing: .5px; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: rgba(168, 140, 220, .3); border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }

/* ===================== 顶栏 ===================== */
#tk-topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 18px;
  background: rgba(11, 7, 19, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--tk-line);
}
.tk-brand { display: flex; align-items: center; gap: 9px; font-weight: 900; letter-spacing: .5px; }
.tk-brand img { width: 30px; height: 30px; object-fit: contain; }
.tk-brand span { background: linear-gradient(90deg, var(--tk-gold-soft), var(--tk-gold), var(--tk-purple));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.tk-navlinks { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.tk-navlinks a {
  font-size: 12.5px; padding: 5px 11px; border-radius: 999px; color: var(--tk-muted);
  border: 1px solid transparent; transition: .18s; white-space: nowrap;
}
.tk-navlinks a:hover { color: var(--tk-gold-soft); border-color: var(--tk-line2);
  background: rgba(168, 85, 247, .12); text-decoration: none; }
.tk-back {
  font-size: 12.5px; padding: 6px 13px; border-radius: 999px;
  border: 1px solid rgba(245, 196, 81, .4); color: var(--tk-gold-soft);
  background: rgba(245, 196, 81, .1); white-space: nowrap;
}
.tk-back:hover { background: rgba(245, 196, 81, .2); text-decoration: none; }

/* ===================== 容器 ===================== */
.tk-wrap { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 0 18px 90px; }

/* ===================== Hero ===================== */
#tk-hero { text-align: center; padding: 54px 0 30px; }
.tk-eyebrow {
  display: inline-block; font-family: "Rajdhani", sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 3.5px; color: var(--tk-muted);
  padding: 4px 14px; border: 1px solid var(--tk-line2); border-radius: 999px;
}
#tk-hero h1 {
  margin: 16px 0 6px; font-size: clamp(28px, 5.2vw, 50px); font-weight: 900; line-height: 1.2;
  background: linear-gradient(95deg, #fff 8%, var(--tk-gold) 42%, var(--tk-purple) 88%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tk-sub { color: var(--tk-muted); font-size: clamp(13px, 2vw, 16px); margin: 0 0 18px; }
.tk-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tk-chip {
  font-size: 12px; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--tk-line2); background: rgba(168, 85, 247, .1); color: var(--tk-txt);
}
.tk-chip i { color: var(--tk-gold); margin-right: 5px; }

/* ===================== 全局假设栏 ===================== */
#tk-assume {
  position: sticky; top: 51px; z-index: 30;
  margin: 26px 0 34px; padding: 14px 16px;
  background: linear-gradient(180deg, rgba(32, 22, 52, .96), rgba(23, 16, 38, .96));
  backdrop-filter: blur(12px);
  border: 1px solid var(--tk-line2); border-radius: var(--tk-r); box-shadow: var(--tk-shadow);
}
.tk-assume-hd {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 1px; color: var(--tk-gold);
}
.tk-assume-hd .tk-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--tk-green);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: tkPulse 2s infinite;
}
@keyframes tkPulse {
  70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
.tk-assume-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tk-field label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 12px; color: var(--tk-muted); margin-bottom: 4px;
}
.tk-field label b { font-family: "Rajdhani", sans-serif; font-size: 16px; color: var(--tk-gold-soft); }
.tk-field input[type=range] {
  width: 100%; height: 4px; appearance: none; border-radius: 4px; outline: none;
  background: linear-gradient(90deg, var(--tk-purple), var(--tk-gold));
}
.tk-field input[type=range]::-webkit-slider-thumb {
  appearance: none; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--tk-purple); cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .6);
}
.tk-field input[type=range]::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 50%; background: #fff;
  border: 3px solid var(--tk-purple); cursor: pointer;
}

/* ===================== 板块 ===================== */
.tk-sec { margin: 0 0 46px; scroll-margin-top: 150px; }
.tk-sec-hd { margin-bottom: 16px; }
.tk-sec-no {
  font-family: "Rajdhani", sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 2.5px; color: var(--tk-purple);
}
.tk-sec-hd h2 {
  margin: 2px 0 6px; font-size: clamp(20px, 3.2vw, 28px); font-weight: 900;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.tk-sec-hd h2 i { color: var(--tk-gold); font-size: .85em; }
.tk-sec-hd p { margin: 0; color: var(--tk-muted); font-size: 13.5px; }

.tk-card {
  background: var(--tk-panel); border: 1px solid var(--tk-line); border-radius: var(--tk-r);
  padding: 20px; box-shadow: var(--tk-shadow); backdrop-filter: blur(8px);
}
.tk-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tk-grid2-wide { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.tk-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }

/* 结论条 */
.tk-verdict {
  margin-top: 14px; padding: 13px 16px; border-radius: 12px; font-size: 13.5px;
  border-left: 3px solid var(--tk-gold);
  background: linear-gradient(90deg, rgba(245, 196, 81, .13), rgba(245, 196, 81, .02));
}
.tk-verdict b { color: var(--tk-gold-soft); }
.tk-verdict.good { border-left-color: var(--tk-green);
  background: linear-gradient(90deg, rgba(34, 197, 94, .13), rgba(34, 197, 94, .02)); }
.tk-verdict.good b { color: #86efac; }
.tk-verdict.bad { border-left-color: var(--tk-red);
  background: linear-gradient(90deg, rgba(239, 68, 68, .13), rgba(239, 68, 68, .02)); }
.tk-verdict.bad b { color: #fca5a5; }

/* 图表容器（Chart.js 必须固定高度） */
.tk-chart { position: relative; width: 100%; }
.tk-chart.h260 { height: 260px; }
.tk-chart.h300 { height: 300px; }
.tk-chart.h320 { height: 320px; }

/* 小标题 */
.tk-mini-hd {
  font-size: 12px; font-weight: 700; letter-spacing: 1.4px; color: var(--tk-muted);
  text-transform: uppercase; margin: 0 0 10px;
}

/* 表格 */
.tk-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.tk-table th {
  text-align: left; padding: 8px 10px; color: var(--tk-muted); font-weight: 600; font-size: 11.5px;
  letter-spacing: .8px; border-bottom: 1px solid var(--tk-line2);
}
.tk-table td { padding: 9px 10px; border-bottom: 1px solid rgba(168, 140, 220, .09); }
.tk-table tr:last-child td { border-bottom: none; }
.tk-table tr.on { background: rgba(245, 196, 81, .12); }
.tk-table tr.on td { color: var(--tk-gold-soft); font-weight: 700; }
.tk-table td.r, .tk-table th.r { text-align: right; font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 14px; }

/* KPI */
.tk-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tk-kpi {
  padding: 14px 12px; border-radius: 13px; text-align: center;
  background: var(--tk-panel2); border: 1px solid var(--tk-line);
}
.tk-kpi .k { font-size: 11px; color: var(--tk-muted); letter-spacing: .5px; }
.tk-kpi .v {
  font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: clamp(19px, 3vw, 27px);
  line-height: 1.25; color: var(--tk-gold-soft);
}
.tk-kpi .s { font-size: 11px; color: var(--tk-muted); }
.tk-kpi.green .v { color: #86efac; }
.tk-kpi.cyan .v { color: var(--tk-cyan); }
.tk-kpi.red .v { color: #fca5a5; }
.tk-kpi.purple .v { color: #d8b4fe; }

/* ===================== ① 橡皮筋对比 ===================== */
.tk-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tk-vs-card { padding: 18px; border-radius: var(--tk-r); border: 1px solid var(--tk-line); }
.tk-vs-card.trap { background: linear-gradient(180deg, rgba(239, 68, 68, .1), rgba(23, 16, 38, .8));
  border-color: rgba(239, 68, 68, .35); }
.tk-vs-card.fix { background: linear-gradient(180deg, rgba(34, 197, 94, .1), rgba(23, 16, 38, .8));
  border-color: rgba(34, 197, 94, .35); }
.tk-vs-tag {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700;
  padding: 3px 11px; border-radius: 999px; letter-spacing: .8px; margin-bottom: 8px;
}
.trap .tk-vs-tag { background: rgba(239, 68, 68, .2); color: #fca5a5; }
.fix .tk-vs-tag { background: rgba(34, 197, 94, .2); color: #86efac; }
.tk-vs-card h3 { margin: 0 0 4px; font-size: 16.5px; }
.tk-vs-card > p { margin: 0 0 12px; font-size: 12.5px; color: var(--tk-muted); }

/* ===================== ② 档位计算器 ===================== */
.tk-tier-hero {
  text-align: center; padding: 20px 14px; border-radius: 15px; margin-bottom: 16px;
  background: radial-gradient(circle at 50% 0%, rgba(245, 196, 81, .18), rgba(23, 16, 38, .9));
  border: 1px solid rgba(245, 196, 81, .3);
  transition: box-shadow .3s;
}
.tk-tier-hero.flash { box-shadow: 0 0 0 3px rgba(245, 196, 81, .45); }
.tk-tier-name { font-size: 15px; color: var(--tk-muted); letter-spacing: 2px; }
.tk-tier-name b { color: var(--tk-gold); font-size: 24px; letter-spacing: 0; }
.tk-tier-rate {
  font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: clamp(42px, 9vw, 74px);
  line-height: 1; color: #fff; text-shadow: 0 0 30px rgba(245, 196, 81, .55);
}
.tk-tier-rate small { font-size: .42em; color: var(--tk-muted); margin-left: 4px; }
.tk-tier-next { font-size: 12.5px; color: var(--tk-muted); margin-top: 8px; }
.tk-tier-next b { color: var(--tk-cyan); font-family: "Rajdhani", sans-serif; font-size: 15px; }

/* 档位阶梯条 */
.tk-ladder { display: flex; gap: 4px; margin: 14px 0 4px; height: 68px; align-items: flex-end; }
.tk-rung {
  flex: 1; border-radius: 8px 8px 4px 4px; position: relative; cursor: pointer;
  background: rgba(168, 140, 220, .16); border: 1px solid var(--tk-line);
  transition: .25s; display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 4px; font-size: 10px; color: var(--tk-muted);
}
.tk-rung:hover { background: rgba(168, 85, 247, .3); }
.tk-rung.on {
  background: linear-gradient(180deg, var(--tk-gold), var(--tk-gold2, #b9892f));
  border-color: var(--tk-gold); color: #2a1d05; font-weight: 700;
  box-shadow: 0 0 22px rgba(245, 196, 81, .45);
}
.tk-rung.reached { background: rgba(245, 196, 81, .26); border-color: rgba(245, 196, 81, .4); color: var(--tk-gold-soft); }

/* ===================== ③ 裂变树 ===================== */
.tk-tree { display: flex; flex-direction: column; gap: 10px; }
.tk-node {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px;
  border: 1px solid var(--tk-line); background: var(--tk-panel2); transition: .2s;
}
.tk-node.me { border-color: rgba(245, 196, 81, .5); background: linear-gradient(90deg, rgba(245, 196, 81, .16), var(--tk-panel2)); }
.tk-node .lv {
  width: 44px; height: 44px; flex: none; border-radius: 11px; display: grid; place-items: center;
  font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 17px;
  background: rgba(168, 85, 247, .22); color: #d8b4fe; border: 1px solid rgba(168, 85, 247, .4);
}
.tk-node.me .lv { background: rgba(245, 196, 81, .22); color: var(--tk-gold); border-color: rgba(245, 196, 81, .45); }
.tk-node .info { flex: 1; min-width: 0; }
.tk-node .info .t { font-size: 13.5px; font-weight: 700; }
.tk-node .info .d { font-size: 11.5px; color: var(--tk-muted); }
.tk-node .amt { text-align: right; flex: none; }
.tk-node .amt .a { font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 20px; color: #86efac; }
.tk-node .amt .b { font-size: 11px; color: var(--tk-muted); }
.tk-branch { height: 14px; margin-left: 35px; border-left: 2px dashed rgba(168, 140, 220, .3); }

.tk-split { display: flex; gap: 10px; margin-top: 12px; }
.tk-split-bar {
  flex: 1; padding: 12px 14px; border-radius: 12px; text-align: center;
}
.tk-split-bar.usdt { background: linear-gradient(180deg, rgba(38, 161, 123, .22), rgba(23, 16, 38, .7));
  border: 1px solid rgba(38, 161, 123, .45); }
.tk-split-bar.jyc { background: linear-gradient(180deg, rgba(168, 85, 247, .22), rgba(23, 16, 38, .7));
  border: 1px solid rgba(168, 85, 247, .45); }
.tk-split-bar .p { font-size: 11.5px; color: var(--tk-muted); }
.tk-split-bar .n { font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 25px; }
.tk-split-bar.usdt .n { color: #5eead4; }
.tk-split-bar.jyc .n { color: #d8b4fe; }
.tk-split-bar .x { font-size: 11px; color: var(--tk-muted); }

/* 庞氏鉴别 */
.tk-proof {
  margin-top: 14px; padding: 15px 17px; border-radius: 13px;
  background: rgba(34, 197, 94, .09); border: 1px solid rgba(34, 197, 94, .32);
  font-family: "Rajdhani", "Consolas", monospace; font-size: 14.5px; line-height: 2;
}
.tk-proof .hl { color: #86efac; font-weight: 700; font-size: 17px; }
.tk-proof .note { font-family: "Noto Sans SC", sans-serif; font-size: 12.5px; color: var(--tk-muted); line-height: 1.7; }

/* ===================== ④ 通缩仪表盘 ===================== */
.tk-flow { display: flex; flex-direction: column; gap: 8px; }
.tk-flow-row { display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.tk-flow-row .lbl { width: 108px; flex: none; color: var(--tk-muted); }
.tk-flow-row .track { flex: 1; height: 20px; border-radius: 6px; background: rgba(168, 140, 220, .1); overflow: hidden; }
.tk-flow-row .fill { height: 100%; border-radius: 6px; transition: width .5s cubic-bezier(.2, .9, .25, 1); }
.tk-flow-row .val { width: 104px; flex: none; text-align: right; font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 14px; }
.fill.burn { background: linear-gradient(90deg, #f97316, var(--tk-red)); }
.fill.mint { background: linear-gradient(90deg, #6d28d9, var(--tk-purple)); }
.fill.buy { background: linear-gradient(90deg, #0891b2, var(--tk-cyan)); }

.tk-net {
  margin-top: 12px; padding: 15px; border-radius: 13px; text-align: center;
  border: 1px solid var(--tk-line2); background: var(--tk-panel2);
}
.tk-net .lab { font-size: 12px; color: var(--tk-muted); letter-spacing: 1px; }
.tk-net .big { font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: clamp(30px, 6vw, 46px); line-height: 1.2; }
.tk-net.deflate .big { color: #86efac; }
.tk-net.inflate .big { color: #fca5a5; }
.tk-net .sub { font-size: 12px; color: var(--tk-muted); }

/* 减半时间轴 */
.tk-halving { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.tk-half {
  padding: 11px 8px; border-radius: 11px; text-align: center;
  background: var(--tk-panel2); border: 1px solid var(--tk-line);
}
.tk-half .y { font-size: 11px; color: var(--tk-muted); }
.tk-half .m { font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 17px; color: #d8b4fe; }
.tk-half .n { font-size: 11px; color: #86efac; }

/* ===================== ⑤ 提现模拟器 ===================== */
.tk-receipt {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--tk-line2); background: var(--tk-panel2);
}
.tk-receipt-hd {
  padding: 11px 16px; font-size: 12.5px; font-weight: 700; letter-spacing: 1.2px;
  background: linear-gradient(90deg, rgba(38, 161, 123, .3), rgba(23, 16, 38, .5));
  border-bottom: 1px solid var(--tk-line);
}
.tk-line-item {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 16px; font-size: 13px; border-bottom: 1px dashed rgba(168, 140, 220, .13);
}
.tk-line-item .k { color: var(--tk-muted); }
.tk-line-item .v { font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 16px; }
.tk-line-item.total { background: rgba(38, 161, 123, .13); border-bottom: none; }
.tk-line-item.total .v { font-size: 22px; color: #5eead4; }
.tk-line-item.burn .v { color: #fca5a5; }

.tk-compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.tk-cmp {
  padding: 13px 10px; border-radius: 12px; text-align: center;
  border: 1px solid var(--tk-line); background: var(--tk-panel2);
}
.tk-cmp.best { border-color: rgba(245, 196, 81, .5); background: rgba(245, 196, 81, .12); }
.tk-cmp .n { font-size: 11.5px; color: var(--tk-muted); }
.tk-cmp .r { font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 21px; color: var(--tk-gold-soft); }
.tk-cmp .g { font-size: 11px; color: #86efac; }

/* ===================== 分流环图区 ===================== */
.tk-legend { display: flex; flex-direction: column; gap: 7px; }
.tk-leg-row {
  display: flex; align-items: center; gap: 9px; padding: 7px 10px; border-radius: 9px;
  font-size: 12.5px; background: rgba(168, 140, 220, .06);
}
.tk-leg-row .sw { width: 11px; height: 11px; border-radius: 3px; flex: none; }
.tk-leg-row .nm { flex: 1; }
.tk-leg-row .pp { font-family: "Rajdhani", sans-serif; font-weight: 700; font-size: 14.5px; color: var(--tk-gold-soft); }

/* 免责 */
#tk-foot {
  margin-top: 40px; padding: 22px; border-radius: var(--tk-r);
  background: rgba(23, 16, 38, .6); border: 1px dashed var(--tk-line2);
  font-size: 12.5px; color: var(--tk-muted); line-height: 1.9;
}
#tk-foot b { color: var(--tk-gold-soft); }

/* ===================== 响应式 ===================== */
@media (max-width: 900px) {
  .tk-grid2, .tk-grid2-wide, .tk-vs { grid-template-columns: 1fr; }
  .tk-grid3 { grid-template-columns: 1fr; }
  .tk-kpis { grid-template-columns: repeat(2, 1fr); }
  .tk-assume-grid { grid-template-columns: 1fr; gap: 10px; }
  #tk-assume { position: static; }
  .tk-navlinks { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 14px; }
  .tk-wrap { padding: 0 12px 70px; }
  .tk-card { padding: 15px; }
  .tk-halving { grid-template-columns: repeat(2, 1fr); }
  .tk-compare { grid-template-columns: 1fr; }
  .tk-split { flex-direction: column; }
  .tk-node .amt .a { font-size: 17px; }
  .tk-flow-row .lbl { width: 78px; font-size: 11px; }
  .tk-flow-row .val { width: 84px; font-size: 12.5px; }
  .tk-rung { font-size: 9px; }
  #tk-hero { padding: 32px 0 20px; }
}
