@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800;900&display=swap');

.tau-wrap{font-family:'Inter',system-ui,sans-serif;-webkit-font-smoothing:antialiased;background:transparent;width:100%;padding:52px 0 68px;box-sizing:border-box;overflow:hidden}

.tau-global-hdr{text-align:center;padding:0 24px;margin-bottom:52px}
.tau-eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:10px;font-weight:800;letter-spacing:2.8px;text-transform:uppercase;color:#F0B90B;background:rgba(240,185,11,.07);border:1px solid rgba(240,185,11,.22);padding:7px 20px;border-radius:99px;margin-bottom:16px}
.tau-dot{width:7px;height:7px;background:#1db954;border-radius:50%;animation:tDot 1.5s ease-in-out infinite}
@keyframes tDot{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.8);opacity:.3}}
.tau-main-title{font-size:clamp(20px,4vw,36px);font-weight:900;color:#e6edf3;margin:0 0 8px;letter-spacing:-.4px}
.tau-main-sub{font-size:14px;color:#8b949e;margin:0}

.tau-section{margin-bottom:52px}
.tau-section:last-child{margin-bottom:0}

.tau-tier-hdr{text-align:center;padding:0 24px 22px}
.tau-hdr-card{display:inline-flex;align-items:center;gap:14px;border-radius:14px;padding:13px 28px;border:1px solid}
.hdr-c{background:#0b1a0f;border-color:rgba(22,163,74,.50)}
.hdr-a{background:#130f2e;border-color:rgba(124,92,252,.55)}
.hdr-p{background:#1a1300;border-color:rgba(240,185,11,.48)}

/* ══ SVG TICK ICON — reliable colour, no emoji filter issues ══ */
.tau-svg-tick{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;flex-shrink:0}
/* Contributor: green circle + white check */
.tau-svg-tick.t-green{background:#16a34a}
/* Ambassador: purple circle + white check */
.tau-svg-tick.t-purple{background:#7c5cfc}
/* Prime: gold circle + dark check */
.tau-svg-tick.t-gold{background:#F0B90B}
.tau-svg-tick svg{width:16px;height:16px;display:block}

/* Avatar card tick — smaller version, bottom-right corner */
/* ── Tick wrapper — sits OUTSIDE the overflow:hidden ring ── */
.tau-av-wrap{
  position:relative;   /* tick is positioned relative to this */
  display:inline-flex;
  flex-shrink:0;
}

/* Tick badge — outside ring so overflow:hidden doesn't hide it */
.tau-vtick{
  position:absolute;
  bottom:0px;
  right:0px;
  z-index:10;
  width:22px;height:22px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  border:2px solid rgba(0,0,0,0.3);
  box-shadow:0 2px 6px rgba(0,0,0,0.5);
}
.tau-vtick.t-green {background:#16a34a}
.tau-vtick.t-purple{background:#7c5cfc}
.tau-vtick.t-gold  {background:#F0B90B}
.tau-vtick svg{width:11px;height:11px;display:block}

.tau-tier-title{font-size:17px;font-weight:900;color:#e6edf3;letter-spacing:-.2px}
.tau-amt{font-size:11px;font-weight:700;padding:4px 12px;border-radius:99px;border:1px solid}
.amt-c{color:#4ade80;background:rgba(22,163,74,.12);border-color:rgba(22,163,74,.3)}
.amt-a{color:#c4b5fd;background:rgba(124,92,252,.12);border-color:rgba(124,92,252,.3)}
.amt-p{color:#F0B90B;background:rgba(240,185,11,.12);border-color:rgba(240,185,11,.3)}

.tau-line{height:2px;width:90px;border-radius:2px;margin:12px auto 0}
.line-c{background:linear-gradient(90deg,transparent,#16a34a,transparent)}
.line-a{background:linear-gradient(90deg,transparent,#7c5cfc,transparent)}
.line-p{background:linear-gradient(90deg,transparent,#F0B90B,transparent)}

.tau-carousel-outer{position:relative;overflow:hidden}
.tau-fade{position:absolute;top:0;bottom:0;width:72px;z-index:2;pointer-events:none}
.tau-fade-l{left:0;background:linear-gradient(to right,var(--tau-bg,transparent) 30%,transparent)}
.tau-fade-r{right:0;background:linear-gradient(to left,var(--tau-bg,transparent) 30%,transparent)}
.tau-track{display:flex;gap:16px;padding:16px 44px 24px;width:max-content}

.tau-card{flex-shrink:0;width:118px;display:flex;flex-direction:column;align-items:center;gap:9px;cursor:default;transition:transform .28s cubic-bezier(.4,0,.2,1)}
.tau-card:hover{transform:translateY(-8px)}

.tau-ring{
  position:relative;
  width:84px;height:84px;
  border-radius:50%;
  padding:3px;
  flex-shrink:0;
  /* overflow hidden is the KEY fix — clips image to circle */
  overflow:hidden;
}
.ring-c{background:conic-gradient(#16a34a,#4ade80,#86efac,#16a34a)}
.ring-a{background:conic-gradient(#7c5cfc,#c4b5fd,#a78bfa,#7c5cfc)}
.ring-p{background:conic-gradient(#F0B90B,#FFD84D,#fbbf24,#F0B90B)}
/* Inner white gap between ring and image */
.tau-ring::before{
  content:'';
  position:absolute;
  inset:0;
  border-radius:50%;
  border:3px solid transparent;
  z-index:0;
}

.tau-av-img{
  position:relative;z-index:1;
  width:calc(100% - 6px);height:calc(100% - 6px);
  border-radius:50%;
  object-fit:cover;object-position:center top;
  display:block;margin:3px;
  clip-path:circle(50% at 50% 50%);
  -webkit-clip-path:circle(50% at 50% 50%);
}
.tau-av-init{
  position:relative;z-index:1;
  width:calc(100% - 6px);height:calc(100% - 6px);
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  font-size:26px;font-weight:900;
  margin:3px;
}
.init-c{color:#4ade80;background:rgba(22,163,74,.18)}
.init-a{color:#c4b5fd;background:rgba(124,92,252,.18)}
.init-p{color:#F0B90B;background:rgba(240,185,11,.18)}


/* ── Inner circle wrapper — the definitive circle crop fix ── */
.tau-ring-inner{
  position:absolute;
  inset:3px;           /* sits inside the 3px gradient ring */
  border-radius:50%;
  overflow:hidden;     /* THIS is what forces the circle crop */
  z-index:1;
  background:#0d1117;
}

.tau-ring-inner .tau-av-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  margin:0;
  border-radius:0;     /* parent handles the circle */
  object-fit:cover;
  object-position:center top;
  clip-path:none;
  -webkit-clip-path:none;
  display:block;
}

.tau-ring-inner .tau-av-init{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  margin:0;
  border-radius:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  font-weight:900;
}
.tau-card-name{font-size:12px;font-weight:800;color:#e6edf3;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:112px}
.tau-card-pill{font-size:9px;font-weight:700;padding:3px 10px;border-radius:99px;white-space:nowrap}
.pill-c{background:#16a34a;color:#fff}
.pill-a{background:#7c5cfc;color:#fff}
.pill-p{background:#F0B90B;color:#000}

.tau-empty{text-align:center;color:#8b949e;padding:28px 24px;font-size:14px}

@media(max-width:600px){
  .tau-wrap{padding:36px 0 48px}
  .tau-card{width:100px}
  .tau-ring{width:70px;height:70px;overflow:hidden}
  .tau-av-init{font-size:22px}
  
/* ── Inner circle wrapper — the definitive circle crop fix ── */
.tau-ring-inner{
  position:absolute;
  inset:3px;           /* sits inside the 3px gradient ring */
  border-radius:50%;
  overflow:hidden;     /* THIS is what forces the circle crop */
  z-index:1;
  background:#0d1117;
}

.tau-ring-inner .tau-av-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  margin:0;
  border-radius:0;     /* parent handles the circle */
  object-fit:cover;
  object-position:center top;
  clip-path:none;
  -webkit-clip-path:none;
  display:block;
}

.tau-ring-inner .tau-av-init{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  margin:0;
  border-radius:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  font-weight:900;
}
.tau-card-name{font-size:11px;max-width:96px}
  .tau-fade{width:44px}
  .tau-hdr-card{padding:10px 18px;gap:10px}
  .tau-tier-title{font-size:15px}
  .tau-svg-tick{width:24px;height:24px}
  .tau-svg-tick svg{width:13px;height:13px}
}

/* ── Top 10 label ── */
.tau-top10-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
}

.tau-top10-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 3px;
  padding: 5px 18px;
  border-radius: 99px;
  border: 1px solid;
}

/* Badge colour per tier — border + text matches tier */
.tau-top10-badge.t-green  { color:#4ade80; border-color:rgba(22,163,74,.40);  background:rgba(22,163,74,.08); }
.tau-top10-badge.t-purple { color:#c4b5fd; border-color:rgba(124,92,252,.40); background:rgba(124,92,252,.08); }
.tau-top10-badge.t-gold   { color:#F0B90B; border-color:rgba(240,185,11,.40); background:rgba(240,185,11,.08); }

.tau-top10-crown { font-size: 10px; }

.tau-top10-desc {
  font-size: 12px;
  color: #8b949e;
  letter-spacing: 0.3px;
}

@media(max-width:600px){
  .tau-top10-badge { font-size:10px; letter-spacing:2px; padding:4px 14px; }
  .tau-top10-desc  { font-size:11px; }
}
