.backend-studio .generation-screen{border:1px solid var(--line);border-radius:24px;background:var(--surface);padding:40px 24px;display:flex;align-items:center;flex-direction:column;text-align:center;gap:16px;min-height:420px;margin-block:24px;overflow-wrap:anywhere}
.backend-studio .generation-screen>p{max-width:460px}.backend-studio .generation-screen h2{font-size:24px;max-width:100%}.backend-studio .generation-screen .actions{justify-content:center;flex-wrap:wrap}
.gp-orb{width:112px;height:112px;border:1px solid var(--line);background:var(--tint);border-radius:50%;display:grid;place-items:center;position:relative;margin:10px}
.gp-orb::before{content:'';position:absolute;inset:-10px;border:1px solid var(--accent);border-inline-color:transparent;border-radius:50%;opacity:.6}
.gp-animated .gp-orb::before{animation:gp-orbit 7s linear infinite}.gp-waves{display:flex;gap:5px;align-items:center;justify-content:center;height:36px;flex:none}.gp-waves i{height:25px;width:4px;border-radius:5px;background:var(--accent)}
.gp-waves i:nth-child(2){height:34px;animation-delay:-.5s}.gp-waves i:nth-child(3){height:19px;animation-delay:-.9s}.gp-waves i:nth-child(4){height:30px;animation-delay:-.3s}.gp-waves i:nth-child(5){height:22px;animation-delay:-.7s}.gp-animated .gp-waves:not(.gp-still) i{animation-name:gp-wave;animation-duration:1.25s;animation-timing-function:ease-in-out;animation-iteration-count:infinite;animation-direction:alternate}
.gp-stage{border:1px solid var(--line);padding:8px 15px;border-radius:22px;font-size:12px}.gp-steps{display:flex;justify-content:center;gap:13px;flex-wrap:wrap;color:var(--muted);font-size:12px}.gp-steps span::before{content:'\2022';color:var(--accent);margin-inline-end:7px}
.generation-dock{position:fixed;inset-inline-start:calc(var(--nav) + 28px);inset-inline-end:28px;bottom:22px;z-index:24;pointer-events:none;display:flex;justify-content:center}
.generation-card{pointer-events:auto;max-width:600px;width:100%;min-width:0;min-height:80px;padding:15px 20px;border:1px solid var(--accent);border-radius:17px;background:var(--surface);color:var(--ink);display:flex;align-items:center;gap:17px;text-align:start;box-shadow:var(--shadow)}
.generation-card .gp-waves{width:32px;gap:3px}.generation-card .gp-waves i{width:3px;max-height:23px}.gp-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:4px;overflow-wrap:anywhere}.gp-copy strong{font-size:14px}.gp-copy small{font-size:12px;color:var(--muted)}.gp-mark{font-size:24px;width:32px;text-align:center;color:var(--accent)}.gp-arrow{font-size:24px}[dir=rtl] .gp-arrow{transform:scaleX(-1)}
.backend-studio.has-generation-dock .content{padding-bottom:calc(210px + env(safe-area-inset-bottom))}
@keyframes gp-wave{to{transform:scaleY(.35)}}@keyframes gp-orbit{to{transform:rotate(360deg)}}
.design-shell .content:has(>.generation-screen)>:not(.generation-screen){display:none!important}
.design-shell .generation-screen.gp-song-screen{padding:0;border:0;background:none;text-align:start;display:block;min-height:0}.gp-song-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.gp-song-heading h1{margin:0}.gp-song-heading .btn{min-height:40px;font-size:13px}.gp-song-card{display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:center;min-height:410px;border:1px solid var(--line);border-radius:28px;background:radial-gradient(ellipse at 15% 50%,#7c84ff20,transparent 65%),var(--surface);padding:38px;overflow:hidden}.gp-record-stage{position:relative;display:grid;place-items:center;padding:30px}.gp-record-stage::before,.gp-record-stage::after{content:'';position:absolute;border:1px solid #919cf321;border-radius:50%;width:90%;aspect-ratio:1}.gp-record-stage::after{width:110%}.gp-vinyl{width:min(100%,290px);height:auto;position:relative;z-index:1;animation:gp-orbit 18s linear infinite}.gp-song-copy{min-width:0;padding:16px}.gp-song-copy h2{font-size:clamp(26px,3vw,42px)!important;line-height:1.18;white-space:pre-line;min-height:110px}.gp-song-copy .gp-waves{justify-content:flex-start}.gp-song-copy p{font-size:14px;line-height:1.6}
@media(max-width:800px){.gp-song-card{grid-template-columns:1fr;gap:0;padding:22px;min-height:0}.gp-record-stage{padding:16px}.gp-vinyl{width:190px}.gp-song-copy{text-align:center;padding:12px 0}.gp-song-copy h2{min-height:66px;font-size:26px!important}.gp-song-copy .gp-waves{justify-content:center}.gp-song-heading{align-items:flex-start}.gp-song-heading h1{font-size:26px}.gp-song-heading .btn{font-size:11px;white-space:nowrap;padding:9px}}
@media(prefers-reduced-motion:reduce){.gp-vinyl{animation:none!important}}
@media(max-width:900px){.generation-dock{inset-inline:12px;bottom:calc(88px + env(safe-area-inset-bottom))}.generation-card{padding:13px 14px;gap:12px;min-height:76px}.backend-studio .generation-screen{padding:30px 18px;min-height:380px}.backend-studio .generation-screen h2{font-size:20px}.gp-orb{width:94px;height:94px}.gp-steps{font-size:11px;gap:8px}}
@media(prefers-reduced-motion:reduce){.gp-animated .gp-waves i,.gp-animated .gp-orb::before{animation:none!important}}
