.animation-studio { padding-block: 34px 60px; }
.studio-heading { display: grid; grid-template-columns: 1fr 300px; align-items: center; gap: 30px; padding-bottom: 34px; }
.studio-heading h1 { font-size: clamp(46px,6vw,86px); font-weight: 800; line-height: 1.02; letter-spacing: -.055em; }
.studio-heading p { margin-top: 24px; color: var(--muted); font-size: 17px; line-height: 1.65; }
.studio-model { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.studio-model svg { width: 200px; height: auto; }
.studio-model span { font-size: 12px; color: var(--muted); }
.studio-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding-block: 20px; border-block: 1px solid var(--line); }
.studio-button { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 17px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); color: var(--ink); font: 700 13px Manrope,Arial,sans-serif; text-align: center; }
.studio-button:hover { border-color: var(--lavender); }
.studio-button.is-selected { color: var(--paper); background: var(--lime); border-color: var(--lime); }
.studio-note { color: var(--muted); font-size: 13px; line-height: 1.7; margin-block: 16px 36px; max-width: 800px; }
.studio-scenes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 42px 28px; }
.studio-scene { min-width: 0; }
.studio-scene-copy { min-height: 82px; }
.studio-scene-copy h2 { font-size: 23px; font-weight: 800; letter-spacing: -.035em; }
.studio-scene-copy p { color: var(--muted); font-size: 13px; line-height: 1.65; margin-block: 8px 18px; max-width: 620px; }
.studio-field { position: relative; min-height: 300px; overflow: hidden; border-radius: 22px; display: grid; place-items: center; }
.studio-field-pink { background: #c42676; }
.studio-field-lavender { background: #625487; }
.studio-field-blue { background: #3055b4; }
.studio-field-green { background: #426657; }
.studio-dancer .dance { width: min(100%, 330px); height: 300px; overflow: visible; }
.studio-crew { display: grid; grid-template-columns: 154fr 132fr 96fr; width: min(100%, 600px); aspect-ratio: 382 / 175; margin-inline: auto; }
.studio-crew .crew-art { height: 100%; }
.studio-crew .dance { width: 100%; height: 100%; overflow: visible; }
.studio-field-space { background: #1d1846; container-type: size; }
.studio-field-space .merch-space { position: absolute; inset: 0; --rx: 125px; --ry: 80px; opacity: 1; }
.studio-field-space .merch-planet { width: 110px; }
.studio-field-space .merch-astro { width: 56px; }
.studio-field-space .merch-space-caption { font-size: 12px; letter-spacing: 0; text-transform: none; }
.studio-field [data-studio-parachute], [data-studio-parachute] > svg { width: 100%; height: 300px; }
.studio-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-block: 14px 0; }
.studio-actions output,.studio-actions > span { color: var(--muted); font-size: 12px; }
.studio-field .bulb-pair { margin: 0; }
.studio-field .tv-side { position: relative; width: 100%; height: 300px; inset: auto; padding: 0; background: transparent; border-radius: 0; transform: none; backface-visibility: visible; }
.studio-field .tv-stage { padding: 10px 20px 0; max-width: 470px; width: 100%; margin: auto; }
.studio-field .tv-status { font-size: 11px; min-height: 28px; }
.studio-field .tv-scene { width: 100%; }
.studio-field .hero-bug { pointer-events: none; }
.studio-field [data-studio-nima] { width: 100%; padding: 16px; align-self: stretch; }
.studio-field [data-studio-nima] summary { font-weight: 800; cursor: pointer; min-height: 44px; }
.studio-field .nima-stage { height: 235px; }
.studio-scrub { display: flex; flex: 1; min-width: 160px; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); }
.studio-scrub input { min-width: 60px; width: 100%; accent-color: var(--lime); min-height: 44px; }
.studio-scrub output { flex: none; width: 38px; }
.studio-model-sheet { display: flex; gap: 0; justify-content: center; background: var(--surface); }
.studio-model-sheet > div { min-width: 0; width: 20%; }
.studio-model-sheet svg,.studio-model-sheet img { width: 100%; height: auto; }
.studio-ranks { margin-top: 48px; }
.studio-rank-list { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 28px 14px; padding-block: 18px; }
.studio-rank { display: flex; flex-direction: column; align-items: center; gap: 10px; border: 0; border-radius: 0; background: transparent; padding: 12px 4px; }
.studio-rank span { text-align: center; font-size: 12px; max-width: 140px; line-height: 1.5; color: var(--muted); }
.studio-interface { margin-block: 45px; }
.studio-interface-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.studio-small-demo { display: flex; min-height: 140px; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; background: var(--surface); border-radius: 16px; }
.studio-small-demo span { font-size: 12px; }
.studio-small-demo.live-hero { margin: 0; min-height: 140px; }
.studio-small-demo .icq-flower { width: 48px; height: 48px; }
.studio-small-demo .signal { height: 38px; }
.studio-small-demo .signal i { width: 7px; }
.studio-small-demo .radio-version { position: relative; align-self: center; margin: 0; }
.studio-spinner { width: 34px; height: 34px; border: 5px double var(--lime); border-right-color: transparent; border-radius: 50%; animation: latest-spin 1s linear infinite; }
:root[data-animation-design="clay"] .studio-spinner { animation-timing-function: steps(12,end); }
.studio-squeeze:active { transform: scale(.92, .85); }
.studio-studies { margin-bottom: 38px; }
.studio-studies .studio-button { margin-top: 14px; }
.studio-pianist { position: absolute; width: 150px; left: calc(50% - 115px); top: 24px; }
.studio-pianist svg,.studio-pianist img { width: 150px; height: 165px; }
.studio-piano-case { position: absolute; left: calc(50% - 87px); top: 138px; width: 230px; height: 94px; border-radius: 10px 14px 5px 5px; background: linear-gradient(130deg,#674735,#372d29); box-shadow: 5px 7px 0 #34252766, inset 0 3px 0 #997354; }
.studio-piano-case::after { content: ''; position: absolute; width: 8px; height: 40px; left: 16px; top: 94px; background: #372d29; box-shadow: 190px 0 #372d29; }
.studio-piano-case b { display: block; text-align: center; padding-top: 12px; color: #cab797; font-size: 9px; letter-spacing: 3px; }
.studio-piano-keys { display: flex; height: 34px; margin: 20px 10px 0; overflow: hidden; border-radius: 3px; }
.studio-piano-keys i { position: relative; flex: 1; background: #f3ead7; border-right: 1px solid #897c6a; transform-origin: top; }
.studio-piano-keys i:not(:nth-child(3n))::after { content: ''; width: 6px; height: 22px; position: absolute; right: -3px; top: 0; z-index: 1; background: #231e25; border-radius: 0 0 2px 2px; }
.studio-piano-hand { position: absolute; width: 21px; height: 14px; top: 177px; border-radius: 50%; background: radial-gradient(at 30% 20%,#b6e89a,#4f8f35); box-shadow: 0 2px 1px #19341466; }
.studio-piano-hand-l { left: calc(50% - 54px); }
.studio-piano-hand-r { left: calc(50% + 40px); }
.studio-piano.is-running .studio-pianist { animation: studio-piano-sway 3s steps(36,end) infinite; }
.studio-piano.is-running .studio-piano-hand { animation: studio-piano-tap .5s steps(6,end) infinite alternate; }
.studio-piano.is-running .studio-piano-hand-r { animation-delay: -.2s; }
.studio-piano.is-running .studio-piano-keys i { animation: studio-key 1.8s steps(1,end) infinite; animation-delay: calc(var(--key)*-.17s); }
.studio-morph-onion { position: absolute; left: calc(50% - 90px); top: 46px; }
.studio-morph-player { display: flex; align-items: center; gap: 14px; padding: 20px; width: 280px; min-height: 100px; background: linear-gradient(140deg,#e0f59a,#86aa48); color: #223019; border-radius: 48% 38% 40% 30%; box-shadow: inset 2px 3px 0 #f3ffd370, 3px 5px 0 #1b302544; opacity: 0; transform: scale(.1); }
.studio-morph-player b { font-size: 16px; }
.studio-morph-player > span:not(.studio-morph-play) { font-size: 10px; }
.studio-morph-play { font-size: 25px; }
.studio-morph.is-running .studio-morph-onion { animation: studio-morph-onion 6s steps(72,end) infinite; }
.studio-morph.is-running .studio-morph-player { animation: studio-morph-player 6s steps(72,end) infinite; }
.studio-merch { margin-block: 30px 40px; }
.studio-merch .merch-section { margin-top: 0; }
.studio-inventory { margin-top: 30px; border-top: 1px solid var(--line); padding-block: 20px; }
.studio-inventory summary { min-height: 44px; cursor: pointer; font-weight: 800; }
.studio-inventory ol { padding-left: 24px; }
.studio-inventory li { padding-block: 12px; border-bottom: 1px solid var(--line); }
.studio-inventory li span,.studio-inventory code { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; overflow-wrap: anywhere; }
.studio-inventory a:hover { color: var(--lime); }
.animation-studio.is-frozen *,.animation-studio.is-frozen *::after { animation-play-state: paused !important; }
@keyframes studio-piano-sway { 50% { transform: rotate(-4deg) translateY(2px); } }
@keyframes studio-piano-tap { to { transform: translate(10px,4px) rotate(8deg); } }
@keyframes studio-key { 12%,28% { background: #c4a8ff; transform: scaleY(.88); } }
@keyframes studio-morph-onion { 0%,22%,90%,100% { transform: scale(1); opacity: 1; } 40%,72% { transform: scale(1.7,.3); opacity: 0; } }
@keyframes studio-morph-player { 0%,24%,90%,100% { opacity: 0; transform: scale(.1,.5); } 42%,70% { opacity: 1; transform: scale(1); } }
@media(max-width:760px) {
  .studio-heading { grid-template-columns: 1fr; gap: 14px; }
  .studio-heading h1 { font-size: 52px; }
  .studio-model { flex-direction: row; justify-content: flex-start; }
  .studio-model svg,.studio-model img { width: 110px; height: auto; }
  .studio-model span { max-width: 140px; line-height: 1.6; }
  .studio-scenes { grid-template-columns: 1fr; gap: 30px; }
  .studio-rank-list { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
  .studio-interface-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .studio-small-demo { padding: 15px 10px; }
  .studio-field { min-height: 280px; }
  .studio-scene-copy { min-height: 0; }
}
@media(prefers-reduced-motion:reduce) {
  .animation-studio *,.animation-studio *::after { animation: none !important; transition: none !important; }
  .studio-morph.is-running .studio-morph-onion { display: none; }
  .studio-morph.is-running .studio-morph-player { opacity: 1; transform: none; }
}
.studio-small-demo .radio-version-tip { left: auto; right: 0; }
.studio-morph.is-shape-morph .studio-morph-onion { width: 280px; left: calc(50% - 140px); top: 60px; animation: none; }
.studio-morph.is-shape-morph .studio-morph-onion svg { display: block; width: 280px; height: 181px; }
.studio-morph.is-shape-morph .studio-morph-player { position: absolute; top: 107px; width: 250px; min-height: 70px; padding: 14px; background: transparent; box-shadow: none; animation: none; transform: none; color: #3e2b13; }
@media(prefers-reduced-motion:reduce) { .studio-morph.is-shape-morph.is-running .studio-morph-onion { display: block; } }
