:root{--ink:#332645;--muted:#716681;--purple:#72549e;--pale:#eee8f8;--line:#e4ddec;--bg:#faf8fd}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--bg);font:16px/1.5 'Trebuchet MS',Arial,sans-serif}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.46;cursor:not-allowed}a{color:inherit}[hidden]{display:none!important}:focus-visible{outline:3px solid #a47ed7;outline-offset:3px}h1,h2,h3,p{margin:0}h1,h2{letter-spacing:-.055em;line-height:1.05}h1{font-size:clamp(43px,5.5vw,76px)}h2{font-size:clamp(26px,3vw,36px)}h1 em,h2 em{font-family:Georgia,serif;color:#9375b9;font-weight:400}.top{height:77px;display:flex;align-items:center;justify-content:space-between;padding:0 max(32px,calc((100% - 1380px)/2));background:#fff;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;text-decoration:none;font-size:27px;font-weight:bold;letter-spacing:-.055em}.brand span{width:23px;height:23px;border-radius:50%;border:7px solid #ae96d6;margin-right:7px}.brand i{color:#b39ed9;font-style:normal}.top-right{display:flex;align-items:center;gap:20px}.prototype-badge{border-radius:50px;background:#f1eaf9;padding:7px 13px;font-size:12px;font-weight:bold;color:#6c508e}.link,.text-button{border:0;background:none;padding:0;color:#755394;font-weight:bold;text-decoration:none}.account-exit{font-size:13px}.demo-banner{background:#eee7f8;text-align:center;padding:9px 16px;font-size:12px;color:#594a6b}.demo-banner button{border:0;background:none;text-decoration:underline;color:inherit;font-size:inherit}.container{width:min(100% - 64px,1240px);margin:auto}.primary,.secondary,.outline{border:0;border-radius:100px;display:inline-flex;align-items:center;justify-content:space-between;gap:35px;font-weight:bold;min-height:54px;padding:15px 22px}.primary{background:#715298;color:white}.primary:hover{background:#5b3f82}.primary span,.secondary span,.outline span{font-size:20px;line-height:1}.secondary{background:#e8def5;color:#5b4179}.secondary:hover{background:#dfd2f0}.outline{border:1px solid #cbbada;background:transparent;color:#5b4179}.outline:hover{background:#f2ecf8}.wide{width:100%}.fine{font-size:12px;color:var(--muted);line-height:1.5}.back-link{border:0;background:none;text-decoration:none;color:#796c83;font-size:14px;font-weight:bold;padding:0}.back-link:hover,.text-button:hover{color:#4e326e}.auth{display:grid;grid-template-columns:1fr 1fr;min-height:calc(100vh - 114px)}.auth-visual{position:relative;min-height:680px;background:#d9cbe9;overflow:hidden}.auth-image{position:absolute;inset:0;background:linear-gradient(0deg,#332443aa,transparent 75%),url('../assets/family.webp') center/cover}.auth-copy{position:absolute;bottom:60px;left:clamp(35px,7vw,110px);color:white}.auth-copy .spark{font-size:28px}.auth-copy p{font-size:clamp(30px,3.3vw,48px);font-weight:bold;letter-spacing:-.05em;line-height:1.1;margin:18px 0}.auth-copy em{font-family:Georgia,serif;font-weight:400}.auth-copy>span:last-child{font-size:14px}.auth-panel{padding:35px clamp(35px,7vw,105px);background:#fff}.auth-content{max-width:455px;margin:85px auto 50px}.circle-icon{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;background:#eae1f5;color:#8566ad;font-size:26px;margin-bottom:26px}.auth-content h1{font-size:clamp(42px,4.2vw,62px)}.auth-content>p:not(.fine){font-size:17px;color:#6d6178;margin:22px 0 28px}.auth-content label:not(.check),.field-label{display:block;font-weight:bold;font-size:14px;margin-bottom:9px}.auth-content input:not([type=checkbox]),.name-input,.options input[type=text],#caption{width:100%;border:1px solid #ddd4e7;border-radius:13px;background:white;padding:15px 17px;min-height:56px;color:var(--ink)}input::placeholder{color:#a99fb0}.check{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.45;margin:20px 0;color:#665b70}.check input{width:19px;height:19px;accent-color:#76579d;flex:none}.auth-content .fine{margin-top:16px}.auth-content .text-button{margin-top:20px}.dash-top{display:flex;justify-content:space-between;align-items:center;gap:40px;padding:65px 0 85px}.hello{font-size:14px;color:#80669b;font-weight:bold;margin-bottom:20px}.hello span{font-size:22px}.dash-desc{font-size:17px;color:#766b7d;max-width:430px;margin-top:22px}.dash-art{width:310px;height:215px;position:relative;flex:none}.dash-art img{width:100%;height:100%;object-fit:cover;border-radius:48% 48% 36px 36px;transform:rotate(3deg)}.dash-art span{position:absolute;bottom:-12px;left:-25px;background:#f1dce5;border-radius:50%;padding:18px;color:#79596e;transform:rotate(-10deg);font:italic 15px Georgia}.section-title{display:flex;justify-content:space-between;align-items:end;gap:20px;border-bottom:1px solid var(--line);padding-bottom:23px}.section-title h2,.list-heading h2{font-size:27px}.section-title p,.list-heading p{color:var(--muted);font-size:14px;margin-top:7px}.count{display:inline-grid;place-items:center;vertical-align:middle;border-radius:50%;background:#eee8f6;font-size:13px;letter-spacing:0;width:27px;height:27px;margin-left:6px}.empty{text-align:center;padding:70px 20px 100px}.empty-symbol,.add-icon{margin:auto;display:grid;place-items:center;background:#eee6f7;color:#9a7ab8;border-radius:50%;width:70px;height:70px;font-size:36px}.empty h3{font-size:22px;margin:20px 0 8px}.empty p{color:var(--muted);margin:0 auto 22px;max-width:380px}.projects{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:25px}.project{background:#fff;border:1px solid var(--line);border-radius:24px;overflow:hidden}.project img,.project-cover{width:100%;height:170px;object-fit:cover;background:#e7ddf1}.project-content{padding:20px}.project-content h3{font-size:20px}.project-content p{font-size:13px;color:#806a95;margin:5px 0 16px}.project-actions{display:flex;gap:18px;align-items:center}.project-actions button{font-size:13px}.editor{padding-bottom:120px}.editor-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px max(32px,calc((100% - 1240px)/2));border-bottom:1px solid var(--line);background:white}.editor-steps{display:flex;gap:30px;align-items:center;color:#a49aaa;font-size:13px;font-weight:bold}.editor-steps span{display:flex;gap:8px;align-items:center}.editor-steps b{display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#f0edf3;font-size:12px}.editor-steps .active{color:#6c4c93}.editor-steps .active b{background:#76549d;color:white}.saving{font-size:12px;color:#877c8b;white-space:nowrap}.editor-main{width:min(100% - 64px,1000px);margin:auto}.editor-content{max-width:900px;margin:auto;padding:60px 0 80px}.editor-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:50px}.editor-heading p{max-width:520px;color:#766a80;font-size:17px;margin-top:18px}.heading-sticker{background:#eadff5;border-radius:50%;width:145px;height:145px;display:grid;align-content:center;text-align:center;line-height:1.2;font:italic 17px Georgia;transform:rotate(10deg);color:#83669c;flex:none}.heading-sticker strong{font-size:19px}.heading-sticker.mint{background:#e3eee3;color:#6e9377}.field-label small{font-size:12px;font-weight:normal;color:#96889e;margin-left:5px}.name-input{max-width:580px}.list-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:55px 0 20px}.list-heading .outline{min-height:44px;padding:10px 16px;font-size:13px}.reorder-hint{background:#f0e9f8;border-radius:12px;padding:12px 15px;font-size:14px;margin-bottom:15px}.photo-list{display:grid;gap:12px}.photo-card{display:flex;align-items:center;gap:18px;background:white;border:1px solid var(--line);border-radius:22px;padding:12px;position:relative}.photo-card.dragging{opacity:.5;box-shadow:0 8px 30px #7d679733}.photo-card img{width:105px;height:100px;object-fit:cover;border-radius:14px;flex:none}.photo-meta{min-width:0;flex:1}.photo-meta strong{display:block;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-meta p{font-size:13px;color:#7a6f80;margin-top:5px;overflow-wrap:anywhere}.photo-actions{display:flex;gap:15px;padding-right:12px}.photo-actions button{font-size:13px}.drag-handle{border:0;background:#eee7f7;color:#74528f;border-radius:10px;min-width:42px;height:52px;font-size:24px;cursor:grab;touch-action:none}.drag-handle:active{cursor:grabbing}.add-photo{margin-top:18px;border:1px dashed #cdbddd;border-radius:25px;background:#f6f2fa;padding:25px;display:flex;align-items:center;gap:20px}.add-icon{margin:0;width:55px;height:55px;font-size:32px;flex:none}.add-photo strong{font-size:17px}.add-photo p{font-size:13px;color:var(--muted);margin-top:5px}.add-actions{display:flex;flex-direction:column;gap:10px;align-items:center;margin-left:auto;flex:none}.add-actions .secondary{font-size:13px;min-height:46px;padding:12px 17px}.add-actions .text-button{font-size:12px}.end-photos{display:flex;align-items:center;gap:20px;margin-top:30px}.end-photos p{font-size:13px;color:#817587;max-width:220px}.price-bar{position:fixed;bottom:0;left:0;right:0;z-index:5;background:#fff;border-top:1px solid var(--line);box-shadow:0 -8px 30px #53435b0d;padding:15px max(32px,calc((100% - 900px)/2));display:flex;align-items:center;justify-content:space-between;gap:20px}.price-bar>div{display:grid;grid-template-columns:auto auto;column-gap:15px;align-items:center}.price-bar span{font-size:13px;color:#776a7e}.price-bar strong{font-size:25px;letter-spacing:-.04em}.price-bar small{grid-column:1/-1;color:#9a8ea0;font-size:11px}.price-bar .primary{min-width:190px}.back-step{margin-bottom:22px}.music-panel,.timeline,.review-card{background:white;border:1px solid var(--line);border-radius:28px;padding:30px}.music-heading,.timeline-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.music-heading h2,.timeline h2,.review-card h2{font-size:25px}.music-heading>span{background:#eee7f6;border-radius:50px;padding:7px 13px;font-size:13px;font-weight:bold}.music-panel>p{color:var(--muted);font-size:14px;margin:9px 0 20px}.tracks{display:grid;gap:10px}.track{display:flex;align-items:center;gap:15px;text-align:left;border:1px solid #e9e2ed;background:#fff;border-radius:16px;padding:13px;width:100%;color:var(--ink)}.track.selected{border:2px solid #9072b3;background:#f8f4fb}.track-icon{display:grid;place-items:center;flex:none;width:45px;height:45px;border-radius:13px;background:#e9e0f4;color:#825ba9;font-size:22px}.track-icon.pink{background:#f5e0e5;color:#a56f89}.track strong,.track small{display:block}.track small{font-size:12px;color:#8a7d8f;margin-top:3px}.track-select{margin-left:auto;font-size:12px;color:#7a589b;font-weight:bold}.music-actions{display:flex;align-items:center;gap:25px;margin-top:22px}.music-actions .outline{font-size:13px;min-height:46px}.music-panel>.fine{font-size:12px;margin-bottom:0}.timeline{margin-top:18px}.timeline-head p{font-size:14px;color:var(--muted);margin-top:5px}.play{width:52px;height:52px;border:0;border-radius:50%;background:#73529a;color:white}.wave{height:55px;border-radius:10px;margin:23px 0;background:repeating-linear-gradient(90deg,#bbabd2 0 4px,transparent 4px 9px);mask-image:linear-gradient(0deg,transparent,#000 25%,#000 75%,transparent)}.timeline label,.crop-control label{display:block;font-size:13px;font-weight:bold}.timeline input[type=range],.crop-control input[type=range]{width:100%;accent-color:#79569f;margin:14px 0 0}.timeline-scale{display:flex;justify-content:space-between;font-size:12px;color:#887d90}.loop-notice{background:#f5e6d9;border-radius:12px;padding:12px 15px;font-size:13px;margin:15px 0}.timeline>.fine{margin-top:14px}.next-music{margin-top:25px}.review-card>div:not(.review-notice){margin:20px 0;line-height:1.9}.review-notice{padding:16px;border-radius:14px;background:#f1ebf8;color:#6b5483;margin:20px 0;font-size:14px}dialog{border:0;border-radius:30px;padding:0;color:var(--ink);width:min(1050px,calc(100% - 32px));max-height:calc(100% - 32px);box-shadow:0 20px 70px #35234544}dialog::backdrop{background:#30233ebd}.photo-modal{padding:30px}.modal-head{display:flex;justify-content:space-between;align-items:start;gap:15px;margin-bottom:25px}.modal-head h2{font-size:36px;margin-top:10px}.modal-count{font-size:10px;font-weight:bold;letter-spacing:.1em;color:#9b89a8}.icon-button{background:#f1edf5;border:0;border-radius:50%;width:42px;height:42px;flex:none;font-size:27px;color:#66536f}.photo-modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.crop-frame{background:#e5ddeb;border-radius:22px;overflow:hidden;aspect-ratio:4/3}.crop-frame img{width:100%;height:100%;object-fit:cover}.crop-control{padding:20px 4px}.crop-control label{display:flex;justify-content:space-between}.crop-control p{font-size:12px;color:var(--muted);margin-top:8px}.options h3{font-size:19px;margin-bottom:10px}.option{display:flex;justify-content:space-between;align-items:center;gap:15px;border-bottom:1px solid var(--line);padding:15px 0}.option strong,.option small{display:block}.option strong{font-size:14px}.option small{font-size:12px;color:var(--muted);margin-top:4px}.switch{position:relative;flex:none}.switch input{position:absolute;opacity:0;width:1px;height:1px}.switch i{display:block;width:44px;height:26px;background:#ddd5e3;border-radius:30px;position:relative}.switch i:after{content:'';position:absolute;width:20px;height:20px;background:white;border-radius:50%;top:3px;left:3px;transition:transform .2s}.switch input:checked+i{background:#8662ac}.switch input:checked+i:after{transform:translateX(18px)}.switch input:focus-visible+i{outline:3px solid #a47ed7;outline-offset:3px}#captionWrap{margin-top:15px}fieldset{border:0;padding:0;margin:23px 0 18px}legend{font-weight:bold;font-size:14px;margin-bottom:10px}.style-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.style-options label{cursor:pointer}.style-options input{position:absolute;opacity:0}.style-options span{display:block;border:1px solid #e1d8e8;border-radius:12px;padding:10px;font-size:13px;font-weight:bold}.style-options input:checked+span{border:2px solid #8766ae;background:#f5eff9}.style-options input:focus-visible+span{outline:3px solid #a47ed7}.style-options small{display:block;font-size:11px;color:#8b7f90;font-weight:normal;margin-top:3px}.options>.fine{margin:15px 0}.info-modal{padding:40px;position:relative}.info-modal .icon-button{position:absolute;right:20px;top:20px}.info-modal p{margin:20px 0}.info-modal h2{font-size:42px}#infoDialog{max-width:480px}#toast{position:fixed;bottom:125px;left:50%;transform:translateX(-50%);background:#49365c;color:white;border-radius:30px;padding:10px 20px;font-size:13px;opacity:0;pointer-events:none;transition:opacity .2s;z-index:20}#toast.show{opacity:1}
@media(max-width:800px){.auth{grid-template-columns:1fr}.auth-visual{min-height:250px}.auth-copy{bottom:26px;left:25px}.auth-copy p{font-size:30px;margin:8px 0}.auth-copy .spark{font-size:20px}.auth-panel{padding:25px 25px 55px}.auth-content{margin:50px auto 10px}.editor-bar{padding:17px 24px}.saving{display:none}.editor-steps{gap:12px}.editor-main{width:calc(100% - 40px)}.editor-content{padding-top:45px}.photo-modal-grid{grid-template-columns:1fr}.crop-frame{aspect-ratio:16/9}.projects{grid-template-columns:1fr 1fr}.dash-top{padding:50px 0 60px}.dash-art{width:220px;height:160px}.price-bar{padding:14px 20px}.photo-modal{padding:24px}}
@media(max-width:560px){.top{height:66px;padding:0 16px}.brand{font-size:24px}.brand span{width:21px;height:21px;border-width:6px}.demo-banner{font-size:11px}.container{width:calc(100% - 32px)}.auth-visual{min-height:200px}.auth-copy p{font-size:25px}.auth-content h1{font-size:41px}.dash-top{padding:50px 0 45px}.dash-top h1{font-size:45px}.dash-art{display:none}.section-title{display:block}.section-title .primary{margin-top:22px;width:100%}.projects{grid-template-columns:1fr}.empty{padding:55px 10px 80px}.editor-bar{padding:15px 16px;display:block}.editor-steps{margin-top:17px;justify-content:space-between;gap:5px;font-size:11px}.editor-steps span{gap:4px}.editor-steps b{width:23px;height:23px}.editor-main{width:calc(100% - 32px)}.editor-content{padding:36px 0 60px}.editor-heading{margin-bottom:35px}.editor-heading h1{font-size:43px}.editor-heading p{font-size:15px}.heading-sticker{display:none}.list-heading{align-items:start;margin-top:40px}.list-heading h2{font-size:22px}.list-heading .outline{font-size:0;gap:0;min-width:43px;width:43px;height:43px;justify-content:center;padding:0}.list-heading .outline span{font-size:20px}.list-heading .outline[aria-pressed=true]{width:auto;padding:0 13px;font-size:12px;gap:6px}.photo-card{gap:10px;padding:10px;flex-wrap:wrap}.photo-card img{width:72px;height:72px}.photo-meta strong{font-size:14px}.photo-meta p{font-size:12px}.photo-actions{width:100%;padding:0 0 2px 82px;gap:20px}.photo-actions button{font-size:12px}.drag-handle{min-width:36px;height:48px}.add-photo{display:grid;grid-template-columns:50px 1fr;gap:12px;padding:18px}.add-icon{width:48px;height:48px}.add-photo strong{font-size:15px}.add-actions{grid-column:1/-1;align-items:stretch;margin:5px 0 0}.add-actions .secondary{justify-content:space-between}.end-photos{display:block}.end-photos .primary{width:100%}.end-photos p{margin:10px 0 0}.price-bar{padding:12px 16px;gap:8px}.price-bar span{font-size:11px}.price-bar strong{font-size:22px}.price-bar small{font-size:10px}.price-bar .primary{min-width:0;gap:12px;padding:13px 15px;font-size:13px;min-height:48px}.music-panel,.timeline,.review-card{padding:21px;border-radius:22px}.music-actions{align-items:stretch;flex-direction:column;gap:18px}.music-actions .text-button{text-align:left}.next-music{width:100%}.photo-modal{padding:20px}.modal-head h2{font-size:30px}.photo-modal-grid{gap:8px}.crop-frame{aspect-ratio:16/9}.crop-control{padding:15px 2px}.options h3{font-size:18px}.info-modal{padding:30px}.info-modal h2{font-size:38px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}html{scroll-behavior:auto}}
.photo-rights{margin:22px 0 0;padding:15px 18px;border-radius:16px;background:#f2edf8}.photo-rights a{text-decoration:underline}
.status-examples{margin-top:24px}.status-examples summary{cursor:pointer;color:#755394;font-weight:bold;font-size:13px}.status-examples>.fine{margin-top:12px}.status-examples .project-content .outline{min-height:42px;font-size:12px;padding:9px 15px}.sample-state{font-size:13px;color:#796b86}
@media(max-width:560px){.list-heading{align-items:flex-start;flex-wrap:wrap}.list-heading .outline{font-size:12px;width:auto;min-width:0;padding:0 13px;gap:6px}.list-heading .outline span{font-size:18px}} .photo-card{transition:transform .2s,box-shadow .2s,opacity .2s}.photo-card.dragging{transform:scale(1.015)} @media(prefers-reduced-motion:reduce){.photo-card{transition:none}}
/* Controls for a precise, understandable editing preview. */
#codeForm .primary{margin-top:18px}
.crop-frame{position:relative;touch-action:none;user-select:none;aspect-ratio:4/3;background:#332645}.crop-frame canvas{width:100%;height:100%;display:block;cursor:grab;touch-action:none}.crop-frame canvas.moving{cursor:grabbing}.crop-guide{position:absolute;inset:0;border:2px solid #ffffffb3;pointer-events:none;background:linear-gradient(90deg,transparent calc(33.333% - .5px),#ffffff55 33.333%,transparent calc(33.333% + .5px),transparent calc(66.666% - .5px),#ffffff55 66.666%,transparent calc(66.666% + .5px)),linear-gradient(transparent calc(33.333% - .5px),#ffffff55 33.333%,transparent calc(33.333% + .5px),transparent calc(66.666% - .5px),#ffffff55 66.666%,transparent calc(66.666% + .5px))}.crop-instruction{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);background:#30243aa8;color:#fff;border-radius:30px;padding:6px 12px;white-space:nowrap;pointer-events:none;font-size:11px}.crop-control .rotation-label{margin-top:20px}.rotation-control{display:flex;align-items:center;gap:10px}.rotation-control input[type=range]{flex:1;min-width:0;margin:0}.rotation-control button{border:1px solid #d6c9e2;background:white;color:#654d7e;border-radius:9px;padding:8px;white-space:nowrap;font-size:12px}.reset-crop{font-size:13px;margin-top:17px}.drag-placeholder{opacity:1!important;border:2px dashed #9a79bc!important;background:#ece4f7!important;box-shadow:none!important}.drag-placeholder>*{visibility:hidden}.drag-ghost{position:fixed!important;z-index:1000;pointer-events:none;margin:0!important;opacity:.96!important;background:white;box-shadow:0 16px 36px #412b5b55!important;transform:scale(1.025) rotate(1deg);transition:none!important}.timeline-intro{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin:26px 0 8px}.timeline-intro span{font-weight:bold;color:#715298}.music-window{position:relative;height:98px;background:#eee8f6;border:2px solid #76539d;border-radius:14px;overflow:hidden;touch-action:pan-y}.music-window:before,.music-window:after{content:'';position:absolute;top:0;bottom:0;width:4px;background:#76539d;z-index:3;pointer-events:none}.music-window:before{left:0}.music-window:after{right:0}.music-track-move{position:absolute;left:0;top:12px;bottom:25px;background:#d4c1e9;border-radius:9px;cursor:grab;touch-action:none;user-select:none}.music-track-move.moving{cursor:grabbing;background:#c8afe3}.music-track-move.immovable{cursor:default}.music-wave{height:100%;background-image:repeating-linear-gradient(90deg,transparent 0 6px,#8e6cb5 6px 9px,transparent 9px 13px,#a587c5 13px 16px,transparent 16px 20px,#77569e 20px 23px,transparent 23px 28px);mask-image:linear-gradient(transparent,#000 25%,#000 75%,transparent);opacity:.85}.window-edge{position:absolute;bottom:5px;font-size:9px;font-weight:bold;letter-spacing:.04em;color:#6c4b8d;z-index:2;pointer-events:none}.window-edge.left{left:9px}.window-edge.right{right:9px}.music-playhead{position:absolute;top:0;bottom:0;width:2px;background:#422b5f;z-index:4;pointer-events:none}.timeline-scale{margin-top:6px}.offset-line{display:flex;justify-content:space-between;gap:10px;font-size:13px;margin-top:16px;color:#6d6178}.offset-range{width:100%;accent-color:#79569f;margin:13px 0 0}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.timeline .fine{margin-top:13px}@media(max-width:560px){.crop-frame{aspect-ratio:4/3}.crop-instruction{font-size:10px}.offset-line{font-size:12px}.window-edge{font-size:8px}.music-window{height:88px}}
.music-markers{position:absolute;inset:0;pointer-events:none}.music-marker,.music-loop-marker{position:absolute;bottom:2px;border-left:1px solid #6d4e8b88;padding-left:4px;color:#4c3569;font:10px/1.1 Arial,sans-serif;white-space:nowrap}.music-loop-marker{bottom:auto;top:3px;color:#60417e;font-size:9px;font-weight:bold}.music-track-move:after{content:"↔";position:absolute;top:4px;right:9px;color:#674786;font-weight:bold;pointer-events:none}.music-track-move.immovable:after{content:""}
.price-bar strong{white-space:nowrap}@media(max-width:360px){.price-bar{gap:5px}.price-bar>div{column-gap:8px}.price-bar .primary{padding:12px;font-size:12px;gap:7px}}
button.add-icon{border:0;cursor:pointer;transition:background .2s,color .2s,transform .2s}button.add-icon:hover{background:#ded0ef;color:#654387;transform:scale(1.05)}button.add-icon:active{transform:scale(.96)}.cabinet-footer{display:flex;align-items:center;gap:28px;padding:35px 0 45px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}.cabinet-footer .brand{color:var(--ink);font-size:24px;flex:none}.cabinet-footer .brand span{width:20px;height:20px;border-width:6px}.cabinet-footer p{margin-right:auto}.cabinet-footer nav{display:flex;gap:20px}.cabinet-footer a:hover{color:var(--purple)}.cabinet-footer>span{white-space:nowrap}@media(max-width:600px){.cabinet-footer{flex-wrap:wrap;gap:15px 20px;padding:28px 0 35px}.cabinet-footer p{width:100%;order:1}.cabinet-footer nav{width:100%;order:2}.cabinet-footer>span{order:3}.cabinet-footer .brand{font-size:23px}}

@media(prefers-reduced-motion:no-preference){.dash-art img{animation:dash-memory-drift 12s ease-in-out infinite alternate}@keyframes dash-memory-drift{from{transform:scale(1.02)}to{transform:scale(1.1)}}}

#emailStep h1{font-size:clamp(32px,3.8vw,58px);overflow-wrap:anywhere}
@media(prefers-reduced-motion:no-preference){.auth-image{animation:dash-memory-drift 12s ease-in-out infinite alternate}}

/* Крупнее содержимое и компактнее отступы кабинета */
@media(min-width:801px){.dash-top{padding-top:48px;padding-bottom:50px}.empty{padding-top:48px;padding-bottom:65px}.editor-content{max-width:1000px;padding-top:45px}.editor-main{width:min(100% - 64px,1100px)}.editor-heading{margin-bottom:36px}.list-heading{margin-top:40px}}
.editor-heading p,.dash-desc{font-size:18px;line-height:1.5}.photo-meta p,.add-photo p{font-size:15px}.section-title h2,.list-heading h2{font-size:30px}
@media(max-width:560px){.editor-heading p,.dash-desc{font-size:16px}.section-title h2,.list-heading h2{font-size:24px}.photo-meta p{font-size:13px}}

/* Экран сбора, настройки снимка и проверки по макетам */
.add-photo{flex-direction:column;justify-content:center;text-align:center;gap:12px;background:#fff;padding:28px;min-height:235px}.add-photo .add-actions{margin:0;align-items:center}.add-photo .add-copy p{margin-top:8px;font-size:15px}.add-photo strong{font-size:20px}.add-photo .add-actions .secondary{font-size:15px}.add-photo.has-photos{min-height:0;padding:20px;gap:8px}.add-photo.has-photos .add-icon{width:38px;height:38px;font-size:26px}.add-photo.has-photos .add-copy p{display:none}.add-photo.has-photos .add-actions{flex-direction:row}.photo-duration-note{color:#776a80;font-size:14px;margin-top:18px}.photo-actions{flex-wrap:wrap}.photo-meta p{line-height:1.55}
#photoDialog{width:min(1200px,calc(100% - 32px));background:#f7f3fb}#photoDialog .photo-modal{padding:28px}#photoDialog .modal-head h2{margin-top:5px;font-size:32px;letter-spacing:-.04em}#photoDialog .modal-head p{color:#776b80;margin-top:8px;font-size:15px}.photo-modal-grid{align-items:start;gap:20px}.crop-frame{aspect-ratio:16/9;max-height:520px}.crop-frame.portrait{height:min(55vh,520px);width:auto;margin:0 auto}.crop-control,.motion-panel,.photo-extra{background:#fff;border-radius:20px;padding:20px}.crop-control{margin-top:14px}.crop-control h3,.motion-panel h3{font-size:18px;margin:0 0 14px}.crop-ratios{display:flex;gap:8px;margin-bottom:22px}.crop-ratios button{border:1px solid #e1d8e8;background:#fff;border-radius:10px;padding:10px 14px;color:#665579}.crop-ratios button[aria-pressed=true]{background:#e9dff3;border-color:#c6b3d9;color:#604080}.motion-panel fieldset{margin:0}.motion-panel legend{font-size:16px}.motion-panel fieldset>p{font-size:13px;color:#83778b;margin-bottom:12px}.style-options{grid-template-columns:1fr;gap:9px}.style-options span{padding:12px;font-size:14px}.style-options small{font-size:12px}.photo-extra{margin-top:14px}.photo-extra .option:first-child{padding-top:0}.photo-extra .option:last-of-type{border:0;padding-bottom:0}.photo-modal-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;background:white;border-radius:18px;margin-top:18px;padding:16px 20px}.photo-modal-footer small,.photo-modal-footer strong{display:block}.photo-modal-footer small{color:#8c7f94}.photo-modal-footer strong{margin-top:3px}.review-heading>span{font-size:16px;font-weight:bold}.review-heading h2{font-family:Georgia,serif;font-size:32px;margin-top:8px}.review-heading p{color:#85738f;margin:8px 0 0}.review-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:26px}.review-columns>section{min-width:0}.review-columns>section+section{border-left:1px solid var(--line);padding-left:24px}.review-column-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px}.review-column-heading h3{font-size:20px}.review-column-heading .outline{min-height:38px;padding:8px 13px;font-size:12px}.review-photos{display:grid;gap:10px}.review-photo,.review-track{display:flex;align-items:center;gap:12px;border:1px solid #e4d9ed;border-radius:16px;padding:10px;background:#f8f4fb}.review-photo img{width:110px;height:68px;border-radius:10px;object-fit:cover;flex:none}.review-photo strong,.review-photo small,.review-track strong,.review-track small{display:block}.review-photo small,.review-track small{color:#776a80;margin-top:4px}.review-number{width:30px;height:30px;display:grid;place-items:center;background:#e8dcf4;border-radius:50%;flex:none;font-weight:bold;color:#684994}.review-track-icon{display:grid;place-items:center;width:55px;height:55px;background:#f5e0e8;color:#bd80a0;font-size:24px;border-radius:14px;flex:none}.review-track>div{min-width:0;flex:1}.review-track strong{overflow-wrap:anywhere}.review-track .play{width:42px;height:42px;flex:none}.review-silent{color:#776a80}
@media(max-width:700px){.review-columns{grid-template-columns:1fr}.review-columns>section+section{border-left:0;border-top:1px solid var(--line);padding-left:0;padding-top:20px}.review-heading h2{font-size:26px}}
@media(max-width:560px){#photoDialog .photo-modal{padding:18px}.photo-modal-grid{gap:14px}.crop-control,.motion-panel,.photo-extra{padding:16px}.photo-modal-footer{position:sticky;bottom:0;z-index:2;box-shadow:0 -5px 20px #53435b15}.photo-modal-footer .primary{font-size:13px;padding:12px}.review-column-heading{align-items:flex-start}.review-photo img{width:76px;height:60px}.add-photo{padding:22px}.add-photo.has-photos .add-actions{flex-wrap:wrap;justify-content:center}}

@media(max-width:560px){.review-column-heading{align-items:center}.review-column-heading h3{font-size:17px;white-space:nowrap}.review-column-heading .outline{font-size:11px;line-height:1.2;padding:8px 10px}}

/* Полная музыкальная дорожка и перетаскиваемый выбранный отрывок */
.music-panel .timeline{border:0;border-top:1px solid var(--line);border-radius:0;padding:24px 0 0;margin-top:22px;background:transparent}.timeline-head{align-items:flex-start}.timeline-head>div{min-width:0}.timeline-head p+p{margin-top:5px}.play-fragment{display:flex;align-items:center;gap:9px;flex:none;border:1px solid #d2c2e3;border-radius:40px;background:#f4edf9;color:#60417f;padding:7px 14px 7px 7px;font-size:13px;font-weight:bold;white-space:nowrap}.play-fragment span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#9272b5;color:white;font-size:12px}.music-window{height:108px;margin-top:24px;border:1px solid #e1d6eb;border-radius:14px;background:#faf7fd;overflow:hidden;touch-action:pan-y}.music-window:before,.music-window:after{display:none}.music-wave{position:absolute;inset:15px 0;height:auto;background-image:repeating-linear-gradient(90deg,transparent 0 4px,#bb9bd5 4px 7px,transparent 7px 10px,#d1b7e6 10px 13px,transparent 13px 17px,#a985cb 17px 20px,transparent 20px 24px,#d4bce6 24px 27px,transparent 27px 31px);mask-image:linear-gradient(transparent,#000 25%,#000 75%,transparent);opacity:.9;pointer-events:none}.music-track-move{top:0;bottom:0;min-width:0;background:#b99bd04d;border:2px solid #7b53a1;border-radius:12px;cursor:grab;z-index:2;touch-action:none}.music-track-move.moving{background:#b99bd078}.music-track-move:after,.music-track-move.immovable:after{content:none}.selection-handle{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:20px;height:54px;border:1px solid #704993;background:#ad8bc9;color:white;border-radius:9px;font-size:12px;z-index:3}.selection-handle.left{left:-2px}.selection-handle.right{right:-2px}.selection-length{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;border-radius:25px;padding:6px 10px;color:#60417f;font-size:12px;font-weight:bold;white-space:nowrap;pointer-events:none}.music-playhead{top:0;bottom:0;background:#4c2d70}.music-markers{z-index:1}.music-loop-marker{top:5px;color:#785593;background:#fff9;border-radius:5px;padding:2px 4px}.timeline-scale{font-size:13px;margin-top:8px}.selection-info{margin-top:16px;background:#f0eaf7;color:#645071;border-radius:12px;padding:12px 15px;font-size:14px}.offset-range{margin-top:12px}.music-actions{margin-top:22px}.music-panel~.fine{margin-top:15px}.music-panel+.music-actions{margin-top:22px}
@media(max-width:560px){.timeline-head{flex-direction:column;gap:14px}.play-fragment{align-self:flex-start}.music-window{height:88px}.selection-handle{height:44px;width:16px}.selection-info{font-size:13px}.selection-length{font-size:10px;padding:4px 6px}.music-panel .timeline{padding-top:20px}.music-actions{margin-top:18px}}

/* Единая сетка и оформление страниц сервиса */
body{overflow-x:clip}
.top{width:min(calc(100% - 80px),1120px);height:88px;margin:0 auto;padding:0;background:transparent;border:0}
.prototype-badge{border:0;cursor:pointer}
.container,.editor-main{width:min(calc(100% - 80px),1120px);margin-inline:auto}
.primary,.secondary,.outline{justify-content:center;text-align:center;gap:10px}
.auth{width:min(calc(100% - 80px),1120px);min-height:0;margin:34px auto 70px;display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center;position:relative;isolation:isolate}
.auth::before,.dash-top::before,.editor-heading::before{content:'';position:absolute;z-index:-1;inset:-32px -50px;pointer-events:none;background:#efe6f7;mask:url('../assets/hero-soft-shape.svg') center / 100% 100% no-repeat;-webkit-mask:url('../assets/hero-soft-shape.svg') center / 100% 100% no-repeat}
.auth-visual{min-height:560px;background:transparent;overflow:hidden;border-radius:42% 42% 36px 36px}
.auth-image{background: url('../assets/family.webp') center/cover}
.auth-panel{padding:30px 0;background:transparent}
.auth-content{max-width:480px;margin:52px auto 20px}
.auth-content h1,#emailStep h1{font-size:clamp(32px,3.8vw,54px);overflow-wrap:normal}
.auth-content>p:not(.fine){color:#5e5371;line-height:1.55}
#emailForm .primary{margin-top:0}
#codeForm .primary{margin-top:18px}
.dashboard{padding-top:35px}
.dash-top{position:relative;isolation:isolate;gap:45px;padding:35px 0;margin-bottom:62px}
.dash-top::before{inset:-30px -50px;background:#efe6f7}
.dash-top h1{font-size:clamp(40px,4.5vw,64px)}
.dash-desc{color:#5e5371;max-width:560px}
.dash-art{width:35%;height:auto;aspect-ratio:1.35}
.dash-art img{transform:none;border-radius:45% 45% 36px 36px}
.section-title{border-bottom:0;padding-bottom:4px}
.empty{padding:48px 20px 65px}
.editor-bar{width:min(calc(100% - 80px),1120px);margin:auto;padding:18px 0;background:transparent;border:0}
.editor-content{max-width:none;margin:auto;padding:42px 0 80px}
.editor-heading{position:relative;isolation:isolate;display:block;padding:35px 0;margin:0 0 60px}
.editor-heading::before{inset:-15px -50px;background:#e5efe5}
.editor-heading h1{font-size:clamp(40px,4.5vw,64px)}
.editor-heading p{max-width:760px;color:#5e5371}
.list-heading{margin-top:38px}
.add-photo{border:0;background:#f1eaf8}
.price-bar{padding-left:max(40px,calc((100% - 1120px)/2));padding-right:max(40px,calc((100% - 1120px)/2))}
.music-panel,.review-card{border:0}
.add-actions .secondary{justify-content:center}
@media(max-width:800px){
 .top,.container,.editor-main,.editor-bar,.auth{width:calc(100% - 48px)}
 .auth{grid-template-columns:1fr 1fr;gap:24px;margin-top:20px}
 .auth-visual{min-height:460px}
 .auth-panel{padding:24px 0}
 .auth-content{margin:35px auto 15px}
 .auth::before,.dash-top::before,.editor-heading::before{left:-24px;right:-24px}
 .dash-top{margin-bottom:50px}.dash-art{width:32%}
 .editor-content{padding-top:32px}
 .price-bar{padding-left:24px;padding-right:24px}
}
@media(max-width:560px){
 .top,.container,.editor-main,.editor-bar,.auth{width:calc(100% - 32px)}
 .top{height:68px;padding:0}
 .auth{grid-template-columns:1fr;gap:0;margin-top:12px;margin-bottom:45px;padding:20px 12px}
 .auth::before,.dash-top::before,.editor-heading::before{left:-14px;right:-14px;top:-12px;bottom:-18px}
 .auth-visual{min-height:0;height:175px;border-radius:32px;order:2;margin-top:24px}
 .auth-panel{padding:0;order:1}
 .auth-content{margin:30px auto 0}
 .auth-content h1,#emailStep h1{font-size:clamp(27px,8vw,38px)}
 .auth-content>p:not(.fine){font-size:15px;margin:16px 0 22px}
 .circle-icon{width:48px;height:48px;margin-bottom:18px}
 .dashboard{padding-top:20px}
 .dash-top{padding:24px 12px;margin-bottom:44px;gap:0}
 .dash-top h1{font-size:clamp(27px,7.5vw,40px)}
 .dash-desc{font-size:16px;margin-top:15px}
 .section-title .primary{margin-top:16px}
 .empty{padding:38px 10px 55px}
 .editor-bar{padding:14px 0}
 .editor-content{padding:25px 0 65px}
 .editor-heading{padding:25px 12px;margin-bottom:44px}
 .editor-heading h1{font-size:clamp(30px,8vw,42px)}
 .editor-heading p{font-size:16px;margin-top:14px}
 .list-heading .outline,.list-heading .outline[aria-pressed=true]{width:auto;min-width:0;height:auto;min-height:42px;font-size:13px;padding:10px 14px}
 .add-actions .secondary{justify-content:center}
 .price-bar{padding:12px 16px}
}
@media(max-width:560px){.price-bar span{font-size:12px;line-height:1.25}.price-bar small{font-size:11px;line-height:1.25}.price-bar strong{font-size:22px}}
/* Равные поля внутри цветных блоков */
.home-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 18px;text-decoration:none;font-size:14px}
.auth{padding:50px 0}
.auth::before,.dash-top::before,.editor-heading::before{top:0;bottom:0;left:-50px;right:-50px}
.auth-content{margin:0 auto}
.auth-visual,.dash-art img{border-radius:28px}
.dash-top{padding:50px 0}
.editor-heading{padding:50px 0}
.photo-rights{display:grid;grid-template-columns:19px 1fr;align-items:start;column-gap:10px;row-gap:7px;transition:background-color .2s,color .2s}
.photo-rights input{margin:1px 0 0}
.photo-rights.invalid{background:#fbe5e8;color:#8f3444}
.photo-rights.invalid input{accent-color:#ba5361}
.rights-error{grid-column:2;font-weight:bold;color:#a83d4f}
@media(max-width:800px){.auth::before,.dash-top::before,.editor-heading::before{left:-24px;right:-24px}.auth,.dash-top,.editor-heading{padding-top:24px;padding-bottom:24px}}
@media(max-width:560px){.auth,.dash-top,.editor-heading{padding:28px 12px}.auth::before,.dash-top::before,.editor-heading::before{top:0;bottom:0;left:-16px;right:-16px}.auth-visual{border-radius:22px}.auth-content{margin:0 auto}.photo-rights{font-size:13px}}

/* Просторные поля и мягко неровная форма фотографий */
.auth,.dash-top,.editor-heading{padding:76px}
.auth::before,.dash-top::before,.editor-heading::before{inset:0}
.auth{gap:48px}
.auth-visual{min-height:500px;overflow:hidden;border-radius:0;mask:url('assets/photo-soft-shape.svg') center / 100% 100% no-repeat;-webkit-mask:url('assets/photo-soft-shape.svg') center / 100% 100% no-repeat}
.auth-image{animation:none!important;transform:none!important}
.dash-art{width:38%;mask:url('assets/photo-soft-shape.svg') center / 100% 100% no-repeat;-webkit-mask:url('assets/photo-soft-shape.svg') center / 100% 100% no-repeat}
.dash-art img{display:block;border-radius:0;animation:none!important;transform:none!important}
@media(max-width:800px){
 .auth,.dash-top,.editor-heading{padding:48px}
 .auth::before,.dash-top::before,.editor-heading::before{inset:0}
 .auth{gap:28px}
 .auth-visual{min-height:400px}
}
@media(max-width:560px){
 .auth,.dash-top,.editor-heading{padding:32px}
 .auth::before,.dash-top::before,.editor-heading::before{inset:0}
 .auth{gap:0}
 .auth-visual{min-height:0;height:175px;border-radius:0}
}
/* Заголовки входа и доступные пройденные этапы */
.auth{align-items:start}.auth-panel{padding:0}
.editor-steps button{border:0;background:transparent;padding:0;display:flex;gap:8px;align-items:center;color:#a49aaa;font-size:inherit;font-weight:bold;white-space:nowrap}
.editor-steps button:disabled{opacity:1;cursor:default}.editor-steps button.completed{color:#6c4c93;cursor:pointer}.editor-steps button.completed b{background:#e8dcf4;color:#6c4c93}.editor-steps button.completed:hover{text-decoration:underline}.editor-steps button.active{color:#6c4c93}.editor-steps button.active b{background:#76549d;color:#fff}
.music-finish-actions{display:flex;align-items:center;gap:12px;margin-top:25px}.music-finish-actions .next-music{margin-top:0}
@media(max-width:560px){.editor-steps button{gap:4px;white-space:normal;text-align:left;line-height:1.2}.editor-steps b{flex:none}.music-finish-actions{align-items:stretch;flex-direction:column}.music-finish-actions .next-music,.music-finish-actions .secondary{width:100%}}
/* Полное прослушивание мелодии в каталоге */
.track{gap:15px}.track-preview{display:grid;place-items:center;flex:none;width:45px;height:45px;border:0;border-radius:13px;background:#e9e0f4;color:#825ba9;font-size:15px}.track-preview.pink{background:#f5e0e5;color:#a56f89}.track-preview:hover{filter:brightness(.96)}.track-select-action{display:flex;align-items:center;gap:15px;flex:1;min-width:0;padding:0;background:transparent;border:0;color:inherit;text-align:left}.track-select-action>span:first-child{min-width:0}.track-select-action .track-select{margin-left:auto;white-space:nowrap}.track-select-action:hover .track-select{text-decoration:underline}
@media(max-width:560px){.track-select-action{gap:8px}.track-select-action .track-select{white-space:normal;text-align:right;line-height:1.2}}
/* Список библиотеки и перемотка полного прослушивания */
.music-panel>.track-list-note{margin:0 0 10px;color:#85778d;font-size:13px}.tracks{max-height:440px;overflow-y:auto;padding:1px 4px 1px 1px;scrollbar-width:thin;scrollbar-color:#c7b5d8 transparent}.track{display:grid;grid-template-columns:45px minmax(0,1fr);gap:12px 15px}.track-select-action{width:100%}.track-progress{grid-column:1/-1;display:flex;align-items:center;gap:10px;padding:2px 2px 4px;font-size:12px;color:#796b83;font-variant-numeric:tabular-nums}.track-progress[hidden]{display:none}.track-seek{flex:1;min-width:0;accent-color:#79569f;cursor:pointer}.track-current,.track-duration{min-width:34px;text-align:center}@media(max-width:560px){.tracks{max-height:390px}.track-progress{gap:7px}}
