/* 탭(작업 / 음악 / 소개) 전환 이펙트 — 누른 탭에서 동그란 빛 고리가 퍼지며 새 화면이 열리고, 옛 화면은 살짝 물러나 흐려진다. 새 화면의 글자 · 목록은 차례로 떠오른다 */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { z-index: 1; } ::view-transition-new(root) { z-index: 2; }
.tfxr { position: fixed; z-index: 9995; pointer-events: none; border-radius: 50%; opacity: 0; will-change: transform, opacity;
  background: radial-gradient(closest-side, transparent 96.4%, rgba(190, 150, 255, .0) 96.5%);
  box-shadow: 0 0 0 2px rgba(205, 175, 255, .75), 0 0 36px 6px rgba(150, 100, 255, .55), inset 0 0 60px rgba(150, 100, 255, .28); }
/* 새 화면 안의 요소들이 차례로 떠오른다 */
@keyframes vxrise { from { opacity: 0; transform: translateY(26px) scale(.985); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
html.vx-in .songs .mhead, html.vx-in .songs .mnow, html.vx-in .songs .mtabs, html.vx-in .songs .spills, html.vx-in .songs .sg,
html.vx-in .aboutpg .ahero > *, html.vx-in .aboutpg .astats > div, html.vx-in .aboutpg .asec { animation: vxrise .7s cubic-bezier(.2, .8, .2, 1) both; }
html.vx-in .songs .mhead { animation-delay: .22s; } html.vx-in .songs .mnow { animation-delay: .3s; } html.vx-in .songs .mtabs { animation-delay: .34s; } html.vx-in .songs .spills { animation-delay: .4s; }
html.vx-in .songs .sg:nth-child(1) { animation-delay: .44s; } html.vx-in .songs .sg:nth-child(2) { animation-delay: .48s; } html.vx-in .songs .sg:nth-child(3) { animation-delay: .52s; } html.vx-in .songs .sg:nth-child(4) { animation-delay: .56s; }
html.vx-in .songs .sg:nth-child(5) { animation-delay: .6s; } html.vx-in .songs .sg:nth-child(6) { animation-delay: .64s; } html.vx-in .songs .sg:nth-child(n+7) { animation-delay: .68s; }
html.vx-in .aboutpg .ahero > :nth-child(1) { animation-delay: .22s; } html.vx-in .aboutpg .ahero > :nth-child(2) { animation-delay: .27s; } html.vx-in .aboutpg .ahero > :nth-child(3) { animation-delay: .32s; }
html.vx-in .aboutpg .ahero > :nth-child(4) { animation-delay: .4s; } html.vx-in .aboutpg .ahero > :nth-child(5) { animation-delay: .46s; }
html.vx-in .aboutpg .astats > div:nth-child(1) { animation-delay: .5s; } html.vx-in .aboutpg .astats > div:nth-child(2) { animation-delay: .55s; } html.vx-in .aboutpg .astats > div:nth-child(3) { animation-delay: .6s; } html.vx-in .aboutpg .astats > div:nth-child(4) { animation-delay: .65s; }
html.vx-in .aboutpg .asec { animation-delay: .7s; }
html.vx-in #modeview, html.vx-in .intro, html.vx-in #grid { animation: vxrise .75s cubic-bezier(.2, .8, .2, 1) .2s both; }
@media (prefers-reduced-motion: reduce) { .tfxr { display: none; } html.vx-in * { animation: none !important; } }

/* ── 음악 · 소개 무대: 작업 탭과 같은 세계(번지는 보랏빛, 도는 점선 고리, 모서리 계기판) ── */
.mbg, .abg { display: none !important; }
.vstage { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 100%, #2a0f4d 0%, #130a26 46%, #07040f 100%); }
.vstage i { position: absolute; display: block; }
.vstage .b1 { left: 50%; top: 52%; width: 120vmax; height: 120vmax; margin: -60vmax 0 0 -60vmax; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(140, 84, 255, .3), rgba(140, 84, 255, .09) 42%, transparent 70%); animation: vsPulse 7s ease-in-out infinite alternate; }
.vstage .fl { left: 50%; top: 52%; width: 92vmin; height: 92vmin; margin: -46vmin 0 0 -46vmin; border-radius: 50%; border: 1px dashed rgba(170, 130, 255, .26); animation: vsSpin 90s linear infinite; }
.vstage .fl::after { content: ""; position: absolute; inset: 9vmin; border-radius: 50%; border: 1px solid rgba(170, 130, 255, .14); border-top-color: rgba(210, 180, 255, .55); animation: vsSpin 38s linear infinite reverse; }
.vstage .fl2 { left: 50%; top: 52%; width: 138vmin; height: 138vmin; margin: -69vmin 0 0 -69vmin; border-radius: 50%; border: 1px solid rgba(170, 130, 255, .12); }
.vstage .fl3 { left: 50%; top: 52%; width: 56vmin; height: 56vmin; margin: -28vmin 0 0 -28vmin; border-radius: 50%; border: 1px dashed rgba(190, 150, 255, .2); animation: vsSpin 60s linear infinite reverse; }
.vstage .hud { inset: 14px; --c: rgba(170, 130, 255, .55);
  background: linear-gradient(var(--c), var(--c)) 0 0 / 26px 1px no-repeat, linear-gradient(var(--c), var(--c)) 0 0 / 1px 26px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 0 / 26px 1px no-repeat, linear-gradient(var(--c), var(--c)) 100% 0 / 1px 26px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 100% / 26px 1px no-repeat, linear-gradient(var(--c), var(--c)) 0 100% / 1px 26px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / 26px 1px no-repeat, linear-gradient(var(--c), var(--c)) 100% 100% / 1px 26px no-repeat; }
@keyframes vsSpin { to { transform: rotate(360deg); } } @keyframes vsPulse { to { transform: scale(1.12); opacity: .82; } }
@keyframes vsSnap { from { inset: 70px; opacity: 0; } to { inset: 14px; opacity: 1; } }
@keyframes vsRing { from { transform: scale(.55); opacity: 0; } 60% { opacity: 1; } to { transform: scale(1); opacity: 1; } }
html.vx-in .vstage .hud { animation: vsSnap .9s cubic-bezier(.2, .8, .2, 1) both; }
html.vx-in .vstage .fl, html.vx-in .vstage .fl2, html.vx-in .vstage .fl3 { animation-name: vsRing, vsSpin; animation-duration: 1s, 90s; animation-timing-function: cubic-bezier(.2,.8,.2,1), linear; animation-iteration-count: 1, infinite; animation-fill-mode: both, none; }
/* 전환 때 퍼지는 고리 셋: 실선 빛 고리 + 점선 고리 + 가는 고리가 시간차로 따라온다 */
#tfx-ring.r2, .tfxr.r2 { box-shadow: none; border: 1px dashed rgba(205, 175, 255, .7); background: none; }
#tfx-ring.r3, .tfxr.r3 { box-shadow: none; border: 1px solid rgba(190, 150, 255, .45); background: none; }
@media (prefers-reduced-motion: reduce) { .vstage i, .vstage i::after { animation: none !important; } }
