/* DG-5 · Creator studio: just the original editor, visually explained. */
.dg1-social #page-create{min-width:0}
.dg1-social #page-create .page-intro{margin-bottom:10px}
.dg1-social #page-create .u3-studio-panel{border-radius:25px;border:1px solid #e0d7f7;background:linear-gradient(160deg,#fff,#faf7ff 57%,#edfaf6);box-shadow:0 15px 38px #4a398523}
.dg1-social .dg5-intro{background:linear-gradient(126deg,#6e54d9,#8667df 55%,#269f98);color:#fff;border-radius:24px;padding:16px 16px 18px;box-shadow:0 8px 24px #6854c63a;margin:4px 0 8px}
.dg1-social .dg5-intro-heading{display:flex;align-items:center;gap:11px}
.dg1-social .dg5-icon{width:52px;height:52px;flex:none;display:grid;place-items:center;background:#ffffff32;border:1px solid #ffffff70;box-shadow:0 5px 15px #322c8944;border-radius:20px;font-size:34px}
.dg1-social .dg5-intro-heading strong{display:block;color:white;font-size:16px;font-weight:950;line-height:1.45}
.dg1-social .dg5-intro-heading small{display:block;color:#eff9ff;font-size:11px;line-height:1.8;margin-top:3px}
.dg1-social .dg5-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:17px}
.dg1-social .dg5-step{display:flex;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:49px;border-radius:14px;padding:7px;background:#ffffff23;border:1px solid #ffffff49;color:#f5f0ff}
.dg1-social .dg5-step.done{background:#fff;color:#4e3ca8;box-shadow:0 4px 15px #34257d20}
.dg1-social .dg5-step-icon{width:26px;height:26px;flex:none;display:grid;place-items:center;background:#ffffff43;border-radius:9px;color:inherit;font-size:17px;font-weight:900}
.dg1-social .dg5-step.done .dg5-step-icon{background:#e6f9ee;color:#198c70}
.dg1-social .dg5-step-label{font-weight:850;font-size:11px;line-height:1.35;text-align:center}
.dg1-social .dg5-preview{border:1px solid #ddd5f7;border-radius:20px;padding:12px;background:#f9f7ff;display:grid;gap:10px;margin-top:3px;min-width:0}
.dg1-social .dg5-preview-head{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.dg1-social .dg5-preview-head strong{color:#3b3074;font-size:13px}
.dg1-social .dg5-preview-head small{font-size:10px;color:#736887}
.dg1-social .dg5-preview-stage{display:grid;place-items:center;overflow:hidden;border-radius:16px;min-width:0;min-height:145px;background:linear-gradient(130deg,#ede8ff,#e2f7f3);border:1px dashed #c3b6e9}
.dg1-social .dg5-preview-empty{display:grid;justify-items:center;gap:7px;max-width:95%;padding:16px;text-align:center}
.dg1-social .dg5-preview-symbol{display:grid;place-items:center;width:65px;height:65px;border-radius:23px;background:#fff9;font-size:31px;color:#6549c4;box-shadow:0 8px 18px #6d55bf20}
.dg1-social .dg5-preview-empty strong{font-size:12px;line-height:1.6;color:#43336d}
.dg1-social .dg5-preview-empty small{font-size:10px;line-height:1.65;color:#77708f}
.dg1-social .dg5-preview-media{display:block;max-width:100%;width:auto;max-height:min(400px,50vh);object-fit:contain;background:#170f2a;border-radius:15px}
.dg1-social .dg5-preview-stage:has(video){background:#17102d}
.dg1-social .dg5-preview-stage audio{width:min(100%,440px);min-height:58px;background:transparent}
.dg1-social .dg5-file-meta{display:flex;gap:8px;flex-wrap:wrap;min-width:0}
.dg1-social .dg5-meta-chip{display:flex;align-items:center;gap:5px;max-width:100%;background:#fff;border:1px solid #e5def6;border-radius:10px;padding:6px 9px;min-width:0}
.dg1-social .dg5-meta-chip b{color:#513a9c;font-size:10px}
.dg1-social .dg5-meta-chip small{font-size:10px;color:#736b83;overflow-wrap:anywhere;min-width:0}
.dg1-social .dg5-media-notice{font-size:10px;color:#645583;line-height:1.7}
.dg1-social .dg5-media-notice.dg5-invalid{color:#ad304e;font-weight:850}
.dg1-social #page-create :is(.u3-creator-form,.u4-family-form){min-width:0}
.dg1-social #page-create :is(.u3-creator-form,.u4-family-form)>label{min-width:0}
.dg1-social #page-create :is(.u3-creator-form,.u4-family-form) input[type=file]{width:100%;max-width:100%;overflow-wrap:anywhere}
.dg1-social #page-create .r112-workspace-intro{background:linear-gradient(130deg,#eee9ff,#e3f8f1);border-radius:18px}
.dg1-social #page-create .r112-card{border-radius:19px}
.dg1-social #page-create .r112-state{font-weight:900}
.dg1-social #page-create .u4-family-intro{border-radius:19px}
@media(max-width:600px){
 .dg1-social .dg5-intro{padding:13px;border-radius:20px}
 .dg1-social .dg5-icon{width:42px;height:42px;border-radius:15px;font-size:27px}
 .dg1-social .dg5-intro-heading strong{font-size:13px}
 .dg1-social .dg5-steps{gap:4px}
 .dg1-social .dg5-step{flex-direction:column;min-height:57px;padding:5px 3px;gap:2px}
 .dg1-social .dg5-step-label{font-size:9px}
 .dg1-social .dg5-step-icon{width:22px;height:22px;font-size:13px}
 .dg1-social .dg5-preview{padding:9px}
}
@media(prefers-reduced-motion:reduce){.dg1-social .dg5-intro,.dg1-social .dg5-step{transition:none!important}}

/* DG33 — one original editor visual language; status reflects existing form inputs. */
.dg1-social .dg5-intro{position:relative;overflow:hidden;background-image:url('/app/dg33-creative-star.svg'),linear-gradient(125deg,#6651ca 0%,#765ce2 55%,#189e98 100%);background-repeat:no-repeat;background-position:right 4px top 4px,center;background-size:104px auto,cover}
.dg1-social .dg5-intro:before{content:"";position:absolute;width:140px;height:140px;border-radius:50%;inset:-64px auto auto -50px;background:#fff2;pointer-events:none}
.dg1-social .dg5-intro>*{position:relative;z-index:1}
.dg1-social .dg33-composer-readiness{margin:12px 0 0;background:#ffffff21;border:1px solid #ffffff61;border-radius:12px;padding:10px 12px;font-size:11px;line-height:1.7;color:white;font-weight:750}
.dg1-social #page-create .dg5-preview{border-style:solid;background:linear-gradient(130deg,#f9f6ff,#f2fbfa)}
.dg1-social #page-create .dg5-preview-empty{min-height:110px}
.dg1-social #page-create .dg5-step-label{font-size:11px}
.dg1-social #page-create .dg5-step{min-height:64px}
@media(max-width:470px){
 .dg1-social #page-create .dg5-steps{gap:5px}
 .dg1-social #page-create .dg5-step{min-height:69px}
 .dg1-social #page-create .dg5-step-label{font-size:10px;line-height:1.5}
 .dg1-social #page-create .dg5-intro{background-size:80px auto,cover}
}

/* DG33: guest story maker stays functional but is a secondary activity, not a second editor. */
.dg1-social #page-create .r110-guest-story-title{margin:20px 0 9px;font-size:13px;font-weight:850;color:#584386}
.dg1-social #page-create #storyStart{min-height:49px;border:1px solid #bba9e5!important;background:#f2edff!important;color:#543d9c!important;box-shadow:none!important;font-size:13px}
.dg1-social #page-create .creation-steps{opacity:.8;transform:scale(.96);transform-origin:center;margin:8px 0 13px}
.dg1-social #page-create .page-intro>div{position:relative;z-index:2;max-width:64%;min-width:0}
.dg1-social #page-create .page-intro>img{max-width:32%;width:32%;object-fit:contain;left:3%;right:auto;z-index:1}
@media(max-width:470px){
 .dg1-social #page-create .page-intro{min-height:149px;padding-inline:15px;border-radius:22px}
 .dg1-social #page-create .page-intro h1{font-size:21px;line-height:1.55}
 .dg1-social #page-create .page-intro p{font-size:11px;line-height:1.7}
 .dg1-social #page-create .page-intro>div{max-width:63%}
 .dg1-social #page-create .page-intro>img{width:31%;max-width:31%;left:2%;right:auto}
}
html[dir="ltr"] body.dg1-social #page-create .page-intro>img{left:auto;right:2%}
html[dir="ltr"] body.dg1-social #page-create .page-intro>div{max-width:63%}

/* DG33 completion: route directly to original owner/family work ledger, no clone. */
.dg1-social .dg33-open-original-library{display:flex;justify-content:center;align-items:center;min-height:46px;width:100%;margin:11px 0 0;padding:10px 14px;background:#fff;color:#4c388e;border:1px solid #e3daff;border-radius:14px;font-size:12px;font-weight:900;cursor:pointer;box-shadow:0 4px 14px #24146b22}
.dg1-social .dg33-open-original-library:focus-visible{outline:3px solid #29c3ab;outline-offset:3px}
.dg1-social #page-create :is(#u3OwnedWorks,#u4FamilyLibrary){scroll-margin-top:78px}
@media(max-width:450px){.dg1-social .dg33-open-original-library{font-size:11px}}
