/* A single stable navigation shell for both feed modes. */
html{scrollbar-gutter:stable}
.home-account{position:relative}
.account-switcher{position:absolute;right:0;top:calc(100% + 12px);z-index:50;width:min(320px,85vw);padding:12px;border:1px solid var(--line);border-radius:19px;background:var(--surface);color:var(--ink);box-shadow:0 16px 45px #0004;display:grid;gap:6px}
.account-switcher>strong{padding:8px;font-size:14px}
.account-switcher>button,.account-switcher>a{display:block;text-align:left;padding:12px;border:0;border-radius:12px;background:var(--bg);color:var(--ink);font:inherit;font-size:13px;text-decoration:none;overflow-wrap:anywhere;cursor:pointer}
.account-switcher>button:disabled{opacity:.6;cursor:default}
.post-composer{padding:16px;margin:0 0 16px;border:1px solid var(--line);border-radius:18px;background:var(--bg)}
.post-composer[hidden],body.pulse-shorts-active .post-composer{display:none!important}
.post-composer>label{display:block;font-size:14px;font-weight:750;margin-bottom:12px}
.post-composer textarea{display:block;width:100%;min-height:95px;resize:vertical;box-sizing:border-box;padding:12px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);font:inherit;font-size:14px}
.composer-actions{display:flex;align-items:center;gap:10px;margin-top:12px}
.composer-actions small{margin-left:auto;font-size:10px;color:var(--muted)}
.composer-photo{position:relative;overflow:hidden;cursor:pointer;font-size:12px;font-weight:700;padding:10px;border-radius:12px;border:1px solid var(--line);background:var(--surface)}
.composer-photo input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}
.post-composer button{padding:10px 16px;border:0;border-radius:12px;background:var(--ink);color:var(--bg);font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.post-composer button:disabled{opacity:.5;cursor:wait}
.post-composer [role=status]{font-size:12px;margin:10px 0 0;color:var(--muted)}
.post-composer [role=status]:empty{display:none}
.composer-preview img{display:block;width:100%;max-height:360px;object-fit:contain;border-radius:14px;margin:12px 0}
.composer-preview[hidden]{display:none}
.inline-content-panel{position:relative;display:block;margin-top:18px;padding:20px 0 0;border-top:1px solid var(--line);color:var(--ink);width:100%;min-width:0;box-sizing:border-box}
.inline-content-panel>.eyebrow{display:none}
.inline-content-panel>h2{font-size:18px;margin:0 44px 16px 0;letter-spacing:-.3px}
.inline-content-panel>.modal-close{display:grid;place-items:center;position:absolute;top:12px;right:0;width:30px;height:30px;border:1px solid var(--line);border-radius:50%;background:var(--surface);color:var(--ink);font-size:21px;line-height:1;padding:0;cursor:pointer}
.inline-content-panel .web-comments{max-height:none;overflow:visible;padding:0}
.inline-content-panel .web-comment{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:14px}
.inline-content-panel .web-comment-copy{display:grid;gap:8px;font-size:13px;overflow-wrap:anywhere}
.inline-content-panel .web-comment-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px}
.inline-content-panel .web-comment-actions button{background:transparent;border:0;color:var(--muted);font:inherit;font-size:12px;cursor:pointer;padding:4px 0}
.inline-content-panel .web-comment-actions button.liked{color:#e95b8b}
.inline-content-panel input,.inline-content-panel textarea,.inline-content-panel select{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:13px;padding:12px;font:inherit;min-width:0;box-sizing:border-box}
.inline-content-panel .web-report-form select{display:block;width:100%;margin-top:8px}
.inline-content-panel .notification-comment-target{border-left:3px solid #6398e6}
.inline-content-panel .web-comment-form button,.inline-content-panel .web-report-form>button{border:0;border-radius:13px;background:var(--ink);color:var(--bg);padding:10px 16px}
.inline-content-panel .is-reply{margin-left:12px}
body.public-home.pulse-shorts-active .short-details-panel>.inline-content-panel{flex-shrink:0}
body.public-home .pulse-web-modal{background:#07111c80;backdrop-filter:blur(3px)}
body.public-home .pulse-web-modal>section{width:min(100%,520px);padding:24px;border-radius:24px;background:var(--surface);color:var(--ink);border:1px solid var(--line);box-shadow:0 24px 80px #0004;outline:none}
body.public-home .pulse-web-modal .eyebrow{display:none}
body.public-home .pulse-web-modal h2{font-size:22px;margin:0 48px 24px 0;letter-spacing:-.5px}
body.public-home .pulse-web-modal .modal-close{display:grid;place-items:center;top:16px;right:16px;width:36px;height:36px;padding:0;border-radius:50%;font-size:25px;line-height:1;background:var(--bg);color:var(--ink)}
body.public-home .pulse-web-modal .web-comment{padding:16px;border-radius:16px;background:var(--bg);border:1px solid var(--line);box-shadow:none}
body.public-home .pulse-web-modal .notification-comment-target{border-left:3px solid #6398e6;background:color-mix(in srgb,var(--bg) 90%,#6398e6)!important}
body.public-home .pulse-web-modal .web-comment-form{padding-top:18px;border-top:1px solid var(--line);gap:10px}
body.public-home .pulse-web-modal .web-comment-form input{background:var(--bg);border-radius:16px;padding:13px 15px}
body.public-home .pulse-web-modal .web-comment-form button{border-radius:16px;padding:12px 18px;background:var(--ink);color:var(--bg)}
body.public-home:is(.pulse-shorts-active,:not(.pulse-shorts-active))>.home-layout{grid-template-columns:175px minmax(0,1.6fr) minmax(270px,1fr);gap:15px;padding-inline:24px;max-width:1560px}
body.public-home:is(.pulse-shorts-active,:not(.pulse-shorts-active)) .home-center{position:relative;padding:16px 13px;border-radius:19px;background:var(--surface)}
body.public-home:is(.pulse-shorts-active,:not(.pulse-shorts-active)) .home-heading{position:static;min-height:44px;display:flex;align-items:center;margin:0 0 16px;padding:0 6px}
body.public-home:is(.pulse-shorts-active,:not(.pulse-shorts-active)) .home-heading>div{display:block;width:83px}
body.public-home:is(.pulse-shorts-active,:not(.pulse-shorts-active)) .home-heading .eyebrow{display:none}
body.public-home:is(.pulse-shorts-active,:not(.pulse-shorts-active)) .home-heading h1{font-size:25px;letter-spacing:-.8px}
body.public-home:is(.pulse-shorts-active,:not(.pulse-shorts-active)) .home-refresh{width:39px;height:39px;min-height:39px;padding:9px;border-radius:12px;background:var(--bg);font-size:0}
body.public-home:is(.pulse-shorts-active,:not(.pulse-shorts-active)) .home-refresh>span{display:none}
body.public-home:is(.pulse-shorts-active,:not(.pulse-shorts-active)) .pulse-feed .feed-tabs{position:absolute;top:20px;left:110px;right:72px;width:auto;margin:0;padding:3px;border:1px solid var(--line);border-radius:15px;gap:0;background:var(--bg);opacity:1;isolation:isolate;display:flex}
.public-home .feed-tabs:before{content:"";position:absolute;z-index:-1;top:3px;bottom:3px;left:3px;width:calc((100% - 6px)/2);border-radius:11px;background:var(--ink);box-shadow:0 3px 10px #00000015;transition:transform .22s ease}
.public-home .feed-tabs[data-selected="Posts"]:before{transform:translateX(100%)}
body.public-home:is(.pulse-shorts-active,:not(.pulse-shorts-active)) .feed-tabs button{flex:1;min-width:0;padding:8px 10px;border-radius:11px;font-size:12px;color:var(--muted);background:transparent!important;box-shadow:none!important;transition:color .22s ease}
body.public-home:is(.pulse-shorts-active,:not(.pulse-shorts-active)) .feed-tabs button.active{color:var(--bg)!important}
body.public-home:is(.pulse-shorts-active,:not(.pulse-shorts-active)) .home-rail nav{gap:9px}
body.public-home:is(.pulse-shorts-active,:not(.pulse-shorts-active)) .home-rail nav>a,body.public-home:is(.pulse-shorts-active,:not(.pulse-shorts-active)) .home-rail nav>button{border-radius:13px;padding:12px 10px;font-size:13px;gap:12px}
@media(max-width:1100px) and (min-width:951px){body.public-home:is(.pulse-shorts-active,:not(.pulse-shorts-active))>.home-layout{grid-template-columns:140px minmax(0,1fr) 255px;gap:12px;padding-inline:18px}}
@media(max-width:950px) and (min-width:721px){body.public-home:is(.pulse-shorts-active,:not(.pulse-shorts-active))>.home-layout{grid-template-columns:135px minmax(0,1fr) 235px;gap:12px;padding-inline:12px}}
@media(max-width:720px){body.public-home:is(.pulse-shorts-active,:not(.pulse-shorts-active))>.home-layout{grid-template-columns:minmax(0,1fr);padding-inline:12px}body.public-home:is(.pulse-shorts-active,:not(.pulse-shorts-active)) .home-center{padding:14px 10px}body.public-home:is(.pulse-shorts-active,:not(.pulse-shorts-active)) .pulse-feed .feed-tabs{top:19px;left:98px;right:63px}body.public-home:is(.pulse-shorts-active,:not(.pulse-shorts-active)) .feed-tabs button{font-size:11px;padding:7px}}
@media(prefers-reduced-motion:reduce){.public-home .feed-tabs:before,.public-home .feed-tabs button{transition:none}}
@media(min-width:721px){body.public-home:is(.pulse-shorts-active,:not(.pulse-shorts-active)) .home-side{grid-column:3;grid-row:1}body.public-home:not(.pulse-shorts-active) .home-side{display:grid;grid-template-columns:minmax(0,1fr)}}
