/* DG-1 | One social network, one design language. No data, auth, or API duplication.
   Scoped to the shared /app/ source used by browser / Android WebView / iOS Web app. */
body.dg1-social{--dg1-ink:#242146;--dg1-purple:#6550d7;--dg1-mint:#30b8aa;--dg1-line:#e5def7;background:radial-gradient(circle at 12% 3%,#e8e3ff 0,transparent 24rem),radial-gradient(circle at 95% 13%,#dcf8f1 0,transparent 22rem),#f9f8ff;color:var(--dg1-ink)}
.dg1-social .app-shell{max-width:1040px;padding-inline:clamp(12px,3.4vw,38px)}
.dg1-social .app-header{min-height:76px;padding:12px 0 17px}
.dg1-social .brand-mark{border-radius:21px;background:linear-gradient(142deg,#9c7df6 0%,#6550d7 75%);box-shadow:0 8px 20px #5c49cf33}
.dg1-social .brand small{font-size:11px;color:#625b80}
.dg1-social .account-pill{border-radius:15px;box-shadow:0 8px 18px #6352cc30}
.dg1-social .social-hero{min-height:154px;isolation:isolate;background:linear-gradient(118deg,#e6ddff 0%,#f6f2ff 52%,#dcf8f1 100%);border:1px solid #ded5f7;border-radius:30px;box-shadow:0 13px 32px #6c60b016}
.dg1-social .social-hero:before{content:"";position:absolute;inset:auto -30px -90px auto;width:210px;height:190px;border-radius:50%;background:radial-gradient(circle,#c3aeff88,transparent 68%);pointer-events:none}
.dg1-social .social-hero:after{content:"✦";position:absolute;top:14px;left:34%;color:#7c61d8;font-size:26px;transform:rotate(-13deg);opacity:.6;pointer-events:none}
.dg1-social .social-hero h1{color:#322561;line-height:1.25;font-size:clamp(25px,3.4vw,38px)}
.dg1-social .social-hero p{font-size:13px;line-height:1.7}
.dg1-social .social-hero img{filter:drop-shadow(0 10px 16px #684bb04a)}
.dg1-social .r109-start{display:none!important} /* legacy onboarding remains in source; 5-tab nav replaces it */
.dg1-social #page-home>.social-age-setting{margin:15px 0 6px;background:#ffffffc4;border:1px solid #e8e1f8;border-radius:17px;min-height:46px}
.dg1-social .social-section-header{margin-top:17px}
.dg1-social .social-section-header h2{color:#322761}
.dg1-social .social-moments{padding:8px 3px 14px;scroll-snap-type:x proximity}
.dg1-social .social-moments>*{scroll-snap-align:start}
.dg1-social .social-compose{border-radius:21px;background:linear-gradient(118deg,#fff,#fdfcff);box-shadow:0 7px 24px #6953ca17;border:1px solid #e8e3f7}
.dg1-social .social-compose button,.dg1-social .primary-cta{border-radius:17px}
.dg1-social .r122-quick{border-radius:23px;background:linear-gradient(125deg,#f6f2ff,#e8faf5);border:1px solid #e3dcf5}
.dg1-social .r122-quick-grid button{border-radius:16px;background:#fff;box-shadow:0 4px 12px #6355bc0b}
.dg1-social .feed-filter-bar{display:flex;overflow-x:auto;scrollbar-width:none;gap:8px;padding-block:8px;overscroll-behavior-x:contain}
.dg1-social .feed-filter-bar::-webkit-scrollbar{display:none}
.dg1-social .feed-filter-bar button{flex:none;border-radius:999px;min-height:42px}
.dg1-social .r121-social-surface{border-radius:23px}
.dg1-social .r121-feed-canvas{min-width:0}
.dg1-social .page-intro{border-radius:30px;background:linear-gradient(120deg,#e4dcff,#e4f8f4)}
.dg1-social .page-intro.lilac{background:linear-gradient(120deg,#eee6ff,#e2f5ff)}
.dg1-social .social-page-head{padding-block:10px}
.dg1-social .soft-card,.dg1-social .session-card,.dg1-social .u3-account-panel,.dg1-social .u3-studio-panel{border-radius:23px}
.dg1-social .bottom-nav{z-index:80;border:1px solid #eae4f9;border-radius:24px;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:color-mix(in srgb,#fff 94%,transparent);box-shadow:0 14px 42px #32257126;max-width:620px;margin-inline:auto;padding:7px 8px calc(7px + env(safe-area-inset-bottom))}
.dg1-social .bottom-nav button{border-radius:18px;min-height:56px;font-size:12px;gap:3px;transition:background .18s ease,transform .18s ease}
.dg1-social .bottom-nav button.selected{background:#ece6ff;color:#5240b3}
.dg1-social .bottom-nav button[data-nav="create"]{background:linear-gradient(148deg,#836cf0,#5841ce);color:white;box-shadow:0 5px 12px #6552ce45}
.dg1-social .bottom-nav button[data-nav="create"].selected{background:linear-gradient(148deg,#715be5,#3e2ca7);color:white}
.dg1-social .bottom-nav button[data-nav="create"] svg{stroke-width:2.8}
.dg1-social .bottom-nav button svg{width:22px;height:22px}
.dg1-social .dg1-journey{margin:0 0 14px;border-radius:20px;border:1px solid #e4ddf8;background:#fff;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:11px 13px;box-shadow:0 6px 19px #594bac13}
.dg1-social .dg1-journey-main{display:flex;align-items:center;gap:10px;min-width:0}
.dg1-social .dg1-journey-icon{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:14px;background:#dff7f1;color:#187b6e;font-size:19px}
.dg1-social .dg1-journey-copy{min-width:0}
.dg1-social .dg1-journey-copy strong{display:block;font-size:13px;color:#403078}
.dg1-social .dg1-journey-copy small{display:block;color:#6d6584;font-size:11px;margin-top:3px;line-height:1.35}
.dg1-social .dg1-journey button{border:0;min-height:40px;border-radius:13px;padding:7px 12px;font-size:12px;font-weight:900;background:#eee8ff;color:#5944bb;white-space:nowrap}
.dg1-social .dg1-journey button:last-child{background:#def7f1;color:#176e66}
.dg1-social .dg1-journey button:focus-visible{outline:3px solid #6550d7;outline-offset:2px}
.dg1-social .dg1-section-cue{display:inline-flex;align-items:center;gap:7px;background:#e6f6f0;color:#2a6b60;border-radius:999px;padding:5px 11px;font-size:11px;font-weight:850;margin-bottom:10px}
.dg1-social .dg1-section-cue:before{content:"";width:7px;height:7px;border-radius:50%;background:#2caa8f}
.dg1-social .dg1-guide{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;margin:12px 0 19px;padding:13px 16px;background:#fff;border:1px solid #eae4f8;border-radius:20px}
.dg1-social .dg1-guide .dg1-journey-icon{background:#e9e3ff;color:#5f46bf}
.dg1-social .dg1-guide strong{display:block;color:#3c2f78;font-size:14px}
.dg1-social .dg1-guide p{margin:4px 0 0;color:#6e6684;font-size:12px;line-height:1.65}
body.dg1-social[data-domi-age-band="13-17"] .social-hero{background:linear-gradient(115deg,#e1e3fc,#e4f2fd)}
body.dg1-social[data-domi-age-band="13-17"] .dg1-journey-icon{background:#dfe9fd;color:#385b9d}
@media(max-width:630px){
 .dg1-social .app-header{min-height:70px;padding:9px 0 12px}
 .dg1-social .social-hero{min-height:138px;border-radius:24px}
 .dg1-social .social-hero h1{font-size:23px}
 .dg1-social .social-hero p{font-size:11px}
 .dg1-social .dg1-journey{grid-template-columns:1fr 1fr;gap:9px}
 .dg1-social .dg1-journey-main{grid-column:1/-1}
 .dg1-social .dg1-journey button{width:100%}
 .dg1-social .bottom-nav{left:8px;right:8px;width:calc(100% - 16px);transform:none;margin:0;border-radius:22px}
 .dg1-social .bottom-nav button{min-width:0;min-height:56px;padding:5px 2px;font-size:11px}
 .dg1-social .r122-quick-head small{font-size:10px}
 .dg1-social .r122-quick-grid button{min-height:62px}
}
@media(max-width:380px){
 .dg1-social .brand strong{font-size:19px}
 .dg1-social .social-hero h1{font-size:20px}
 .dg1-social .social-hero p{max-width:190px}
 .dg1-social .dg1-journey{padding:10px}
 .dg1-social .dg1-journey-copy strong{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.dg1-social *{scroll-behavior:auto!important;transition:none!important;animation-duration:.01ms!important}}
