:root {
  --tk-liquidity: #d42a2a;
  --tk-airdrop: #c58400;
  --tk-marketing: #3d8fe6;
  --tk-ecosystem: #d0569c;
  --tk-team: #8a78e0;
  --tk-treasury: #1f9e84;
  --tk-other: #8a7d77;
}
.c-liquidity { --c: var(--tk-liquidity); } .c-airdrop { --c: var(--tk-airdrop); } .c-marketing { --c: var(--tk-marketing); }
.c-ecosystem { --c: var(--tk-ecosystem); } .c-team { --c: var(--tk-team); } .c-treasury { --c: var(--tk-treasury); }
.c-other { --c: var(--tk-other); }

.tk-head, .rm-head { padding-top: clamp(36px, 6vw, 72px); }
.tk-sec-tight { padding-top: 28px; }

.tk-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tk-kpis .k-val { font-size: clamp(26px, 3vw, 38px); }
.tk-kpi-supply .k-val { color: var(--amber); }
.tk-kpi-sub { font-size: 12.5px; font-weight: 600; }
.tk-kpi-net { font-size: clamp(19px, 2vw, 24px) !important; letter-spacing: -0.01em; }
@media (max-width: 960px) { .tk-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) { .tk-kpis { grid-template-columns: minmax(0, 1fr); } }

.tk-glance-v .ad-compact, .tk-kpis .k-val .ad-compact, .tk-glance-facts .ad-compact { text-decoration: none; }

.tk-sw { display: inline-block; width: 12px; height: 12px; border-radius: 4px; flex: none; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }

.tk-alloc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(18px, 3vw, 36px); }
.tk-donut { min-width: 0; }
.tk-donut-svg { width: 100%; height: auto; max-width: 520px; margin: 0 auto; overflow: visible; }
.tk-track { stroke: rgba(255, 255, 255, 0.04); }
.tk-slice { stroke: var(--c); transition: opacity 0.2s, stroke-width 0.2s var(--ease); animation: tk-draw 0.9s var(--ease) both; animation-delay: calc(var(--i) * 80ms + 80ms); }
@keyframes tk-draw { from { stroke-dasharray: 0 999; } }
.tk-focus .tk-slice:not(.is-on), .tk-focus .tk-lbl:not(.is-on) { opacity: 0.28; }
.tk-slice.is-on { stroke-width: 36px; }
.tk-lbl { transition: opacity 0.2s; }
.tk-lbl line { stroke: var(--line-2); stroke-width: 1.2; }
.tk-lbl text { fill: var(--text); font-family: var(--font-ui); }
.tk-lbl-n { font-size: 14.5px; font-weight: 700; fill: var(--text-2); }
.tk-lbl-p { font-size: 18px; font-weight: 800; fill: var(--text); font-variant-numeric: tabular-nums; }
.tk-center-v { font-family: var(--font-display); font-size: 40px; fill: var(--amber); letter-spacing: 0.01em; font-synthesis: none; }
.tk-center-s { font-family: var(--font-ui); font-size: 13px; font-weight: 800; letter-spacing: 0.04em; fill: var(--text); }
.tk-center-l { font-family: var(--font-ui); font-size: 10.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; fill: var(--text-3); }

.tk-legend { list-style: none; margin: 0; padding: 0; display: grid; }
.tk-legend li {
  display: grid; grid-template-columns: 14px minmax(0, 1fr) auto auto; gap: 12px; align-items: center;
  padding: 13px 10px; border-bottom: 1px solid var(--line); transition: background 0.2s, opacity 0.2s;
}
.tk-legend li:last-child { border-bottom: 0; }
.tk-legend li.is-on { background: var(--surface-2); }
.tk-focus .tk-legend li:not(.is-on) { opacity: 0.55; }
.tk-leg-name { font-weight: 700; color: var(--text); min-width: 0; display: grid; }
.tk-leg-sub { font-size: 12px; font-weight: 600; color: var(--text-3); }
.tk-leg-pct { font-weight: 800; font-size: 18px; color: var(--text); min-width: 3.2ch; text-align: right; }
.tk-leg-amt { font-weight: 700; color: var(--amber-hi); min-width: 4.5ch; text-align: right; }
@media (max-width: 860px) {
  .tk-alloc { grid-template-columns: minmax(0, 1fr); }
  .tk-donut-svg { max-width: 460px; }
}
@media (max-width: 420px) {
  .tk-legend li { grid-template-columns: 12px minmax(0, 1fr) auto auto; gap: 10px; padding: 12px 4px; }
  .tk-leg-pct { font-size: 16px; }
}

.tk-table .tk-row-h { font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--text); background: none; white-space: nowrap; }
.tk-table .tk-row-h .tk-sw { margin-right: 10px; vertical-align: -1px; }
.tk-table th[scope='row'] { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.tk-table tr:last-child th[scope='row'] { border-bottom: 0; }
.tk-table tr.is-on { background: rgba(255, 255, 255, 0.035); }
.tk-share { font-weight: 800; }
.tk-addr { display: inline-flex; align-items: center; gap: 4px; }
.tk-addr .mono { margin-right: 4px; }
.tk-ib { width: 36px; height: 36px; border-radius: 10px; }
.tk-ib .ico { width: 16px; height: 16px; }
.tk-ib { position: relative; }
.tk-ib::after { content: ''; position: absolute; inset: -4px; }
.tk-tba { display: inline-flex; align-items: center; gap: 6px; color: var(--text-3); font-weight: 700; font-size: 13px; }
.tk-bal { display: grid; gap: 4px; min-width: 120px; }
.tk-bal-v { font-weight: 800; }
.tk-bal-p { font-size: 12px; font-weight: 700; color: var(--text-3); }
.tk-meter { display: block; height: 4px; border-radius: 4px; background: var(--surface-3); overflow: hidden; width: min(160px, 100%); }
.tk-meter > span { display: block; height: 100%; border-radius: 4px; background: var(--c); }
.tk-lock-wrap { display: inline-grid; gap: 6px; justify-items: start; }
.tk-b-lock { color: var(--amber-hi); border-color: rgba(255, 176, 32, 0.45); background: rgba(255, 176, 32, 0.08); }
.tk-lock-c { font-size: 12px; display: inline-flex; align-items: center; gap: 4px; min-height: 24px; }
@media (max-width: 640px) {
  .tk-table th[scope='row'] { display: flex; align-items: center; width: 100%; border-bottom: 0; padding: 4px 0 8px; font-size: 16px; }
  .tk-table .tk-bal { justify-items: end; min-width: 0; }
  .tk-table .tk-lock-wrap { justify-items: end; }
}

.tk-phases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tk-phase { display: grid; gap: 12px; align-content: start; overflow: hidden; }
.tk-phase.is-live { border-color: rgba(255, 176, 32, 0.45); background: linear-gradient(160deg, rgba(255, 176, 32, 0.09), rgba(255, 176, 32, 0.015)), var(--bg-2); }
.tk-phase-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tk-phase-n { font-family: var(--font-display); font-size: 30px; line-height: 1; color: var(--red-text); font-synthesis: none; }
.tk-phase.is-live .tk-phase-n { color: var(--amber); }
.tk-phase-name { font-size: 19px; font-weight: 800; letter-spacing: -0.01em; }
.tk-phase-pool { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.tk-phase-pool strong { font-size: 22px; font-weight: 800; color: var(--amber-hi); }
.tk-phase-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; font-size: 14px; }
@media (max-width: 640px) { .tk-phases { grid-template-columns: minmax(0, 1fr); } }
.tk-ad-phases { padding-top: 20px; }
.tk-adp-head { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 12px; }
.tk-adp-head .dim { font-size: 14px; }
.tk-adp-head .tk-phase-link { margin-left: auto; }
@media (max-width: 640px) { .tk-adp-head .tk-phase-link { margin-left: 0; } }

.tk-contract { display: grid; gap: 12px; }
.tk-contract [data-contract] { display: grid; gap: 10px; }
.tk-contract-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; }
.tk-contract-addr { font-size: clamp(13px, 1.6vw, 16px); color: var(--text); overflow-wrap: anywhere; min-width: 0; }
.tk-check { font-size: 13px; }

.tk-home-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.tk-home-grid.tk-solo { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) { .tk-home-grid { grid-template-columns: minmax(0, 1fr); } }
.tk-glance { display: grid; gap: 18px; align-content: space-between; }
.tk-glance-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.tk-glance-facts > div { display: grid; gap: 4px; min-width: 0; }
.tk-glance-facts dt { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.tk-glance-facts dd { margin: 0; font-weight: 800; font-size: 18px; color: var(--amber-hi); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tk-glance-facts .tk-gf-sub { display: block; font-size: 12px; font-weight: 600; color: var(--text-3); }
@media (max-width: 480px) { .tk-glance-facts { grid-template-columns: minmax(0, 1fr); } }
.tk-glance-v { font-family: var(--font-display); font-size: clamp(44px, 6vw, 64px); line-height: 1; color: var(--amber); margin-top: 6px; font-synthesis: none; }
.tk-glance-v small { font-family: var(--font-ui); font-size: 14px; font-weight: 800; letter-spacing: 0.08em; color: var(--text-2); margin-left: 8px; }
.tk-bar { display: flex; gap: 2px; height: 22px; border-radius: 8px; overflow: hidden; }
.tk-bar > span { min-width: 6px; background: var(--c); transition: opacity 0.2s; animation: tk-grow 0.8s var(--ease) both; transform-origin: left; }
@keyframes tk-grow { from { transform: scaleX(0); } }
.tk-focus .tk-bar > span:not(.is-on) { opacity: 0.3; }
.tk-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.tk-chips li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--text-2); transition: opacity 0.2s; }
.tk-chips b { color: var(--text); font-weight: 800; }
.tk-focus .tk-chips li:not(.is-on) { opacity: 0.45; }

.rm-teaser { display: grid; gap: 14px; align-content: start; }
.rm-teaser-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.rm-teaser-title { font-size: clamp(30px, 3.4vw, 40px); color: var(--amber); }
.rm-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.rm-mini li { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: center; padding: 6px 0; font-weight: 700; color: var(--text-3); }
.rm-mini li::before { content: ''; position: absolute; left: 15px; top: calc(50% + 16px); height: calc(100% - 32px + 12px); width: 2px; background: var(--line-2); }
.rm-mini li:last-child::before { display: none; }
.rm-mini-n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; border: 2px solid var(--line-2); background: var(--bg-2); position: relative; z-index: 1; }
.rm-mini-n .ico { width: 15px; height: 15px; }
.rm-mini li.is-done { color: var(--text-2); }
.rm-mini li.is-done .rm-mini-n { background: var(--ok); border-color: transparent; color: #04150d; }
.rm-mini li.is-done::before { background: rgba(61, 220, 151, 0.5); }
.rm-mini li.is-current { color: var(--text); }
.rm-mini li.is-current .rm-mini-n { border-color: var(--amber); color: var(--amber-hi); box-shadow: 0 0 0 4px rgba(255, 176, 32, 0.14); }
.rm-teaser-cta { justify-self: start; }

.rm-sec { padding-top: 40px; }
.rm-b-now {
  color: var(--on-amber); background: var(--amber); border-color: #050303; border-width: 2px;
  box-shadow: 0 2px 0 #050303; transform: rotate(-3deg);
}
.rm-track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; }
.rm-track::before {
  content: ''; position: absolute; left: 22px; right: 22px; top: 21px; height: 2px;
  background: linear-gradient(90deg, var(--ok) 0 calc((var(--rm-cur) - 1) * 33.34%), var(--line-2) 0);
}
.rm-phase { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 16px; min-width: 0; }
.rm-node {
  position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 17px; letter-spacing: 0.04em; font-synthesis: none;
  border: 2px solid var(--line-2); background: var(--bg); color: var(--text-3);
}
.rm-node .ico { width: 20px; height: 20px; }
.rm-card { display: grid; gap: 12px; align-content: start; height: 100%; }
.rm-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 30px; }
.rm-title { font-size: clamp(30px, 3.2vw, 42px); }
.rm-items { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 2px; }
.rm-items li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; align-items: start; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--text-2); }
.rm-items li:first-child { border-top: 0; }
.rm-tick { width: 24px; height: 24px; display: grid; place-items: center; }
.rm-tick .ico { width: 18px; height: 18px; }
.rm-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-2); }

.rm-phase.is-done .rm-node { background: var(--ok); border-color: transparent; color: #04150d; }
.rm-phase.is-done .rm-tick { color: var(--ok); }
.rm-phase.is-done .rm-items li { color: var(--text-2); }
.rm-phase.is-current .rm-node { border-color: var(--amber); color: var(--amber-hi); background: #1b1305; box-shadow: 0 0 0 6px rgba(255, 176, 32, 0.12), 0 0 26px -4px rgba(255, 176, 32, 0.55); }
.rm-phase.is-current .rm-card { border-color: rgba(255, 176, 32, 0.5); box-shadow: 0 24px 60px -34px rgba(255, 176, 32, 0.45); }
.rm-phase.is-current .rm-title { color: var(--amber); }
.rm-phase.is-current .rm-items li { color: var(--text); }
.rm-phase.is-current .rm-dot { border-color: var(--amber); background: rgba(255, 176, 32, 0.25); }
.rm-phase.is-upcoming .rm-card { background: rgba(255, 255, 255, 0.02); }
.rm-phase.is-upcoming .rm-title { color: var(--text-2); }
.rm-phase.is-upcoming .rm-items li { color: var(--text-3); }

@media (max-width: 860px) {
  .rm-track { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .rm-track::before { display: none; }
  .rm-phase { grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: none; align-items: start; gap: 14px; padding-bottom: 18px; }
  .rm-phase:last-child { padding-bottom: 0; }
  .rm-phase::before { content: ''; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--line-2); }
  .rm-phase:last-child::before { display: none; }
  .rm-phase.is-done::before { background: linear-gradient(var(--ok), rgba(61, 220, 151, 0.3)); }
  .rm-card { height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .tk-slice, .tk-bar > span { animation: none; }
}
