/* TeenConnect Profile Theme Wave 3: Booster Gamer + Star Idol */
.tc-wave3-layer{position:absolute!important;inset:0!important;width:auto!important;height:auto!important;z-index:8!important;pointer-events:none!important;overflow:visible!important;opacity:var(--profile-theme-css-decor-opacity,1)!important;border-radius:inherit!important}
.tc-wave3-svg{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;overflow:visible!important}
.tc-wave3-svg *{vector-effect:non-scaling-stroke}
.tc-wave3-svg-mobile{display:none!important}

.tc-profile-theme-css-v4[data-tc-css-preset="boostergamer"],
.tc-profile-theme-css-v4[data-tc-css-preset="staridol"]{position:relative!important;overflow:visible!important;isolation:isolate!important;background:transparent!important;margin-top:clamp(24px,2.2vw,36px)!important;margin-bottom:clamp(26px,2.3vw,38px)!important;border-radius:24px!important}
.tc-profile-theme-css-v4[data-tc-css-preset="boostergamer"] .profile-theme-skin-img,
.tc-profile-theme-css-v4[data-tc-css-preset="boostergamer"] .profile-theme-skin,
.tc-profile-theme-css-v4[data-tc-css-preset="boostergamer"] .tc-theme-anchor-portal-v2,
.tc-profile-theme-css-v4[data-tc-css-preset="boostergamer"] .tc-profile-theme-portal-v11,
.tc-profile-theme-css-v4[data-tc-css-preset="boostergamer"] .tc-profile-theme-outer,
.tc-profile-theme-css-v4[data-tc-css-preset="staridol"] .profile-theme-skin-img,
.tc-profile-theme-css-v4[data-tc-css-preset="staridol"] .profile-theme-skin,
.tc-profile-theme-css-v4[data-tc-css-preset="staridol"] .tc-theme-anchor-portal-v2,
.tc-profile-theme-css-v4[data-tc-css-preset="staridol"] .tc-profile-theme-outer{display:none!important}
.page-profile .profile-hero.profile-hero-custom.tc-profile-theme-css-v4[data-tc-css-preset="boostergamer"] .profile-hero-photo,
.page-profile .profile-hero.profile-hero-custom.tc-profile-theme-css-v4[data-tc-css-preset="staridol"] .profile-hero-photo{inset:0!important;width:auto!important;height:auto!important;border-radius:inherit!important;clip-path:inset(0 round 24px)!important;overflow:hidden!important}
.page-profile .profile-hero.profile-hero-custom.tc-profile-theme-css-v4[data-tc-css-preset="boostergamer"] .profile-hero-photo img,
.page-profile .profile-hero.profile-hero-custom.tc-profile-theme-css-v4[data-tc-css-preset="staridol"] .profile-hero-photo img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:inherit!important}
.page-profile .profile-hero.profile-hero-custom.tc-profile-theme-css-v4[data-tc-css-preset="boostergamer"]::before,
.page-profile .profile-hero.profile-hero-custom.tc-profile-theme-css-v4[data-tc-css-preset="staridol"]::before{inset:0!important;border-radius:inherit!important;clip-path:inset(0 round 24px)!important;z-index:1!important}
.page-profile .profile-hero.profile-hero-custom.tc-profile-theme-css-v4[data-tc-css-preset="boostergamer"].has-profile-banner::before{background:linear-gradient(115deg,rgba(5,10,29,.56),rgba(74,35,120,.12))!important}
.page-profile .profile-hero.profile-hero-custom.tc-profile-theme-css-v4[data-tc-css-preset="staridol"].has-profile-banner::before{background:linear-gradient(115deg,rgba(18,32,88,.42),rgba(109,76,184,.08))!important}
.page-profile .profile-hero.profile-hero-custom.tc-profile-theme-css-v4[data-tc-css-preset="boostergamer"]:not(.has-profile-banner)::before{background:linear-gradient(135deg,#0b1127,#1b2144)!important}
.page-profile .profile-hero.profile-hero-custom.tc-profile-theme-css-v4[data-tc-css-preset="staridol"]:not(.has-profile-banner)::before{background:linear-gradient(135deg,#17337d,#5d51c9 55%,#172964)!important}
.page-profile .profile-hero.profile-hero-custom.tc-profile-theme-css-v4[data-tc-css-preset="boostergamer"] .profile-hero-inner,
.page-profile .profile-hero.profile-hero-custom.tc-profile-theme-css-v4[data-tc-css-preset="staridol"] .profile-hero-inner{position:relative!important;z-index:12!important}

/* Booster Gamer motion */
.tc-wave3-booster{filter:drop-shadow(0 8px 18px rgba(60,225,255,.18))}
.tcw3-boost-aura{animation:tcW3BoostAura 2.3s ease-in-out infinite}
.tcw3-boost-flow{stroke-dasharray:95 28;animation:tcW3BoostFlow 1.9s linear infinite}
.tcw3-boost-core{transform-box:fill-box;transform-origin:center;animation:tcW3BoostCore 1.55s ease-in-out infinite}
.tcw3-boost-core-left{animation-delay:-.35s}.tcw3-boost-core-right{animation-delay:-.95s}
.tcw3-boost-sparks{animation:tcW3BoostSpark 1.8s steps(2,end) infinite}
.tcw3-boost-speed{stroke-dasharray:72 26;animation:tcW3BoostSpeed 1.25s linear infinite}
.tcw3-boost-scan{stroke-dasharray:180 740;animation:tcW3BoostScan 2.8s linear infinite;filter:drop-shadow(0 0 5px #7cfbff)}
.tcw3-boost-corners{animation:tcW3BoostCorners 3.8s ease-in-out infinite}
@keyframes tcW3BoostAura{0%,100%{opacity:.52}50%{opacity:1}}
@keyframes tcW3BoostFlow{to{stroke-dashoffset:-246}}
@keyframes tcW3BoostCore{0%,100%{transform:scale(.95);opacity:.75}50%{transform:scale(1.08);opacity:1}}
@keyframes tcW3BoostSpark{0%,100%{opacity:.35}50%{opacity:1}}
@keyframes tcW3BoostSpeed{to{stroke-dashoffset:-196}}
@keyframes tcW3BoostScan{from{stroke-dashoffset:0}to{stroke-dashoffset:-920}}
@keyframes tcW3BoostCorners{0%,100%{opacity:.82}50%{opacity:1}}

/* Star Idol motion */
.tc-wave3-idol{filter:drop-shadow(0 8px 18px rgba(62,86,202,.14))}
.tcw3-idol-aura{animation:tcW3IdolAura 4.4s ease-in-out infinite}
.tcw3-idol-crown{transform-box:fill-box;transform-origin:center;animation:tcW3IdolCrown 4.2s ease-in-out infinite}
.tcw3-idol-beams{transform-box:fill-box;transform-origin:center;animation:tcW3IdolBeams 5.6s ease-in-out infinite}
.tcw3-idol-stars{transform-box:fill-box;transform-origin:center;animation:tcW3IdolStars 2.4s ease-in-out infinite}
.tcw3-idol-marquee circle:nth-child(3n+1){animation:tcW3IdolLamp 1.8s ease-in-out infinite}.tcw3-idol-marquee circle:nth-child(3n+2){animation:tcW3IdolLamp 1.8s .4s ease-in-out infinite}.tcw3-idol-marquee circle:nth-child(3n){animation:tcW3IdolLamp 1.8s .8s ease-in-out infinite}
.tcw3-idol-shimmer{stroke-dasharray:110 620;animation:tcW3IdolShimmer 3.1s linear infinite;filter:drop-shadow(0 0 4px #fff2a7)}
.tcw3-idol-gems{animation:tcW3IdolGem 3s ease-in-out infinite}
@keyframes tcW3IdolAura{0%,100%{opacity:.28}50%{opacity:.68}}
@keyframes tcW3IdolCrown{0%,100%{transform:translateY(0) scale(.98)}50%{transform:translateY(-2px) scale(1.025)}}
@keyframes tcW3IdolBeams{0%,100%{opacity:.20;transform:skewX(-1deg)}50%{opacity:.52;transform:skewX(1deg)}}
@keyframes tcW3IdolStars{0%,100%{opacity:.48;transform:scale(.92)}50%{opacity:1;transform:scale(1.05)}}
@keyframes tcW3IdolLamp{0%,100%{opacity:.34}50%{opacity:1}}
@keyframes tcW3IdolShimmer{to{stroke-dashoffset:-730}}
@keyframes tcW3IdolGem{0%,100%{opacity:.72}50%{opacity:1}}

/* Real-wear catalog previews */
.profile-item-section:has(.profile-item-preview.type-theme .tc-wave3-mini-real) .profile-item-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.profile-item-preview.type-theme:has(.tc-wave3-mini-real){min-height:0!important;aspect-ratio:1600/340!important;padding:0!important;overflow:visible!important;background:#fff!important;border-radius:14px!important}
.tc-wave3-mini-real{position:absolute!important;inset:0!important;display:block!important;overflow:visible!important;border-radius:14px!important;isolation:isolate!important;color:#fff!important}
.tc-wave3-mini-photo{position:absolute!important;inset:0!important;z-index:0!important;overflow:hidden!important;border-radius:14px!important;background:linear-gradient(135deg,#11182f,#2b3158)!important}
.tc-wave3-mini-idol .tc-wave3-mini-photo{background:linear-gradient(135deg,#19377f,#5e52c8 52%,#172863)!important}
.tc-wave3-mini-photo img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;object-position:center!important}
.tc-wave3-mini-photo>i{position:absolute!important;inset:0!important;background:inherit!important}
.tc-wave3-mini-tint{position:absolute!important;inset:0!important;z-index:1!important;border-radius:14px!important;background:linear-gradient(115deg,rgba(4,9,27,.55),rgba(71,34,123,.11))!important;pointer-events:none!important}
.tc-wave3-mini-idol .tc-wave3-mini-tint{background:linear-gradient(115deg,rgba(15,30,84,.42),rgba(105,75,182,.07))!important}
.tc-wave3-mini-real>.tc-wave3-svg{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;z-index:2!important;display:block!important;overflow:visible!important}
.tc-wave3-mini-real>.tc-wave3-svg-mobile{display:none!important}
.tc-wave3-mini-user{position:absolute!important;left:5.2%!important;top:50%!important;transform:translateY(-50%)!important;z-index:4!important;display:flex!important;align-items:center!important;gap:8px!important;color:#fff!important;text-align:left!important;line-height:1.15!important}
.tc-wave3-mini-avatar{position:relative!important;display:block!important;width:40px!important;height:40px!important;flex:0 0 40px!important;border-radius:12px!important}
.tc-wave3-mini-avatar-photo,.tc-wave3-mini-avatar>i{position:absolute!important;inset:4px!important;width:32px!important;height:32px!important;border-radius:9px!important;object-fit:cover!important;display:grid!important;place-items:center!important;background:rgba(9,14,36,.88)!important;color:#fff!important;font-size:9px!important;font-style:normal!important}
.tc-wave3-mini-avatar-frame{position:absolute!important;inset:0!important;width:40px!important;height:40px!important;object-fit:contain!important;z-index:2!important}
.tc-wave3-mini-id{display:grid!important;gap:2px!important}.tc-wave3-mini-id b{font-size:11px!important;color:#fff!important;letter-spacing:-.02em!important}.tc-wave3-mini-id small{font-size:7px!important;color:rgba(255,255,255,.84)!important}.tc-wave3-mini-id em{width:max-content!important;margin-top:2px!important;padding:3px 5px!important;border:1px solid rgba(255,255,255,.34)!important;border-radius:6px!important;background:rgba(255,255,255,.10)!important;color:#fff!important;font-size:7px!important;font-style:normal!important;font-weight:800!important}
.tc-wave3-mini-actions{position:absolute!important;right:5.2%!important;top:50%!important;transform:translateY(-50%)!important;z-index:4!important;display:flex!important;gap:5px!important}.tc-wave3-mini-actions i{display:block!important;padding:5px 7px!important;border-radius:7px!important;background:rgba(255,255,255,.95)!important;box-shadow:0 3px 10px rgba(16,25,70,.10)!important;color:#3154d6!important;font-size:6.5px!important;font-style:normal!important;font-weight:900!important;letter-spacing:-.02em!important}.tc-wave3-mini-booster .tc-wave3-mini-actions i{color:#2446b8!important}.tc-wave3-mini-idol .tc-wave3-mini-actions i{color:#7b5717!important}

@media(max-width:720px){
  .tc-profile-theme-css-v4[data-tc-css-preset="boostergamer"],.tc-profile-theme-css-v4[data-tc-css-preset="staridol"]{margin-top:17px!important;margin-bottom:20px!important;border-radius:20px!important}
  .tc-wave3-svg-desktop{display:none!important}.tc-wave3-svg-mobile{display:block!important}
  .page-profile .profile-hero.profile-hero-custom.tc-profile-theme-css-v4[data-tc-css-preset="boostergamer"] .profile-hero-photo,
  .page-profile .profile-hero.profile-hero-custom.tc-profile-theme-css-v4[data-tc-css-preset="staridol"] .profile-hero-photo,
  .page-profile .profile-hero.profile-hero-custom.tc-profile-theme-css-v4[data-tc-css-preset="boostergamer"]::before,
  .page-profile .profile-hero.profile-hero-custom.tc-profile-theme-css-v4[data-tc-css-preset="staridol"]::before{inset:0!important;border-radius:20px!important;clip-path:inset(0 round 20px)!important}
  .profile-item-section:has(.profile-item-preview.type-theme .tc-wave3-mini-real) .profile-item-grid{grid-template-columns:1fr!important}
  .profile-item-preview.type-theme:has(.tc-wave3-mini-real){aspect-ratio:1600/340!important;min-height:0!important}
  .tc-wave3-mini-avatar{width:34px!important;height:34px!important;flex-basis:34px!important}.tc-wave3-mini-avatar-photo,.tc-wave3-mini-avatar>i{inset:3px!important;width:28px!important;height:28px!important}.tc-wave3-mini-avatar-frame{width:34px!important;height:34px!important}.tc-wave3-mini-actions i{padding:4px 6px!important;font-size:6px!important}
}
@media(prefers-reduced-motion:reduce){.tc-wave3-layer *, .tc-wave3-mini-real *{animation:none!important}}

/* Wave 3 v3.1 redesign */
.tcw3-boost-pad{transform-box:fill-box;transform-origin:center;animation:tcW3BoostPad 2.8s ease-in-out infinite}
.tcw3-boost-pad circle:nth-of-type(3),
.tcw3-boost-pad circle:nth-of-type(4),
.tcw3-boost-pad circle:nth-of-type(5),
.tcw3-boost-pad circle:nth-of-type(6){animation:tcW3BoostBtns 1.8s ease-in-out infinite}
.tcw3-boost-pad circle:nth-of-type(4){animation-delay:.2s}.tcw3-boost-pad circle:nth-of-type(5){animation-delay:.4s}.tcw3-boost-pad circle:nth-of-type(6){animation-delay:.6s}
.tcw3-idol-mic{transform-box:fill-box;transform-origin:bottom center;animation:tcW3IdolMic 3.2s ease-in-out infinite}
.tcw3-idol-notes{transform-box:fill-box;transform-origin:center;animation:tcW3IdolNotes 3.6s ease-in-out infinite}
.tcw3-idol-fans{animation:tcW3IdolFans 2.4s ease-in-out infinite}
@keyframes tcW3BoostPad{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}
@keyframes tcW3BoostBtns{0%,100%{filter:none;opacity:.82}50%{filter:drop-shadow(0 0 6px rgba(255,255,255,.7));opacity:1}}
@keyframes tcW3IdolMic{0%,100%{transform:rotate(-12deg)}50%{transform:rotate(-9deg)}}
@keyframes tcW3IdolNotes{0%,100%{transform:translateY(0);opacity:.82}50%{transform:translateY(-6px);opacity:1}}
@keyframes tcW3IdolFans{0%,100%{opacity:.55}50%{opacity:1}}

/* Wave 3 v3.2 idol polish */
.tcw3-idol-stage-glow{animation:tcW3IdolStageGlow 3.4s ease-in-out infinite}
.tcw3-idol-crown-main{animation:tcW3IdolCrownMain 4s ease-in-out infinite}
.tcw3-idol-ribbons{animation:tcW3IdolRibbon 4.8s ease-in-out infinite}
@keyframes tcW3IdolStageGlow{0%,100%{opacity:.24}50%{opacity:.58}}
@keyframes tcW3IdolCrownMain{0%,100%{transform:translateY(0) scale(.985)}50%{transform:translateY(-2px) scale(1.03)}}
@keyframes tcW3IdolRibbon{0%,100%{opacity:.85}50%{opacity:1}}

/* Wave 3 v3.3 idol cleanup */
.tcw3-idol-mic-clean{animation:tcW3IdolMicClean 3.2s ease-in-out infinite}
@keyframes tcW3IdolMicClean{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}

/* Wave 3 v3.4 idol overhaul */
.tcw3-idol-mic-pro{animation:tcW3IdolMicPro 3.2s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
.tcw3-idol-lightsticks{animation:tcW3IdolLightsticks 1.6s ease-in-out infinite alternate}
@keyframes tcW3IdolMicPro{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes tcW3IdolLightsticks{0%{opacity:.5}100%{opacity:1}}

/* Wave 3 v3.5 idol concert-stage reboot */
.tcw3-idol-stage-truss{animation:tcW3IdolTruss 4.2s ease-in-out infinite}
.tcw3-idol-speaker-right{animation:tcW3IdolSpeaker 2.4s ease-in-out infinite;animation-delay:.24s}
.tcw3-idol-crowd .tcw3-idol-eq rect:nth-child(odd){animation:tcW3IdolEqA 1.1s ease-in-out infinite}
.tcw3-idol-crowd .tcw3-idol-eq rect:nth-child(even){animation:tcW3IdolEqB 1.1s ease-in-out infinite}
.tcw3-idol-lightsticks{animation:tcW3IdolLightsticks35 1.5s ease-in-out infinite alternate}
@keyframes tcW3IdolTruss{0%,100%{opacity:.92}50%{opacity:1}}
@keyframes tcW3IdolSpeaker{0%,100%{transform:scale(1)}50%{transform:scale(1.025)}}
@keyframes tcW3IdolEqA{0%,100%{transform:scaleY(.72);transform-origin:bottom}50%{transform:scaleY(1.12);transform-origin:bottom}}
@keyframes tcW3IdolEqB{0%,100%{transform:scaleY(1.08);transform-origin:bottom}50%{transform:scaleY(.68);transform-origin:bottom}}
@keyframes tcW3IdolLightsticks35{0%{opacity:.52}100%{opacity:1}}
