/* DG-11/12: one role-aware My hub and genuine save-to-original-library feedback.
   No duplicate account/feed/editor, no synthetic counts, no public child publication. */
body.dg1-social .dg11-hub{display:grid;gap:15px;margin:14px 0 20px;padding:17px;border:1px solid #ddd3f7;
 border-radius:25px;background:linear-gradient(125deg,#f5f0ff,#eefcf8 72%,#fdf1ff);
 box-shadow:0 12px 34px #5541b516;min-width:0}
body.dg1-social .dg11-head{display:flex;gap:13px;align-items:center;min-width:0}
body.dg1-social .dg11-mark{display:grid;place-items:center;flex:none;width:56px;height:56px;border-radius:20px;
 font-size:27px;color:white;background:linear-gradient(135deg,#7754d6,#319fa4);box-shadow:0 7px 18px #6153c63d}
body.dg1-social .dg11-head-copy{min-width:0;display:grid;gap:3px}
body.dg1-social .dg11-eyebrow{font-size:9px;letter-spacing:.12em;color:#6e54b9;font-weight:900}
body.dg1-social .dg11-title{margin:0;color:#423085;font-weight:950;font-size:20px;line-height:1.45}
body.dg1-social .dg11-detail{margin:0;color:#72688b;font-size:11px;line-height:1.8}
body.dg1-social .dg11-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.dg1-social .dg11-action{display:flex;gap:11px;align-items:center;text-align:start;min-width:0;min-height:85px;
 border:1px solid #e8def7;border-radius:18px;background:#fff;padding:11px;
 box-shadow:0 4px 13px #5540a411;color:#413081;cursor:pointer}
body.dg1-social .dg11-action.featured{background:linear-gradient(125deg,#6e53ce,#5785db);
 color:white;border-color:#6c54cf}
body.dg1-social .dg11-action-icon{display:grid;place-items:center;width:42px;height:42px;flex:none;
 background:#eee8ff;color:#6650c1;font-size:23px;border-radius:14px}
body.dg1-social .dg11-action.featured .dg11-action-icon{background:#ffffff25;color:white}
body.dg1-social .dg11-action-copy{display:grid;gap:4px;min-width:0;flex:1}
body.dg1-social .dg11-action-copy strong{font-size:13px;font-weight:950;line-height:1.5;color:inherit}
body.dg1-social .dg11-action-copy small{font-size:10px;color:#7c718e;line-height:1.6}
body.dg1-social .dg11-action.featured .dg11-action-copy small{color:#f0ebff}
body.dg1-social .dg11-chevron{font-size:18px;font-weight:950;opacity:.7}
body.dg1-social .dg11-action:focus-visible,body.dg1-social .dg12-show-work:focus-visible{outline:3px solid #25b1a8;outline-offset:3px}
body.dg1-social .dg12-saved-journey{margin:10px 0 19px;padding:15px 16px;border:1px solid #a6e6d2;
 border-radius:19px;background:linear-gradient(115deg,#e4faf1,#f0eeff);color:#285d60;
 display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px 12px}
body.dg1-social .dg12-saved-journey[hidden]{display:none!important}
body.dg1-social .dg12-success-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;
 background:#238d7a;color:white;font-size:22px;grid-row:span 2}
body.dg1-social .dg12-saved-journey strong{font-size:12px;font-weight:950;color:#24695f}
body.dg1-social .dg12-saved-journey small{font-size:10px;line-height:1.7;color:#68768a}
body.dg1-social .dg12-show-work{grid-row:span 2;background:#5c49b9;color:white;border:0;min-height:44px;
 border-radius:13px;padding:11px 14px;font-size:11px;font-weight:950}
@media(max-width:650px){
 body.dg1-social .dg11-hub{padding:12px;border-radius:21px}
 body.dg1-social .dg11-actions{gap:8px}
 body.dg1-social .dg11-action{flex-direction:column;align-items:flex-start;gap:7px;min-height:110px;padding:10px}
 body.dg1-social .dg11-action-icon{width:37px;height:37px;border-radius:12px;font-size:20px}
 body.dg1-social .dg11-action-copy strong{font-size:11px}
 body.dg1-social .dg11-action-copy small{font-size:9px}
 body.dg1-social .dg11-chevron{display:none}
 body.dg1-social .dg12-saved-journey{grid-template-columns:auto minmax(0,1fr)}
 body.dg1-social .dg12-show-work{grid-column:1/-1;grid-row:auto}
}
@media(max-width:345px){
 body.dg1-social .dg11-title{font-size:16px}
 body.dg1-social .dg11-detail{font-size:10px}
 body.dg1-social .dg11-action{padding:8px}
}
@media(prefers-reduced-motion:reduce){
 body.dg1-social .dg11-action,body.dg1-social .dg12-show-work{transition:none!important}
}

/* DG13: ONLY verified, already-rendered ORIGINAL owner ledger counts. */
body.dg1-social .dg13-progress{margin-top:2px;padding:14px;border-radius:19px;
 border:1px solid #d6c9f1;background:linear-gradient(126deg,#fff,#faf8ff);display:grid;gap:12px}
body.dg1-social .dg13-heading{display:flex;align-items:center;justify-content:space-between;gap:7px;flex-wrap:wrap}
body.dg1-social .dg13-heading strong{font-size:13px;font-weight:950;color:#473583}
body.dg1-social .dg13-heading small{font-size:10px;color:#7a7192}
body.dg1-social .dg13-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
body.dg1-social .dg13-status{display:flex;align-items:center;gap:9px;min-width:0;min-height:65px;padding:10px;
 border-radius:15px;border:1px solid #e7e0f3;background:#f8f5ff;color:#493887;cursor:pointer;text-align:start}
body.dg1-social .dg13-status:nth-child(2){background:#fff7ea;border-color:#f3debd;color:#895923}
body.dg1-social .dg13-status:nth-child(3){background:#eafaf5;border-color:#cdeee2;color:#226f5f}
body.dg1-social .dg13-icon{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:11px;
 background:#e7dfff;font-size:18px;color:#5c47b7}
body.dg1-social .dg13-status:nth-child(2) .dg13-icon{background:#ffebcd;color:#955b20}
body.dg1-social .dg13-status:nth-child(3) .dg13-icon{background:#d0f3e6;color:#207865}
body.dg1-social .dg13-status-copy{display:grid;gap:3px;min-width:0}
body.dg1-social .dg13-status-copy strong{font-size:19px;font-weight:950;font-variant-numeric:tabular-nums}
body.dg1-social .dg13-status-copy small{font-size:10px;line-height:1.35;color:inherit}
body.dg1-social .dg13-hint{font-size:10px;line-height:1.65;color:#746c86;margin:0}
/* DG14: optional (not synthetic) visit counters; redundant legacy links are hidden
   only while the new unified Personal hub is installed. */
body.dg1-social #page-profile:has(#dg11PersonalHub)>.r110-profile-help{display:none}
body.dg1-social .dg14-visit-details{margin:14px 0 18px;border:1px solid #e5ddf3;border-radius:19px;
 background:#fff;overflow:hidden}
body.dg1-social .dg14-visit-summary{padding:15px 17px;min-height:46px;color:#574483;
 font-size:12px;font-weight:900;cursor:pointer;line-height:1.7}
body.dg1-social .dg14-visit-summary:focus-visible{outline:3px solid #268f97;outline-offset:-3px}
body.dg1-social .dg14-visit-details[open] .dg14-visit-summary{background:#f1ebff}
body.dg1-social .dg14-visit-details .session-card{border:0!important;border-radius:0!important;
 box-shadow:none!important;margin:0!important}
/* Touch/keyboard parity: same original five-tab controls and original actions. */
body.dg1-social .dg13-status:focus-visible{outline:3px solid #2eaca1;outline-offset:3px}
body.dg1-social .bottom-nav [data-nav]:focus-visible{outline:3px solid #2b8f9b;outline-offset:2px}
body.dg1-social #page-profile .dg11-action{min-height:92px}
body.dg1-social #page-profile .dg11-hub button,
body.dg1-social #page-create .dg12-show-work{touch-action:manipulation}
@media(max-width:600px){
 body.dg1-social .dg13-progress{padding:10px;border-radius:16px}
 body.dg1-social .dg13-status-grid{gap:5px}
 body.dg1-social .dg13-status{padding:8px 4px;min-height:74px;flex-direction:column;
  justify-content:center;text-align:center;gap:5px}
 body.dg1-social .dg13-icon{width:28px;height:28px;border-radius:9px;font-size:15px}
 body.dg1-social .dg13-status-copy strong{font-size:16px}
 body.dg1-social .dg13-status-copy small{font-size:9px}
}
@media(prefers-reduced-motion:reduce){
 body.dg1-social .dg13-status,body.dg1-social .dg14-visit-summary{animation:none!important;transition:none!important}
}
/* DG14 removes the redundant old Profile wayfinding card once the role-aware
   My hub is present. Original Home/Create navigation remains in bottom tabs. */
body.dg1-social #page-profile:has(#dg11PersonalHub)>.dg9-context{display:none}

/* DG32 — readable profile: move the same two account panels into ONE disclosure.
   Content and event handlers stay original; no shadow form or account state. */
body.dg1-social .dg32-account-details{border:1px solid #ddd6f1;border-radius:20px;background:#fff;margin:12px 0 18px;overflow:hidden;box-shadow:0 8px 20px #4e40a211}
body.dg1-social .dg32-account-summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;min-height:57px;padding:14px 16px;color:#473583;font-weight:900;font-size:13px}
body.dg1-social .dg32-account-summary::-webkit-details-marker{display:none}
body.dg1-social .dg32-account-summary:before{content:"⚙";display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:12px;background:#ece8ff;color:#5943b7;font-size:19px}
body.dg1-social .dg32-account-summary:after{content:"⌄";margin-inline-start:auto;font-size:24px;color:#6a53c5;transition:transform .18s ease}
body.dg1-social .dg32-account-details[open] .dg32-account-summary:after{transform:rotate(180deg)}
body.dg1-social .dg32-account-details> :is(.u3-account-panel,.r111-account-center){margin:12px}
body.dg1-social .dg32-account-details> .r111-account-center .r111-shell{margin:0}
body.dg1-social .dg32-account-summary:focus-visible{outline:3px solid #20a99d;outline-offset:-3px}
body.dg1-social .dg11-head{position:relative;isolation:isolate}
body.dg1-social .dg32-role-art{width:82px;height:82px;object-fit:contain;flex:0 0 82px;margin-inline-start:auto;filter:drop-shadow(0 6px 8px #654fb328)}
body.dg1-social .dg11-head-copy{flex:1}
body.dg1-social .dg11-hub[data-role="FAMILY"]{background:linear-gradient(123deg,#eafbf8,#f6f2ff 72%)}
body.dg1-social .dg11-hub[data-role="OWNER"]{background:linear-gradient(123deg,#f3f2ff,#edf4ff 72%)}
body.dg1-social .dg11-action{min-height:86px}
body.dg1-social .dg11-action-copy small{font-size:11px;line-height:1.5}
@media(max-width:520px){
 body.dg1-social .dg11-head{gap:7px}
 body.dg1-social .dg11-mark{width:44px;height:44px;flex:0 0 44px;border-radius:15px}
 body.dg1-social .dg32-role-art{width:56px;height:68px;flex:0 0 56px}
 body.dg1-social .dg11-title{font-size:17px}
 body.dg1-social .dg11-action{min-height:105px}
 body.dg1-social .dg11-action-copy strong{font-size:12px}
 body.dg1-social .dg11-action-copy small{font-size:10px}
}
@media(max-width:355px){body.dg1-social .dg32-role-art{width:42px;flex-basis:42px}body.dg1-social .dg11-mark{display:none}}
@media(prefers-reduced-motion:reduce){body.dg1-social .dg32-account-summary:after{transition:none!important}}
