/* Demo presentation is isolated from account screens and profile data. */
.demo-switcher{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 24px;font-family:"DM Sans",var(--sans)}
.demo-type{display:flex;align-items:center;gap:13px;min-width:0;min-height:82px;padding:15px 18px;border:1px solid var(--line);border-radius:14px;background:var(--demo-surface,#21151e);color:var(--demo-text,var(--cream));transition:border-color .18s,background .18s}
.demo-type:hover{border-color:var(--demo-accent,#ff708c)}
.demo-type[aria-current=page]{border-color:var(--demo-accent,#ff708c);background:var(--demo-selected,#35202c)}
.demo-type-number{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:42px;height:42px;border:1px solid var(--line);border-radius:11px;color:var(--demo-accent,#ff91ab);font-size:15px;font-weight:650}
.demo-type[aria-current=page] .demo-type-number{background:var(--demo-accent,#f87898);border-color:transparent;color:var(--demo-accent-ink,#250f1a)}
.demo-type>span:not(.demo-type-number){display:grid;gap:2px;min-width:0}
.demo-type small{display:block;color:var(--demo-muted,var(--muted));font-size:10px;line-height:1.5}
.demo-type strong{display:block;font-size:13px;line-height:1.4;font-weight:650}
.demo-type>span>span{color:var(--demo-muted,var(--muted));font-size:11px;line-height:1.5}
body.appmode.demo-social{font-family:"DM Sans",var(--sans)}
.demo-social .app-main{max-width:1310px}
.demo-workspace{--demo-bg:#181117;--demo-surface:#21181f;--demo-raised:#2b1e27;--demo-selected:#402536;--demo-text:#fff4f7;--demo-muted:#bcaab5;--demo-accent:#ff8ca8;--demo-accent-ink:#321220;--demo-border:#ead1dc20;--demo-shadow:0 12px 35px #00000012;--line:var(--demo-border);--cream:var(--demo-text);--muted:var(--demo-muted);--rose:var(--demo-accent);--serif:"DM Serif Display",Georgia,serif;--sans:"DM Sans",Arial,sans-serif;background:var(--demo-bg);color:var(--demo-text);border:1px solid var(--demo-border);border-radius:22px;padding:26px;min-width:0;font-family:var(--sans);color-scheme:dark}
.demo-workspace[data-theme=light]{--demo-bg:#fbf7f8;--demo-surface:#fff;--demo-raised:#f5edf0;--demo-selected:#f9e6ed;--demo-text:#34232d;--demo-muted:#786370;--demo-accent:#ac315b;--demo-accent-ink:#fff;--demo-border:#68425328;--demo-shadow:0 10px 30px #6c324009;color-scheme:light}
.demo-workspace *, .demo-workspace *::before,.demo-workspace *::after{box-sizing:border-box}
.demo-workspace :focus-visible,.demo-switcher :focus-visible{outline:3px solid var(--demo-accent,#ff8ca8);outline-offset:4px}
.demo-workspace h1,.demo-workspace h2,.demo-workspace h3{color:var(--demo-text)}
.demo-workspace button{color:var(--demo-text)}
.demo-workspace a,.demo-workspace button,.demo-workspace summary{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.demo-heading{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:0 0 24px;min-width:0}
.demo-heading>div:first-child{min-width:0}
.demo-heading .eyebrow{font-size:10px;font-weight:650;letter-spacing:.15em;color:var(--demo-accent);margin:0 0 9px}
.demo-heading h1{font-family:var(--serif);font-weight:400;font-size:clamp(30px,3vw,42px);line-height:1.15;letter-spacing:-.035em;margin:0 0 10px;text-wrap:balance}
.demo-heading p:not(.eyebrow){font-size:12px;color:var(--demo-muted);line-height:1.75;max-width:515px;margin:0}
.demo-heading-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;flex-shrink:0}
.demo-heading-actions .btn{font-size:12px;gap:9px;min-height:44px;padding:10px 15px}
.demo-workspace .btn-outline,.demo-workspace .btn-subtle{border-color:var(--demo-border);background:var(--demo-surface);color:var(--demo-text);box-shadow:none}
.demo-workspace .btn-outline:hover,.demo-workspace .btn-subtle:hover{border-color:var(--demo-accent);background:var(--demo-raised)}
.demo-workspace .quiet-banner{color:var(--demo-muted);background:var(--demo-raised);border-color:var(--demo-border);font-size:11px;line-height:1.65}
.demo-workspace .quiet-banner>.icon{color:var(--demo-accent);flex-shrink:0}
.social-layout{display:grid;grid-template-columns:minmax(0,1fr) 245px;align-items:start;gap:26px;min-width:0}
.social-main,.social-aside{min-width:0}
.social-aside{display:grid;gap:16px;position:sticky;top:106px}
.social-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 15px}
.social-section-heading h2{font-family:var(--sans);font-size:13px;font-weight:650;line-height:1.4;letter-spacing:0;margin:0}
.social-section-heading>span{font-size:10px;color:var(--demo-muted)}
.social-stories{min-width:0;padding:18px 18px 14px;margin:0 0 22px;background:var(--demo-surface);border:1px solid var(--demo-border);border-radius:16px;box-shadow:var(--demo-shadow)}
.story-list{display:flex;align-items:flex-start;gap:17px;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:var(--demo-border) transparent;padding:3px 3px 10px;margin:-3px -3px -5px}
.story-item{display:flex;flex-direction:column;align-items:center;gap:4px;flex:0 0 65px;max-width:78px;min-height:100px;border:0;padding:0;background:none;text-align:center;line-height:1.45}
.story-ring{display:flex;align-items:center;justify-content:center;padding:3px;margin-bottom:3px;border-radius:50%;background:linear-gradient(135deg,#d5ba9b,#f76792 55%,#9e3d68);transition:transform .18s}
.story-ring>.avatar{width:54px;height:54px;border:3px solid var(--demo-surface);font-size:17px;object-position:center 25%}
.story-item:hover .story-ring{transform:translateY(-2px)}
.story-item strong{font-size:10px;font-weight:600;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.story-item small{font-size:9px;color:var(--demo-muted)}
.social-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px;min-width:0;flex-wrap:wrap}
.social-toolbar h2{font-family:var(--sans);font-size:15px;line-height:1.4;font-weight:650;letter-spacing:0;margin:0}
.social-toolbar p{font-size:11px;color:var(--demo-muted);margin:2px 0 0}
.social-controls{display:flex;gap:3px;align-items:center;border:1px solid var(--demo-border);border-radius:11px;background:var(--demo-surface);padding:3px;flex-shrink:0}
.social-view{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;padding:8px 11px;border:0;border-radius:8px;background:transparent;font-size:11px;font-weight:550}
.social-view .icon{width:17px;height:17px}
.social-view[aria-pressed=true]{background:var(--demo-selected);color:var(--demo-accent)}
.social-view:hover{background:var(--demo-raised)}
.demo-workspace .filters-toolbar{gap:10px;align-items:center;margin-bottom:16px}
.demo-workspace .segments{background:var(--demo-surface);border-color:var(--demo-border);max-width:100%;min-width:0}
.demo-workspace .segments button{color:var(--demo-muted);min-height:44px;padding:9px 12px;font-size:10px;white-space:normal;line-height:1.35}
.demo-workspace .segments button.selected{background:var(--demo-selected);color:var(--demo-accent)}
.demo-workspace .filters-toolbar>.btn{min-height:44px;font-size:11px;padding:9px 14px}
.demo-workspace .results-top{font-size:11px;gap:12px;flex-wrap:wrap;margin:0 0 14px}
.demo-workspace .results-top button{min-height:44px;font-size:11px;color:var(--demo-accent)}
.social-feed{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;max-width:600px;margin-inline:auto;min-width:0}
.social-post{min-width:0;overflow:hidden;background:var(--demo-surface);border:1px solid var(--demo-border);border-radius:16px;box-shadow:var(--demo-shadow)}
.social-post-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 16px;min-width:0}
.social-person{display:flex;align-items:center;gap:11px;min-height:44px;min-width:0;max-width:100%;padding:0;border:0;background:none;text-align:left}
.social-person>.avatar{width:39px;height:39px;font-size:14px;object-position:center 25%}
.social-person>span:not(.avatar){display:grid;gap:2px;min-width:0}
.social-person strong{font-size:12px;font-weight:650;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.social-person small{font-size:10px;color:var(--demo-muted);line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.social-person:hover strong{color:var(--demo-accent)}
.social-post-head>.icon-btn{border:0;width:44px;min-width:44px}
.demo-workspace .icon-btn{border-color:var(--demo-border)}
.demo-workspace .icon-btn:hover{background:var(--demo-raised);color:var(--demo-accent)}
.social-photo{position:relative;display:block;width:100%;padding:0;border:0;overflow:hidden;background:var(--demo-raised);aspect-ratio:4/5;max-height:480px;text-align:left}
.social-photo>img{width:100%;height:100%;object-fit:cover;object-position:50% 27%;display:block;transition:transform .3s}
.social-photo:hover>img{transform:scale(1.018)}
.social-photo:focus-visible{outline-offset:-5px}
.social-photo::after{content:"";position:absolute;inset:60% 0 0;background:linear-gradient(transparent,#1b11164a);pointer-events:none}
.social-photo-label{position:absolute;z-index:1;left:15px;bottom:15px;display:flex;align-items:center;gap:6px;max-width:calc(100% - 30px);padding:6px 10px;background:#1e111bbf;backdrop-filter:blur(8px);border:1px solid #ffffff2e;border-radius:6px;color:#fff4f7;font-size:9px;font-weight:500;line-height:1.5}
.social-photo-label .icon{width:12px;height:12px}
.social-post-body{padding:10px 16px 17px;min-width:0}
.social-post-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:5px;min-width:0}
.social-post-actions .social-like{border:0;margin-left:-8px;color:var(--demo-text)}
.social-like .icon{width:25px;height:25px}
.social-like.liked{color:var(--demo-accent)}
.social-like.liked .icon{fill:currentColor}
.social-profile-link{font-size:11px;color:var(--demo-accent)!important;gap:5px}
.social-profile-link .icon{width:14px;height:14px}
.social-role{margin-left:auto;max-width:100%;border:1px solid var(--demo-border);border-radius:5px;padding:4px 7px;color:var(--demo-muted);font-size:8px;line-height:1.5;letter-spacing:.02em}
.social-caption p{font-size:12px;line-height:1.75;margin:0 0 12px;overflow-wrap:anywhere;color:var(--demo-text)}
.social-caption p strong{font-weight:650}
.demo-workspace .tag-list{gap:5px;min-width:0}
.demo-workspace .tag{color:var(--demo-muted);background:var(--demo-raised);border-color:var(--demo-border);font-size:9px;min-height:26px;padding:3px 8px;line-height:1.5;max-width:100%;overflow-wrap:anywhere}
.social-connection{display:flex;align-items:center;gap:6px;margin-top:13px;color:var(--demo-muted);font-size:10px;line-height:1.5}
.social-connection .icon{width:13px;height:13px;color:var(--demo-accent)}
.social-feed.is-grid,.demo-workspace[data-layout=grid] .social-feed{grid-template-columns:repeat(2,minmax(0,1fr));max-width:none;gap:16px}
.social-feed.is-grid .social-post-head{padding:10px;gap:4px}
.social-feed.is-grid .social-person{gap:7px}
.social-feed.is-grid .social-person>.avatar{width:31px;height:31px;font-size:11px}
.social-feed.is-grid .social-person strong{font-size:11px}
.social-feed.is-grid .social-person small{font-size:9px}
.social-feed.is-grid .social-post-body{padding:8px 12px 13px}
.social-feed.is-grid .social-caption p{font-size:11px;line-height:1.7}
.social-feed.is-grid .social-post-actions{gap:4px}
.social-feed.is-grid .social-role{font-size:7px;padding:3px 5px}
.social-feed.is-grid .social-profile-link{font-size:10px}
.social-feed.is-grid .social-photo-label{left:10px;bottom:10px;font-size:8px;padding:5px 7px;max-width:calc(100% - 20px)}
.social-aside-card{padding:20px 18px;border:1px solid var(--demo-border);border-radius:15px;background:var(--demo-surface);min-width:0}
.social-aside-card h2{font-family:var(--sans);font-size:13px;font-weight:650;line-height:1.5;letter-spacing:0;margin:0 0 10px}
.social-aside-card p{font-size:11px;line-height:1.85;color:var(--demo-muted);margin:0 0 14px}
.social-aside-card p:last-child{margin-bottom:0}
.social-aside-card>.icon{width:23px;height:23px;color:var(--demo-accent);margin-bottom:14px}
.social-aside-card .text-link{color:var(--demo-accent);font-size:11px;gap:6px}
.social-aside-card .text-link .icon{width:15px;height:15px}
.social-suggestion{display:flex;justify-content:space-between;align-items:center;gap:6px;padding:12px 0;border-top:1px solid var(--demo-border)}
.social-suggestion:last-child{padding-bottom:0}
.social-suggestion .social-person{gap:8px}
.social-suggestion .avatar{width:33px;height:33px;font-size:12px}
.social-suggestion strong{font-size:11px}
.social-suggestion small{font-size:9px}
.social-suggestion>.icon-btn{border:0}
.social-suggestion .icon{width:18px;height:18px}
.demo-controls-panel{border:1px solid var(--demo-border);background:var(--demo-surface);border-radius:13px;margin:0 0 21px;padding:0 16px}
.demo-controls-panel summary{display:flex;align-items:center;gap:9px;list-style:none;cursor:pointer;min-height:48px;font-size:11px;font-weight:600;color:var(--demo-text)}
.demo-controls-panel summary::-webkit-details-marker{display:none}
.demo-controls-panel summary::after{content:"+";font-size:18px;font-weight:400;color:var(--demo-accent);margin-left:auto;line-height:1}
.demo-controls-panel[open] summary::after{content:"−"}
.demo-controls-panel summary>.icon{width:17px;height:17px;color:var(--demo-accent)}
.demo-controls-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;gap:14px;padding:5px 0 16px;border-top:1px solid var(--demo-border)}
.demo-setting{display:grid;gap:6px;font-size:10px;color:var(--demo-muted);padding-top:10px;min-width:0}
.demo-setting>span{color:var(--demo-text);font-weight:550}
.demo-workspace select,.demo-workspace input:not([type=checkbox]):not([type=radio]){color:var(--demo-text);background:var(--demo-bg);border-color:var(--demo-border);font-size:12px;min-height:44px;padding:9px 11px}
.demo-workspace input[type=checkbox]{accent-color:var(--demo-accent)}
.demo-controls-fields label:has(input[type=checkbox]){display:flex;align-items:center;gap:10px;min-height:44px;line-height:1.6}
.demo-controls-fields label:has(input[type=checkbox]) input{margin:0}
#demo-preference-status{font-size:10px;line-height:1.65;color:var(--demo-muted);margin:0 0 16px;overflow-wrap:anywhere}
#demo-preference-status:empty{display:none}
.demo-settings-form{display:grid;gap:17px}
.demo-settings-form .demo-setting{font-size:12px;padding:0;color:var(--muted)}
.demo-settings-form .demo-setting>span{color:var(--cream)}
.demo-settings-form label:has(input[type=checkbox]){display:flex;align-items:center;gap:10px;min-height:44px}
.demo-workspace .empty-state{grid-column:1/-1;border-color:var(--demo-border);background:var(--demo-surface);padding:44px 22px}
.demo-workspace .empty-state h2{font-size:29px}
.demo-workspace .empty-state p{font-size:12px;color:var(--demo-muted)}
.demo-workspace .empty-state .circle-icon{color:var(--demo-accent);background:var(--demo-selected)}
.demo-workspace[data-density=compact] .social-stories{padding:13px 16px 9px;margin-bottom:16px}
.demo-workspace[data-density=compact] .social-section-heading{margin-bottom:11px}
.demo-workspace[data-density=compact] .story-ring>.avatar{width:45px;height:45px}
.demo-workspace[data-density=compact] .story-item{min-height:88px;flex-basis:60px}
.demo-workspace[data-density=compact] .social-feed{gap:16px}
.demo-workspace[data-density=compact] .social-post-head{padding-block:8px}
.demo-workspace[data-density=compact] .social-post-body{padding-block:6px 12px}
.demo-workspace[data-density=compact] .social-caption p{margin-bottom:8px}
.demo-workspace[data-density=compact] .social-connection{margin-top:9px}
.demo-workspace[data-density=compact] .social-photo{max-height:360px}
@media(min-width:1550px){.demo-social .app-main{padding-inline:40px}.social-layout{grid-template-columns:minmax(0,1fr) 260px;gap:32px}}
@media(max-width:1199px){.demo-workspace{padding:22px}.social-layout{grid-template-columns:minmax(0,1fr) 220px;gap:20px}.social-aside-card{padding:17px 14px}.demo-heading{align-items:flex-start}.demo-heading-actions{max-width:170px;justify-content:flex-end}.demo-type{padding:13px;gap:10px}.social-feed.is-grid .social-role{margin-left:0}.social-feed.is-grid .social-post-head>.icon-btn{display:inline-flex}}
@media(max-width:1040px){.social-layout{grid-template-columns:minmax(0,1fr)}.social-aside{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.social-feed{max-width:580px}.social-stories{margin-bottom:18px}.demo-heading-actions{max-width:180px}.social-feed.is-grid .social-post-head>.icon-btn{display:inline-flex}}
@media(max-width:767px){.demo-social .app-main{padding:18px 14px 32px}.demo-workspace{padding:18px 14px;border-radius:16px}.demo-heading{display:block;margin-bottom:20px}.demo-heading h1{font-size:34px;max-width:100%;margin-bottom:9px}.demo-heading p:not(.eyebrow){font-size:11px;line-height:1.75}.demo-heading-actions{margin-top:15px;max-width:none;justify-content:flex-start}.demo-heading-actions .btn{font-size:11px;padding:9px 13px}.demo-switcher{gap:8px;margin-bottom:20px}.demo-type{padding:11px 9px;gap:8px;min-height:82px;border-radius:11px}.demo-type-number{width:31px;height:35px;font-size:12px;border-radius:8px}.demo-type strong{font-size:11px}.demo-type small{font-size:9px}.demo-type>span>span{font-size:9px}.social-layout{gap:20px}.social-aside{grid-template-columns:minmax(0,1fr)}.social-aside-card{padding:19px}.social-stories{padding:14px 12px 10px;border-radius:12px}.social-section-heading{gap:8px;margin-bottom:12px}.social-section-heading h2{font-size:12px}.social-section-heading>span{font-size:9px}.story-list{gap:12px}.story-item{flex-basis:60px;min-height:93px}.story-ring>.avatar{width:49px;height:49px}.story-item strong{font-size:10px}.social-toolbar{gap:10px}.social-toolbar h2{font-size:14px}.social-toolbar p{font-size:10px}.social-controls{padding:2px}.social-view{padding-inline:9px;font-size:10px;gap:5px}.social-view .icon{width:15px;height:15px}.social-feed{gap:19px}.social-post{border-radius:13px}.social-post-head{padding:11px 12px;gap:6px}.social-person{gap:8px}.social-post-body{padding:7px 12px 14px}.social-caption p{font-size:12px}.social-photo-label{left:12px;bottom:12px}.social-role{font-size:7px;padding:4px 6px}.demo-workspace .filters-toolbar{align-items:stretch;gap:9px;margin-bottom:10px}.demo-workspace .segments{width:100%;gap:3px;padding:3px}.demo-workspace .segments button{padding:7px 6px;font-size:9px}.demo-workspace .filters-toolbar>.btn{align-self:flex-end;min-width:100px}.demo-workspace .results-top{font-size:10px;margin-bottom:10px}.demo-controls-panel{padding-inline:12px;margin-bottom:17px}.demo-controls-panel summary{font-size:10px}.demo-controls-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.demo-workspace select,.demo-workspace input:not([type=checkbox]):not([type=radio]){font-size:16px}.demo-workspace .quiet-banner{font-size:10px}.social-feed.is-grid{gap:10px}.social-feed.is-grid .social-post{border-radius:11px}.social-feed.is-grid .social-post-head{padding:7px;gap:0}.social-feed.is-grid .social-person{gap:6px;width:100%}.social-feed.is-grid .social-person>.avatar{width:27px;height:27px;font-size:10px}.social-feed.is-grid .social-person strong{font-size:10px}.social-feed.is-grid .social-person small{font-size:8px}.social-feed.is-grid .social-post-head>.icon-btn{display:inline-flex}.social-feed.is-grid .social-post-body{padding:4px 8px 11px}.social-feed.is-grid .social-post-actions{gap:0;justify-content:space-between}.social-feed.is-grid .social-profile-link{font-size:9px;gap:3px}.social-feed.is-grid .social-profile-link .icon{width:11px;height:11px}.social-feed.is-grid .social-like{width:44px;min-width:44px;margin-left:-7px}.social-feed.is-grid .social-like .icon{width:21px;height:21px}.social-feed.is-grid .social-role{margin:0 0 7px;width:100%;font-size:7px;text-align:center}.social-feed.is-grid .social-caption p{font-size:10px;line-height:1.7;margin-bottom:9px}.social-feed.is-grid .tag-list{gap:4px}.social-feed.is-grid .tag{font-size:8px;min-height:23px;padding:3px 6px}.social-feed.is-grid .social-connection{font-size:8px;margin-top:9px;gap:4px}.social-feed.is-grid .social-photo-label{left:7px;bottom:7px;font-size:7px;max-width:calc(100% - 14px);padding:4px 6px}.social-feed.is-grid .social-photo-label .icon{width:10px;height:10px}.demo-workspace[data-density=compact] .social-photo{max-height:330px}.demo-workspace[data-density=compact] .story-item{flex-basis:55px}.demo-workspace .empty-state{padding:34px 16px}}
@media(max-width:360px){.demo-social .app-main{padding-inline:10px}.demo-workspace{padding:16px 11px}.demo-heading h1{font-size:30px}.demo-type{padding:10px 8px;gap:6px}.demo-type-number{width:27px;height:33px;font-size:11px}.demo-type strong{font-size:10px}.demo-type>span>span{font-size:8px}.social-feed.is-grid,.demo-workspace[data-layout=grid] .social-feed{grid-template-columns:minmax(0,1fr)}.social-feed.is-grid .social-person>.avatar{width:35px;height:35px}.social-feed.is-grid .social-person strong{font-size:12px}.social-feed.is-grid .social-person small{font-size:10px}.social-feed.is-grid .social-post-head{padding:10px 12px}.social-feed.is-grid .social-post-head>.icon-btn{display:inline-flex}.social-feed.is-grid .social-post-body{padding:6px 12px 14px}.social-feed.is-grid .social-caption p{font-size:12px}.social-feed.is-grid .social-role{width:auto;margin:0 0 0 auto}.social-feed.is-grid .social-post-actions{justify-content:flex-start;gap:5px}.social-feed.is-grid .social-profile-link{font-size:10px}.social-feed.is-grid .tag{font-size:9px}.social-feed.is-grid .social-connection{font-size:10px}.social-toolbar{align-items:flex-start}.demo-controls-fields{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.demo-type,.story-ring,.social-photo>img{transition:none}.story-item:hover .story-ring,.social-photo:hover>img{transform:none}}
@media(forced-colors:active){.demo-type,.demo-type-number,.social-post,.social-stories,.social-aside-card,.social-controls,.demo-controls-panel{border:1px solid CanvasText}.demo-type[aria-current=page],.social-view[aria-pressed=true]{outline:2px solid Highlight;outline-offset:-3px}.story-ring{background:Canvas;border:2px solid LinkText}.social-photo-label{background:Canvas;color:CanvasText;border:1px solid CanvasText}.social-like.liked{color:Highlight}}

/* Integration with the public entry points and shared discovery filters. */
.landing .qp-demo{flex-wrap:wrap}
.landing .qp-demo>div:first-child{min-width:0;flex:1 1 340px}
.landing .qp-demo>.demo-entry-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px 22px;min-width:0;max-width:100%;flex:0 1 auto}
.landing .demo-entry-actions .qp-text-link{min-height:44px;flex:0 1 auto;gap:10px;font-size:12px;white-space:normal}
.demo-login-link{display:flex;width:100%;margin-top:9px;color:var(--rose);text-align:center}
.demo-workspace .eyebrow{color:var(--demo-accent)}
.demo-controls-panel summary>span{font-size:10px;font-weight:400;color:var(--demo-muted);margin-left:auto}
.demo-controls-panel summary:has(>span)::after{margin-left:4px}
.demo-controls-fields>.text-link{align-self:end;justify-self:start;font-size:10px;color:var(--demo-accent);padding-block:7px}
.demo-workspace .filters-toolbar{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;width:100%}
.demo-workspace .segments{display:flex;width:100%;justify-content:space-between}
.demo-workspace .segments button{flex:1;min-width:0}
.demo-workspace .filter-actions{display:flex;width:100%;min-width:0;gap:9px}
.demo-workspace .search-box{flex:1 1 0%;min-width:0;width:auto}
.demo-workspace .search-box input{width:100%;min-width:0;padding-left:36px}
.demo-workspace .filter-trigger{flex:0 0 auto;min-height:44px}
.demo-workspace .search-box>.icon{top:14px}
#social-highlights{min-width:0}
#social-highlights:empty,#social-highlights:has(>.social-stories[hidden]){display:none}
.social-person{flex:1 1 auto}
.social-photo>.avatar{width:100%;height:100%;border-radius:0;font-family:var(--serif);font-size:clamp(56px,8vw,110px)}
.demo-workspace .app-footer-note{color:var(--demo-muted);font-size:10px;line-height:1.8}
.social-connection>.text-link{color:var(--demo-accent);font-size:10px;justify-content:flex-start;flex-wrap:wrap;gap:6px;text-align:left}
.social-connection>.text-link>span{color:var(--demo-muted)}
@media(max-width:767px){
 .landing .qp-demo>div:first-child{flex-basis:auto}
 .landing .qp-demo>.demo-entry-actions{width:100%;justify-content:flex-start;gap:8px 18px}
 .landing .demo-entry-actions .qp-text-link{font-size:11px}
 .demo-controls-panel summary>span{display:none}
 .demo-controls-panel summary:has(>span)::after{margin-left:auto}
 .social-feed.is-grid .social-post-head>.icon-btn{display:inline-flex}
 .social-feed.is-grid .social-person{width:auto;gap:5px}
 .social-feed.is-grid .social-person strong{font-size:9px}
 .social-feed.is-grid .social-person small{font-size:8px}
}
@media(max-width:360px){
 .social-feed.is-grid .social-person{gap:8px}
 .social-feed.is-grid .social-person strong{font-size:12px}
 .social-feed.is-grid .social-person small{font-size:10px}
}
/* Put profiles in the first viewport while preserving 44px controls. */
.demo-workspace .demo-heading{margin-bottom:16px}
.demo-workspace .demo-heading .eyebrow{margin-bottom:7px}
.demo-workspace .demo-heading h1{font-size:32px;line-height:1.12;margin-bottom:7px}
.demo-workspace .demo-switcher{margin-bottom:16px}
.demo-workspace .demo-type{min-height:64px;padding:10px 14px}
.demo-workspace .demo-type-number{width:36px;height:36px;font-size:13px}
.demo-workspace .demo-controls-panel{margin-bottom:16px}
.demo-workspace .demo-controls-panel summary{min-height:44px}
.demo-workspace .social-stories{padding:12px 15px 8px;margin-bottom:12px}
.demo-workspace .social-section-heading{margin-bottom:10px}
.demo-workspace .story-list{gap:15px;padding-bottom:7px}
.demo-workspace .story-item{min-height:86px;gap:3px}
.demo-workspace .story-ring{margin-bottom:2px}
.demo-workspace .story-ring>.avatar{width:46px;height:46px}
.demo-workspace .social-toolbar{margin-bottom:8px}
.demo-workspace .social-controls{padding:2px}
.demo-workspace .filters-toolbar{gap:7px;margin-bottom:4px}
.demo-workspace .results-top{margin-bottom:4px}
.demo-workspace .social-post-head{padding-block:8px}
.demo-workspace .search-box input[type=search]{padding-left:38px}
@media(min-width:1280px){
 .demo-workspace .filters-toolbar{grid-template-columns:minmax(280px,.95fr) minmax(0,1fr);gap:10px;align-items:center}
 .demo-workspace .filter-actions{gap:8px}
 .demo-workspace .segments button{padding-inline:8px}
 .demo-workspace .filter-trigger{padding-inline:12px}
}
@media(max-width:767px){
 .demo-workspace{padding-top:14px}
 .demo-workspace .demo-heading{position:relative;margin-bottom:12px}
 .demo-workspace .demo-heading .eyebrow{min-height:44px;padding-right:56px;margin-bottom:4px;font-size:9px}
 .demo-workspace .demo-heading h1{font-size:30px;line-height:1.12;margin-bottom:7px}
 .demo-workspace .demo-heading-actions{position:absolute;right:0;top:0;margin:0}
 .demo-workspace .demo-heading-actions .btn{width:44px;min-width:44px;min-height:44px;padding:10px;font-size:0;gap:0}
 .demo-workspace .demo-heading-actions .btn .icon{width:20px;height:20px}
 .demo-workspace .demo-switcher{margin-bottom:12px}
 .demo-workspace .demo-type{min-height:64px;padding:9px 8px;gap:7px}
 .demo-workspace .demo-type-number{width:29px;height:32px;font-size:11px}
 .demo-workspace .demo-controls-panel{margin-bottom:12px}
 .demo-workspace .social-stories{padding:11px 11px 7px;margin-bottom:12px}
 .demo-workspace .story-list{gap:12px}
 .demo-workspace .story-ring>.avatar{width:44px;height:44px}
 .demo-workspace .story-item{min-height:84px;flex-basis:56px}
 .demo-workspace .social-section-heading{margin-bottom:8px}
 .demo-workspace .social-toolbar{margin-bottom:7px}
 .demo-workspace .filters-toolbar{gap:6px;margin-bottom:3px}
 .demo-workspace .results-top{margin-bottom:3px}
 .demo-workspace .social-post-head{padding-block:6px}
}
@media(max-width:360px){
 .demo-workspace .demo-heading h1{font-size:27px}
 .demo-workspace .demo-type{gap:6px;padding-inline:7px}
 .demo-workspace .demo-type-number{width:26px;height:31px}
}

/* Social 02: image-first profiles, explicit badge meaning and real story controls.
   Kept under the demo workspace so the classic view remains independent. */
.demo-workspace{--demo-bg:#171217;--demo-surface:#201a20;--demo-raised:#2c232b;--demo-selected:#392530;--demo-muted:#c4b4c0;--demo-border:#ead1dc24;--demo-shadow:0 8px 30px #0000000d}
.demo-workspace[data-theme=light]{--demo-bg:#faf8f9;--demo-surface:#fff;--demo-raised:#f4eef2;--demo-selected:#f7e6ee;--demo-muted:#715d6b;--demo-border:#68425328;--demo-shadow:0 8px 30px #6c324008}
.demo-workspace .demo-heading{gap:18px;margin-bottom:16px}
.demo-workspace .demo-heading .eyebrow{font-size:9px;letter-spacing:.14em;margin-bottom:5px}
.demo-workspace .demo-heading h1{font-size:clamp(27px,2.6vw,35px);line-height:1.14;margin-bottom:6px}
.demo-workspace .demo-heading p:not(.eyebrow){font-size:12px;line-height:1.6}
.demo-workspace .demo-heading-actions .btn{background:transparent}
.demo-presentation{margin:0 0 18px;border-block:1px solid var(--demo-border);min-width:0}
.demo-presentation>summary{display:flex;align-items:center;gap:9px;min-height:48px;list-style:none;cursor:pointer;color:var(--demo-text);font-size:11px;font-weight:600}
.demo-presentation>summary::-webkit-details-marker{display:none}
.demo-presentation>summary>.icon{width:17px;height:17px;color:var(--demo-accent)}
.demo-presentation>summary>span{margin-left:auto;font-size:10px;font-weight:400;color:var(--demo-muted)}
.demo-presentation>summary::after{content:"+";display:flex;align-items:center;justify-content:center;width:23px;font-size:19px;font-weight:400;color:var(--demo-accent)}
.demo-presentation[open]>summary::after{content:"−"}
.demo-presentation:not([open])>:not(summary){display:none}
.demo-workspace .demo-presentation .demo-switcher{margin-block:4px 12px}
.demo-workspace .demo-presentation .demo-controls-panel{margin-bottom:14px;background:var(--demo-bg)}
.demo-workspace .social-layout{grid-template-columns:minmax(0,1fr) 245px;gap:28px}
.demo-workspace .social-main{min-width:0}
.demo-workspace .social-stories{padding:15px 16px 12px;margin-bottom:18px;border-radius:15px;background:var(--demo-surface);box-shadow:none}
.demo-workspace .social-section-heading{min-height:24px;margin-bottom:11px;gap:10px}
.demo-workspace .social-section-heading h2{font-size:13px;font-weight:650}
.demo-workspace .social-section-heading>span{font-size:10px;line-height:1.5}
.demo-workspace .social-section-heading>div:first-child{min-width:0}
.demo-workspace .social-section-heading>div:first-child>span{display:block;color:var(--demo-muted);font-size:10px;line-height:1.5;margin-top:2px}
.demo-workspace .stories-scroll-controls{display:flex;gap:4px;margin-left:auto;flex-shrink:0}
.demo-workspace .stories-scroll-controls button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:9px;border:1px solid var(--demo-border);border-radius:50%;background:transparent}
.demo-workspace .stories-scroll-controls button:hover{border-color:var(--demo-accent);background:var(--demo-raised)}
.demo-workspace .stories-scroll-controls button:disabled{cursor:default;opacity:.38}
.demo-workspace .stories-scroll-controls .icon{width:16px;height:16px}
.demo-workspace .story-list{gap:17px;padding:4px 4px 9px;margin:-4px -4px -5px;scroll-snap-type:x proximity;scroll-padding-inline:4px}
.demo-workspace .story-item{flex:0 0 72px;max-width:78px;min-height:108px;gap:3px;padding:0;scroll-snap-align:start}
.demo-workspace .story-ring{padding:3px;margin:0 0 3px;background:linear-gradient(140deg,#f0cf93 2%,#fa658d 48%,#ad6acb 100%);box-shadow:0 2px 9px #00000012}
.demo-workspace .story-ring>.avatar{width:62px;height:62px;border:3px solid var(--demo-surface);object-fit:cover;object-position:center 28%;font-size:20px}
.demo-workspace .story-item.is-seen .story-ring,.demo-workspace .story-ring.is-seen{background:var(--demo-muted);opacity:.78}
.demo-workspace .story-item.is-seen:hover .story-ring{opacity:1}
.demo-workspace .story-item strong{font-size:11px;line-height:1.4}
.demo-workspace .story-item .story-state{font-size:9px;line-height:1.5;color:var(--demo-accent)}
.demo-workspace .story-item.is-seen .story-state{color:var(--demo-muted)}
.demo-workspace .social-toolbar{margin-bottom:10px}
.demo-workspace .social-toolbar .eyebrow{font-size:8px;letter-spacing:.12em;margin-bottom:3px}
.demo-workspace .social-toolbar h2{font-size:15px}
.demo-workspace .social-controls{border-radius:12px}
.demo-workspace .social-view{padding-inline:12px}
.demo-workspace .social-feed{max-width:520px;gap:26px}
.demo-workspace .social-post{border-radius:16px;box-shadow:none}
.demo-workspace .social-post-head{min-height:64px;padding:9px 14px;gap:10px}
.demo-workspace .social-person{gap:10px}
.demo-workspace .social-person>.avatar{width:38px;height:38px;flex-shrink:0;object-position:center 28%}
.demo-workspace .social-person strong{display:flex;align-items:center;gap:5px;font-size:12px;font-weight:650}
.demo-workspace .social-person small{font-size:10px}
.demo-workspace .profile-check{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:#92cbff;vertical-align:middle}
.demo-workspace[data-theme=light] .profile-check{color:#1765a0}
.demo-workspace .profile-check .icon{width:15px;height:15px;stroke-width:2.2}
.demo-workspace .social-photo{aspect-ratio:4/5;max-height:620px;background:#160f15;isolation:isolate}
.demo-workspace .social-photo>img{object-fit:cover;object-position:50% 28%;transition:none}
.demo-workspace .social-photo:hover>img{transform:none}
.demo-workspace .social-photo::after{inset:35% 0 0;z-index:0;background:linear-gradient(180deg,transparent 0%,#11091208 24%,#1109127a 66%,#110912e8 100%)}
.demo-workspace .social-photo-label{left:15px;top:14px;bottom:auto;z-index:2;border:1px solid #ffffff38;border-radius:6px;background:#130d17ba;color:#fff;font-size:8px;font-weight:650;letter-spacing:.1em;line-height:1.5;padding:5px 8px}
.demo-workspace .social-photo-identity{position:absolute;z-index:1;bottom:23px;left:23px;right:23px;display:grid;gap:7px;color:#fff;text-shadow:0 1px 5px #1008113b;pointer-events:none}
.demo-workspace .social-photo-name{display:flex;align-items:baseline;flex-wrap:wrap;gap:9px;line-height:1.13}
.demo-workspace .social-photo-name strong{font-family:var(--serif);font-size:clamp(29px,3.2vw,42px);letter-spacing:-.035em;font-weight:400;overflow-wrap:anywhere}
.demo-workspace .social-photo-name>span{font-size:24px;font-weight:400;letter-spacing:-.02em;color:#fff5f9}
.demo-workspace .social-photo-location{display:flex;align-items:center;gap:5px;font-size:11px;line-height:1.55;color:#fff0f6;overflow-wrap:anywhere}
.demo-workspace .social-photo-location>.icon{width:13px;height:13px}
.demo-workspace .social-photo-intent{justify-self:start;max-width:100%;padding:5px 9px;border:1px solid #ffffff38;border-radius:6px;background:#ffffff12;font-size:9px;font-weight:500;line-height:1.5;letter-spacing:.02em;overflow-wrap:anywhere}
.demo-workspace .profile-badges,.story-dialog .profile-badges,#dialog .profile-badges{display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}
.demo-workspace .social-post>.profile-badges{padding:8px 14px 10px;gap:5px}
.demo-workspace .profile-badge,.story-dialog .profile-badge,#dialog .profile-badge{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:44px;max-width:100%;padding:7px 9px;border:1px solid var(--demo-border,#ffffff25);border-radius:8px;background:var(--demo-raised,#2b232d);color:var(--demo-text,#fff);font-family:"DM Sans",Arial,sans-serif;font-size:10px;font-weight:550;line-height:1.4;text-align:left}
.demo-workspace .profile-badge>.icon,.story-dialog .profile-badge>.icon,#dialog .profile-badge>.icon{width:14px;height:14px;stroke-width:1.8;flex-shrink:0}
.demo-workspace .profile-badge>small,.story-dialog .profile-badge>small,#dialog .profile-badge>small{padding-left:5px;border-left:1px solid currentColor;font-size:8px;font-weight:400;line-height:1.35;opacity:.85}
.demo-workspace .profile-badge.is-verified,.story-dialog .profile-badge.is-verified,#dialog .profile-badge.is-verified{background:#193045;color:#b4dcff;border-color:#72b4e936}
.demo-workspace .profile-badge.is-premium,.story-dialog .profile-badge.is-premium,#dialog .profile-badge.is-premium{background:#33291d;color:#f3d499;border-color:#e5c0753b}
.demo-workspace .profile-badge.is-new,.story-dialog .profile-badge.is-new,#dialog .profile-badge.is-new{background:#1e332c;color:#b4e7cf;border-color:#85c7a83b}
.demo-workspace[data-theme=light] .profile-badge.is-verified{background:#eaf4fd;color:#165984;border-color:#216a9a30}
.demo-workspace[data-theme=light] .profile-badge.is-premium{background:#fff4dc;color:#775319;border-color:#91671736}
.demo-workspace[data-theme=light] .profile-badge.is-new{background:#eaf7ef;color:#286748;border-color:#28754532}
.demo-workspace button.profile-badge:hover,.story-dialog button.profile-badge:hover,#dialog button.profile-badge:hover{filter:brightness(1.12);border-color:currentColor}
.demo-workspace .social-post-body{padding:9px 16px 17px}
.demo-workspace .social-post-actions{gap:9px;margin-bottom:7px}
.demo-workspace .social-post-actions>.social-profile-link{margin-left:auto;font-size:11px}
.demo-workspace .social-like.icon-btn{width:44px;height:44px;min-width:44px;margin-left:-7px}
.demo-workspace .social-caption p{font-size:12px;line-height:1.75;margin-bottom:11px}
.demo-workspace .social-caption h3{font-size:13px;margin:0 0 6px;font-weight:600}
.demo-workspace .social-connection{font-size:10px;margin-top:13px;padding-top:12px;border-top:1px solid var(--demo-border)}
.demo-workspace .social-feed.is-grid,.demo-workspace[data-layout=grid] .social-feed{max-width:none;gap:16px;grid-template-columns:repeat(2,minmax(0,1fr))}
.demo-workspace .social-feed.is-grid .social-post-head{min-height:60px;padding:8px 10px;gap:3px}
.demo-workspace .social-feed.is-grid .social-person{gap:7px}
.demo-workspace .social-feed.is-grid .social-person>.avatar{width:31px;height:31px}
.demo-workspace .social-feed.is-grid .social-person strong{font-size:11px;gap:3px}
.demo-workspace .social-feed.is-grid .social-person small{font-size:9px}
.demo-workspace .social-feed.is-grid .profile-check .icon{width:13px;height:13px}
.demo-workspace .social-feed.is-grid .social-post>.profile-badges{padding:8px 10px 8px;gap:5px}
.demo-workspace .social-feed.is-grid .profile-badge{font-size:9px;padding:6px;gap:4px}
.demo-workspace .social-feed.is-grid .profile-badge>.icon{width:12px;height:12px}
.demo-workspace .social-feed.is-grid .profile-badge>small{font-size:7px;padding-left:4px}
.demo-workspace .social-feed.is-grid .social-photo-label{left:11px;top:11px;bottom:auto;font-size:7px;padding:4px 6px;letter-spacing:.07em}
.demo-workspace .social-feed.is-grid .social-photo-identity{left:16px;right:16px;bottom:17px;gap:6px}
.demo-workspace .social-feed.is-grid .social-photo-name{gap:6px}
.demo-workspace .social-feed.is-grid .social-photo-name strong{font-size:30px}
.demo-workspace .social-feed.is-grid .social-photo-name>span{font-size:20px}
.demo-workspace .social-feed.is-grid .social-photo-location{font-size:10px}
.demo-workspace .social-feed.is-grid .social-photo-intent{font-size:8px;padding:4px 7px}
.demo-workspace .social-feed.is-grid .social-post-body{padding:7px 12px 14px}
.demo-workspace .social-feed.is-grid .social-caption p{font-size:11px}
.demo-workspace .social-feed.is-grid .social-connection{font-size:9px}
.demo-workspace .social-badge-guide{display:grid;gap:12px}
.demo-workspace .social-badge-guide>h2{margin-bottom:0}
.demo-workspace .social-badge-guide>p{margin:0;font-size:10px;line-height:1.75}
.demo-workspace .social-badge-guide .profile-badge{justify-content:flex-start;justify-self:start}
.demo-workspace .social-badge-guide-item{display:grid;gap:5px;min-width:0}
.demo-workspace .social-badge-guide-item p{margin:0;font-size:10px;line-height:1.7}
.demo-workspace[data-density=compact] .social-stories{padding:11px 14px 9px;margin-bottom:14px}
.demo-workspace[data-density=compact] .story-item{min-height:96px;flex-basis:64px}
.demo-workspace[data-density=compact] .story-ring>.avatar{width:52px;height:52px}
.demo-workspace[data-density=compact] .social-feed{gap:18px}
.demo-workspace[data-density=compact] .social-post-head{min-height:60px;padding-block:7px}
.demo-workspace[data-density=compact] .social-photo{max-height:520px}
.demo-workspace[data-density=compact] .social-photo>img{object-fit:contain}
.demo-workspace[data-density=compact] .social-post-body{padding-block:6px 12px}
@media(min-width:1550px){.demo-workspace .social-layout{grid-template-columns:minmax(0,1fr) 260px;gap:32px}}
@media(max-width:1199px){.demo-workspace .social-layout{grid-template-columns:minmax(0,1fr) 220px;gap:20px}}
@media(max-width:1040px){.demo-workspace .social-layout{grid-template-columns:minmax(0,1fr)}.demo-workspace .social-aside{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}.demo-workspace .social-feed{max-width:520px}}
@media(max-width:767px){
 .demo-social .app-main{padding:14px 10px 28px}
 .demo-workspace{padding:13px 12px 18px;border-radius:15px}
 .demo-workspace .demo-heading{margin-bottom:12px}
 .demo-workspace .demo-heading .eyebrow{display:flex;align-items:center;min-height:40px;margin-bottom:1px;font-size:8px}
 .demo-workspace .demo-heading h1{font-size:29px;margin-bottom:5px}
 .demo-workspace .demo-heading p:not(.eyebrow){font-size:11px}
 .demo-presentation{margin-bottom:14px}
 .demo-presentation>summary{font-size:11px;min-height:44px;gap:7px}
 .demo-presentation>summary>span{font-size:9px}
 .demo-workspace .social-stories{padding:12px 10px 10px;margin-bottom:16px;border-radius:13px}
 .demo-workspace .social-section-heading{margin-bottom:9px;gap:8px}
 .demo-workspace .social-section-heading h2{font-size:12px}
 .demo-workspace .social-section-heading>span,.demo-workspace .social-section-heading>div:first-child>span{font-size:9px}
 .demo-workspace .stories-scroll-controls{gap:2px}
 .demo-workspace .stories-scroll-controls button{padding:9px;border-color:transparent}
 .demo-workspace .story-list{gap:13px}
 .demo-workspace .story-item{flex-basis:67px;min-height:103px}
 .demo-workspace .story-ring>.avatar{width:57px;height:57px}
 .demo-workspace .story-item strong{font-size:10px}
 .demo-workspace .story-item .story-state{font-size:9px}
 .demo-workspace .social-toolbar{margin-bottom:8px;gap:9px}
 .demo-workspace .social-toolbar h2{font-size:13px}
 .demo-workspace .social-view{padding-inline:10px;font-size:10px}
 .demo-workspace .social-feed{gap:20px}
 .demo-workspace .social-post{border-radius:13px}
 .demo-workspace .social-post-head{padding:8px 11px;min-height:60px;gap:6px}
 .demo-workspace .social-person strong{font-size:12px}
 .demo-workspace .social-person>.avatar{width:34px;height:34px}
 .demo-workspace .social-post>.profile-badges{padding:8px 10px 8px;gap:5px}
 .demo-workspace .profile-badge{font-size:9px;padding:6px 7px;gap:4px}
 .demo-workspace .profile-badge>.icon{width:13px;height:13px}
 .demo-workspace .profile-badge>small{font-size:7px;padding-left:4px}
 .demo-workspace .social-photo-label{top:12px;left:12px;font-size:7px}
 .demo-workspace .social-photo-identity{left:18px;right:18px;bottom:18px;gap:6px}
 .demo-workspace .social-photo-name strong{font-size:34px}
 .demo-workspace .social-photo-name>span{font-size:23px}
 .demo-workspace .social-photo-location{font-size:10px}
 .demo-workspace .social-photo-intent{font-size:8px}
 .demo-workspace .social-post-body{padding:7px 12px 14px}
 .demo-workspace .social-aside{grid-template-columns:minmax(0,1fr)}
 .demo-workspace .social-feed.is-grid,.demo-workspace[data-layout=grid] .social-feed{gap:11px}
 .demo-workspace .social-feed.is-grid .social-post-head{padding:6px;gap:0}
 .demo-workspace .social-feed.is-grid .social-person{gap:5px}
 .demo-workspace .social-feed.is-grid .social-person>.avatar{display:none}
 .demo-workspace .social-feed.is-grid .social-person strong{font-size:10px;white-space:normal;overflow-wrap:anywhere;line-height:1.4}
 .demo-workspace .social-feed.is-grid .social-person small{font-size:8px}
 .demo-workspace .social-feed.is-grid .profile-check .icon{width:12px;height:12px}
 .demo-workspace .social-feed.is-grid .social-post>.profile-badges{padding:8px 6px 7px;gap:4px}
 .demo-workspace .social-feed.is-grid .profile-badge{font-size:8px;padding:5px;gap:3px}
 .demo-workspace .social-feed.is-grid .profile-badge>.icon{width:11px;height:11px}
 .demo-workspace .social-feed.is-grid .profile-badge>small{font-size:7px;padding-left:3px}
 .demo-workspace .social-feed.is-grid .social-photo-label{left:7px;top:8px;font-size:6px;padding:3px 5px}
 .demo-workspace .social-feed.is-grid .social-photo-identity{left:9px;right:9px;bottom:11px;gap:4px}
 .demo-workspace .social-feed.is-grid .social-photo-name{gap:4px}
 .demo-workspace .social-feed.is-grid .social-photo-name strong{font-size:22px}
 .demo-workspace .social-feed.is-grid .social-photo-name>span{font-size:15px}
 .demo-workspace .social-feed.is-grid .social-photo-location{font-size:8px;gap:3px}
 .demo-workspace .social-feed.is-grid .social-photo-location>.icon{width:10px;height:10px}
 .demo-workspace .social-feed.is-grid .social-photo-intent{font-size:7px;padding:3px 5px;line-height:1.4}
 .demo-workspace .social-feed.is-grid .social-post-body{padding:5px 8px 11px}
 .demo-workspace .social-feed.is-grid .social-post-actions{gap:0;align-items:center;flex-wrap:wrap}
 .demo-workspace .social-feed.is-grid .social-profile-link{font-size:9px;gap:3px}
 .demo-workspace .social-feed.is-grid .social-caption p{font-size:10px;line-height:1.7}
 .demo-workspace .social-feed.is-grid .social-connection{font-size:8px;line-height:1.6}
 .demo-workspace[data-density=compact] .social-photo{max-height:430px}
}
@media(max-width:380px){
 .demo-workspace .social-feed.is-grid,.demo-workspace[data-layout=grid] .social-feed{grid-template-columns:minmax(0,1fr)}
 .demo-workspace .social-feed.is-grid .social-post-head{padding:8px 11px;gap:5px}
 .demo-workspace .social-feed.is-grid .social-person>.avatar{display:block;width:34px;height:34px}
 .demo-workspace .social-feed.is-grid .social-person strong{font-size:12px}
 .demo-workspace .social-feed.is-grid .social-person small{font-size:10px}
 .demo-workspace .social-feed.is-grid .social-post>.profile-badges{padding:8px 10px 8px;gap:5px}
 .demo-workspace .social-feed.is-grid .profile-badge{font-size:9px;padding:6px 7px;gap:4px}
 .demo-workspace .social-feed.is-grid .profile-badge>.icon{width:13px;height:13px}
 .demo-workspace .social-feed.is-grid .social-photo-identity{left:18px;right:18px;bottom:18px;gap:6px}
 .demo-workspace .social-feed.is-grid .social-photo-name strong{font-size:32px}
 .demo-workspace .social-feed.is-grid .social-photo-name>span{font-size:22px}
 .demo-workspace .social-feed.is-grid .social-photo-location{font-size:10px}
 .demo-workspace .social-feed.is-grid .social-photo-intent{font-size:8px;padding:5px 8px}
 .demo-workspace .social-feed.is-grid .social-photo-label{left:12px;top:12px;font-size:7px}
 .demo-workspace .social-feed.is-grid .social-post-body{padding:7px 12px 14px}
 .demo-workspace .social-feed.is-grid .social-caption p{font-size:12px}
 .demo-workspace .social-feed.is-grid .social-profile-link{font-size:11px}
 .demo-workspace .social-feed.is-grid .social-connection{font-size:10px}
 .demo-workspace .demo-heading h1{font-size:27px}
 .demo-workspace .social-section-heading>span{max-width:85px}
 .demo-workspace .story-list{gap:11px}
}
@media(prefers-reduced-motion:reduce){.demo-workspace .story-list{scroll-behavior:auto}.demo-workspace .story-ring{transition:none}.demo-workspace .story-item:hover .story-ring{transform:none}}
@media(forced-colors:active){
 .demo-workspace .profile-badge,.demo-workspace .story-ring,.demo-workspace .social-photo-intent{border:1px solid CanvasText;background:Canvas;color:CanvasText}
 .demo-workspace .profile-check{color:LinkText}
 .demo-workspace .story-item.is-seen .story-ring{border-style:dashed;opacity:1}
 .demo-workspace .social-photo-identity{background:Canvas;color:CanvasText;text-shadow:none;padding:8px}
 .demo-workspace .social-photo-location,.demo-workspace .social-photo-name>span{color:CanvasText}
}

.demo-workspace .social-badge-guide>small{font-size:10px;color:var(--demo-muted);line-height:1.7}
.demo-workspace .social-badge-guide .profile-badges{display:grid;justify-items:start;gap:7px}
#dialog .dialog-body>.profile-badges{margin-bottom:12px}
#dialog .profile-badge{--demo-text:#fff7fa;--demo-border:#ffffff2b;--demo-raised:#292129;min-height:34px}
#dialog .badge-explanation>.profile-badge{margin-bottom:14px}

/* V2: identity, actions and clear image previews share one uncluttered card. */
.demo-workspace .social-person.social-person-profile{display:flex;align-items:center;gap:8px;flex:1;min-width:0}
.demo-workspace .social-person-profile .social-person-photo{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:none}
.demo-workspace .social-person-photo>.avatar{width:38px;height:38px;object-position:center 28%}
.demo-workspace .social-person-profile>.social-person-copy{display:block;min-width:0;flex:1}
.demo-workspace .social-person-title{display:flex;align-items:center;min-width:0;gap:2px}
.demo-workspace .social-person-title .social-name-link{min-height:44px;min-width:44px;padding:6px 0;border:0;background:none;color:var(--demo-text);font-size:12px;font-weight:650;line-height:1.4;text-align:left;overflow-wrap:anywhere}
.demo-workspace .social-person-copy>small{display:block;margin-top:-5px;padding-bottom:3px;font-size:10px;line-height:1.5;color:var(--demo-muted)}
.demo-workspace .profile-identity-badge{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;padding:11px;border:0;border-radius:50%;background:none;color:#92cbff}
.demo-workspace .profile-identity-badge.is-premium{color:#f4ce8f}
.demo-workspace[data-theme=light] .profile-identity-badge{color:#1765a0}
.demo-workspace[data-theme=light] .profile-identity-badge.is-premium{color:#8b5f16}
.demo-workspace .profile-identity-badge:hover{background:var(--demo-raised)}
.demo-workspace .profile-identity-badge>.icon{width:18px;height:18px;stroke-width:2}
.demo-workspace .social-photo-wrap{position:relative;isolation:isolate;overflow:hidden;background:#160f15}
.demo-workspace .social-photo-wrap>.social-photo-label{min-height:44px;min-width:44px;max-width:calc(100% - 28px);padding:8px 10px;letter-spacing:.025em;font-size:9px;z-index:3}
.demo-workspace .social-photo-wrap>.social-photo-identity{display:grid;grid-template-columns:minmax(0,1fr) 48px;align-items:center;gap:7px 10px;z-index:2}
.demo-workspace .social-photo-identity>.social-photo-intent{grid-column:1/-1;justify-self:start}
.demo-workspace .social-photo-identity>.social-photo-name{grid-column:1;grid-row:2;gap:0 5px;min-width:0}
.demo-workspace .social-photo-identity>.social-photo-location{grid-column:1/-1;grid-row:3}
.demo-workspace .social-photo-identity>.social-like.icon-btn{grid-column:2;grid-row:2;align-self:center;justify-self:end;display:flex;align-items:center;justify-content:center;width:48px;min-width:48px;height:48px;min-height:48px;margin:0;padding:10px;border:1px solid #ffffff70;border-radius:50%;background:#160d18ad;backdrop-filter:blur(9px);color:#fff;pointer-events:auto;text-shadow:none}
.demo-workspace .social-photo-identity>.social-like.icon-btn:hover{background:#493042e8;border-color:#fff}
.demo-workspace .social-photo-identity>.social-like.icon-btn.liked{color:#ffb5cf;background:#3a172ee8;border-color:#ffb5cf}
.demo-workspace .social-post-body .social-caption{padding-top:9px}
.demo-workspace .social-post-body .social-caption p{margin-bottom:10px}
.demo-workspace .social-post-body .social-post-actions{justify-content:space-between;margin:10px 0 0;min-height:44px;border-top:1px solid var(--demo-border);padding-top:5px;gap:4px 9px}
.demo-workspace .social-interest-state{font-size:10px;line-height:1.5;color:var(--demo-accent)}
.demo-workspace .social-preview-protection{position:absolute;z-index:4;top:42%;left:16px;right:16px;transform:translateY(-50%);display:flex;align-items:center;flex-direction:column;gap:9px;color:#fff;text-align:center;text-shadow:0 1px 6px #000}
.demo-workspace .social-preview-protection>span{display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-weight:600;line-height:1.5}
.demo-workspace .social-preview-protection>span>.icon{width:18px;height:18px;flex-shrink:0}
.demo-workspace .social-preview-protection>button{min-width:88px;min-height:44px;padding:9px 17px;border:1px solid #fff9;border-radius:9px;background:#25172fe8;color:#fff;font-size:12px;font-weight:600;line-height:1.5}
.demo-workspace .social-preview-protection>small{max-width:210px;color:#fff;font-size:10px;line-height:1.5}
.demo-workspace .social-photo-wrap.is-preview-protected .social-photo>img{filter:blur(22px);transform:scale(1.13)}
.demo-workspace .story-item.is-fresh .story-ring{background:linear-gradient(135deg,#ffdca4,#ff68a2 55%,#b981e7);box-shadow:0 0 0 2px var(--demo-bg),0 0 0 3px #ee85b1}
.demo-workspace .story-item.is-fresh .story-state{font-weight:650;color:var(--demo-accent)}
@media(max-width:767px){
 .demo-workspace .social-feed.is-grid .social-person-profile .social-person-photo{display:none}
 .demo-workspace .social-feed.is-grid .social-person-title{gap:0}
 .demo-workspace .social-feed.is-grid .social-person-title .social-name-link{font-size:11px}
 .demo-workspace .social-feed.is-grid .social-person-copy>small{font-size:9px}
 .demo-workspace .social-feed.is-grid .profile-identity-badge{padding:13px}
 .demo-workspace .social-feed.is-grid .profile-identity-badge>.icon{width:16px;height:16px}
 .demo-workspace .social-feed.is-grid .social-photo-wrap>.social-photo-label{font-size:8px;padding:7px;left:8px;max-width:calc(100% - 16px)}
 .demo-workspace .social-feed.is-grid .social-photo-wrap>.social-photo-identity{grid-template-columns:minmax(0,1fr) 44px;gap:6px;left:10px;right:10px}
 .demo-workspace .social-feed.is-grid .social-photo-identity>.social-like.icon-btn{width:44px;min-width:44px;height:44px;min-height:44px;padding:10px}
 .demo-workspace .social-feed.is-grid .social-photo-identity>.social-photo-name strong{font-size:24px;overflow-wrap:anywhere}
 .demo-workspace .social-feed.is-grid .social-photo-identity>.social-photo-name>span{font-size:17px}
 .demo-workspace .social-feed.is-grid .social-photo-wrap.is-preview-protected .social-photo{aspect-ratio:3/5}
 .demo-workspace .social-feed.is-grid .social-preview-protection{left:9px;right:9px;top:39%;gap:5px}
 .demo-workspace .social-feed.is-grid .social-preview-protection>span{font-size:10px}
 .demo-workspace .social-feed.is-grid .social-preview-protection>span>.icon{display:none}
 .demo-workspace .social-feed.is-grid .social-preview-protection>small{font-size:9px}
 .demo-workspace .social-feed.is-grid .social-interest-state{font-size:9px}
}
@media(forced-colors:active){
 .demo-workspace .profile-identity-badge{color:LinkText}
 .demo-workspace .social-photo-identity>.social-like.icon-btn,.demo-workspace .social-preview-protection>button{color:ButtonText;background:ButtonFace;border-color:ButtonText;backdrop-filter:none}
 .demo-workspace .social-photo-identity>.social-like.icon-btn.liked{color:Highlight;border-color:Highlight}
 .demo-workspace .social-preview-protection{color:CanvasText;background:Canvas;text-shadow:none}
 .demo-workspace .social-preview-protection>small{color:CanvasText}
}
.demo-workspace .social-photo-identity>.social-photo-name,.demo-workspace .social-feed.is-grid .social-photo-identity>.social-photo-name{gap:0}
