/* Стили ограничены блоком студии; состояния показывают путь от идеи до запуска. */
.build-together {
  --build-orange: #ff8d46;
  --build-purple: #b893ee;
  --build-progress: 0;
  width: 80%; max-width: 1520px; position: relative; isolation: isolate;
  margin: 80px auto; 
}












.build-stage { display: grid; grid-template-columns: minmax(0,.83fr) minmax(0,1.45fr); align-items: center; min-height: 470px; padding: 8px 32px 16px; }
.build-story { padding: 34px 0 26px 10px; position: relative; z-index: 2; }
.build-counter { display: flex; gap: 14px; align-items: center; font-size: 11px; letter-spacing: 1px; color: #7e6b8b; margin-bottom: 28px; }
.build-counter > span:first-child { color: var(--build-orange); font-size: 16px; }
.build-counter > i { width: 38px; height: 1px; background: #a277c249; }
.build-stories { display: grid; }
.build-story-panel { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .5s,transform .6s,visibility .5s; }
.build-stage-kicker { font-size: 10px; color: #9b7fb0; letter-spacing: 1.1px; margin-bottom: 14px; }
.build-story-panel h3 { color: #f3e9fa; font-size: clamp(28px,2.8vw,46px); line-height: 1.16; font-weight: 500; letter-spacing: -1.1px; }
.build-story-panel h3 em { font-style: normal; color: #ffac73; }
.build-story-panel > p:not(.build-stage-kicker) { color: #ab9ab6; font-size: 13px; line-height: 1.8; margin-top: 20px; }
.build-story-note { display: flex; align-items: center; gap: 8px; color: #8f779e; font-size: 10px; margin-top: 28px; }
.build-story-note > i { height: 4px; width: 4px; border-radius: 50%; background: #a67ec4; }
.build-time { width: 120px; height: 2px; margin-top: 24px; background: #ab79ce1a; overflow: hidden; }
.build-time > span { display: block; height: 100%; background: linear-gradient(90deg,#8e60b5,#ff9c54); transform: scaleX(var(--build-progress)); transform-origin: left; }
.build-together[data-phase="0"] [data-build-panel="0"],.build-together[data-phase="1"] [data-build-panel="1"],.build-together[data-phase="2"] [data-build-panel="2"],.build-together[data-phase="3"] [data-build-panel="3"],.build-together[data-phase="4"] [data-build-panel="4"] { opacity: 1; visibility: visible; transform: translateY(0); }
/* Слои макета остаются в одной перспективе и собираются в общую плоскость. */
.build-workbench { height: 440px; position: relative; min-width: 0; perspective: 1000px; }
.build-halo { position: absolute; inset: 4% -4%; border-radius: 50%; background: radial-gradient(ellipse,#9f52da42,transparent 65%); animation: build-halo 6s ease-in-out infinite; pointer-events: none; }
.build-floor { position: absolute; width: 68%; height: 100px; left: 18%; bottom: 50px; border-radius: 50%; background: #120b1b77; filter: blur(18px); transform: rotate(-12deg); }
.build-orbit { position: absolute; left: 50%; top: 45%; width: 440px; height: 440px; margin: -220px 0 0 -220px; border: 1px solid #b17ce123; border-radius: 50%; transform: rotateX(64deg) rotateZ(-24deg); pointer-events: none; }
.build-orbit > span { position: absolute; inset: -1px; border-radius: 50%; animation: build-orbit 14s linear infinite; }
.build-orbit > span::before { content: ''; position: absolute; top: 50%; left: -3px; width: 5px; height: 5px; border-radius: 50%; background: #dbabff; box-shadow: 0 0 14px #c38aef; }
.build-orbit-two { width: 550px; height: 550px; margin: -275px 0 0 -275px; transform: rotateX(64deg) rotateZ(30deg); border-style: dashed; border-color: #c095e313; }
.build-orbit-two > span { animation-direction: reverse; animation-duration: 23s; }
.build-orbit-two > span::before { width: 3px; height: 3px; background: var(--build-orange); box-shadow: 0 0 12px #ff9c54; }
.build-seed { position: absolute; z-index: 4; left: 50%; top: 43%; width: 140px; height: 140px; margin: -70px; transition: transform 1s cubic-bezier(.2,.8,.2,1),opacity .8s; transform: translate(var(--build-pointer-x,0px),var(--build-pointer-y,0px)); }
.build-seed-core { width: 100%; height: 100%; border-radius: 38%; display: grid; place-items: center; background: radial-gradient(circle at 30% 15%,#ffddae,#f89955 24%,#9b4b9c 68%,#4b245c); border: 1px solid #ffd6a24a; box-shadow: inset 0 3px 9px #ffe5c366,inset 0 -10px 20px #38164b99,0 14px 0 #2a1639,0 15px 0 #bd83a43b,0 22px 50px #0006,0 0 75px #ff9e3b22; animation: build-seed-breathe 3s ease-in-out infinite; }
.build-seed-core svg { width: 62px; height: 62px; stroke: #fff0dc; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px #fff5e880); }
.build-seed-ring { position: absolute; inset: -25px; border: 1px solid #d6b0ef38; border-radius: 50%; animation: build-seed-ring 3s ease-out infinite; }
.build-seed-spark { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #ffd09b; box-shadow: 0 0 10px #ffbb78; animation: build-spark 2.4s ease-in-out infinite; }
.build-seed-spark-one { left: -32px; top: 18px; }.build-seed-spark-two { right: -26px; top: -15px; animation-delay: -.8s; }.build-seed-spark-three { right: 12px; bottom: -32px; animation-delay: -1.6s; width: 3px; height: 3px; }
.build-assembly { width: 360px; height: 250px; position: absolute; z-index: 3; left: 50%; top: 44%; margin: -125px 0 0 -180px; transform-style: preserve-3d; transform: translate(var(--build-pointer-x,0px),var(--build-pointer-y,0px)) rotateX(12deg) rotateY(-18deg) rotateZ(-5deg); transition: opacity .8s,transform 1s; opacity: 0; }
.build-sheet,.build-window { position: absolute; inset: 0; border-radius: 15px; border: 1px solid #c59aef63; background: #382347b3; box-shadow: 0 20px 45px #0b061c55; transition: transform 1.1s cubic-bezier(.22,.7,.2,1),opacity .8s,background .8s,border-color .8s; }
.build-sheet { display: grid; gap: 12px; padding: 30px; background-image: linear-gradient(#a479c41a 1px,transparent 1px),linear-gradient(90deg,#a479c41a 1px,transparent 1px); background-size: 20px 20px; }
.build-sheet > span { border: 1px dashed #be99e449; border-radius: 8px; }
.build-sheet > span:first-child { width: 60%; }
.build-sheet-back { transform: translate3d(-25px,62px,-90px); border-color: #ad7ade38; }
.build-sheet-middle { transform: translate3d(-10px,30px,-40px); }
.build-window { background: linear-gradient(145deg,#35213f,#21172e 62%,#2c1c39); transform: translateZ(10px); overflow: hidden; }
.build-window-bar { height: 30px; border-bottom: 1px solid #b786d92b; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; background: #c79ce607; }
.build-window-bar > span:first-child { display: flex; gap: 4px; }.build-window-bar i { width: 4px; height: 4px; border-radius: 50%; background: #ae82c2; }
.build-window-bar i:first-child { background: #ffa773; }.build-window-bar i:nth-child(2) { background: #a875c2; }
.build-window-bar > b { width: 90px; height: 8px; border: 1px solid #a276b62e; border-radius: 3px; }
.build-window-dot { width: 5px; height: 5px; border-radius: 50%; background: #a187b5; transition: background .6s,box-shadow .6s; }
.build-window-body { display: grid; grid-template-columns: 43px 1fr; height: calc(100% - 30px); }
.build-window-sidebar { border-right: 1px solid #b786d922; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 12px 0; }
.build-app-symbol { color: #ffa871; font-size: 22px; line-height: 1; margin-bottom: 4px; }.build-window-sidebar > i { width: 11px; height: 5px; border-radius: 2px; background: #a47ac533; }.build-window-sidebar > i:first-of-type { background: #ffa77399; }
.build-window-content { padding: 16px 18px; }
.build-window-topline { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.build-window-topline > span { width: 80px; height: 5px; background: #b88ed048; border-radius: 2px; }.build-window-topline > i { width: 12px; height: 12px; border-radius: 50%; background: #b28ad26b; }
.build-window-hero { display: flex; align-items: center; justify-content: space-between; background: linear-gradient(110deg,#75417d55,#5f345b55); border: 1px solid #d797bd2b; padding: 12px; border-radius: 8px; transition: background .8s,border-color .8s; }
.build-window-hero small { color: #c49ac7; font-size: 5px; letter-spacing: 1px; display: block; margin-bottom: 5px; }
.build-window-hero strong { display: block; color: #f0ddef; font-size: 15px; line-height: 1.2; font-weight: 500; }
.build-app-action { display: flex; align-items: center; gap: 18px; width: fit-content; margin-top: 8px; padding: 5px 8px; border-radius: 4px; background: #ffac73; color: #3b2043; font-size: 7px; }
.build-app-action b { font-size: 10px; line-height: .6; }
.build-app-cube { position: relative; width: 48px; height: 48px; margin-right: 6px; animation: build-cube 4s ease-in-out infinite; }
.build-app-cube > i { position: absolute; width: 29px; height: 29px; border-radius: 3px; background: #b68adb; border: 1px solid #e5b7ff4d; }
.build-app-cube > i:first-child { transform: translate(9px,-1px) rotate(30deg) skew(-30deg); background: #e1acdb; }.build-app-cube > i:nth-child(2) { transform: translate(-4px,20px) skewY(30deg); background: #9861ad; }.build-app-cube > i:last-child { transform: translate(23px,20px) skewY(-30deg); background: #c37aa8; }
.build-window-tiles { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-top: 10px; }
.build-window-tiles > span { padding: 7px; border-radius: 5px; background: #a57ac212; border: 1px solid #b58ed62c; display: grid; gap: 4px; }.build-window-tiles i { width: 10px; height: 9px; background: #b28aca77; border-radius: 2px; }.build-window-tiles b { width: 76%; height: 4px; background: #b593c74d; border-radius: 2px; }.build-window-tiles em { width: 50%; height: 3px; background: #b593c729; border-radius: 2px; }
.build-window-chart { display: flex; align-items: end; justify-content: space-between; gap: 8px; height: 20px; margin-top: 10px; }.build-window-chart > i { width: 100%; height: 35%; background: #a573bd55; border-radius: 2px 2px 0 0; }.build-window-chart > i:nth-child(3n) { height: 80%; }.build-window-chart > i:nth-child(3n + 1) { height: 50%; }.build-window-chart > i:nth-child(even) { height: 100%; background: #ec99616b; }
.build-scan { position: absolute; inset: 30px 0 0; opacity: 0; overflow: hidden; pointer-events: none; background: linear-gradient(90deg,transparent 49%,#c7b0e308 50%); background-size: 15px 15px; transition: opacity .4s; }.build-scan::after { content: ''; position: absolute; left: 0; right: 0; top: -30%; height: 30%; border-bottom: 1px solid #faca95; background: linear-gradient(transparent,#ffb77720); box-shadow: 0 8px 20px #ffb77718; animation: build-scan 2.3s linear infinite; }
.build-window-shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg,transparent 30%,#ffe2cb0c 45%,transparent 60%); transform: translateX(-100%); }
.build-satellite { position: absolute; z-index: 5; border: 1px solid #c29ae14d; background: linear-gradient(145deg,#51325c,#281a38); box-shadow: inset 0 1px #eccaff15,0 15px 30px #09051166; transition: transform 1s,opacity .7s,border-color .7s; }
.build-palette { left: 4%; top: 68%; width: 108px; padding: 10px; border-radius: 12px; display: flex; gap: 4px; transform: translateY(20px) rotate(-12deg); opacity: 0; }
.build-palette > span { height: 30px; flex: 1; border-radius: 4px; background: #ffac73; }.build-palette > span:nth-child(2) { background: #b08bdf; }.build-palette > span:nth-child(3) { background: #735091; }.build-palette > span:nth-child(4) { background: #efe0f9; }.build-palette > i { position: absolute; width: 12px; height: 12px; border: 1px solid #ffdcb5; border-radius: 50%; left: 14px; bottom: 17px; }
.build-code { right: 0; top: 13%; width: 116px; padding: 10px; border-radius: 12px; transform: translate(20px,-15px) rotate(9deg); opacity: 0; }
.build-code > span { display: flex; gap: 3px; }.build-code > span > i { height: 3px; width: 3px; background: #bd94d6; border-radius: 50%; }.build-code > div { display: grid; gap: 5px; margin-top: 13px; }.build-code b { display: block; width: 75%; height: 3px; border-radius: 2px; background: #c99cdc55; }.build-code b:nth-child(2) { width: 46%; margin-left: 8px; background: #ffb77d88; }.build-code b:nth-child(3) { width: 56%; margin-left: 8px; }.build-code b:last-child { width: 25%; }.build-code > svg { width: 30px; height: 30px; position: absolute; right: 8px; bottom: 4px; stroke: #f7d3b2; stroke-width: 1.3; }
.build-shield { right: 2%; bottom: 18%; width: 72px; height: 82px; display: grid; place-items: center; border-radius: 20px; opacity: 0; transform: translate(12px,15px) rotate(10deg); }.build-shield svg { width: 40px; height: 44px; stroke: #f5d3ac; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }.build-shield-check { stroke-dasharray: 40; stroke-dashoffset: 40; transition: stroke-dashoffset 1s .3s; }
.build-launched { position: absolute; left: 50%; bottom: 11%; z-index: 6; display: flex; align-items: center; gap: 12px; width: 250px; margin-left: -105px; padding: 14px 16px; border-radius: 14px; border: 1px solid #eab88b60; background: linear-gradient(125deg,#60404b,#33233d); box-shadow: 0 14px 40px #11091f88,inset 0 1px #ffdcbf22; transform: translateY(18px) rotate(-3deg); opacity: 0; transition: transform .8s,opacity .6s; }.build-launched > span { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: #ffad70; color: #43213f; font-size: 22px; }.build-launched strong { display: block; color: #f7e6ed; font-size: 12px; font-weight: 500; }.build-launched small { display: block; color: #c7aaba; font-size: 8px; margin-top: 4px; }.build-launched > i { margin-left: auto; font-size: 12px; color: #ffbd85; font-style: normal; }
.build-bench-caption { display: flex; justify-content: center; align-items: center; gap: 9px; position: absolute; inset-inline: 0; bottom: 14px; color: #8d739f; font-size: 9px; letter-spacing: .5px; }.build-bench-caption > span { width: 20px; height: 1px; background: #ad80ca66; }.build-bench-caption > b { font-weight: 400; }
/* Каждая фаза меняет композицию, а не только подсветку иконки. */
.build-together:not([data-phase="0"]) .build-seed { opacity: 0; transform: translate(-160px,-90px) scale(.2); }
.build-together:not([data-phase="0"]) .build-assembly { opacity: 1; animation: build-assembly-drift 5s ease-in-out infinite; }
.build-together[data-phase="0"] .build-assembly { transform: translateY(40px) rotateX(28deg) rotateY(-18deg) rotateZ(-8deg) scale(.8); }
.build-together[data-phase="1"] .build-window { transform: translate3d(18px,-28px,45px); background: #382347b3; border-color: #d3a7f27a; }
.build-together[data-phase="1"] .build-sheet-middle { transform: translate3d(-12px,25px,-25px); }
.build-together[data-phase="1"] .build-sheet-back { transform: translate3d(-43px,75px,-110px); }
.build-together[data-phase="1"] .build-window-hero { background: #ac7ed016; border-style: dashed; }
.build-together[data-phase="1"] .build-window-hero > div,.build-together[data-phase="1"] .build-window-tiles > span { opacity: .25; }
.build-together[data-phase="1"] .build-palette { opacity: 1; transform: translateY(0) rotate(-12deg); }
.build-together[data-phase="2"] .build-sheet-back,.build-together[data-phase="3"] .build-sheet-back,.build-together[data-phase="4"] .build-sheet-back { transform: translate3d(-9px,16px,-25px); }
.build-together[data-phase="2"] .build-sheet-middle,.build-together[data-phase="3"] .build-sheet-middle,.build-together[data-phase="4"] .build-sheet-middle { transform: translate3d(-5px,8px,-10px); }
.build-together[data-phase="2"] .build-code { opacity: 1; transform: translate(0,0) rotate(9deg); }
.build-together[data-phase="2"] .build-window-hero { animation: build-part-in .8s both; }.build-together[data-phase="2"] .build-window-tiles > span { animation: build-part-in .7s both; }.build-together[data-phase="2"] .build-window-tiles > span:nth-child(1) { animation-delay: .35s; }.build-together[data-phase="2"] .build-window-tiles > span:nth-child(2) { animation-delay: .6s; }.build-together[data-phase="2"] .build-window-tiles > span:nth-child(3) { animation-delay: .85s; }.build-together[data-phase="2"] .build-window-chart > i { animation: build-bar-in 1s both; transform-origin: bottom; }
.build-together[data-phase="3"] .build-scan { opacity: 1; }.build-together[data-phase="3"] .build-shield { opacity: 1; transform: translate(0,0) rotate(6deg); border-color: #f7c08e77; }.build-together[data-phase="3"] .build-shield-check { stroke-dashoffset: 0; }
.build-together[data-phase="4"] .build-launched { opacity: 1; transform: translateY(0) rotate(-3deg); }.build-together[data-phase="4"] .build-window { border-color: #fbc69b88; box-shadow: 0 20px 45px #0b061c55,0 0 50px #ffac7020; }.build-together[data-phase="4"] .build-window-hero { background: linear-gradient(110deg,#ab606252,#70416755); border-color: #e9ad9155; }.build-together[data-phase="4"] .build-window-dot { background: #ffb46c; box-shadow: 0 0 8px #ffad7088; }.build-together[data-phase="4"] .build-window-shine { animation: build-shine 2s ease-in-out both; }
.build-steps { position: relative; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 8px; padding: 0 32px 26px; }
.build-step { display: flex; gap: 10px; align-items: center; position: relative; min-width: 0; padding: 16px 12px; border: 1px solid transparent; border-radius: 13px; background: #c49ae805; color: #977ca9; cursor: pointer; text-align: left; font-family: inherit; transition: color .3s,background .3s,border-color .3s,transform .3s; }
.build-step:hover { color: #e7d6f5; background: #b88eea0e; transform: translateY(-3px); }.build-step:focus-visible { outline: 2px solid #e7ba90; outline-offset: 3px; }
.build-step[aria-current="step"] { color: #ffd4ac; border-color: #e9ab7452; background: linear-gradient(120deg,#a1603e24,#9e64c411); }
.build-step-icon { width: 27px; height: 29px; flex-shrink: 0; }.build-step-icon svg { width: 100%; height: 100%; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.build-step small { display: block; color: #8e789e; font-size: 6px; letter-spacing: 1px; white-space: nowrap; margin-bottom: 6px; }.build-step strong { display: block; font-size: 13px; font-weight: 500; }.build-step[aria-current="step"] small { color: #c59a7f; }
.build-step > i { position: absolute; left: 12px; right: 12px; bottom: 0; height: 1px; background: #e6af7a; transform: scaleX(0); transform-origin: left; opacity: .6; }.build-step[aria-current="step"] > i { transform: scaleX(var(--build-progress)); }
.build-studio-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 32px; padding: 18px 0 22px; border-top: 1px solid #b58ad222; font-size: 9px; color: #8a7299; }.build-studio-footer > span:last-child { display: flex; align-items: center; gap: 8px; color: #9b83ab; }.build-studio-footer i { width: 4px; height: 4px; border-radius: 50%; background: #b28aca; }

@keyframes build-pulse { 50% { opacity: .35; } }
@keyframes build-halo { 50% { transform: scale(1.12); opacity: .5; } }
@keyframes build-orbit { to { transform: rotate(360deg); } }
@keyframes build-seed-breathe { 50% { transform: translateY(-10px) rotate(4deg); box-shadow: inset 0 3px 9px #ffe5c366,inset 0 -10px 20px #38164b99,0 14px 0 #2a1639,0 15px 0 #bd83a43b,0 30px 60px #0005,0 0 90px #ff9e3b44; } }
@keyframes build-seed-ring { 0% { transform: scale(.7); opacity: 0; } 30% { opacity: .6; } 100% { transform: scale(1.25); opacity: 0; } }
@keyframes build-spark { 50% { transform: translateY(-10px); opacity: .2; } }
@keyframes build-cube { 50% { transform: translateY(-5px); } }
@keyframes build-scan { to { top: 110%; } }
@keyframes build-part-in { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes build-bar-in { from { transform: scaleY(.1); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@keyframes build-shine { to { transform: translateX(120%); } }
@keyframes build-assembly-drift { 50% { translate: 0 -9px; } }
@media (min-width: 1600px) { .build-stage { min-height: 530px; padding-inline: 48px; }.build-workbench { height: 500px; }.build-assembly { width: 420px; height: 290px; margin: -145px 0 0 -210px; }.build-window-bar { height: 34px; }.build-window-body { height: calc(100% - 34px); }.build-window-content { padding: 20px 22px; }.build-window-hero { padding: 18px; }.build-window-hero strong { font-size: 19px; }.build-window-tiles { margin-top: 14px; }.build-window-chart { height: 26px; }.build-step small { font-size: 8px; }.build-step strong { font-size: 15px; }.build-step { padding: 18px; }.build-stage-kicker { font-size: 12px; }.build-story-panel > p:not(.build-stage-kicker) { font-size: 15px; }.build-story-note { font-size: 11px; } }
@media (max-width: 1150px) { .build-stage { padding-inline: 22px; grid-template-columns: minmax(0,.85fr) minmax(0,1.3fr); min-height: 430px; }.build-story { padding-left: 0; }.build-story-panel h3 { font-size: 30px; }.build-story-panel > p:not(.build-stage-kicker) { font-size: 12px; }.build-story-note { font-size: 9px; }.build-workbench { height: 400px; }.build-assembly { width: 300px; height: 232px; margin: -116px 0 0 -150px; }.build-window-content { padding: 12px; }.build-window-hero { padding: 10px; }.build-window-hero strong { font-size: 12px; }.build-window-hero small { font-size: 4px; }.build-app-cube { transform: scale(.8); margin-right: 0; }.build-window-chart { gap: 6px; height: 17px; }.build-palette { left: -3%; width: 90px; }.build-code { right: -2%; top: 8%; width: 96px; }.build-shield { right: -1%; }.build-orbit { width: 350px; height: 350px; margin: -175px; }.build-orbit-two { width: 440px; height: 440px; margin: -220px; }.build-step { gap: 7px; padding: 14px 8px; }.build-step-icon { width: 23px; height: 26px; }.build-step strong { font-size: 11px; }.build-step small { font-size: 5px; letter-spacing: .7px; }.build-steps { padding-inline: 22px; }.build-studio-footer { margin-inline: 22px; font-size: 8px; } }
@media (max-width: 850px) { .build-together { width: 90%; margin-block: 70px; }.build-stage { grid-template-columns: 1fr; padding-top: 28px; }.build-story { padding: 0 8px; }.build-counter { margin-bottom: 16px; }.build-story-panel h3 { font-size: 34px; }.build-story-panel h3 br { display: none; }.build-story-panel > p:not(.build-stage-kicker) { font-size: 13px; margin-top: 12px; }.build-story-panel > p:not(.build-stage-kicker) br { display: none; }.build-story-note { margin-top: 16px; }.build-time { margin-top: 18px; }.build-workbench { height: 380px; max-width: 540px; width: 100%; margin: 0 auto; }.build-assembly { width: 340px; height: 240px; margin: -120px 0 0 -170px; }.build-window-hero strong { font-size: 14px; }.build-palette { left: 3%; }.build-code { right: 2%; }.build-shield { right: 5%; }.build-steps { gap: 4px; }.build-step { display: grid; justify-items: center; text-align: center; padding: 12px 4px; gap: 8px; }.build-step small { font-size: 5px; letter-spacing: .2px; }.build-step strong { font-size: 10px; }.build-studio-footer { flex-wrap: wrap; gap: 10px; } }
@media (max-width: 420px) { .build-stage { padding-inline: 14px; }.build-workbench { height: 330px; }.build-assembly { width: 285px; height: 218px; margin: -109px 0 0 -142px; }.build-window-body { grid-template-columns: 34px 1fr; }.build-window-sidebar { gap: 12px; }.build-window-content { padding: 10px; }.build-window-hero { padding: 8px; }.build-window-hero strong { font-size: 11px; }.build-window-hero small { font-size: 3px; }.build-window-tiles { gap: 5px; }.build-window-tiles > span { padding: 5px; }.build-window-chart { height: 14px; }.build-palette { width: 78px; padding: 8px; left: -1%; top: 69%; }.build-palette > span { height: 24px; }.build-code { width: 86px; top: 6%; right: -2%; }.build-shield { width: 56px; height: 66px; right: -1%; }.build-shield svg { width: 33px; }.build-orbit { width: 290px; height: 290px; margin: -145px; }.build-orbit-two { width: 370px; height: 370px; margin: -185px; }.build-launched { width: 224px; margin-left: -112px; bottom: 11%; padding: 12px; }.build-bench-caption { font-size: 8px; bottom: 5px; }.build-steps { padding-inline: 12px; gap: 2px; }.build-step small { font-size: 4px; letter-spacing: 0; }.build-step strong { font-size: 8px; }.build-step-icon { width: 22px; height: 24px; }.build-studio-footer { margin-inline: 18px; }.build-together:not([data-phase="0"]) .build-seed { transform: translate(-95px,-60px) scale(.2); } }
.build-together[data-playing="false"] *, .build-together[data-playing="false"] *::before,.build-together[data-playing="false"] *::after { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .build-together *,.build-together *::before,.build-together *::after { animation: none !important; transition: none !important; }.build-orbit > span,.build-seed-ring,.build-seed-spark,.build-window-shine,.build-scan { display: none; }.build-assembly,.build-seed { --build-pointer-x: 0px; --build-pointer-y: 0px; } }

/* Архитектура: классы и зависимости образуют отдельную анимированную сцену. */
.build-uml { position:absolute;inset:0;z-index:4;opacity:0;visibility:hidden;transform:translateY(18px) scale(.92);transition:opacity .6s,transform .8s,visibility .6s;pointer-events:none; }
.build-uml svg { width:100%;height:100%;overflow:visible; }
.build-together[data-phase="1"] .build-uml { opacity:1;visibility:visible;transform:translate(var(--build-pointer-x,0px),var(--build-pointer-y,0px)); }
.build-together[data-phase="1"] .build-assembly,.build-together[data-phase="1"] .build-palette { opacity:0;visibility:hidden; }
.build-uml-node { filter:drop-shadow(0 12px 13px #0c071d80); }
.build-uml-face { stroke:#d7aff078;stroke-width:1; }
.build-uml-depth { fill:#301b40;stroke:#c38ad44a; }
.build-uml-node text { font-family:Arial,sans-serif;fill:#eeddf5; }
.build-uml-node .build-uml-kind { font-size:10px;fill:#caa2d8;letter-spacing:1px; }
.build-uml-node .build-uml-title { font-size:16px;font-weight:500; }
.build-uml-node .build-uml-method { font-family:monospace;font-size:11px;fill:#bf9bcf; }
.build-uml-divider { stroke:#d2a4e538; }
.build-uml-port { fill:#ffca91;filter:drop-shadow(0 0 5px #ffa967); }
.build-uml-link { fill:none;stroke:#ac79cf80;stroke-width:1.4;stroke-dasharray:5 5; }
.build-uml-flow { fill:none;stroke:#ffbf83;stroke-width:2;stroke-dasharray:8 150;animation:build-uml-flow 2.6s linear infinite;filter:drop-shadow(0 0 4px #ff9f61); }
.build-uml-enter { opacity:0;transform:translateY(12px); }
.build-together[data-phase="1"] .build-uml-enter { animation:build-uml-enter .7s both;animation-delay:var(--uml-delay,0s); }
.build-uml-core .build-uml-face { stroke:#ffd5ab99; }
.build-uml-core .build-uml-kind { fill:#ffdab9; }
.build-uml-core .build-uml-method { fill:#f0c0d1; }
.build-uml-label { font:9px Arial,sans-serif;fill:#bc92cf;letter-spacing:.5px; }
.build-together:not([data-phase="1"]) .build-uml * { animation-play-state:paused; }
.build-together[data-phase="1"] .build-uml-core { animation:build-uml-glow 3s ease-in-out infinite; }
@keyframes build-uml-glow { 50% { filter:drop-shadow(0 12px 13px #0c071d80) drop-shadow(0 0 15px #f5a76b38); } }
@keyframes build-uml-enter { to {opacity:1;transform:translateY(0)} }
@keyframes build-uml-flow { to {stroke-dashoffset:-158} }
@media(prefers-reduced-motion:reduce) { .build-uml-enter {opacity:1;transform:none}.build-uml-flow {display:none} }

/* Редактор открывается только на этапе разработки; плашка с кодом остаётся рядом. */
.build-editor { position:absolute;z-index:4;left:50%;top:44%;width:420px;max-width:calc(100% - 8px);border:1px solid #d0a5e867;border-radius:18px;overflow:hidden;background:linear-gradient(135deg,#35233f,#201729 75%);box-shadow:inset 0 1px #f5d7ff22,0 22px 50px #0c061e80,0 0 60px #a05cc317;opacity:0;visibility:hidden;transform:translate(-50%,-42%) rotateX(12deg) rotateY(-14deg) rotateZ(-4deg) scale(.8);transform-origin:center;transition:opacity .65s,visibility .65s,transform 1s cubic-bezier(.2,.8,.2,1); }
.build-together[data-phase="2"] .build-editor { opacity:1;visibility:visible;transform:translate(calc(-50% + var(--build-pointer-x,0px)),calc(-50% + var(--build-pointer-y,0px))) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1); }
.build-together[data-phase="2"] .build-assembly {opacity:0;visibility:hidden;}
.build-editor-bar {display:flex;align-items:center;justify-content:space-between;height:40px;padding:0 16px;border-bottom:1px solid #bf8ce32b;background:#c49ce608;}
.build-editor-bar > span {display:flex;gap:5px}.build-editor-bar i {width:5px;height:5px;border-radius:50%;background:#a77fbe}.build-editor-bar i:first-child{background:#ffa972}.build-editor-bar i:last-child{background:#cfb0df}
.build-editor-bar b {font:10px monospace;color:#d5b9e5;font-weight:400}.build-editor-bar em{font:9px monospace;color:#ffc490;font-style:normal;padding:3px 6px;border:1px solid #eeb17e40;border-radius:4px;}
.build-editor-code {padding:18px 14px 18px 0;}
.build-editor-row {display:grid;grid-template-columns:34px minmax(0,1fr);gap:8px;line-height:19px;}
.build-line-number {font:9px/19px monospace;text-align:right;color:#7e648f;border-right:1px solid #b58bd01a;padding-right:8px;user-select:none;}
.build-cs-line {display:block;width:max-content;max-width:100%;white-space:pre;font:10px/19px monospace;color:#dac7e5;clip-path:inset(0);}
.build-cs-keyword{color:#d7a1f3}.build-cs-type{color:#ffbd87}.build-cs-method{color:#f0cba3}.build-cs-comment{color:#947ea4}
.build-together[data-phase="2"] .build-cs-line {animation:build-cs-typing var(--cs-time) steps(var(--cs-chars),end) var(--cs-delay) both;}
.build-editor-footer {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border-top:1px solid #bc8fe128;color:#9f82b0;font:8px monospace;}
.build-editor-footer > span:first-child {display:flex;align-items:center;gap:6px}.build-editor-footer i{height:4px;width:4px;border-radius:50%;background:#ffb77f;box-shadow:0 0 8px #ffb77f66}
.build-together[data-phase="2"] .build-code {z-index:6;top:5%;right:-2%;}
@keyframes build-cs-typing {from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
@media(min-width:1600px){.build-editor{width:480px}.build-cs-line{font-size:11px;line-height:21px}.build-line-number{line-height:21px}.build-editor-row{line-height:21px}}
@media(max-width:1150px){.build-editor{width:360px}.build-cs-line{font-size:8.6px;line-height:18px}.build-line-number{font-size:8px;line-height:18px}.build-editor-row{grid-template-columns:27px minmax(0,1fr);gap:6px}.build-editor-code{padding-right:10px}}
@media(max-width:420px){.build-editor{top:47%;border-radius:13px}.build-editor-bar{height:32px;padding-inline:11px}.build-editor-bar b{font-size:8px}.build-cs-line{font-size:7.7px;line-height:17px}.build-line-number{font-size:7px;line-height:17px}.build-editor-row{grid-template-columns:22px minmax(0,1fr);gap:5px}.build-editor-code{padding-block:13px}.build-editor-footer{font-size:7px;padding:8px 10px}.build-together[data-phase="2"] .build-code{top:0;right:-2%;transform:scale(.85) rotate(9deg);transform-origin:top right}}

/* Результаты демонстрационных Unit-тестов появляются синхронно с тремя индикаторами. */
.build-testing {position:absolute;z-index:4;left:2%;right:0;top:44%;display:grid;grid-template-columns:minmax(0,1fr) 96px;gap:14px;align-items:stretch;opacity:0;visibility:hidden;transform:translateY(-44%) scale(.9);transition:opacity .6s,visibility .6s,transform .9s cubic-bezier(.2,.8,.2,1);}
.build-together[data-phase="3"] .build-testing {opacity:1;visibility:visible;transform:translateY(-50%) scale(1);}
.build-together[data-phase="3"] .build-assembly,.build-together[data-phase="3"] .build-shield {opacity:0;visibility:hidden;}
.build-test-window {min-width:0;border:1px solid #c59ee26b;border-radius:16px;overflow:hidden;background:linear-gradient(135deg,#35233f,#21172d);box-shadow:inset 0 1px #f6ddff18,0 20px 45px #0a061c77;}
.build-test-bar {display:flex;align-items:center;gap:16px;padding:12px 14px;border-bottom:1px solid #c08ee32b;background:#c49ce608;}
.build-test-bar > span {display:flex;gap:4px}.build-test-bar i {width:4px;height:4px;border-radius:50%;background:#ab80c4}.build-test-bar i:first-child{background:#ffb179}.build-test-bar b{font:8px monospace;color:#c9abd9;font-weight:400;}
.build-test-heading {display:flex;justify-content:space-between;align-items:center;gap:8px;padding:20px 16px 12px;}.build-test-heading strong{font-size:17px;color:#f3e6fa;font-weight:500}.build-test-heading small{font:8px monospace;color:#9b7ead;}
.build-test-list {padding:0 10px 12px;display:grid;gap:7px;}
.build-test-row {display:flex;gap:9px;align-items:center;padding:13px 8px;border:1px solid #83dca530;border-radius:8px;background:#7fd4a209;min-width:0;}
.build-test-status {height:20px;width:20px;border-radius:50%;flex-shrink:0;background:#8be2b11a;border:1px solid #90e9b64d;display:grid;place-items:center;color:#9ee8b9;}
.build-test-status svg{width:13px;height:13px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.build-test-row > div{min-width:0}.build-test-row code{display:block;color:#e2d1eb;font:9px monospace;white-space:nowrap;}.build-test-row small{display:block;color:#a18bad;font-size:8px;margin-top:5px;}.build-test-row em{margin-left:auto;font:7px monospace;color:#9de5b8;font-style:normal;}
.build-test-summary {display:flex;justify-content:space-between;gap:8px;padding:12px;border-top:1px solid #b88eda28;font-size:8px;color:#9eccb1;}.build-test-summary >span{display:flex;align-items:center;gap:5px}.build-test-summary i{height:4px;width:4px;border-radius:50%;background:#99e9b5}.build-test-summary b{font-weight:400;color:#b0edc7;}
.build-test-results {display:grid;grid-template-rows:repeat(3,1fr);gap:10px;padding:2px 0;}
.build-test-result {position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;border:1px solid #8de4af66;border-radius:16px;background:linear-gradient(140deg,#4c3b55,#244137);box-shadow:inset 0 1px #deffeb1a,0 9px 0 #182d2588,0 16px 28px #0a071c55;color:#b2f0c9;}
.build-test-result >span {display:grid;place-items:center;width:29px;height:29px;border-radius:50%;border:1px solid #a1edbb55;background:#8fe1ab1a;box-shadow:0 0 17px #8fe1ab17;}.build-test-result svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}.build-test-result small{position:absolute;right:9px;top:8px;font:7px monospace;color:#a9c4b690;}.build-test-result strong{font-size:9px;font-weight:400;}
.build-together[data-phase="3"] .build-test-row {animation:build-test-pass .5s var(--test-delay) both;}
.build-together[data-phase="3"] .build-test-status svg,.build-together[data-phase="3"] .build-test-row em {animation:build-test-check .4s var(--test-delay) both;}
.build-together[data-phase="3"] .build-test-result {animation:build-test-light .6s var(--test-delay) both;}
.build-together[data-phase="3"] .build-test-result svg {animation:build-test-check .5s var(--test-delay) both;}
.build-together[data-phase="3"] .build-test-summary {animation:build-test-check .5s 5.6s both;}
@keyframes build-test-pass {from{opacity:.4;border-color:#b28bcb22;background:#a57ac208}to{opacity:1}}
@keyframes build-test-check {from{opacity:0;transform:scale(.7)}to{opacity:1;transform:scale(1)}}
@keyframes build-test-light {from{color:#ad8bbd;border-color:#b88ade3b;background:#35233f;box-shadow:inset 0 1px #f1d2ff12,0 9px 0 #21162d88,0 16px 28px #0a071c55}to{color:#b2f0c9}}
@media(min-width:1600px){.build-testing{left:5%;right:3%;grid-template-columns:minmax(0,1fr) 112px;gap:20px}.build-test-row{padding:16px 12px}.build-test-row code{font-size:11px}.build-test-row small{font-size:9px}.build-test-result strong{font-size:11px}}
@media(max-width:1150px){.build-testing{left:0;grid-template-columns:minmax(0,1fr) 76px;gap:10px}.build-test-row{gap:6px;padding:12px 6px}.build-test-row code{font-size:7.7px}.build-test-row small{font-size:7px}.build-test-row em{font-size:6px}.build-test-bar{padding-inline:10px;gap:9px}.build-test-bar b{font-size:7px}.build-test-heading{padding-inline:12px}.build-test-summary{font-size:7px}.build-test-result strong{font-size:8px}}
@media(max-width:420px){.build-testing{left:0;right:0;top:46%;grid-template-columns:minmax(0,1fr) 60px;gap:8px}.build-test-list{padding-inline:6px}.build-test-status{width:15px;height:15px}.build-test-status svg{width:11px}.build-test-row{gap:5px;padding:12px 5px}.build-test-row code{font-size:6.5px;letter-spacing:-.2px}.build-test-row small{font-size:6px}.build-test-row em{display:none}.build-test-heading strong{font-size:14px}.build-test-heading small{font-size:6px}.build-test-bar b{font-size:6px}.build-test-bar{gap:7px;padding-inline:8px}.build-test-summary{font-size:6px;gap:4px;padding-inline:7px}.build-test-result{border-radius:12px}.build-test-result strong{font-size:7px}.build-test-result small{font-size:6px;right:6px}.build-test-result>span{height:24px;width:24px}}

/* Узкое окно, консольный журнал и индикаторы ожидающих тестов. */
.build-testing {left:0;right:0;width:490px;max-width:100%;margin-inline:auto;grid-template-columns:minmax(0,1fr) 78px;gap:18px;top:46%;}
.build-test-heading {padding-top:14px;padding-bottom:10px;}
.build-test-row {padding-block:10px;}
.build-test-end {position:relative;margin-left:auto;flex-shrink:0;width:30px;height:16px;display:grid;place-items:center;}
.build-test-end em {margin:0;position:absolute;font-size:7px;}
.build-test-spinner {display:block;width:12px;height:12px;border:1.5px solid #c7a1e433;border-top-color:#f3b881;border-right-color:#c7a1e4;border-radius:50%;}
.build-together[data-phase="3"] .build-test-spinner {animation:build-test-spin .65s linear infinite,build-test-spinner-done .1s var(--test-delay) forwards;}
.build-test-console {margin:0 10px 10px;padding:10px 11px;border:1px solid #b38ac81c;border-radius:8px;background:#100c18a6;}
.build-console-title {font:6px monospace;letter-spacing:1px;color:#937ca3;margin-bottom:7px;display:flex;gap:7px;align-items:center;}
.build-console-title>span {color:#d8b5e7;font-size:10px;line-height:8px;}
.build-test-console>code {display:block;font:7px/14px monospace;color:#a997b6;white-space:nowrap;}
.build-test-console b {color:#9cdeb2;font-weight:400;}.build-test-console .build-console-complete {color:#a5e9bc;margin-top:3px;}
.build-together[data-phase="3"] .build-test-console>code {animation:build-test-log .3s var(--log-delay) both;}
/* Зелёные щиты появляются без прямоугольного фона, рамки и подложки. */
.build-test-results {gap:6px;align-content:center;grid-template-rows:repeat(3,minmax(0,1fr));padding:0;}
.build-test-result {border:0!important;background:none!important;box-shadow:none!important;border-radius:0;gap:3px;}
.build-test-result>span {width:66px;height:74px;border:0;background:none;box-shadow:none;border-radius:0;}
.build-test-result svg {width:100%;height:100%;stroke:none;filter:drop-shadow(0 6px 9px #0a091d66);}
.build-test-result strong {font-size:8px;color:#b7ccb9;}.build-test-result small {display:none;}
.build-together[data-phase="3"] .build-test-result {animation:build-shield-ready .6s var(--test-delay) both;}
.build-together[data-phase="3"] .build-test-result svg {animation:none;}
@keyframes build-shield-ready {from{opacity:.18;filter:grayscale(1);transform:translateY(5px) scale(.9)}to{opacity:1;filter:grayscale(0);transform:translateY(0) scale(1)}}
@keyframes build-test-spin {to{transform:rotate(360deg)}}
@keyframes build-test-spinner-done {to{opacity:0;visibility:hidden}}
@keyframes build-test-log {from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1600px){.build-testing{left:0;right:0;width:565px;grid-template-columns:minmax(0,1fr) 90px;gap:22px}.build-test-row{padding-block:12px}.build-test-result>span{width:76px;height:86px}.build-test-result strong{font-size:10px}.build-test-console>code{font-size:8px;line-height:16px}}
@media(max-width:1150px){.build-testing{width:420px;grid-template-columns:minmax(0,1fr) 65px;gap:12px}.build-test-row{padding-block:9px}.build-test-result>span{width:56px;height:64px}.build-test-console>code{font-size:6.5px;line-height:13px}.build-test-result strong{font-size:7px}}
@media(max-width:420px){.build-testing{width:100%;grid-template-columns:minmax(0,1fr) 50px;gap:8px;top:48%}.build-test-end{width:14px}.build-test-end em{display:block;font-size:5px}.build-test-spinner{width:10px;height:10px}.build-test-row{padding-block:8px}.build-test-result>span{width:44px;height:51px}.build-test-console{margin:0 6px 8px;padding:8px 7px}.build-test-console>code{font-size:5.2px;line-height:12px}.build-test-summary{font-size:5.8px}.build-test-result strong{font-size:6px}}
@media(max-width:420px){.build-together[data-phase="3"] .build-workbench{height:410px}}
@media(prefers-reduced-motion:reduce){.build-test-spinner{display:none}}

/* Редактор и окно тестов используют одинаковые размеры на каждом разрешении. */
.build-editor {width:480px;max-width:calc(100% - 80px);height:340px;display:flex;flex-direction:column;}
.build-editor-bar,.build-editor-footer {flex-shrink:0}.build-editor-footer {margin-top:auto}
.build-testing {width:560px;max-width:100%;grid-template-columns:minmax(0,1fr) 64px;gap:16px;top:44%;}
.build-test-window {height:340px;display:flex;flex-direction:column;box-sizing:border-box;}
.build-test-bar {height:32px;padding:0 12px;flex-shrink:0;}
.build-test-heading {padding:11px 14px 9px;flex-shrink:0;}.build-test-heading strong {font-size:16px}
.build-test-list {padding:0 10px 8px;gap:6px;flex-shrink:0;}
.build-test-row {padding:6px 8px;min-height:35px;}.build-test-row code{font-size:9px}.build-test-row small{font-size:8px;margin-top:3px}
.build-test-console {height:94px;min-height:94px;margin:0 10px 8px;padding:9px 11px;flex-shrink:0;}
.build-console-title {margin-bottom:6px;}
.build-console-viewport {height:62px;overflow:hidden;}
.build-console-lines {transform:translateY(0);}
.build-test-console .build-console-line {display:block;width:max-content;max-width:100%;font:7px/13px monospace;color:#a997b6;white-space:pre;margin:0;clip-path:inset(0);}
.build-test-console .build-console-complete {color:#a5d9b8;}
.build-together[data-phase="3"] .build-console-line {animation:build-console-type var(--log-time) steps(var(--log-chars),end) var(--log-delay) both;}
.build-together[data-phase="3"] .build-console-lines {animation:build-console-scroll 8s linear both;}
.build-test-summary {margin-top:auto;padding:9px 12px;font-size:8px;flex-shrink:0;}
.build-test-result>span {width:50px;height:57px;}.build-test-result strong {font-size:7px;}
@keyframes build-console-type {from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0)}}
@keyframes build-console-scroll {0%,51%{transform:translateY(0)}56%,64%{transform:translateY(-13px)}69%,75%{transform:translateY(-26px)}80%,86%{transform:translateY(-39px)}91%,100%{transform:translateY(-55px)}}
@media(min-width:1600px){.build-editor{width:520px;height:360px}.build-testing{width:600px;grid-template-columns:minmax(0,1fr) 64px;gap:16px;left:0;right:0}.build-test-window{height:360px}.build-test-row{padding-block:8px}.build-test-row code{font-size:10px}.build-test-console{height:100px;min-height:100px}.build-test-console .build-console-line{font-size:8px}.build-test-result>span{width:56px;height:64px}}
@media(max-width:1150px){.build-editor{width:480px;height:320px}.build-testing{width:560px;grid-template-columns:minmax(0,1fr) 64px;gap:16px}.build-test-window{height:320px}.build-test-row{min-height:32px;padding:5px 6px}.build-test-row code{font-size:7.7px}.build-test-row small{font-size:7px}.build-test-console{height:86px;min-height:86px;padding:8px}.build-console-viewport{height:59px}.build-test-console .build-console-line{font-size:6.5px;line-height:13px}.build-test-heading{padding-block:8px}.build-test-summary{padding:7px 10px;font-size:7px}.build-test-result>span{width:46px;height:53px}}
@media(max-width:420px){.build-editor{max-width:calc(100% - 62px);height:310px}.build-testing{width:100%;grid-template-columns:minmax(0,1fr) 50px;gap:12px;top:48%}.build-test-window{height:310px}.build-test-heading{padding-inline:9px}.build-test-heading strong{font-size:13px}.build-test-row{padding-inline:5px}.build-test-row code{font-size:6.5px}.build-test-row small{font-size:6px}.build-test-console{margin-inline:6px;padding:7px 6px}.build-test-console .build-console-line{font-size:5.2px}.build-test-summary{font-size:5.6px;padding-inline:6px}.build-test-result>span{width:38px;height:44px}.build-together[data-phase="2"] .build-workbench{height:390px}}
@media(prefers-reduced-motion:reduce){.build-console-lines{transform:translateY(-55px)}}

/* Запуск: вилка подключается первой, затем включаются сервер и монитор. */
.build-launch-scene {position:absolute;inset:0;z-index:4;opacity:0;visibility:hidden;transform:translateY(14px) scale(.95);transition:opacity .6s,visibility .6s,transform .8s;}
.build-together[data-phase="4"] .build-bench-caption {opacity:0;}
.build-launch-scene>svg {display:block;width:100%;height:100%;overflow:visible;}
.build-together[data-phase="4"] .build-launch-scene {opacity:1;visibility:visible;transform:translateY(0) scale(1)}
.build-together[data-phase="4"] .build-assembly,.build-together[data-phase="4"] .build-launched {opacity:0;visibility:hidden;}
.build-launch-plug {transform:translateX(-94px);}
.build-launch-cable {d:path("M45 338C90 344 112 279 166 296");}
.build-launch-led {opacity:1;filter:drop-shadow(0 0 4px #b1dda677)}
.build-launch-display,.build-launch-desktop,.build-launch-online {opacity:1;}
.build-launch-boot {opacity:0;}
.build-together[data-phase="4"] .build-launch-plug {animation:build-launch-plug-in 1s .65s cubic-bezier(.4,0,.2,1) both;}
.build-together[data-phase="4"] .build-launch-cable {animation:build-launch-cord 1s .65s cubic-bezier(.4,0,.2,1) both;}
.build-together[data-phase="4"] .build-launch-led {animation:build-launch-switch .3s var(--led-delay) both,build-launch-led-pulse 1.5s calc(var(--led-delay) + .5s + var(--blink-delay)) infinite;}
.build-together[data-phase="4"] .build-launch-display {animation:build-launch-switch .8s 2.4s both;}
.build-together[data-phase="4"] .build-launch-desktop {animation:build-launch-switch .65s 3.2s both;}
.build-together[data-phase="4"] .build-launch-boot {animation:build-launch-boot 1.1s 2.2s both;}
.build-together[data-phase="4"] .build-launch-online {animation:build-launch-switch .6s 3.8s both;}
.build-together[data-phase="4"] .build-launch-network {animation:build-launch-switch .5s 3s both,build-launch-network 1s linear infinite;}
.build-together[data-phase="4"] .build-launch-aura {animation:build-launch-switch 1s 2.1s both;}
@keyframes build-launch-plug-in {from{transform:translateX(0)}to{transform:translateX(-94px)}}
@keyframes build-launch-cord {from{d:path("M139 338C170 370 112 279 166 296")}to{d:path("M45 338C90 344 112 279 166 296")}}
@keyframes build-launch-switch {from{opacity:0}to{opacity:1}}
@keyframes build-launch-boot {0%{opacity:0;stroke-dasharray:2 50}35%,70%{opacity:1;stroke-dasharray:45 0}100%{opacity:0}}
@keyframes build-launch-led-pulse {0%,100%{opacity:1}50%{opacity:.4}}
@keyframes build-launch-network {to{stroke-dashoffset:-22}}
.build-together:not([data-phase="4"]) .build-launch-scene * {animation-play-state:paused;}

/* Посадка вилки закрывает штыри; корпус и провод сохраняют общую точку соединения. */
.build-launch-pin {opacity:0;}
.build-together[data-phase="4"] .build-launch-pin {animation:build-launch-pins-seat 1s .65s both;}
@keyframes build-launch-pins-seat {0%,55%{opacity:1}85%,100%{opacity:0}}
/* Сигналы идут вдоль реального кабеля в обоих направлениях после включения сервера. */
.build-launch-lan {opacity:1;}
.build-lan-packet {stroke-dasharray:45 955;filter:drop-shadow(0 0 5px #7af1a7cc);}
.build-together[data-phase="4"] .build-launch-lan {animation:build-lan-activate .8s 2.2s both;}
.build-together[data-phase="4"] .build-lan-out {animation:build-launch-switch .3s 2.8s both,build-lan-forward 2.4s 2.8s linear infinite;}
.build-together[data-phase="4"] .build-lan-back {animation:build-launch-switch .3s 3.5s both,build-lan-return 2.9s 3.5s linear infinite;}
.build-together[data-phase="4"] .build-lan-port-led {animation:build-launch-switch .2s 2.8s both,build-launch-led-pulse .8s 3s infinite;}
@keyframes build-lan-activate {from{opacity:.3}to{opacity:1}}
@keyframes build-lan-forward {from{stroke-dashoffset:0}to{stroke-dashoffset:-1000}}
@keyframes build-lan-return {from{stroke-dashoffset:-1000}to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:reduce){.build-lan-packet{display:none}}

/* Сцена использует фон страницы, а длинные английские названия переносятся на узком экране. */
.build-together .build-stage { overflow: clip; }
.build-together .build-step strong { overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .build-together .build-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
