/* V1.7 · shared design system inspired by the uploaded prototype. No remote or generated photos. */
:root{--ink:#17231f;--forest:#183f35;--jade:#0f8b70;--accent:#dff5ec;--bg:#faf9f5;--muted:#66756f;--line:#d8e2dd;--sand:#f5efe4;--clay:#c86d46;--sun:#e8b44f;--shadow-soft:0 6px 24px #17231f08;--shadow-raised:0 10px 30px #17231f12;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:15px}
body{line-height:1.55}header{background:#ffffffed;backdrop-filter:blur(16px);padding:12px max(4vw,16px);box-shadow:0 2px 10px #17231f05}.brand{display:inline-flex;align-items:center;font-size:29px;letter-spacing:-1.8px;gap:8px;line-height:1}.brand::before{content:none;display:none}.brand span{color:var(--jade);margin-left:-7px}main{max-width:1240px;padding-top:32px}h1{font-size:clamp(28px,4vw,44px);letter-spacing:-.045em;line-height:1.16}h2{font-size:clamp(20px,2.4vw,26px);letter-spacing:-.035em}h3{font-size:1.05rem}button,.button{border-radius:11px;background:var(--forest);font-weight:700;transition:background .15s,box-shadow .15s,transform .15s}button:hover,.button:hover{filter:none;box-shadow:0 3px 12px #183f351c}button:active{transform:translateY(1px)}button:disabled{opacity:.55;cursor:not-allowed}.ghost{background:#f1f5f2;color:var(--forest);border:1px solid #dfe8e2}.light{background:var(--mint,#dff5ec);color:var(--forest);border:1px solid #b5ddd1}.danger{background:#8c3535}.link{background:none;color:var(--forest);box-shadow:none}.selected,.tabs button.active,.social-tabs button.active{background:var(--forest);color:#fff;border-color:var(--forest)}.card{border-radius:20px;box-shadow:var(--shadow-soft);padding:22px}.grid>.card{margin-bottom:0}.hero{background:var(--forest);border-radius:24px;padding:clamp(24px,5vw,56px)}.hero:after{width:330px;height:330px;border:1px solid #dff5ec40;box-shadow:0 0 0 30px #dff5ec0a,0 0 0 60px #dff5ec07,0 0 0 90px #dff5ec04}.hero .eyebrow,.eyebrow{color:var(--jade);letter-spacing:1.25px}.hero .eyebrow{color:#dff5ec}.hero p{color:#e2eee8}.hero .ghost{background:#ffffff12;color:white;border:1px solid #ffffff44}.pill{background:#e5f4ed;color:var(--forest);font-weight:700}.form{gap:16px}input,select,textarea{border-color:#cddbd3;border-radius:12px;box-shadow:0 1px 2px #17231f04}input:focus,select:focus,textarea:focus{border-color:var(--jade);outline:2px solid #0f8b7022;outline-offset:1px}textarea{resize:vertical}.tabs{gap:8px;align-items:center}.tabs button{white-space:nowrap}table th{font-weight:750;color:var(--forest);background:#f3f6f4}table td,table th{padding:12px 10px;overflow-wrap:anywhere}table tbody tr:nth-child(even){background:#fafbf9}#bottom{padding:9px 14px max(9px,env(safe-area-inset-bottom));box-shadow:0 -4px 24px #17231f0a;gap:5px}#bottom button{padding:10px 16px;box-shadow:none;border:0;border-radius:12px}#bottom button.active{background:#dff5ec;color:var(--forest)}dialog{box-shadow:0 30px 90px #17231f35}dialog .card{padding:16px}#notice{background:var(--forest);box-shadow:var(--shadow-raised);z-index:20}.cover{height:clamp(126px,15vw,184px)}.profile-cover{height:clamp(180px,30vw,340px)}.photo{max-height:360px}.grid{gap:18px}.stat{font-variant-numeric:tabular-nums}.banner{border:1px solid #ecd7a6}.scroll{border-radius:12px}a:focus-visible,button:focus-visible{outline:3px solid #0f8b70;outline-offset:3px}
/* C22–C25 */
.social-layout{display:grid;grid-template-columns:minmax(0,720px) minmax(250px,320px);gap:26px;align-items:start;max-width:1080px;margin:0 auto}.social-main,.social-side,.social-detail{min-width:0}.social-side{position:sticky;top:88px}.social-detail{max-width:760px;margin:auto}.community-hero{background:var(--forest);color:#fff;padding:clamp(24px,4vw,38px);border-radius:24px;position:relative;overflow:hidden}.community-hero::after{content:'';position:absolute;right:-55px;top:-40px;width:210px;height:210px;border-radius:50%;border:1px solid #dff5ec30;box-shadow:0 0 0 24px #dff5ec09,0 0 0 48px #dff5ec08;pointer-events:none}.community-hero .eyebrow{color:#bce4d5}.community-hero h1{max-width:530px;font-size:clamp(28px,4vw,42px);margin:12px 0}.community-hero p{max-width:430px;color:#dcebe4}.social-tabs{display:flex;gap:8px;margin:20px 0 14px;overflow-x:auto;padding:3px 2px;scrollbar-width:thin}.social-tabs button{flex:1;white-space:nowrap;min-width:max-content;border-radius:999px}.social-card{padding:0;overflow:hidden;margin:0 0 18px}.social-author{display:flex;gap:12px;padding:20px 20px 0;align-items:center}.social-avatar{display:grid;place-items:center;flex:none;width:48px;height:48px;overflow:hidden;background:#dff5ec;color:var(--forest);border:1px solid #cce4da;border-radius:50%;font-weight:800;font-size:16px}.social-avatar img{width:100%;height:100%;object-fit:cover}.author-text{flex:1;min-width:0;overflow-wrap:anywhere}.author-text a,.social-copy a,.social-suggest a{text-decoration:none;color:var(--ink)}.author-text a{font-weight:800}.author-text a:hover,.social-copy a:hover,.social-suggest a:hover{text-decoration:underline}.author-text small,.social-suggest small{display:block;color:var(--muted);font-size:12px;margin-top:3px}.social-author button,.subscription-row button{white-space:nowrap;padding:9px 13px}.social-copy{padding:17px 20px 8px}.social-type{font-size:11px;color:var(--jade);text-transform:uppercase;letter-spacing:1.2px;font-weight:800}.social-copy h2{margin:8px 0;font-size:clamp(22px,3vw,30px);line-height:1.22}.social-text{white-space:pre-wrap;overflow-wrap:anywhere}.social-media{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin:12px 20px 18px;overflow:hidden;border-radius:16px}.social-media img{width:100%;height:clamp(130px,24vw,240px);object-fit:cover;display:block}.media-1{grid-template-columns:1fr}.media-1 img{height:clamp(180px,35vw,420px);object-fit:contain;background:#f0f3f0}.media-3 img:first-child{grid-row:span 2;height:100%}.media-5 img:last-child{grid-column:span 2}.social-offer{display:flex;align-items:center;justify-content:space-between;gap:15px;background:var(--sand);padding:14px;border:1px solid #ede4d5;border-radius:15px;margin:10px 20px 16px}.social-offer strong,.social-offer small{display:block}.social-offer small{color:#6e6453;font-size:12px}.social-discount{display:inline-block;font-size:19px;color:#805126;font-weight:850;margin-bottom:3px}.social-cta{padding:8px 20px 18px}.social-actions{display:flex;gap:5px;flex-wrap:wrap;border-top:1px solid var(--line);padding:8px 16px}.social-actions button{font-size:12px;padding:9px 10px;border:0;background:#fff;color:var(--forest);min-height:44px}.social-actions button:hover{background:#eef6f1}.social-actions .social-liked{color:#a5364a;background:#fff0f2}.social-comments{padding:18px 20px;border-top:1px solid var(--line)}.comment-line{display:flex;gap:10px;align-items:flex-start;padding:12px 0;border-bottom:1px solid var(--line)}.comment-line>div{flex:1;min-width:0;overflow-wrap:anywhere}.comment-line p{white-space:pre-wrap}.comment-line small{color:var(--muted)}.comment-avatar{display:grid;place-items:center;background:var(--sand);color:var(--forest);border-radius:50%;width:34px;height:34px;flex:none;font-size:12px;font-weight:800}.comment-line button{font-size:11px}.social-suggest,.subscription-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.social-suggest:last-child,.subscription-row:last-child{border-bottom:0}.social-suggest>div{min-width:0;overflow-wrap:anywhere}.social-profile{padding:0;overflow:hidden;margin-top:14px}.social-cover{height:clamp(140px,24vw,230px);background:#dff5ec;overflow:hidden}.social-cover img{width:100%;height:100%;object-fit:cover}.social-cover-pattern{height:100%;display:grid;place-items:center;font-size:90px;color:#ffffff80;background:linear-gradient(125deg,#183f35,#0f8b70,#e8b44f)}.profile-inner{padding:0 24px 24px;position:relative}.profile-inner>.social-avatar{width:76px;height:76px;border:5px solid white;margin-top:-38px;font-size:25px}.profile-inner h1{margin-top:12px}.social-statgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:20px}.social-statgrid>div{text-align:center;background:#f2f6f3;padding:14px 5px;border-radius:13px}.social-statgrid strong{display:block;font-size:24px;letter-spacing:-1px}.social-statgrid small{color:var(--muted);font-size:12px}.awareness-note{padding:0 20px}.social-side h2{margin-top:5px}.social-side .card{padding:18px}.social-side .form{max-width:none}.social-layout .card .social-offer{margin:0}.social-card .social-offer{margin:10px 20px 16px}
@media(max-width:850px){.social-layout{grid-template-columns:minmax(0,1fr);gap:16px}.social-side{position:static}.social-side .card{padding:18px}.social-layout .social-main .card{margin-bottom:12px}.social-side .social-suggest{padding:10px 0}.tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:7px;scrollbar-width:thin}.tabs button{flex:none}.grid{gap:13px}}
@media(max-width:600px){:root{font-size:14px}main{padding:18px 12px 100px}.brand{font-size:24px;gap:6px}.brand::before{content:none;display:none}.brand span{margin-left:-5px}#top{justify-content:flex-end;gap:4px}#top button{font-size:12px;padding:8px 9px}#bottom{flex-wrap:nowrap;gap:2px;padding:6px 4px max(6px,env(safe-area-inset-bottom));overflow-x:auto;justify-content:space-around}#bottom button{flex:1;font-size:11px;min-width:0;padding:8px 4px;line-height:1.2;white-space:normal;overflow-wrap:anywhere}.card{padding:16px;border-radius:17px}.social-card,.social-profile{padding:0}.social-author{padding:15px 14px 0;gap:9px}.social-author .social-avatar,.subscription-row .social-avatar{width:42px;height:42px}.social-author button,.subscription-row button{font-size:12px;padding:8px 10px}.author-text small{font-size:11px}.social-copy{padding:15px 14px 6px}.social-media{margin:10px 14px 14px}.social-card .social-offer{margin:10px 14px 14px}.social-cta{padding:8px 14px 14px}.social-actions{padding:5px 9px;gap:0;justify-content:space-between}.social-actions button{font-size:11px;padding:8px 6px}.social-comments{padding:16px 14px}.profile-inner{padding:0 16px 16px}.social-statgrid strong{font-size:21px}.social-tabs{gap:5px}.social-tabs button{font-size:12px;padding:10px}.community-hero{border-radius:20px}.social-suggest .social-avatar{width:40px;height:40px}.hero{padding:26px 20px}.social-side{top:auto}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}

/* Use the same logo as the receipts and app icon. */
.brand::before{content:none;display:none}#bottom button{display:flex;flex-direction:column;gap:4px}#bottom button svg{width:21px;height:21px;flex-shrink:0}#bottom button.active svg{color:var(--jade)}#bottom button span{line-height:1.15;text-align:center}@media(max-width:600px){#bottom button{min-height:54px}#bottom button svg{width:20px;height:20px}}
