/* DG61 — One real action bar on all reviewed posts, original one-app feed. */
#page-home .dg61-ready{overflow:visible!important;min-width:0}
#page-home .dg61-actions{border-top:1px solid #eee3fb;background:#fff;
 padding:10px 12px 12px;border-radius:0 0 21px 21px;direction:rtl;min-width:0}
#page-home .dg61-toolbar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
#page-home .dg61-btn{display:flex;justify-content:center;align-items:center;gap:4px;flex-wrap:wrap;
 min-width:0;min-height:48px;padding:7px 5px;border:1px solid transparent;
 border-radius:13px;background:#f7f1ff;color:#553289;font-size:12px;font-weight:850;
 cursor:pointer;transition:background .12s ease,transform .12s ease}
#page-home .dg61-btn:active{transform:scale(.97)}
#page-home .dg61-btn[aria-pressed=true]{background:#fce4f8;color:#ae2da9;border-color:#f6caed}
#page-home .dg61-symbol{font-size:23px;line-height:1;min-width:22px;font-weight:700}
#page-home .dg61-count{font-size:11px;font-variant-numeric:tabular-nums;line-height:1}
#page-home .dg61-count:empty{display:none}
#page-home .dg61-private{display:block;background:#ecfaf4;color:#187b69;padding:6px 10px;
 border-radius:11px;margin-top:8px;font-size:11px;font-weight:700;text-align:center}
#page-home .dg61-private[hidden],#page-home .dg61-comment-panel[hidden],
#page-home .dg61-share-sheet[hidden]{display:none!important}
#page-home .dg61-comment-panel,#page-home .dg61-share-sheet{
 margin-top:11px;padding:12px;border:1px solid #e6d7f8;border-radius:15px;
 background:#fcfaff;display:grid;gap:10px}
#page-home .dg61-comment-panel strong,#page-home .dg61-share-sheet strong{color:#3b1d79;font-size:15px}
#page-home .dg61-comment-panel p{font-size:11px;line-height:1.8;color:#6e5c90;margin:0}
#page-home .dg61-comment-form,#page-home .dg61-share-buttons{
 display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
#page-home .dg61-share-sheet input,#page-home .dg61-comment-form select{
 width:100%;min-width:0;min-height:43px;padding:9px;border:1px solid #d9c7f6;
 border-radius:11px;background:#fff;color:#311b68}
#page-home .dg61-comment-form button,#page-home .dg61-share-buttons button{
 min-height:43px;border:1px solid #e3d4fa;border-radius:11px;padding:8px 13px;
 background:#f3e9ff;color:#593497;font-size:12px;font-weight:850}
#page-home .dg61-primary{background:linear-gradient(120deg,#be38d9,#7141d7)!important;
 color:#fff!important;border:0!important}
#page-home .dg61-status{margin:5px 2px 0;color:#206f61;font-size:11px;
 line-height:1.7;min-height:0;overflow-wrap:anywhere}
#page-home .dg61-status:empty{display:none}
#page-home .dg61-status[data-bad=true]{color:#b42345}
#page-home .dg61-my-comments{display:grid;gap:5px}
#page-home .dg61-my-comment{display:flex;align-items:center;justify-content:space-between;
 padding:7px 10px;background:#f5edff;border-radius:10px;font-size:12px}
#page-home .dg61-my-comment button{min-width:30px;min-height:30px;border:0;
 background:#fff;color:#9940a2;border-radius:8px;font-size:20px}
#page-home .dg61-empty{font-size:11px}
.dg61-profile-dialog{border:1px solid #e5d6f5;border-radius:23px;
 padding:20px;max-width:min(400px,calc(100vw - 24px));box-shadow:0 19px 54px #2910564b;
 background:#fff;color:#38176b;direction:rtl}
.dg61-profile-dialog::backdrop{background:#16092c99}
.dg61-profile-dialog h3{font-size:17px;margin:0 0 17px;line-height:1.7}
.dg61-profile-dialog select{min-height:48px;width:100%;border:1px solid #d9c3f8;
 border-radius:11px;background:#fff;padding:10px}
.dg61-dialog-actions{display:flex;gap:8px;margin-top:13px}
.dg61-dialog-actions button{border:1px solid #e0d0fa;border-radius:12px;
 min-height:45px;padding:10px 18px;background:#f4edff;color:#56328b}
.dg61-dialog-actions .dg61-primary{background:#763ec9;color:#fff}
#page-home .dg61-btn:focus-visible,#page-home .dg61-comment-panel button:focus-visible{
 outline:3px solid #37c4b5;outline-offset:2px}
@media(max-width:450px){
 #page-home .dg61-actions{padding:8px 7px 10px}
 #page-home .dg61-toolbar{gap:3px}
 #page-home .dg61-btn{flex-direction:column;gap:2px;min-height:55px;padding:4px 2px}
 #page-home .dg61-label{font-size:10px}
 #page-home .dg61-symbol{font-size:21px}
 #page-home .dg61-comment-form{grid-template-columns:1fr}
 #page-home .dg61-comment-form button{width:100%}
}
@media(prefers-reduced-motion:reduce){#page-home .dg61-btn{transition:none}}

/* One Instagram-style reading column instead of a dashboard of miniature cards. */
body.dg59-visual #page-home .r121-feed-canvas{grid-template-columns:minmax(0,1fr)!important;max-width:725px;margin-inline:auto}
body.dg59-visual #page-home .r121-feed-canvas .u2-post,
body.dg59-visual #page-home .r121-feed-canvas .u3-adult-post{width:100%;max-width:725px;margin-inline:auto}
body.dg59-visual #page-home .r121-feed-canvas .u3-more{width:100%}

#page-home .dg61-symbol svg{width:23px;height:23px;display:block;fill:none}
#page-home .dg61-private{width:100%;border:0;min-height:35px;cursor:pointer}

#page-home .dg61-share-buttons{grid-template-columns:repeat(3,minmax(0,1fr))}
#page-home .dg61-share-buttons button{padding:8px 5px;min-width:0}

#page-home .dg61-comment-form[hidden],#page-home .dg61-signin-comment[hidden],#page-home .dg61-my-comments[hidden]{display:none!important}
#page-home .dg61-public-comments{display:grid;gap:5px}
#page-home .dg61-reviewed-comment{background:#f4edff;border-radius:10px;padding:9px 11px;display:grid;gap:4px;margin:0}
#page-home .dg61-reviewed-comment strong{font-size:10px;color:#6a4e9c}
#page-home .dg61-reviewed-comment span{font-size:12px;color:#30165e}

#page-profile .dg61-saved-panel{background:#fff;padding:18px;border:1px solid #e8d9fa;border-radius:23px;margin:14px auto;box-shadow:0 7px 18px #5e1ca71d;max-width:780px}
#page-profile .dg61-saved-panel[hidden]{display:none!important}
#page-profile .dg61-saved-panel h2{font-size:18px;color:#42217a;margin:0 0 5px}
#page-profile .dg61-saved-note{font-size:11px;line-height:1.8;color:#796395;margin:0 0 11px}
#page-profile .dg61-saved-profile{border:1px solid #e5d2f9;border-radius:12px;background:#f3eaff;color:#61399c;padding:10px;min-height:42px;margin-bottom:9px}
#page-profile .dg61-saved-list{display:grid;gap:8px}
#page-profile .dg61-saved-item{display:flex;align-items:center;gap:10px;border:1px solid #efe4ff;background:#faf6ff;border-radius:13px;padding:10px 13px;color:#4d2083;text-decoration:none}
#page-profile .dg61-saved-item strong{flex:1;font-size:13px}
#page-profile .dg61-saved-item small{font-size:10px;color:#7c5da6}

/* Apply the one-column social feed even before asynchronous DG59 theme finishes. */
#page-home .r121-feed-canvas{grid-template-columns:minmax(0,1fr)!important;max-width:725px;margin-inline:auto}


/* DG82-H: guardian Home uses the SAME fail-closed private visibility
 * envelope as original Reels. Explicit author CSS overrides any feed-grid
 * display style that could otherwise defeat browser's [hidden] default. */
#page-home .u3-adult-post[data-dg61-post][hidden],
#page-home .u2-post[data-dg61-post][hidden],
#page-home [data-dg61-post][hidden]{display:none!important}
#page-home #dg82FamilyHomeGate[hidden]{display:none!important}
#page-home #dg82FamilyHomeGate{display:grid;gap:9px;padding:18px;
 max-width:725px;width:100%;min-width:0;margin:15px auto 20px;
 border:1px solid #d9d2ee;border-radius:18px;background:#faf8ff;
 color:#3a3069;box-shadow:0 3px 14px #37235610;direction:rtl}
#page-home #dg82FamilyHomeGate strong{font-size:16px;line-height:1.4}
#page-home #dg82FamilyHomeGate p{font-size:12px;line-height:1.7;
 color:#655e80;margin:0}
#page-home #dg82FamilyHomeGate button{min-height:44px;max-width:100%;
 border-radius:12px;background:#e7e0fb;color:#44327b;
 border:1px solid #cfc0f5;font:inherit;font-size:12px;font-weight:800;
 padding:10px 14px;cursor:pointer}
#page-home #dg82FamilyHomeGate button:focus-visible{outline:3px solid #6549af;
 outline-offset:3px}
#page-home #dg82FamilyHomeGate button:disabled{opacity:.6;cursor:wait}
@media(max-width:490px){#page-home #dg82FamilyHomeGate{
 padding:14px;margin:10px auto 16px}}
