.tf-widget-stage{position:relative;width:100%;height:100%;overflow:hidden;background:transparent}.tf-widget{position:absolute;box-sizing:border-box;text-align:center;direction:rtl;line-height:1.55}.tf-widget h2{margin:0 0 .4em;font-size:1.1em}.tf-widget ol{list-style:none;padding:0;margin:0}.tf-widget li{display:flex;gap:.3em;align-items:center;margin:.25em 0;text-align:right}.tf-widget li span:nth-last-child(2){overflow-wrap:anywhere}.tf-widget li b{margin-inline-start:auto;font-variant-numeric:tabular-nums}.tf-widget img{width:1.5em;height:1.5em;object-fit:cover;border-radius:50%}.tf-widget small{display:block;font-size:.6em}.tf-widget svg{width:100%;max-height:65vh;display:block}.tf-clock{font-size:1.7em;font-variant-numeric:tabular-nums;direction:ltr}.tf-song{border:1px solid var(--music-accent,#e5b75b);border-radius:.4em;padding:.45em .7em;margin-bottom:.35em;background:#1119;text-align:right;display:flex;gap:.3em;flex-wrap:wrap;align-items:center}.tf-song-active{display:block;text-align:center;background:linear-gradient(135deg,#161616b0,#0005);box-shadow:0 0 .5em #0003}.tf-song h2{color:var(--music-accent)}.tf-song small{margin-inline-start:auto}.tf-music h3{font-size:.75em;margin:.3em 0;color:var(--music-accent)}@keyframes tf-breathe{50%{filter:brightness(1.3)}}@media(prefers-reduced-motion:reduce){.tf-widget *{animation:none!important;transition:none!important}}

.tf-glass-stage{position:relative;width:100%;overflow:hidden}.tf-glass-stage canvas{display:block;width:100%;height:100%;background:transparent!important}
.tf-profile-card{border:1px solid var(--tf-profile-color,#e5b75b);border-radius:.6em;padding:1em!important;box-shadow:0 0 1em #e5b75b33;background:linear-gradient(135deg,#17120dbb,#0004)!important}.tf-profile-card .tf-profile-photo{width:3em;height:3em;border-radius:50%;margin:0 auto .5em;border:2px solid #e5b75b}.tf-profile-card>strong{display:block;font-size:2em;color:var(--tf-profile-color,#e5b75b)}.tf-profile-card>b{font-size:.8em}.tf-podium-row{display:flex;align-items:flex-end;justify-content:center;gap:.6em;padding-top:1em}.tf-podium-person{width:29%;padding:.4em .15em;border-radius:.5em;background:linear-gradient(#26221bbb,#1118);border:1px solid #ba8b3933}.tf-podium-avatar{position:relative;border-radius:50%;width:100%;aspect-ratio:1;display:grid;place-items:center;background:#241b14;border:.1em solid #d09d46;box-shadow:0 0 .8em #e5b75b55;color:#e5b75b;font-size:1.2em}.tf-podium-avatar>img{width:100%;height:100%;border-radius:50%}.tf-place-1{padding-bottom:1em}.tf-place-1 .tf-podium-avatar{box-shadow:0 0 1.2em #ffd86188;border-color:#ffdc65}.tf-place-1 .tf-podium-avatar span{position:absolute;top:-.85em;color:#ffd65d;font-size:1.5em;animation:tf-breathe 4s infinite}.tf-place-2 .tf-podium-avatar{border-color:#ddd;box-shadow:0 0 .6em #ddd5}.tf-place-3 .tf-podium-avatar{border-color:#c98745}.tf-podium-person small{font-size:.55em;margin:.8em 0 .15em}.tf-podium-person strong{font-size:.85em}

.animal-fallback{position:absolute;inset:15% 8%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1em;padding:1.4em;box-sizing:border-box;border:2px solid var(--goal-color,#e5b75b);border-radius:24px;background:linear-gradient(145deg,#171a24dd,#0b0b11aa);font:16px Tahoma;text-align:center;box-shadow:inset 0 0 28px #ffffff0b}.animal-fallback progress{width:100%;height:1.1em;accent-color:var(--goal-color,#e5b75b)}.animal-fallback b{direction:ltr;unicode-bidi:isolate}.animal-fallback small{font-size:.65em;opacity:.65}

.animal-fallback{gap:.65em;inset:10% 8%}.animal-fallback strong{font-size:1em;line-height:1.35}.animal-fallback b{font-size:1.05em}.animal-fallback progress{display:block;flex:none;height:.8em}

/* Music source and its studio preview share these frame styles. */
.tf-music{display:grid;gap:.6em;box-sizing:border-box}
.tf-music[data-layout=horizontal]:has(.tf-song-queue){grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}
.tf-music h2,.tf-music h3{margin:0;color:var(--music-accent)}
.tf-music h2{font-size:1.2em}
.tf-music h3{font-size:.86em;margin-bottom:.45em}
.tf-music .tf-song{gap:.55em;flex-wrap:nowrap;box-sizing:border-box;border:1px solid var(--music-accent);min-width:0;padding:.65em}
.tf-music[data-frame=gold] .tf-song{border-style:double;border-width:3px;box-shadow:0 0 .5em color-mix(in srgb,var(--music-accent) 22%,transparent)}
.tf-music[data-frame=glass] .tf-song{border-radius:.8em;outline:1px solid #fff2;outline-offset:-4px;box-shadow:inset 0 .1em .55em #fff3}
.tf-music[data-frame=minimal] .tf-song{border:1px solid #7776;border-inline-start:4px solid var(--music-accent)}
.tf-music .tf-song-active{display:grid;gap:.25em}
.tf-music .tf-song-number{display:grid;place-items:center;border-radius:50%;color:var(--music-accent);border:1px solid currentColor;flex:none;width:1.65em;height:1.65em;font-size:.8em}
.tf-music .tf-song-name{display:grid;min-width:0;overflow-wrap:anywhere}
.tf-music .tf-song-name small{margin:0;opacity:.75}
.tf-music time,.tf-music .tf-clock{direction:ltr;font-variant-numeric:tabular-nums}
.tf-music progress{accent-color:var(--music-accent);height:.25em;width:100%}
