/* Firstlight beta V3 — DESIGN.md rhythm, Firstlight colour, a continuous social feed. */
body[data-release=v3] #app>main.shell{margin:0 0 0 var(--rail);width:calc(100% - var(--rail));padding:28px 32px;max-width:none}
body[data-release=v3] #app>main.shell:has(.v3-feed-layout),body[data-release=v3] #app>main.shell:has(.v3-messenger){padding:0}
body[data-release=v3] #app>main.shell:has(.v3-messenger){height:calc(100dvh - 64px);min-height:0}
body[data-v3-view=messages] #app>footer{display:none}
body[data-release=v3] .v3-chat-pane #chat-log{border:0;border-radius:0;background:var(--surface-soft)}
body[data-release=v3] nav.v3-segmented{order:initial;width:auto;flex:none;gap:0;padding:0;margin:0;border-top:1px solid var(--line);justify-content:initial}
body[data-release=v3] .v3-stream-heading h1{flex:none;white-space:nowrap;word-break:normal;overflow-wrap:normal}
body[data-release=v3] .v3-feed-note .discovery-options{margin:0;padding:0;border:0;border-radius:0;background:none}
body[data-release=v3] .v3-feed-note .discovery-options summary{min-height:22px;padding:0;margin:0;border:0;background:none}
body[data-release=v3] .v3-verified{color:#f7a66a}
body[data-v3-view=safety] #app>main.shell{margin-left:0;width:100%;padding:32px 40px}
body[data-release=v3]{--radius:12px;--bg:#fff;--surface:#fff;--soft:#f6f5f4;--surface-soft:#fafaf9;--line:#e8e6e2;--text:#22211f;--ink:#22211f;--muted:#79766f;font-size:14px;line-height:1.55}
:root[data-theme=dark] body[data-release=v3]{--bg:#111214;--surface:#151618;--soft:#1c1e21;--surface-soft:#181a1d;--line:#2a2c30;--text:#ececeb;--ink:#ececeb;--muted:#a1a09c}
body[data-release=v3] .btn{border-radius:8px;font-size:13px;font-weight:600;min-height:40px;box-shadow:none}
body[data-release=v3] main.shell{margin:0 0 0 var(--rail);width:calc(100% - var(--rail));max-width:none;padding:28px 32px}
body[data-release=v3] main.shell:has(.v3-feed-layout){padding:0}
body[data-release=v3] .rail{padding-top:24px;background:var(--surface)}
body[data-release=v3] .rail .brand{margin-bottom:28px}
body[data-release=v3] .rail-nav .nav-link{font-size:13px;font-weight:500;min-height:44px;border-radius:8px}
body[data-release=v3] .rail-nav .nav-link.active{font-weight:650}
body[data-release=v3] .rail .rail-compose{margin-top:20px}
.v3-rail-extra{display:flex;align-items:center;gap:10px;min-height:38px;font-size:11px;color:var(--muted);padding:8px 12px;border:0;text-decoration:none;background:none;text-align:left}
.v3-rail-extra:first-of-type{margin-top:16px}.v3-rail-extra:hover{color:var(--text)}.v3-rail-extra .ui-icon{width:15px;height:15px}
body[data-release=v3] .rail .rail-bottom{padding-top:16px}.v3-feed-layout{display:grid;grid-template-columns:minmax(0,1fr) 308px;min-height:calc(100vh - 64px);align-items:start}
.v3-stream{min-width:0;border-right:1px solid var(--line)}
.v3-stream-heading{padding:20px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line)}
.v3-stream-heading h1{font-size:18px;font-weight:650;letter-spacing:-.4px;margin:0;line-height:1.4}
.v3-segmented{display:flex;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:var(--surface)}
.v3-segmented button{min-height:34px;padding:7px 16px;font-size:11px;font-weight:650;color:var(--muted);border:0;border-right:1px solid var(--line);background:transparent}
.v3-segmented button:last-child{border-right:0}.v3-segmented button.active{background:var(--tint);color:var(--accent)}
.v3-filters.feed-filters{padding:14px 28px 12px;margin:0;border:0;border-bottom:1px solid var(--line);background:none;border-radius:0}
.v3-filters>summary{display:none}.v3-filters .filter-row{margin:0;gap:6px;display:flex;flex-wrap:wrap}
.v3-filters .filter{border:0;background:transparent;min-height:32px;border-radius:6px;font-size:11px;font-weight:500;padding:5px 10px;color:var(--muted)}
.v3-filters .filter.on{background:var(--soft);color:var(--text);font-weight:650}
.v3-feed-note{display:flex;align-items:center;justify-content:space-between;padding:10px 28px;font-size:10px;color:var(--muted);border-bottom:1px solid var(--line)}
.v3-feed-note .discovery-options{position:relative;font-size:10px}.v3-feed-note .discovery-options summary{font-size:10px;cursor:pointer}
.v3-feed-note .discovery-options[open]{z-index:20}.v3-feed-note .discovery-options>p{width:250px;background:var(--surface);padding:16px;border:1px solid var(--line);border-radius:8px;position:absolute;right:0;top:34px;box-shadow:0 8px 28px #0000000d}
.v3-feed-note .discovery-options>label{font-size:10px;white-space:nowrap}
.v3-post-list{display:block!important;gap:0!important;padding:0!important;grid-template-columns:none!important}
.v3-post{padding:26px 28px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:var(--surface);box-shadow:none;position:relative;margin:0;min-width:0}
.v3-post-author{display:flex;align-items:center;gap:10px;min-width:0;position:relative;margin-bottom:16px}
.v3-avatar-link{border:0;background:none;padding:0;display:flex;flex-shrink:0}
body[data-release=v3] .maker-avatar{position:relative;overflow:visible;flex-shrink:0;width:38px;height:38px;font-size:14px;border-radius:50%}
body[data-release=v3] .maker-avatar>img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.v3-verified{position:absolute;bottom:-2px;right:-3px;display:grid;place-items:center;width:16px;height:16px;color:var(--accent);border:2px solid var(--surface);border-radius:50%;background:var(--surface);z-index:1}
.v3-verified svg{width:14px;height:14px;display:block;overflow:visible}
.person-avatar .v3-verified{display:none!important}
body[data-release=v3] .person-name-row>.person-verified{display:inline-flex!important;align-items:center;vertical-align:middle;color:var(--accent,#f7a66a)}
body[data-release=v3] .feed-verified{display:none}
.v3-author-name{display:grid;justify-items:start;padding:0;background:none;border:0;min-width:0;text-align:left;line-height:1.5;flex:1}
.v3-author-name strong{font-size:13px;font-weight:650;color:var(--text)}.v3-author-name>span{font-size:11px;color:var(--muted)}.v3-author-name i,.v3-product-title i{font-style:normal;opacity:.6;margin:0 3px}
.v3-post-menu{position:relative;align-self:flex-start}.v3-post-menu summary{font-size:20px;list-style:none;color:var(--muted);width:32px;height:30px;text-align:center;cursor:pointer;border-radius:6px}
.v3-post-menu summary::-webkit-details-marker{display:none}.v3-post-menu[open]>div{position:absolute;right:0;top:32px;width:180px;border:1px solid var(--line);background:var(--surface);border-radius:8px;box-shadow:0 8px 28px #00000012;padding:5px;z-index:10}
.v3-post-menu button{display:flex;align-items:center;gap:8px;min-height:38px;width:100%;padding:8px;border:0;border-radius:5px;background:transparent;text-align:left;font-size:12px;color:var(--text)}.v3-post-menu button:hover{background:var(--soft)}
.v3-post-body{padding-left:48px;min-width:0}.v3-product-title{display:flex;align-items:center;gap:10px;margin:0 0 12px}
.v3-product-title .post-product-mark{width:34px;height:34px;min-width:34px;border-radius:8px;box-shadow:none;flex:none}
.v3-product-title .post-product-mark img{width:100%;height:100%;object-fit:contain;border-radius:inherit}
.v3-product-title h2{margin:0;line-height:1.4;font-size:16px;font-weight:650;letter-spacing:-.35px}.v3-product-title h2 button{border:0;padding:0;background:none;font:inherit;color:inherit;text-align:left}
.v3-product-title span{font-size:10px;color:var(--muted)}.v3-description{font-size:14px;line-height:1.65;letter-spacing:0;margin:0 0 12px;white-space:pre-wrap;color:var(--text)}
.v3-tags{display:flex;flex-wrap:wrap;gap:5px 10px;margin:8px 0 15px}.v3-tags button{font-size:12px;color:var(--accent);padding:0;border:0;background:transparent}
.v3-media{width:100%;border:1px solid var(--line);border-radius:12px;overflow:hidden;display:block;background:var(--soft);padding:0;margin:16px 0}
.v3-media .product-banner,.v3-media .launch-gallery img,.v3-media .launch-gallery video{width:100%;height:auto!important;max-height:none!important;object-fit:contain;display:block;margin:0;border:0;border-radius:0}
.v3-media .launch-gallery{margin:0;padding:0;display:block}.v3-small-ask{margin:16px 0 12px;padding:0 0 0 12px;border-left:2px solid color-mix(in srgb,var(--accent) 36%,var(--line))}
.v3-small-ask>span{display:flex;gap:6px;align-items:center;color:var(--muted);font-size:9px;letter-spacing:.07em;font-weight:600}.v3-small-ask .ui-icon{width:12px;height:12px}.v3-small-ask p{font-size:12px;line-height:1.6;margin:5px 0 0;color:var(--text)}
.v3-post-actions{display:flex;gap:18px;align-items:center;margin:16px 0 0;font-size:11px;color:var(--muted)}
.v3-post-actions>button{display:flex;gap:6px;align-items:center;min-height:34px;border:0;background:transparent;padding:0;color:var(--muted);font-size:11px;font-weight:500}
.v3-post-actions .ui-icon{width:17px;height:17px}.v3-post-actions .v3-open{margin-left:auto}.v3-post-actions .liked,.v3-post-actions .saved{color:var(--accent)}
.v3-post-actions .post-like{border:0!important;box-shadow:none!important;background:transparent!important;min-width:auto!important;padding:0!important;min-height:34px!important;font-size:12px!important}
.v3-stream-footer{text-align:center;padding:24px;color:var(--muted);font-size:11px;border-top:1px solid var(--line);margin:0}
.v3-right-rail{padding:28px 22px;position:sticky;top:64px;min-width:0}.v3-side-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.v3-side-heading h2{font-size:13px;line-height:1.5;font-weight:650;letter-spacing:-.2px;margin:0}.v3-side-heading .ui-icon{width:15px;height:15px;color:var(--accent)}
.v3-side-caption{font-size:11px;color:var(--muted);margin:0 0 16px}.v3-featured-launch{--logo-color:#f7a66a;position:relative;isolation:isolate;display:flex;align-items:flex-start;gap:11px;width:100%;border:1px solid var(--line);border-radius:12px;margin:0 0 10px;padding:16px 12px;text-align:left;color:var(--text);background:var(--surface);overflow:hidden}
.v3-featured-launch:before{content:'';position:absolute;right:-25px;top:-40px;width:180px;height:130px;background:radial-gradient(ellipse at 75% 20%,color-mix(in srgb,var(--logo-color) 24%,transparent),transparent 72%);z-index:-1;pointer-events:none}
.v3-featured-launch .post-product-mark{width:38px;height:38px;min-width:38px;flex:none;border-radius:9px;box-shadow:none;background:var(--surface)}.v3-featured-launch .post-product-mark img{width:100%;height:100%;object-fit:contain;border-radius:8px}
.v3-featured-launch>span:nth-child(2){flex:1;min-width:0}.v3-featured-launch strong{font-size:12px;display:block;margin-bottom:3px;font-weight:650;line-height:1.5}.v3-featured-launch small{display:block;font-size:11px;line-height:1.6;color:var(--muted);max-height:3.2em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.v3-featured-launch>.ui-icon{width:13px;height:13px;opacity:.5;margin-top:3px}
.v3-rotation-note{display:block;font-size:9px;color:var(--muted);padding-top:1px}.v3-people{padding-top:28px;margin-top:26px;border-top:1px solid var(--line)}
.v3-person{display:flex;align-items:center;width:100%;gap:10px;text-align:left;padding:12px 0;border:0;background:transparent}.v3-person .maker-avatar{width:30px!important;height:30px!important;font-size:12px!important}.v3-person>span:nth-child(2){flex:1;min-width:0}.v3-person strong{display:block;font-size:11px;font-weight:600}.v3-person small{display:block;font-size:10px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v3-person>.ui-icon{width:13px;height:13px;color:var(--muted)}
.v3-fair-note{margin-top:24px;border-top:1px solid var(--line);padding-top:24px}.v3-fair-note .eyebrow{font-size:9px;letter-spacing:.08em;color:var(--accent)}.v3-fair-note h3{font-size:18px;line-height:1.4;margin:10px 0 12px;letter-spacing:-.5px;font-weight:600}.v3-fair-note p{font-size:12px;margin:0 0 12px;color:var(--muted)}.v3-fair-note small{font-size:10px;display:block;color:var(--muted)}
.v3-side-links{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:24px;padding-top:16px;border-top:1px solid var(--line)}.v3-side-links button{padding:0;background:none;border:0;color:var(--muted);font-size:10px}.v3-quiet{font-size:12px;color:var(--muted);padding:14px 0}
.v3-empty{text-align:center;padding:48px 24px;color:var(--muted)}.v3-empty>.ui-icon{width:30px;height:30px;color:var(--accent);margin-bottom:16px}.v3-empty h2{font-size:20px;font-weight:600;letter-spacing:-.5px;color:var(--text);margin:0 0 10px}.v3-empty p{font-size:13px;margin:0 0 20px}
.v3-team{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0;font-size:10px;color:var(--muted)}.v3-team>span{font-size:9px;letter-spacing:.04em}.v3-team>button{display:flex;align-items:center;gap:6px;border:0;background:none;padding:0;text-align:left}.v3-team .maker-avatar{width:24px!important;height:24px!important;font-size:10px!important}.v3-team button>span:last-child{font-size:10px;color:var(--text)}.v3-team small{display:block;font-size:9px;color:var(--muted)}
.v3-team-management>div{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line)}.v3-team-management strong,.v3-team-management small{display:block}.v3-team-management small{color:var(--muted);font-size:11px}.v3-invitations article{border-bottom:1px solid var(--line);padding:20px 0}.v3-invitations article h3{font-size:17px;margin:0 0 8px}.v3-invitations article p{font-size:13px}.v3-invitations article>div{display:flex;align-items:center;gap:10px}
/* Messenger: conversation list and an independent reader, never a public feed. */
body[data-release=v3] main.shell:has(.v3-messenger){padding:0;height:calc(100dvh - 64px);min-height:500px}
.v3-messenger{display:grid;grid-template-columns:300px minmax(0,1fr);height:100%;min-height:0}.v3-chat-list{border-right:1px solid var(--line);overflow:auto;background:var(--surface)}.v3-chat-list-heading{padding:24px 22px 18px;border-bottom:1px solid var(--line)}.v3-chat-list h1{font-size:21px;font-weight:650;letter-spacing:-.5px;margin:0 0 6px}.v3-chat-list-heading p{font-size:11px;color:var(--muted);margin:0}.v3-chat-list .inbox-row{display:flex;border:0;border-bottom:1px solid var(--line);border-radius:0;width:100%;padding:18px 20px;gap:12px;min-height:88px;background:transparent}.v3-chat-list .inbox-row:hover{background:var(--soft)}.v3-chat-list .inbox-row>span:nth-child(2){display:grid;gap:4px;min-width:0;flex:1}.v3-chat-list .inbox-row strong{font-size:12px}.v3-chat-list .inbox-row strong>small{display:none}.v3-chat-list .inbox-row>span:nth-child(2)>span{font-size:11px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:175px}.v3-chat-list .inbox-row>span:nth-child(2)>small{font-size:9px;color:var(--muted)}.v3-chat-list .inbox-row>time,.v3-chat-list .inbox-row>.ui-icon{display:none}
.v3-chat-pane{min-width:0;height:100%;overflow:hidden;background:var(--surface-soft)}.v3-chat-pane>.v3-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;max-width:390px;margin:auto}.v3-chat-pane .chat-panel{display:flex;flex-direction:column;height:100%;max-height:none;padding:0;gap:0}.v3-chat-pane .chat-heading{padding:20px 28px;border-bottom:1px solid var(--line);background:var(--surface);gap:12px;margin:0}.v3-chat-pane .chat-heading h2{font-size:15px;font-weight:650;letter-spacing:-.2px;margin:0}.v3-chat-pane .chat-heading p{font-size:10px;color:var(--muted);margin:2px 0 0}.v3-chat-pane .chat-heading>div{flex:1}.v3-chat-pane .chat-panel>p.help{padding:8px 28px;margin:0;font-size:10px;background:var(--surface);border-bottom:1px solid var(--line)}
.v3-chat-pane #chat-log{flex:1;min-height:0;max-height:none;overflow:auto;padding:24px 28px;display:flex;flex-direction:column;gap:10px;scrollbar-width:thin}
.v3-chat-pane .chat-message{max-width:62%;align-self:flex-start;background:var(--surface);border:1px solid var(--line);border-radius:20px 20px 20px 4px;padding:8px 14px;margin:0;position:relative;transition:box-shadow .15s}
.v3-chat-pane .chat-message.own{align-self:flex-end;background:var(--tint);border-color:color-mix(in srgb,var(--accent) 14%,var(--line));border-radius:20px 20px 4px 20px}
.v3-chat-pane .chat-message .message-copy{font-size:12.5px;line-height:1.5;white-space:pre-wrap;color:var(--text);margin:0 0 3px;word-break:break-word}
.v3-chat-pane .chat-message.is-removed .message-copy{font-style:italic;opacity:.6}
.v3-chat-pane .chat-message>div{display:flex;align-items:center;justify-content:flex-end;gap:7px;font-size:9.5px;color:var(--muted);position:relative}
.v3-chat-pane .chat-message time,.v3-chat-pane .chat-message .text-btn{font-size:9.5px;color:var(--muted)}
.chat-actions-group{display:inline-flex;align-items:center;gap:3px;margin-left:4px}
.chat-action-btn{background:transparent;border:0;padding:2px 5px;font-size:10px;color:var(--muted);cursor:pointer;border-radius:5px;line-height:1.2;transition:background .15s,color .15s}
.chat-action-btn:hover{color:var(--text);background:var(--soft)}
.chat-action-btn.delete-btn:hover{color:#e5484d}
.chat-action-btn.react-trigger{font-size:11px;padding:1px 4px}
.chat-reactions-row{display:flex;flex-wrap:wrap;gap:4px;margin-top:5px}
.chat-reaction-pill{display:inline-flex;align-items:center;gap:3px;padding:2px 7px;border-radius:9999px;font-size:11px;border:1px solid var(--line);background:var(--surface);color:var(--text);cursor:pointer;transition:all .15s;line-height:1.2}
.chat-reaction-pill.reacted{background:color-mix(in srgb,var(--accent) 14%,var(--surface));border-color:color-mix(in srgb,var(--accent) 40%,var(--line))}
.chat-reaction-pill:hover{border-color:var(--accent)}
.chat-reaction-popover{position:absolute;top:-36px;right:0;display:flex;gap:3px;background:var(--surface);border:1px solid var(--line);box-shadow:0 6px 20px #00000018;border-radius:9999px;padding:3px 8px;z-index:20;animation:pop-in .12s ease-out}
.chat-reaction-popover button{background:transparent;border:0;font-size:16px;line-height:1;padding:2px 4px;cursor:pointer;border-radius:50%;transition:transform .12s}
.chat-reaction-popover button:hover{transform:scale(1.28)}
.chat-edit-box{display:flex;flex-direction:column;gap:6px;margin:2px 0 6px}
.chat-edit-input{width:100%;border:1px solid var(--line);border-radius:14px;padding:7px 12px;font-size:12.5px;line-height:1.45;background:var(--surface);color:var(--text);resize:vertical;min-height:46px;box-sizing:border-box}
.chat-edit-input:focus{outline:none;border-color:var(--accent)}
.chat-edit-actions{display:flex;justify-content:flex-end;gap:6px}
.chat-edit-actions button{padding:3px 10px;font-size:11px;border-radius:9999px;cursor:pointer}
.edited-badge{font-size:9px;font-style:italic;opacity:.65;margin-left:3px}
.v3-chat-pane #chat-status:empty{display:none}
.v3-chat-pane #chat-form{display:flex;align-items:center;gap:10px;margin:0;padding:14px 24px;border-top:1px solid var(--line);background:var(--surface)}
.v3-chat-pane #chat-message{flex:1;min-width:0;resize:none;min-height:44px;max-height:120px;border:1px solid var(--line);border-radius:9999px!important;padding:11px 22px!important;font-size:13px;background:var(--soft);box-sizing:border-box}
.v3-chat-pane #chat-form>.btn{margin:0;min-height:44px;border-radius:9999px!important;padding:0 22px!important;flex-shrink:0}
/* Public discussion remains a clearly identified, threaded conversation. */
body[data-release=v3] .thread-form{background:var(--surface-soft);padding:18px;border:1px solid var(--line);border-radius:12px;margin:20px 0 28px}.thread-form label{font-size:12px!important}.thread-form textarea{background:var(--surface);font-size:13px;border-radius:8px}.thread-form .btn{justify-self:end}
body[data-release=v3] .thread{border:0;border-bottom:1px solid var(--line);padding:22px 0;background:none;border-radius:0;margin:0;box-shadow:none}.thread-byline{display:flex;align-items:center;gap:9px}.thread-byline .maker-avatar{width:30px!important;height:30px!important;font-size:11px!important}.thread-byline .profile-link{font-size:12px;font-weight:650}.thread-byline time{font-size:10px;color:var(--muted);margin-left:auto}.thread>p,.reply>p{font-size:13px;line-height:1.7;white-space:pre-wrap;margin:12px 0 12px 39px}.thread .thread-actions{margin-left:39px;gap:16px}.thread-actions .text-btn{font-size:10px}.thread .reply{margin:18px 0 0 39px;border-left:2px solid var(--line);border-bottom:0;padding:8px 0 8px 16px;background:none;border-radius:0}.reply .text-btn{font-size:10px;margin-left:39px}.thread .launch-meta{margin-left:39px}
/* Safety has its own layout and uses the existing authenticated staff grant. */
body[data-v3-view=safety] .rail,body[data-v3-view=safety] .bottom-nav{display:none}body[data-v3-view=safety] .topbar{margin-left:0;width:100%}body[data-v3-view=safety] main.shell{margin-left:0;width:100%;padding:32px 40px}.v3-safety{max-width:1500px;margin:auto}.v3-safety-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:8px 0 32px}.v3-safety-heading h1{font-size:30px;letter-spacing:-1px;font-weight:600;margin:8px 0}.v3-safety-heading p{font-size:13px;color:var(--muted);margin:0}.v3-safety .eyebrow{color:var(--accent);font-size:10px}.v3-safety-counts{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:24px}.v3-safety-counts button{display:grid;gap:3px;text-align:left;padding:20px 24px;background:var(--surface);border:0;border-right:1px solid var(--line);color:var(--muted)}.v3-safety-counts button:last-child{border-right:0}.v3-safety-counts button.active{background:var(--tint);color:var(--accent)}.v3-safety-counts strong{font-size:28px;font-weight:600;letter-spacing:-1px}.v3-safety-counts span{font-size:11px;text-transform:capitalize}.v3-safety-toolbar{display:flex;gap:12px;align-items:end;margin-bottom:24px}.v3-safety-toolbar label{font-size:10px;min-width:130px;display:grid;gap:5px;color:var(--muted)}.v3-safety-toolbar select{font-size:12px;border-radius:8px;min-height:40px;background:var(--surface);color:var(--text);border:1px solid var(--line);padding:8px 12px}.v3-safety-toolbar small{font-size:10px;color:var(--muted);margin-left:auto;align-self:center}
.v3-safety-layout{display:grid;grid-template-columns:330px minmax(0,1fr);border:1px solid var(--line);border-radius:12px;overflow:hidden;min-height:560px}.v3-report-list{border-right:1px solid var(--line);max-height:850px;overflow:auto}.v3-report-list>button{width:100%;display:block;text-align:left;padding:20px;border:0;border-bottom:1px solid var(--line);background:var(--surface);color:var(--text)}.v3-report-list>button.selected{background:var(--tint);box-shadow:inset 3px 0 var(--accent)}.v3-report-type{display:flex;justify-content:space-between;font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;margin-bottom:10px}.v3-report-type i{font-style:normal;color:var(--accent)}.v3-report-list strong{font-size:13px}.v3-report-list p{font-size:12px;color:var(--muted);line-height:1.6;margin:6px 0}.v3-report-list small{font-size:10px;color:var(--muted)}.v3-report-detail{padding:28px;min-width:0}.v3-report-detail h2{font-size:24px;font-weight:600;letter-spacing:-.5px;margin:12px 0}.v3-report-detail h3{font-size:13px;margin:24px 0 12px}.v3-report-statement{white-space:pre-wrap;font-size:14px;line-height:1.7}.v3-evidence{white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.7 ui-monospace,monospace;background:var(--soft);padding:16px;border:1px solid var(--line);border-radius:8px;max-height:320px;overflow:auto;color:var(--text)}.v3-report-history article{padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.v3-report-history article p{white-space:pre-wrap;margin:5px 0}.v3-report-history article small{font-size:10px;color:var(--muted)}.v3-report-detail form{display:grid;gap:16px;margin-top:24px}.v3-report-detail form .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.v3-report-detail form label{display:grid;gap:6px;font-size:12px}.v3-report-detail form select,.v3-report-detail textarea{background:var(--surface);border:1px solid var(--line);padding:10px 12px;border-radius:8px;color:var(--text);font-size:13px}.v3-report-detail .rules-check{display:flex;gap:8px}.v3-safety-locked{max-width:480px;padding:40px 24px;text-align:center;margin:60px auto}.v3-safety-locked>.ui-icon{width:32px;height:32px;color:var(--accent);margin-bottom:20px}.v3-safety-locked h2{font-size:24px;letter-spacing:-.6px;font-weight:600}.v3-safety-locked p{font-size:13px;color:var(--muted);margin:14px 0 20px}
.v3-product-extras{padding:0 0 12px}.v3-product-extras .v3-team{margin-top:20px}
body[data-release=v3] .story-editor{border-radius:12px;box-shadow:none;border:1px solid var(--line);overflow:visible;background:var(--surface)}.story-editor .section-top{padding:20px 20px 12px;margin:0}.story-editor h3{font-size:15px!important;font-weight:600!important}.story-editor .editor-toolbar{position:sticky;top:64px;z-index:5;display:flex;flex-wrap:wrap;gap:4px;padding:9px 12px;background:var(--surface-soft);border-block:1px solid var(--line)}.story-editor .editor-toolbar button{border:0;border-radius:6px;min-width:34px;min-height:34px;font-size:13px;background:transparent;color:var(--text)}.story-editor .editor-toolbar button[aria-pressed=true]{background:var(--tint);color:var(--accent)}.story-editor .story-document{min-height:240px;padding:20px;font-size:15px;line-height:1.75;background:var(--surface);border:0;border-radius:0}.story-editor .story-document:focus{outline:none;box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--accent) 40%,transparent)}.story-editor>.help{padding:12px 20px;margin:0;border-top:1px solid var(--line);font-size:10px}.story-editor .story-document h3{font-size:23px!important;margin:20px 0 12px;font-weight:600;letter-spacing:-.5px}.story-link-popover{padding:16px 20px;background:var(--soft);border-bottom:1px solid var(--line);display:flex;align-items:end;gap:10px}.story-link-popover label{flex:1;display:grid;font-size:11px;gap:5px}.story-link-popover input{min-width:0;font-size:12px;padding:9px}.story-link-popover button{font-size:12px;padding:9px;border-radius:6px;background:var(--surface);border:1px solid var(--line)}.story-error{color:#c74d3d!important;min-height:0}
@media(min-width:1600px){.v3-feed-layout{grid-template-columns:minmax(0,1fr) 340px}.v3-post{padding:30px 40px}.v3-stream-heading,.v3-filters.feed-filters{padding-inline:40px}.v3-right-rail{padding:30px 26px}.v3-post-body{max-width:1050px}}
@media(max-width:1180px){.v3-feed-layout{grid-template-columns:minmax(0,1fr) 260px}.v3-right-rail{padding:24px 16px}.v3-post{padding:24px}.v3-stream-heading{padding:18px 24px}.v3-segmented button{padding-inline:11px}.v3-product-title h2{font-size:15px}}
@media(max-width:1020px){.v3-feed-layout{grid-template-columns:1fr}.v3-right-rail{display:none}.v3-stream{border-right:0}.v3-post-body{max-width:850px}.v3-messenger{grid-template-columns:260px minmax(0,1fr)}.v3-safety-layout{grid-template-columns:270px minmax(0,1fr)}}
@media(max-width:760px){body[data-release=v3]{--rail:0px}body[data-release=v3] main.shell{margin-left:0;width:100%;padding:22px 18px}body[data-release=v3] .rail{display:none}body[data-release=v3] .topbar{margin-left:0;width:100%;padding:0 16px;height:60px;min-height:60px;gap:12px}body[data-release=v3] .topbar-global-search{margin-left:0}body[data-release=v3] .topbar .breadcrumb{display:none}.v3-stream-heading{padding:18px 16px;gap:10px}.v3-stream-heading h1{font-size:16px}.v3-segmented button{padding:7px 11px;font-size:10px;min-height:36px}.v3-post{padding:22px 16px}.v3-post-body{padding-left:0}.v3-post-author{margin-bottom:18px}.v3-filters.feed-filters{padding:12px 16px}.v3-filters .filter-row{flex-wrap:nowrap;overflow:auto;scrollbar-width:none}.v3-filters .filter{white-space:nowrap;flex:none;min-height:36px}.v3-feed-note{padding:10px 16px}.v3-post-actions>button{min-height:40px}.v3-product-title h2{font-size:16px}.v3-description{font-size:14px}.v3-media{margin:14px 0;border-radius:10px}.v3-small-ask{margin:18px 0 10px}.v3-post-menu summary{width:40px;height:36px}.v3-post-actions{gap:22px}.v3-post-actions .v3-save span{display:none}.v3-chat-list{display:none}.v3-messenger{grid-template-columns:1fr}.v3-chat-pane:has(>.v3-empty){display:none}.v3-messenger:has(.v3-chat-pane>.v3-empty) .v3-chat-list{display:block}.v3-chat-pane .chat-heading{padding:16px}.v3-chat-pane #chat-log{padding:20px 16px}.v3-chat-pane #chat-form{padding:12px 14px 18px}.v3-chat-pane .chat-panel>p.help{padding:8px 16px}.v3-chat-pane .chat-message{max-width:88%}.v3-chat-back{display:inline-flex!important}.v3-safety-heading{display:block}.v3-safety-heading h1{font-size:25px}.v3-safety-heading>.btn{margin-top:16px}.v3-safety-counts button{padding:16px 10px}.v3-safety-counts strong{font-size:23px}.v3-safety-toolbar{flex-wrap:wrap}.v3-safety-toolbar small{margin-left:0;width:100%}.v3-safety-layout{grid-template-columns:1fr}.v3-report-list{border-right:0;max-height:340px;border-bottom:1px solid var(--line)}.v3-report-detail{padding:22px 18px}body[data-v3-view=safety] main.shell{padding:24px 16px}.story-link-popover{flex-wrap:wrap}.story-link-popover label{flex-basis:100%}.story-editor .editor-toolbar{top:60px}.thread .reply{margin-left:16px}.thread-byline{gap:7px;flex-wrap:wrap}.thread-byline time{font-size:9px}}
@media(max-width:760px){body[data-release=v3] #app>main.shell{margin-left:0;width:100%;padding:22px 18px}body[data-release=v3] .top-actions .desktop-add{width:36px;min-width:36px;padding:8px;font-size:0;gap:0}body[data-release=v3] .top-actions .desktop-add span{display:none}body[data-release=v3] .bottom-nav{left:0;right:0;width:100%;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding:6px 8px}body[data-v3-view=safety] #app>main.shell{padding:24px 16px}}
@media(max-width:760px){body[data-release=v3] #app>main.shell:has(.v3-messenger){height:calc(100dvh - 132px);min-height:0}body[data-release=v3] .top-actions .desktop-add>span.ui-icon{display:inline-flex;font-size:18px;width:18px;height:18px}}
@media(prefers-reduced-motion:reduce){body[data-release=v3] *,body[data-release=v3] *:before,body[data-release=v3] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

body[data-release="v3"] .v3-post:hover{transform:none;box-shadow:none}
.v3-mobile-tools{display:none}@media(max-width:760px){.v3-mobile-tools{display:block;position:relative}.v3-mobile-tools summary{cursor:pointer;padding:8px;font-weight:700;list-style:none}.v3-mobile-tools>div{position:absolute;right:0;top:100%;width:220px;background:var(--surface,#fff);border:1px solid var(--border,#ddd);border-radius:12px;padding:8px;box-shadow:0 10px 30px #0002;z-index:80}.v3-mobile-tools .v3-rail-extra{display:flex;width:100%;white-space:normal}}

/* Desktop feed proportions and responsive product media. */
body[data-release=v3] .v3-feed-layout{grid-template-columns:minmax(0,600px) minmax(240px,290px);width:100%;max-width:930px;margin-inline:auto;gap:0;align-items:start}
body[data-release=v3] .v3-stream{min-width:0;max-width:600px;width:100%;border-right:1px solid var(--line)}
body[data-release=v3] .v3-post{padding:22px 24px;border:0;border-bottom:1px solid var(--line);background:var(--surface);position:relative;margin:0;max-width:600px;box-sizing:border-box}
body[data-release=v3] .v3-post-body{padding-left:48px;max-width:100%}
body[data-release=v3] .v3-media-single{display:block;width:fit-content;max-width:100%;height:auto;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--surface);margin:14px 0;padding:0;cursor:pointer;box-sizing:border-box}
body[data-release=v3] .v3-media-single .launch-gallery{display:block;width:fit-content;max-width:100%;height:auto;margin:0;padding:0}
body[data-release=v3] .v3-media-single img,body[data-release=v3] .v3-media-single video,body[data-release=v3] .v3-media-single>.product-banner{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:480px!important;object-fit:contain;border-radius:11px}
body[data-release=v3] .v3-collage{display:grid;width:100%;max-width:100%;aspect-ratio:16/9;gap:3px;padding:0;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--line);cursor:pointer;margin:14px 0}
body[data-release=v3] .v3-collage-two{grid-template-columns:1fr 1fr;grid-template-rows:1fr;aspect-ratio:16/9}
body[data-release=v3] .v3-collage-three{grid-template-columns:1.2fr 1fr;grid-template-rows:1fr 1fr;aspect-ratio:16/9}
body[data-release=v3] .v3-collage-three .v3-collage-tile:nth-child(1){grid-row:1 / span 2;grid-column:1}
body[data-release=v3] .v3-collage-three .v3-collage-tile:nth-child(2){grid-row:1;grid-column:2}
body[data-release=v3] .v3-collage-three .v3-collage-tile:nth-child(3){grid-row:2;grid-column:2}
body[data-release=v3] .v3-collage-four{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;aspect-ratio:16/9}
body[data-release=v3] .v3-collage-tile{position:relative;display:block;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;background:var(--soft)}
body[data-release=v3] .v3-collage-tile img{display:block;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;aspect-ratio:unset!important}
body[data-release=v3] .v3-collage-more{position:absolute;inset:0;display:grid;place-items:center;background:#111214a6;color:white;font-size:22px;font-weight:700;backdrop-filter:blur(2px)}
body[data-release=v3] .v3-author-info{min-width:0;display:grid;gap:1px}
body[data-release=v3] .v3-author-line{display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:nowrap}
body[data-release=v3] .v3-author-name{display:inline-flex;flex:0 1 auto;justify-items:initial;min-width:0;cursor:pointer;background:none;border:0;padding:0;text-align:left}
body[data-release=v3] .v3-author-name strong{font-size:13.5px;font-weight:700;color:var(--text);line-height:1.3}
body[data-release=v3] .v3-author-meta{font-size:11px;color:var(--muted);display:block}
body[data-release=v3] .v3-author-meta i{font-style:normal;opacity:.6;margin:0 3px}
body[data-release=v3] .v3-maker-follow{display:inline-flex;align-items:center;justify-content:center;min-height:22px;padding:1px 10px;border:1px solid color-mix(in srgb,#ff6320 38%,transparent);border-radius:999px;background:color-mix(in srgb,#ff6320 12%,transparent);color:#ff6320;font-size:11px;font-weight:700;line-height:1.2;cursor:pointer;transition:all .16s ease}
body[data-release=v3] .v3-maker-follow:hover{background:#ff6320;border-color:#ff6320;color:#fff;transform:translateY(-1px);box-shadow:0 2px 8px color-mix(in srgb,#ff6320 30%,transparent)}
body[data-release=v3] .v3-maker-follow.is-following{background:transparent;border-color:var(--line);color:var(--muted);font-weight:600;box-shadow:none;transform:none}
body[data-release=v3] .v3-maker-follow.is-following:hover{background:var(--soft);color:var(--text);border-color:var(--muted)}
:root[data-theme=dark] body[data-release=v3] .v3-maker-follow{color:#ff7733;background:color-mix(in srgb,#ff7733 16%,transparent);border-color:color-mix(in srgb,#ff7733 42%,transparent)}
:root[data-theme=dark] body[data-release=v3] .v3-maker-follow:hover{background:#ff7733;border-color:#ff7733;color:#111214}
@media(min-width:1600px){body[data-release=v3] .v3-feed-layout{grid-template-columns:minmax(0,620px) minmax(240px,300px);max-width:960px}body[data-release=v3] .v3-stream{max-width:620px}body[data-release=v3] .v3-post{max-width:620px;padding:24px 26px}body[data-release=v3] .v3-post-body{max-width:100%}}
@media(max-width:1180px) and (min-width:1021px){body[data-release=v3] .v3-feed-layout{grid-template-columns:minmax(0,600px) 260px;max-width:890px}body[data-release=v3] .v3-stream{max-width:600px}}
@media(max-width:1020px){body[data-release=v3] .v3-feed-layout{grid-template-columns:minmax(0,600px);max-width:600px;justify-content:center}body[data-release=v3] .v3-stream{max-width:600px;border-right:0}}
@media(max-width:760px){body[data-release=v3] .v3-feed-layout{width:100%;max-width:none}body[data-release=v3] .v3-stream{max-width:none}body[data-release=v3] .v3-post{padding:20px 16px;max-width:none}body[data-release=v3] .v3-post-body{padding-left:0}body[data-release=v3] .v3-media-single{width:fit-content;max-width:100%}body[data-release=v3] .v3-media-single img,body[data-release=v3] .v3-media-single video,body[data-release=v3] .v3-media-single>.product-banner{max-width:100%!important}body[data-release=v3] .v3-collage{aspect-ratio:1.45/1}body[data-release=v3] .v3-collage-two{aspect-ratio:1.65/1}}
/* Compact floating pill topbar */
body[data-release=v3] .topbar{
  position:sticky;
  top:12px;
  height:48px;
  min-height:48px;
  width:fit-content;
  max-width:min(560px, calc(100% - var(--rail) - 32px));
  min-width:0;
  margin:12px 0 16px;
  margin-left:calc(var(--rail) + (100% - var(--rail)) / 2);
  transform:translateX(-50%);
  padding:0 12px 0 18px;
  border:1px solid var(--line);
  border-radius:999px;
  background:color-mix(in srgb,var(--surface) 85%,transparent);
  -webkit-backdrop-filter:blur(22px) saturate(140%);
  backdrop-filter:blur(22px) saturate(140%);
  box-shadow:0 4px 20px #0000000e, 0 1px 3px #00000008;
  z-index:40;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  isolation:isolate;
  transition:all .18s ease;
}
body[data-release=v3] .topbar .breadcrumb{display:flex;align-items:center;gap:6px;flex:0 0 auto}
body[data-release=v3] .topbar .breadcrumb strong{font-size:13.5px;font-weight:700;letter-spacing:-.2px;color:var(--text)}
body[data-release=v3] .topbar .breadcrumb span,body[data-release=v3] .topbar .breadcrumb-slash{display:none!important}
body[data-release=v3] .topbar-global-search{flex:1 1 200px;max-width:230px;min-width:130px;margin-left:auto}
body[data-release=v3] .topbar-global-search:empty{display:none}
body[data-release=v3] .topbar-global-search .feed-search{position:relative!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;height:32px!important;min-height:32px!important;border-radius:999px!important;background:color-mix(in srgb,var(--surface) 72%,transparent)!important;border:1px solid var(--line)!important;padding:0 12px 0 10px!important;gap:8px!important;margin:0!important;box-sizing:border-box!important;transition:all .18s ease}
body[data-release=v3] .topbar-global-search .feed-search:focus-within{border-color:color-mix(in srgb,var(--accent) 50%,var(--line))!important;background:var(--surface)!important;box-shadow:0 0 0 2px color-mix(in srgb,var(--accent) 15%,transparent)!important}
body[data-release=v3] .topbar-global-search .feed-search .ui-icon{position:static!important;transform:none!important;flex-shrink:0!important;width:14px!important;height:14px!important;color:var(--muted)!important;margin:0!important;pointer-events:none!important;display:block!important}
body[data-release=v3] .topbar-global-search .feed-search input{flex:1 1 auto!important;min-width:0!important;width:100%!important;height:100%!important;border:0!important;outline:none!important;background:transparent!important;font-size:12px!important;line-height:normal!important;padding:0!important;margin:0!important;color:var(--text)!important;text-align:left!important;text-indent:0!important;text-overflow:ellipsis!important;overflow:hidden!important;white-space:nowrap!important}
body[data-release=v3] .topbar-global-search .feed-search input::placeholder{text-align:left!important;text-indent:0!important;color:var(--muted)!important;opacity:.85!important;text-overflow:ellipsis!important;overflow:hidden!important;white-space:nowrap!important}
body[data-release=v3] .topbar .top-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}
body[data-release=v3] .topbar .desktop-add{min-height:32px;height:32px;padding:0 12px;font-size:11.5px;font-weight:650;border-radius:999px;gap:5px;display:inline-flex;align-items:center;white-space:nowrap}
body[data-release=v3] .topbar .desktop-add .ui-icon{width:13px;height:13px}
body[data-release=v3] .topbar .icon-btn{width:32px;height:32px;min-height:32px;min-width:32px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;padding:0}
body[data-release=v3] .topbar .icon-btn .ui-icon{width:16px;height:16px}
body[data-release=v3] .topbar .top-account .maker-avatar{width:28px!important;height:28px!important;min-width:28px!important;font-size:11px!important}
body[data-release=v3] .topbar .unread-dot{top:5px;right:5px;width:5px;height:5px}
body[data-release=v3] .topbar .beta-tag{display:none!important}
body[data-v3-view=safety] .topbar{margin-left:0;width:100%;max-width:none;transform:none;border-radius:0;height:64px;min-height:64px;position:sticky;top:0;margin:0;padding:0 32px}
body[data-release=v3] .v3-filters .feed-search{position:relative;display:flex;align-items:center;justify-content:center;gap:0}
body[data-release=v3] .v3-filters .feed-search .ui-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%)}
body[data-release=v3] .v3-filters .feed-search input{width:100%;padding:0 38px;text-align:center}
body[data-release=v3] .v3-filters .feed-search input::placeholder{text-align:center}
body[data-release=v3] .rail-nav{gap:9px;padding-inline:3px}
body[data-release=v3] .rail-nav .nav-link{min-height:46px;padding-inline:13px}
body[data-release=v3] .v3-rail-extra:first-of-type{border-top:1px solid var(--line);margin-top:22px;padding-top:17px}
body[data-release=v3] .v3-post-menu[open]>div{width:205px;padding:6px;max-height:min(70vh,430px);overflow:auto}
body[data-release=v3] .v3-post-menu button{min-height:36px;font-size:11px}
.v3-inbox-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding-top:14px}
.v3-inbox-tabs button{display:flex;align-items:center;justify-content:center;gap:7px;min-width:0;min-height:36px;padding:7px 8px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--muted);font-size:10px;font-weight:600;white-space:nowrap}
.v3-inbox-tabs button .ui-icon{width:14px;height:14px}
.v3-inbox-tabs button:hover{background:var(--soft);color:var(--text)}
.v3-inbox-tabs button.active{background:var(--tint);color:var(--accent);border-color:color-mix(in srgb,var(--accent) 18%,var(--line))}
.v3-inbox-invitations{overflow:auto;min-height:0}
.v3-inbox-invitation{padding:18px 20px;border-bottom:1px solid var(--line);background:var(--surface)}
.v3-inbox-invitation.pending{background:color-mix(in srgb,var(--tint) 32%,var(--surface))}
.v3-inbox-invitation .eyebrow{font-size:8px;letter-spacing:.11em;color:var(--accent)}
.v3-inbox-invitation h2{font-size:14px;line-height:1.35;margin:7px 0 4px}
.v3-inbox-invitation p{font-size:11px;line-height:1.55;color:var(--muted);margin:0 0 5px}
.v3-inbox-invitation small{font-size:9px;color:var(--muted)}
.v3-inbox-invitation>div{display:flex;align-items:center;gap:8px;margin-top:12px}
.v3-inbox-invitation .btn{min-height:31px;padding:5px 10px;font-size:10px}
.v3-inbox-invitation .text-btn{font-size:10px}
body[data-release=v3] .v3-inbox-invitations{flex:1}
@media(max-width:760px){
  body[data-release=v3] .topbar{top:8px;margin:8px auto;margin-left:auto;margin-right:auto;transform:none;width:calc(100% - 24px);max-width:480px;height:46px;min-height:46px;padding:0 14px;gap:10px}
  body[data-release=v3] .topbar .top-actions .desktop-add{width:32px;min-width:32px;height:32px;padding:0;font-size:0;gap:0;border-radius:999px;justify-content:center}
  body[data-release=v3] .topbar .top-actions .desktop-add span{display:none}
  body[data-release=v3] .topbar .top-actions .desktop-add>span.ui-icon{display:inline-flex;font-size:15px;width:15px;height:15px}
  body[data-release=v3] .rail-nav{gap:8px}
}
@media(max-width:680px){
  body[data-release=v3] .topbar{top:8px;margin:8px auto;margin-left:auto;margin-right:auto;transform:none;width:calc(100% - 24px);max-width:480px;height:46px;min-height:46px;padding:0 14px;gap:10px}
}
.dev-firstlight-mark{display:inline-flex;align-items:center;justify-content:center;margin-left:5px;border:none !important;padding:0 !important;border-radius:0 !important;vertical-align:middle;line-height:1}
.dev-firstlight-mark svg{width:13px;height:13px;display:block}
