/* ===== TED SUN LITE v1 — isolated widget (no GC UI impact) ===== */
.ted-sun-lite, .ted-sun-lite * { box-sizing: border-box; font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial; }

.ted-sun-lite .tsl-card{
  width: 100%;
  max-width: 860px;
  background: #fff;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 20px;
  padding: 18px 18px;
  box-shadow: 0 14px 34px rgba(15,23,42,.10);
}

.ted-sun-lite .tsl-grid{
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 16px;
  align-items: center;
}

.ted-sun-lite .tsl-orb{
  width: 180px;
  height: 180px;
  border-radius: 999px;
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.95), rgba(255,255,255,.60) 45%, rgba(255,255,255,.18) 75%),
    radial-gradient(circle at 70% 80%, rgba(99,102,241,.12), rgba(34,211,238,.10), rgba(245,158,11,.08), transparent 70%);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}

.ted-sun-lite .tsl-ring{
  position:absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.ted-sun-lite .tsl-ring circle{
  transition: stroke-dashoffset 700ms cubic-bezier(.2,.9,.2,1);
}

.ted-sun-lite .tsl-center{
  text-align: center;
  color: #0F172A;
}

.ted-sun-lite .tsl-num{
  font-size: 56px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.04em;
}

.ted-sun-lite .tsl-label{
  margin-top: 6px;
  font-size: 16px;
  font-weight: 800;
  color: rgba(15,23,42,.60);
}

.ted-sun-lite .tsl-sub{
  margin-top: 4px;
  font-size: 12px;
  font-weight: 650;
  color: rgba(15,23,42,.55);
}

.ted-sun-lite .tsl-rays{
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.ted-sun-lite .tsl-ray{
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 0 14px;
  color: #fff;
  box-shadow: 0 10px 22px rgba(15,23,42,.10);
  min-width: 0;
}

.ted-sun-lite .tsl-ray__left{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ted-sun-lite .tsl-badge{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.22);
  flex: 0 0 auto;
}

.ted-sun-lite .tsl-title{
  font-weight: 850;
  font-size: 13px;
  opacity: .95;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ted-sun-lite .tsl-ray__right{
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex: 0 0 auto;
}

.ted-sun-lite .tsl-val{
  font-weight: 950;
  font-size: 28px;
  letter-spacing: -.02em;
}

.ted-sun-lite .tsl-unit{
  font-weight: 800;
  font-size: 14px;
  opacity: .95;
  white-space: nowrap;
}

.ted-sun-lite .tsl-train { background: linear-gradient(90deg, #7C3AED, #EC4899); }
.ted-sun-lite .tsl-level { background: linear-gradient(90deg, #2563EB, #06B6D4); }
.ted-sun-lite .tsl-less  { background: linear-gradient(90deg, #F59E0B, #FACC15); color: #1F2937; }
.ted-sun-lite .tsl-less .tsl-badge{ background: rgba(255,255,255,.35); border-color: rgba(255,255,255,.35); }
.ted-sun-lite .tsl-less .tsl-title, 
.ted-sun-lite .tsl-less .tsl-unit{ color: rgba(31,41,55,.88); }
.ted-sun-lite .tsl-less .tsl-val{ color: #111827; }

.ted-sun-lite .tsl-foot{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(15,23,42,.08);
  color: rgba(15,23,42,.70);
  font-size: 13px;
  line-height: 1.35;
}

.ted-sun-lite .tsl-foot b{ color: rgba(15,23,42,.90); }

@media (max-width: 820px){
  .ted-sun-lite .tsl-grid{ grid-template-columns: 1fr; }
  .ted-sun-lite .tsl-orb{ margin: 0 auto; }
}
