/* Five-layer homepage demo. Real DOM effects; no canvas/video encoding or icon dependency. */
.ds-create.ds-studio-promo.ds-final-promo.ds-five-demo{--ds5-height:560px;--ds5-rail:64px;--ds5-photo:315px;--ds5-panel:300px;--ds5-gap:16px;display:block;padding:14px;border-radius:26px;border:1px solid #087956;background:radial-gradient(ellipse at 90% 10%,#08654a66,transparent 65%),radial-gradient(ellipse at 0 100%,#00845a44,transparent 55%),#03261e;box-shadow:inset 0 0 30px #001d18;overflow:hidden;font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#edf9f2}
.ds-five-demo *{box-sizing:border-box}.ds-five-demo svg{width:20px;height:20px;flex:none;display:block}.ds-five-demo button,.ds-five-demo a{font-family:inherit}.ds-five-demo button{cursor:pointer}.ds-five-demo button:disabled{cursor:default}.ds5-shell{display:grid;grid-template-columns:var(--ds5-rail) var(--ds5-photo) var(--ds5-panel);gap:var(--ds5-gap);height:var(--ds5-height);max-width:calc(var(--ds5-rail) + var(--ds5-photo) + var(--ds5-panel) + var(--ds5-gap) * 2);margin-inline:auto}
.ds5-rail{display:flex;flex-direction:column;align-items:center;gap:12px;min-width:0;padding-top:8px}.ds5-round{display:grid;place-items:center;width:46px;height:46px;border:1px solid #25df96;border-radius:50%;color:#fff;background:radial-gradient(circle at 30% 20%,#37eb9a,#04895c);box-shadow:0 0 15px #21df9638}.ds5-brand{font-size:11px;font-weight:800;line-height:1.35;text-align:center;color:#fff;letter-spacing:.015em}.ds5-brand em{font-style:normal;color:#2be798}.ds5-demo-badge{display:flex;align-items:center;justify-content:center;gap:6px;background:#18d990;color:#00281d;border-radius:10px;padding:8px 5px;width:100%;font-size:11px;font-weight:750}.ds5-demo-badge svg{width:15px;height:15px}.ds5-tool{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;width:100%;min-height:50px;padding:6px 0;border:1px solid transparent;border-radius:10px;color:#d4eae0;background:transparent;text-decoration:none;font-size:9px;line-height:1.3}.ds5-tool svg{width:24px;height:24px;padding:4px;box-sizing:content-box;border-radius:8px;background:#ffffff0b}.ds5-tool:hover{background:#ffffff09;border-color:#2b795b}.ds5-rail-note{font:italic 9px/1.5 Georgia,serif;text-align:center;margin-top:auto;padding-bottom:12px;color:#c3e6d6}
.ds5-stage{height:100%;min-width:0}.ds5-art{position:relative;isolation:isolate;width:100%;height:100%;aspect-ratio:9/16;border:1px solid #9af2b0;border-radius:20px;overflow:hidden;background:#052c22;box-shadow:0 0 15px #1bea8c30}.ds5-photo{position:absolute!important;inset:0;width:100%!important;height:100%!important;object-fit:cover;object-position:center 25%;display:block;transform-origin:center 45%;will-change:transform;filter:saturate(1.07) contrast(1.025) brightness(1.02) sepia(.05)}.ds5-shade{position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(180deg,#02120b0a 35%,#00150c44 58%,#00170fe8 100%)}.ds5-glow{position:absolute;inset:0;z-index:2;pointer-events:none;opacity:.28;background:radial-gradient(ellipse at 75% 12%,#f4de8555,transparent 42%),radial-gradient(ellipse at 7% 80%,#18f3ab33,transparent 45%)}.ds5-glow:before,.ds5-glow:after{content:'✦';position:absolute;color:#fff0a6;text-shadow:0 0 9px #fff2a0;font-size:19px}.ds5-glow:before{top:29%;left:12%}.ds5-glow:after{right:7%;bottom:16%;font-size:14px}.ds5-ratio{position:absolute;top:12px;left:12px;z-index:3;border:1px solid #e4f5e9aa;border-radius:7px;padding:3px 5px;color:#fff;font-size:10px;font-weight:700}.ds5-heart{position:absolute;top:14px;right:13px;z-index:3;color:#fff}.ds5-heart svg{width:22px;height:22px}.ds5-poem{position:absolute;z-index:3;left:5%;right:5%;bottom:13%;text-align:center;color:#fff;font:italic 26px/1.33 Georgia,serif;text-shadow:0 2px 5px #000b}.ds5-poem em{color:#f6df27;font-style:italic}.ds5-ornament{position:absolute;z-index:3;bottom:8%;left:0;right:0;color:#e6d927;text-align:center;font-size:18px}.ds5-watermark{position:absolute;z-index:4;bottom:3%;left:3%;right:3%;font:9px/1.4 ui-sans-serif,system-ui,sans-serif;color:#fff;text-align:center;text-shadow:0 1px 3px #000}
.ds5-panel{display:flex;flex-direction:column;min-width:0;height:100%;gap:7px;padding:6px 0 0}.ds5-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.ds-five-demo .ds5-heading h3{font-family:inherit;font-size:20px;line-height:1.15;margin:0;color:#fff;letter-spacing:-.03em}.ds-five-demo .ds5-heading p{font:11px/1.4 ui-sans-serif,system-ui,sans-serif;margin:4px 0 0;color:#c2dfd2}.ds5-preview{display:flex;align-items:center;justify-content:center;gap:5px;min-height:32px;padding:6px 9px;border:1px solid #20d993;border-radius:18px;background:#004c35;color:#ecfff5;font-size:10px;flex-shrink:0}.ds5-preview svg{width:15px;height:15px}.ds5-layers-title{line-height:1.2;display:flex;align-items:center;gap:7px;margin-top:4px;font-size:12px;font-weight:700}.ds5-layers-title svg{width:17px;height:17px}.ds5-layers-title small{margin-left:auto;color:#9ccfb7;font-size:10px}.ds5-layers{display:grid;gap:5px}.ds5-layer{display:flex;align-items:center;gap:8px;min-height:36px;width:100%;padding:6px 8px;border:1px solid #537a6655;border-radius:11px;color:#effbf5;background:linear-gradient(110deg,#20483f,#153d35);text-align:left}.ds5-layer .ds5-eye{width:15px;height:15px;color:#daeee4}.ds5-layer-icon{width:19px!important;height:19px!important;color:#20e89a}.ds5-layer-name{font-size:12px;font-weight:650;white-space:nowrap}.ds5-layer small{font-size:9px;color:#bddece;margin-left:auto;white-space:nowrap}.ds5-layer .ds5-chevron{margin-left:auto;width:12px;height:12px}.ds5-layer small:empty{display:none}.ds5-layer[aria-pressed=false]{background:#0b2b23}.ds5-layer[aria-pressed=false] .ds5-eye{opacity:.35}.ds5-layer[aria-pressed=false] .ds5-layer-name{color:#bdd9c9}.ds5-layer:hover,.ds5-layer.is-active{border-color:#3fe3a0;box-shadow:0 0 6px #1ee49b20}.ds5-layer[data-ds5-layer=filter] .ds5-layer-icon circle:nth-child(1){stroke:#f7ce55}.ds5-layer[data-ds5-layer=filter] .ds5-layer-icon circle:nth-child(2){stroke:#f67c7c}.ds5-layer[data-ds5-layer=filter] .ds5-layer-icon circle:nth-child(3){stroke:#2de7d2}.ds5-layer[data-ds5-layer=glow] .ds5-layer-icon{color:#f4da43}
.ds5-playback{display:flex;align-items:center;gap:8px;min-height:30px;margin-top:3px}.ds5-play{display:grid;place-items:center;width:30px;height:30px;padding:4px;border:1px solid #0fa374;border-radius:50%;color:#f7fff9;background:#062e24;flex:none}.ds5-play svg{width:16px;height:16px}.ds5-progress{flex:1;height:7px;border-radius:5px;overflow:hidden;background:#68827a}.ds5-progress span{display:block;width:100%;height:100%;transform:scaleX(0);transform-origin:left;background:linear-gradient(90deg,#0ed38a,#a0efba)}.ds5-time{font-size:9px;color:#e1f4e8;min-width:58px;text-align:right}.ds5-steps{display:flex;justify-content:space-between;gap:5px;color:#c0e4d2;font-size:10px;line-height:1.5}.ds-five-demo .ds5-create{display:flex;align-items:center;justify-content:center;gap:12px;text-align:center;min-height:44px;border-radius:22px;padding:10px 8px;margin-top:auto;background:linear-gradient(110deg,#b0f58e,#15d78e);color:#00291c!important;font:750 14px/1.3 ui-sans-serif,system-ui,sans-serif;text-decoration:none;box-shadow:0 0 12px #28e49a22}.ds5-create svg{width:19px;height:19px}.ds5-note{display:flex;align-items:center;justify-content:center;gap:6px;color:#d2eadc;font-size:10px;line-height:1.3}.ds5-note svg{color:#21df99;width:13px;height:13px}.ds5-pause{display:flex;align-items:center;justify-content:center;gap:5px;align-self:flex-end;min-height:30px;padding:6px 10px;border:1px solid #9fbeae;border-radius:18px;color:#e7f6ed;background:transparent;font-size:10px}.ds5-pause svg{width:12px;height:12px}.ds-five-demo button:focus-visible,.ds-five-demo a:focus-visible{outline:2px solid #a1f5c3;outline-offset:3px}
.ds-five-demo.ds5-ready .ds5-photo{animation:ds5Zoom 30s ease-in-out infinite;animation-play-state:var(--ds5-play-state,paused)}.ds-five-demo.ds5-ready .ds5-glow{animation:ds5Glow 6s ease-in-out infinite;animation-play-state:var(--ds5-play-state,paused)}.ds-five-demo[data-portrait=off] .ds5-photo{visibility:hidden}.ds-five-demo[data-poetry=off] .ds5-poem,.ds-five-demo[data-poetry=off] .ds5-ornament{visibility:hidden}.ds-five-demo[data-animation=off] .ds5-photo{animation:none!important;transform:none!important}.ds-five-demo[data-filter=off] .ds5-photo{filter:none}.ds-five-demo[data-glow=off] .ds5-glow{visibility:hidden}@keyframes ds5Zoom{0%,100%{transform:scale(1)}50%{transform:scale(1.055)}}@keyframes ds5Glow{0%,100%{opacity:.16}50%{opacity:.36}}
.ds5-dialog{padding:16px;border:1px solid #219f6c;border-radius:18px;background:#062b21;color:#f3fcf6;max-width:95vw;max-height:94vh;overflow:auto}.ds5-dialog::backdrop{background:#00130de8}.ds5-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:12px;font:650 16px/1.4 ui-sans-serif,system-ui,sans-serif}.ds5-dialog-header button{border:1px solid #8eb59f;background:#153f2e;color:#fff;border-radius:8px;padding:8px 10px;min-height:40px}.ds5-dialog .ds5-art{width:min(40.5vh,360px,calc(95vw - 36px));height:auto;aspect-ratio:9/16;margin:auto}.ds5-dialog .ds5-poem{font-size:clamp(22px,4vh,34px)}
@media(max-width:1550px) and (min-width:1251px){.ds5-panel{gap:6px}.ds5-layer{min-height:32px;padding:5px 8px}.ds-five-demo .ds5-heading p{display:none}.ds-create.ds-studio-promo.ds-final-promo.ds-five-demo{--ds5-height:520px;--ds5-rail:44px;--ds5-photo:292.5px;--ds5-panel:230px;--ds5-gap:12px}.ds5-layer small{display:none}.ds-five-demo .ds5-heading h3{font-size:17px}.ds-five-demo .ds5-heading p{font-size:10px}.ds5-preview span{display:none}.ds5-brand{font-size:9px}.ds5-tool{font-size:8px}.ds5-tool svg{width:21px;height:21px}.ds5-poem{font-size:24px}}
@media(max-width:1250px){.ds-discover .ds-final-hero.ds-five-hero{grid-template-columns:1fr}.ds-create.ds-studio-promo.ds-final-promo.ds-five-demo{--ds5-height:540px;--ds5-photo:303.75px;--ds5-rail:58px;--ds5-panel:270px}.ds5-layer{min-height:36px}.ds-five-demo .ds5-heading p{display:none}.ds5-poem{font-size:25px}}
@media(max-width:740px){.ds-create.ds-studio-promo.ds-final-promo.ds-five-demo{--ds5-panel:220px;--ds5-rail:42px;--ds5-gap:10px;--ds5-height:500px;--ds5-photo:281.25px;padding:12px}.ds5-panel{gap:5px;padding-top:4px}.ds5-layer{min-height:32px;padding:5px 8px}.ds5-layers-title{margin-top:0}.ds5-playback{margin-top:0}.ds5-layer small{display:none}.ds-five-demo .ds5-heading h3{font-size:16px}.ds-five-demo .ds5-heading p{display:none}.ds5-preview span{display:none}.ds5-brand{font-size:9px}.ds5-tool span{font-size:8px}.ds5-poem{font-size:23px}}
@media(max-width:650px){.ds-create.ds-studio-promo.ds-final-promo.ds-five-demo{padding:12px;--ds5-height:370px;--ds5-photo:208.125px;--ds5-rail:44px;--ds5-gap:12px}.ds5-shell{grid-template-columns:44px minmax(0,1fr);height:auto;max-width:100%;gap:16px 12px}.ds5-rail{gap:10px;height:370px}.ds5-rail-note{font-size:8px}.ds5-tool{min-height:44px}.ds5-round{width:36px;height:36px}.ds5-brand{font-size:8px}.ds5-demo-badge{padding:6px 2px;font-size:8px;gap:3px}.ds5-demo-badge svg{width:12px;height:12px}.ds5-stage{display:flex;justify-content:center;height:370px}.ds5-stage .ds5-art{width:auto;max-width:100%;height:370px}.ds5-panel{grid-column:1/-1;height:auto;gap:10px;padding-top:4px}.ds-five-demo .ds5-heading h3{font-size:21px}.ds-five-demo .ds5-heading p{display:block;font-size:11px}.ds5-preview{min-height:40px}.ds5-preview span{display:inline}.ds5-layer{min-height:44px;padding:9px 10px}.ds5-layer-name{font-size:13px}.ds5-layer small{display:block;font-size:10px}.ds5-steps{font-size:11px}.ds5-create{margin-top:4px!important}.ds5-pause{min-height:38px}.ds5-play{width:40px;height:40px}.ds5-time{font-size:11px;min-width:74px}.ds5-note{font-size:11px}.ds5-poem{font-size:22px}}
@media(max-width:360px){.ds5-stage,.ds5-stage .ds5-art{height:330px}.ds5-rail{height:330px;gap:7px}.ds5-tool{min-height:38px}.ds5-tool svg{width:20px;height:20px}.ds5-poem{font-size:19px}.ds5-layer{gap:6px}.ds5-layer small{font-size:9px}.ds5-layer-name{font-size:12px}}
@media(prefers-reduced-motion:reduce){.ds-five-demo .ds5-photo,.ds-five-demo .ds5-glow{animation:none!important;transform:none!important}.ds5-photo{will-change:auto}.ds5-glow{opacity:.2}}
