/* Threads: a narrow, photo-first feed. Forums: a compact vote board. */
.threads-surface{--social-ink:var(--ink);--social-muted:var(--muted);--social-line:var(--line);--social-card:var(--white);--like:#e11d48;}
.forums-surface{--social-ink:var(--ink);--social-muted:var(--muted);--social-line:var(--line);--social-card:var(--white);--up:#ea580c;--down:#4f46e5;}
.threads-surface .community-workspace{max-width:470px;}
.forums-surface .community-workspace{max-width:none;margin:0;}
.forums-surface .forums-board{display:grid;grid-template-columns:200px minmax(0,1fr);gap:28px;max-width:980px;margin:0 auto 70px;align-items:start;}
.sl-rail{position:sticky;top:14px;}
.sl-rail-label{margin:0 0 8px;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);}
#forum-topics{display:grid;gap:2px;}
#forum-topics button{display:flex;align-items:baseline;width:100%;text-align:start;border:0;border-radius:10px;background:transparent;color:var(--ink);padding:8px 10px;font-size:13.5px;}
#forum-topics button>span{color:var(--muted);font-weight:700;margin-inline-end:1px;}
#forum-topics button[aria-pressed=true]{background:color-mix(in srgb,var(--ink) 9%,transparent);font-weight:650;}
#forum-topics button:hover{background:color-mix(in srgb,var(--ink) 6%,transparent);}
.sl-compose{display:flex;align-items:center;gap:1px;}
.sl-prefix{font-size:15px;font-weight:750;color:var(--muted);}
.forums-surface .sl-compose input,.forums-surface .sl-compose input:focus{width:min(240px,100%);border:0!important;border-radius:0!important;background:transparent!important;box-shadow:inset 0 -1px 0 color-mix(in srgb,var(--ink) 18%,transparent)!important;padding:8px 2px!important;font-size:15px;font-weight:650;}
.sl-link{border:0;background:transparent;padding:0;color:var(--ink);font-size:12px;font-weight:700;}
.sl-link>span{color:var(--muted);}
.sl-link:hover{text-decoration:underline;text-underline-offset:3px;}
.sl-create{display:grid;gap:8px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line);}
.sl-create label{display:flex;align-items:center;gap:1px;min-width:0;}
.forums-surface .sl-create input,.forums-surface .sl-create input:focus{width:100%;min-width:0;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:inset 0 -1px 0 color-mix(in srgb,var(--ink) 18%,transparent)!important;padding:8px 2px!important;font-size:14px;font-weight:650;}
.sl-create .secondary{justify-self:start;border-radius:999px;padding:8px 14px;}
.sl-create [role=status]{margin:0;font-size:12px;color:var(--muted);line-height:1.4;}
.sl-create [role=status]:empty{display:none;}
.threads-surface .explore-heading h1,.forums-surface .explore-heading h1{letter-spacing:-.04em;}
.threads-surface .social-composer,.forums-surface .social-composer{border-radius:18px!important;box-shadow:none;background:var(--social-card);padding:18px 18px 14px!important;overflow:visible;}
.threads-surface .composer-heading h2,.forums-surface .composer-heading h2{font-size:22px;font-weight:560;letter-spacing:-.03em;}
.threads-surface .composer-emblem,.forums-surface .composer-emblem{width:40px;height:40px;flex-basis:40px;border-radius:12px;font-size:18px;font-family:Inter,system-ui,sans-serif;}
.threads-surface .social-composer .composer-field,
.forums-surface .social-composer .composer-field,
.threads-surface .post-replies label,
.forums-surface .post-replies label{gap:8px;font-size:12px;font-weight:600;letter-spacing:.01em;color:var(--muted);}
.threads-surface .social-composer .composer-field input,
.threads-surface .social-composer .composer-field textarea,
.forums-surface .social-composer .composer-field input,
.forums-surface .social-composer .composer-field textarea{border:0!important;border-radius:0!important;background:transparent!important;color:var(--ink);padding:2px 2px 14px!important;font-size:18px;line-height:1.45;letter-spacing:-.02em;box-shadow:inset 0 -1px 0 color-mix(in srgb,var(--ink) 14%,transparent)!important;min-height:0;}
.forums-surface .social-composer .composer-field input{font-size:22px;font-weight:560;letter-spacing:-.03em;}
.threads-surface .social-composer textarea,
.forums-surface .social-composer textarea{min-height:112px;resize:vertical;}
.threads-surface .social-composer .composer-field input::placeholder,
.threads-surface .social-composer .composer-field textarea::placeholder,
.forums-surface .social-composer .composer-field input::placeholder,
.forums-surface .social-composer .composer-field textarea::placeholder{color:color-mix(in srgb,var(--muted) 82%,var(--ink));font-weight:450;}
.threads-surface .social-composer .composer-field input:focus,
.threads-surface .social-composer .composer-field textarea:focus,
.forums-surface .social-composer .composer-field input:focus,
.forums-surface .social-composer .composer-field textarea:focus{outline:0;background:transparent!important;box-shadow:inset 0 -1.5px 0 var(--ink)!important;}
.threads-surface .post-replies textarea,
.forums-surface .post-replies textarea{border:0;border-radius:14px;background:color-mix(in srgb,var(--paper) 70%,var(--white));color:var(--ink);padding:12px 14px;font-size:15px;line-height:1.5;box-shadow:none;}
.threads-surface .post-replies textarea:focus,
.forums-surface .post-replies textarea:focus{outline:0;box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--ink) 28%,transparent);}
.threads-surface .composer-scent-picker,
.forums-surface .composer-scent-picker{display:grid;gap:8px;align-items:stretch;border:0;background:transparent;box-shadow:none;border-radius:0;padding:4px 0 0;}
.composer-tag-copy{font-size:12px;font-weight:600;color:var(--muted);}
.composer-tag-copy>span{display:block;margin-top:2px;font-size:11px;font-weight:450;}
.composer-tag-row{display:flex;align-items:center;gap:10px;margin-top:8px;}
.tag-plus{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border:0;border-radius:50%;background:var(--ink);color:var(--white);cursor:pointer;}
.tag-plus svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;}
.tag-plus:hover{transform:scale(1.05);}
.tag-plus:active{transform:scale(.96);}
.tag-plus:focus-visible{outline:3px solid color-mix(in srgb,var(--ink) 35%,transparent);outline-offset:3px;}
.threads-surface .composer-scent-picker input,
.forums-surface .composer-scent-picker input,
.threads-surface .composer-scent-picker input:focus,
.forums-surface .composer-scent-picker input:focus{border:0!important;box-shadow:none!important;background:transparent!important;padding:8px 0!important;font-size:15px;border-radius:0;outline:0;}
.composer-scent-picker .photo-picker-results{z-index:40;border-radius:16px;padding:6px;}
.composer-scent-picker .photo-picker-selection{display:none;}
.threads-surface .community-feed-toolbar,.forums-surface .community-feed-toolbar{border-radius:14px;padding:8px;gap:8px;box-shadow:none;}
.feed-sort{display:flex;gap:2px;padding:3px;border-radius:999px;background:var(--paper);flex-shrink:0;}
.feed-sort button{border:0;background:transparent;color:var(--social-muted,var(--muted));border-radius:999px;padding:7px 11px;font-size:12px;font-weight:560;}
.feed-sort button[aria-pressed=true]{background:var(--white);color:var(--ink);box-shadow:0 1px 2px #1c191714;}
.threads-surface .social-feed,.forums-surface .social-feed{gap:14px;}
.threads-surface .social-post{padding:0!important;border-radius:16px!important;overflow:hidden;box-shadow:none;}
.ig-head{display:flex;align-items:center;gap:8px;padding:10px 12px 8px;}
.ig-head .member-identity{width:auto;flex:1;}
.ig-head time{font-size:11px;color:var(--muted);flex-shrink:0;}
.threads-surface .ig-media.social-scent{display:block!important;margin:0;padding:0!important;border:0;border-radius:0!important;background:#f4f1ea;}
.threads-surface .ig-media .catalog-art.product-photo{width:100%;height:min(520px,86vw);padding:28px;background:transparent;}
.ig-head .member-identity-text small{display:none;}
.ig-plate{min-height:240px;display:grid;place-items:center;padding:32px 26px;background:linear-gradient(160deg,#f7f4ee,#ece7df);color:#1c1917;}
.ig-plate .social-body{margin:0;font-size:22px;line-height:1.35;letter-spacing:-.03em;text-align:center;color:#1c1917;}
.ig-actions{display:flex;align-items:center;gap:2px;padding:4px 8px 0;}
.ig-like,.icon-action{display:inline-grid;place-items:center;width:40px;height:40px;border:0;border-radius:999px;background:transparent;color:var(--ink);padding:0;}
.ig-like svg,.icon-action svg{width:22px;height:22px;}
.ig-like[aria-pressed=true]{color:var(--like);}
.ig-like.mini{width:auto;height:32px;display:inline-flex;gap:4px;padding:0 8px;font-size:12px;color:var(--muted);}
.ig-like.mini[aria-pressed=true]{color:var(--like);}
.ig-like.mini svg{width:16px;height:16px;}
.ig-meta{margin:0;padding:0 14px;font-size:13px;}
.ig-caption{margin:6px 0 0;padding:0 14px 4px;font-size:14px;line-height:1.45;}
.ig-caption strong{font-weight:650;margin-inline-end:6px;}
.ig-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:4px 14px 12px;}
.scent-flair{border:0;background:var(--tint);color:var(--ink);border-radius:999px;padding:5px 10px;font-size:11px;max-width:100%;}
.forums-surface .social-post.reddit-post{display:grid;grid-template-columns:52px minmax(0,1fr);padding:0!important;border-radius:14px!important;overflow:hidden;box-shadow:none;}
.reddit-votes{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:1px;padding:10px 0;background:color-mix(in srgb,var(--paper) 88%,var(--white));}
.reddit-votes button{width:36px;height:28px;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:13px;line-height:1;}
.reddit-votes button:hover{background:color-mix(in srgb,var(--white) 70%,transparent);color:var(--ink);}
.reddit-votes button[data-direction=up][aria-pressed=true]{color:var(--up);}
.reddit-votes button[data-direction=down][aria-pressed=true]{color:var(--down);}
.reddit-votes strong{font-size:12px;font-variant-numeric:tabular-nums;font-weight:650;}
.reddit-votes.mini{padding:0;background:transparent;min-width:36px;}
.reddit-main{min-width:0;padding:12px 14px 10px;}
.reddit-kicker{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:6px;font-size:11px;color:var(--muted);}
.forums-surface .reddit-main>h2{font-size:18px;line-height:1.3;letter-spacing:-.03em;margin:8px 0 6px;font-weight:620;}
.forums-surface .reddit-main>.social-body{font-size:14px;line-height:1.55;margin:0 0 8px;}
.forums-surface .social-scent{margin-top:8px;padding:10px!important;gap:12px;border-radius:12px!important;}
.forums-surface .social-scent .catalog-art.product-photo{width:72px;height:96px;padding:8px;}
.forums-surface .social-scent strong{font-size:15px;margin:4px 0;}
.forums-surface .community-post-actions{margin-top:8px;padding-top:8px;border-top:0;}
.reddit-reply{display:grid!important;grid-template-columns:40px minmax(0,1fr);gap:8px;align-items:start;}
.threads-surface .post-replies,.forums-surface .post-replies{margin:0 14px 12px;padding-top:8px;}
.threads-surface [data-saved-filter],.forums-surface [data-saved-filter]{width:auto;height:34px;padding:0 12px;border-radius:999px;font-size:12px;font-weight:600;}
.threads-surface [data-saved-filter][aria-pressed=true],.forums-surface [data-saved-filter][aria-pressed=true]{background:var(--ink);color:var(--white);border-color:var(--ink);}
.reply-tools{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:6px;}
@media(max-width:760px){
 .threads-surface .community-workspace,.forums-surface .community-workspace{max-width:none;}
 .feed-sort{order:-1;width:100%;justify-content:space-between;}
 .feed-sort button{flex:1;}
 .forums-surface .forums-board{grid-template-columns:1fr;gap:16px;}
.sl-rail{position:static;}
#forum-topics{display:flex;gap:6px;overflow:auto;padding-bottom:4px;}
#forum-topics button{width:auto;white-space:nowrap;}
.forums-surface .social-post.reddit-post{grid-template-columns:44px minmax(0,1fr);}
 .ig-plate{min-height:180px;padding:22px;}
 .ig-plate .social-body{font-size:18px;}
}
@media(prefers-reduced-motion:reduce){.feed-sort button,.ig-like,.reddit-votes button{transition:none;}}
