/* DG31 — one content-first social UI on the original shared /app/ HTML.
   Additive graphics only: no second feed, user model, API, login or publishing route. */
body.dg31-unified{--dg31-ink:#302653;--dg31-purple:#6a50d6;--dg31-teal:#1b9f97;background:radial-gradient(circle at 93% 0,#f0eaff 0,transparent 24rem),#f8f8fe}
body.dg31-unified .app-shell{max-width:1050px}
body.dg31-unified .app-header{position:sticky;top:0;z-index:90;background:rgba(248,248,254,.94);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-radius:0 0 21px 21px;padding-inline:4px}
body.dg31-unified .brand-mark{background:linear-gradient(145deg,#8e74f0,#5d43c4);box-shadow:0 7px 17px #6451d44a}
body.dg31-unified #page-home .social-hero{position:relative;min-height:158px;overflow:hidden;padding:clamp(17px,3.3vw,27px);background:linear-gradient(112deg,#efe9ff,#e8f9f8);border:1px solid #d9d4f7;box-shadow:0 12px 30px #5542a417}
body.dg31-unified #page-home .social-hero h1{font-size:clamp(23px,3.5vw,35px);max-width:580px;letter-spacing:-.02em}
body.dg31-unified #page-home .social-hero p{font-size:clamp(12px,1.6vw,14px);line-height:1.85;max-width:535px}
body.dg31-unified #page-home .social-hero img{width:clamp(150px,28vw,252px);height:auto;max-height:188px;object-fit:contain;filter:none;z-index:1;pointer-events:none}
body.dg31-unified .dg31-simple-label{display:inline-flex;align-items:center;gap:7px;margin-bottom:8px;color:#5443a6;font-size:11px;font-weight:900;letter-spacing:.06em}
body.dg31-unified .dg31-simple-label:before{content:"";width:8px;height:8px;border-radius:50%;background:#24ad9a}
body.dg31-unified .dg1-journey.dg9-guide{margin:12px 0 10px;border:1px solid #e2ddf5;background:#fff;border-radius:24px;box-shadow:0 6px 22px #5542a40c;padding:12px 15px;grid-template-columns:minmax(0,1fr) minmax(0,1.8fr);align-items:center;gap:14px}
body.dg31-unified .dg9-lead{min-width:0}
body.dg31-unified .dg9-symbol{width:43px;height:43px;flex:none;font-size:23px;border-radius:15px;background:linear-gradient(132deg,#7057d8,#1ea5a0)}
body.dg31-unified .dg9-heading{font-size:13px;color:var(--dg31-ink)}
body.dg31-unified .dg9-subtitle{font-size:10px}
body.dg31-unified .dg9-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
body.dg31-unified .dg9-step{min-height:64px;padding:8px;background:#f8f5ff;border:1px solid #ede6fa;border-radius:15px;gap:7px}
body.dg31-unified .dg9-step:nth-child(2){background:#6852d2;border-color:#6852d2}
body.dg31-unified .dg9-step-glyph{width:36px;height:36px;flex:none;font-size:18px}
body.dg31-unified .dg9-step-label{font-size:11px}
body.dg31-unified .dg9-step-hint{font-size:9px}
body.dg31-unified #page-home>.social-age-setting{margin:10px 0 13px;display:flex;align-items:center;justify-content:space-between;gap:10px;border:1px solid #dfdcf3;border-radius:16px;background:#fff;min-height:58px;padding:7px 14px;box-shadow:0 4px 13px #534ca609}
body.dg31-unified #page-home>.social-age-setting span{font-size:12px;font-weight:850;color:#51446f}
body.dg31-unified #page-home #feedAgeChoice{border-radius:13px;background:#eee9ff;border:1px solid #d7ccf6;color:#463483;font-weight:850;min-height:43px;max-width:165px}
body.dg31-unified #page-home>.social-section-header{margin-top:14px}
body.dg31-unified .social-section-header h2{font-size:16px}
body.dg31-unified #page-home .social-moments{padding-top:8px;padding-bottom:8px;scrollbar-width:thin}
body.dg31-unified .r121-social-surface{background:#fff;border:1px solid #e6e2f4;box-shadow:0 8px 24px #5b4ca90e}
body.dg31-unified #page-home .r121-feed-summary{padding:8px 4px}
body.dg31-unified #page-home .r121-feed-summary small{font-size:10px}
body.dg31-unified #page-home .social-disclosure{max-width:750px;font-size:11px;line-height:1.8}
body.dg31-unified #page-home .r122-quick{margin:14px 0 15px;padding:14px 16px}
body.dg31-unified .bottom-nav{background:#fff;box-shadow:0 9px 29px #35227d22}
body.dg31-unified .bottom-nav [data-nav="create"]{background:linear-gradient(135deg,#745bdc,#5441be)}
body.dg31-unified .bottom-nav button:focus-visible,
body.dg31-unified button:focus-visible,
body.dg31-unified select:focus-visible{outline:3px solid #1caaa2;outline-offset:3px}
body.dg31-unified[data-domi-age-band="13-17"] #page-home .social-hero{background:linear-gradient(118deg,#e4e7ff,#e5f5ff)}
body.dg31-unified[data-domi-age-band="13-17"] .dg9-step:nth-child(2){background:#445db5;border-color:#445db5}
body.dg31-unified[data-domi-age-band="13-17"] #feedAgeChoice{background:#e7edff;border-color:#c8d2f0;color:#30468b}
@media(max-width:760px){
 body.dg31-unified .dg1-journey.dg9-guide{display:grid;grid-template-columns:1fr;gap:11px;padding:13px}
 body.dg31-unified .dg9-actions{gap:8px}
 body.dg31-unified .dg9-step{min-height:70px}
}
@media(max-width:460px){
 body.dg31-unified .app-header{min-height:62px;padding-top:7px;padding-bottom:9px}
 body.dg31-unified .brand small{font-size:9px}
 body.dg31-unified #page-home .social-hero{min-height:160px;border-radius:22px;padding:16px 14px}
 body.dg31-unified #page-home .social-hero h1{font-size:21px;max-width:64%;line-height:1.4}
 body.dg31-unified #page-home .social-hero p{font-size:11px;max-width:62%;line-height:1.6}
 body.dg31-unified #page-home .social-hero img{width:37%;max-height:150px;bottom:0;top:auto;position:absolute}
 body.dg31-unified .dg31-simple-label{font-size:9px}
 body.dg31-unified .dg9-lead{gap:8px}
 body.dg31-unified .dg9-symbol{width:36px;height:36px;font-size:19px}
 body.dg31-unified .dg9-heading{font-size:12px}
 body.dg31-unified .dg9-subtitle{font-size:10px}
 body.dg31-unified .dg9-step{min-height:100px;padding:9px 3px;flex-direction:column;align-items:center;text-align:center;gap:4px}
 body.dg31-unified .dg9-step-glyph{width:35px;height:35px}
 body.dg31-unified .dg9-step-hint{font-size:10px;line-height:1.4}
 body.dg31-unified #page-home>.social-age-setting{min-height:58px;padding:8px}
 body.dg31-unified #page-home>.social-age-setting span{font-size:11px}
 body.dg31-unified #page-home #feedAgeChoice{max-width:130px;font-size:12px}
 body.dg31-unified .bottom-nav{bottom:env(safe-area-inset-bottom);padding-bottom:7px}
}
@media(max-width:340px){body.dg31-unified .dg9-step-hint{display:block;font-size:10px}body.dg31-unified #page-home .social-hero h1{font-size:19px}}
@media(prefers-reduced-motion:reduce){body.dg31-unified *,body.dg31-unified *:before,body.dg31-unified *:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
