/* Approved social direction: dense Home, immersive Watch, quiet account settings. */
body[data-page=home]{background:#fff;color:#17251d}
body[data-page=home] .app-main{max-width:1040px;padding-top:0}
body[data-page=home] .feed-tools{margin:0;min-height:50px;padding:0 16px;gap:12px;background:#fff;border-bottom:1px solid #edf0e9;box-shadow:none}
body[data-page=home] .feed-switch{gap:23px!important;margin-right:auto;max-width:none!important}
body[data-page=home] .feed-switch a{font-size:14px!important;font-weight:650;min-height:48px;padding:13px 0!important;color:#90998b;border-bottom:3px solid transparent;text-decoration:none}
body[data-page=home] .feed-switch a[aria-current=page]{color:#1e442f;border-color:#28543c;font-weight:800}
body[data-page=home] .feed-create{width:36px;min-width:36px;min-height:40px;padding:5px;border:1px solid #e3e9df;border-radius:10px;background:#fff;color:#2a4b34}
body[data-page=home] .feed-create svg{width:24px;height:24px}
body[data-page=home] .feed-create>span{display:none}
body[data-page=home] .feed-refresh,body[data-page=home] .feed-refresh-control,body[data-page=home] .feed-browse>summary{width:32px;min-width:32px;min-height:40px;padding:5px;border:0;background:transparent}
.feed-community-rail{display:flex;gap:18px;overflow-x:auto;scrollbar-width:none;padding:12px 16px 14px;border-bottom:6px solid #f3f5ef;background:#fff;max-width:100%;overscroll-behavior-x:contain}
.community-rail-item{display:flex;flex-direction:column;align-items:center;gap:6px;flex:0 0 auto;text-decoration:none;max-width:66px}
.community-ring{width:53px;height:53px;border:1.5px solid #557c4b;border-radius:50%;padding:3px;display:grid;place-items:center}
.community-ring>span{height:100%;width:100%;border-radius:50%;background:#e7edde;color:#3c613d;display:grid;place-items:center;overflow:hidden}
.community-ring.own{border-color:#d5dfcc}.community-ring.own>span{background:#edf2e6}
.community-ring .community-brand{background:white}.community-brand img{width:37px;height:auto}
.community-ring svg{width:21px;height:21px}.community-ring>.person-avatar{margin:0;border:0;min-width:0;min-height:0;font-size:18px}.community-ring .avatar-photo{width:100%;height:100%;object-fit:contain}
.community-rail-item small{font-size:10px;line-height:1.4;max-width:66px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#61705a}
body[data-page=home] .social-layout{gap:38px;max-width:100%;margin:0;grid-template-columns:minmax(0,570px) minmax(220px,280px);justify-content:center}
body[data-page=home] .feed-main{min-width:0}
body[data-page=home] .feed-main .feed-post{display:flex;flex-direction:column;background:#fff;border:0;border-bottom:6px solid #f3f5ef;border-radius:0;padding:0;margin:0;overflow:visible;box-shadow:none}
body[data-page=home] .feed-post .post-byline{order:0;position:relative;padding:11px 48px 11px 16px;min-height:57px;gap:9px;justify-content:flex-start;text-align:left;flex-wrap:nowrap}
body[data-page=home] .post-byline>div{text-align:left}
body[data-page=home] .post-byline b,body[data-page=home] .post-byline .creator-name{font-size:13px;line-height:1.4;font-weight:750;color:#213227;text-decoration:none}
body[data-page=home] .post-byline p{font-size:10px;line-height:1.4;margin:3px 0 0;color:#8b9584}
body[data-page=home] .post-byline .post-logo{width:35px;height:35px;border:1px solid #e3e8dc;border-radius:50%;padding:5px;object-fit:contain;background:#fff}
body[data-page=home] .post-byline .person-avatar{width:35px;height:35px;min-width:35px;margin:0;border:1px solid #dfe6d7}
body[data-page=home] .post-byline .tag{margin-left:auto;font-size:9px}
body[data-page=home] .post-menu{top:9px;right:10px}
body[data-page=home] .post-menu>summary{min-height:38px;width:30px;display:grid;place-items:center}
body[data-page=home] .feed-post>.archive-slider,body[data-page=home] .feed-post>.feed-story-photo,body[data-page=home] .feed-post>.feed-editorial-photo,body[data-page=home] .feed-post>.inline-player,body[data-page=home] .feed-post>.media-open{order:0;margin:0;border-radius:0}
body[data-page=home] .archive-slider{background:#111b15}
body[data-page=home] .archive-frame img{object-fit:contain;background:#111b15}
body[data-page=home] .feed-post img.post-image:not(.editorial-logo),body[data-page=home] .media-open img.social-media{width:100%;height:auto;object-fit:contain;filter:none}
body[data-page=home] .feed-post>.interaction-bar{order:1;display:flex;justify-content:flex-start;align-items:center;flex-wrap:nowrap;min-height:45px;padding:3px 12px;gap:12px;background:#fff;border:0;margin:0}
body[data-page=home] .interaction-button{min-height:39px;padding:6px 0;display:flex;align-items:center;gap:5px;font-size:11px;color:#26392b;border:0;background:transparent}
body[data-page=home] .interaction-button svg{width:22px;height:22px;stroke-width:1.6}
body[data-page=home] .interaction-button[data-like][aria-pressed=true]{color:#ce5962}
body[data-page=home] .interaction-button[data-like][aria-pressed=true] svg{fill:currentColor}
body[data-page=home] .interaction-button.save-post{margin-left:auto;min-width:34px;justify-content:center}
body[data-page=home] .interaction-status:empty{display:none}
body[data-page=home] .feed-post>.post-copy,body[data-page=home] .feed-post>.watch-copy{order:2;text-align:left;padding:0 16px 16px;gap:5px;align-items:flex-start;display:block}
body[data-page=home] .feed-post .post-copy h2,body[data-page=home] .feed-post .watch-copy h3{font-size:14px;line-height:1.5;letter-spacing:-.02em;font-weight:720;text-align:left;margin:0 0 4px;max-width:none}
body[data-page=home] .feed-post .post-text,body[data-page=home] .feed-caption,body[data-page=home] .feed-post .post-copy>.small{font-size:12px;line-height:1.7;color:#6e7d64;text-align:left;margin:3px 0}
body[data-page=home] .feed-caption summary{text-align:left;min-height:32px}
body[data-page=home] .feed-post .post-copy>.small,body[data-page=home] .feed-photo-credit{font-size:10px;color:#8f9b84}
body[data-page=home] .feed-photo-credit{padding:5px 16px;text-align:left;display:block;background:#fff}
body[data-page=home] .archive-controls{order:2;display:flex;justify-content:space-between;padding:0 16px;min-height:30px;gap:8px}
body[data-page=home] .archive-controls button{font-size:10px;min-height:32px}.archive-controls .small{font-size:10px}
body[data-page=home] .feed-text-actions{margin-top:4px}.feed-main .feed-text-link{font-size:11px}
body[data-page=home] .feed-aside{padding-top:24px}.feed-pagination{padding:22px 16px}
body[data-page=home] .footer{display:none}
body>.bottom-nav .navlink{border-radius:0!important;background:transparent!important}
body>.bottom-nav .navlink[aria-current=page]{color:#28563d!important;background:transparent!important}
body>.bottom-nav .navlink[aria-current=page]:before{content:'';position:absolute;top:0;height:3px;width:23px;border-radius:0 0 4px 4px;background:currentColor}
/* Watch keeps one stationary set of controls above a native snapping video rail. */
body.watch-immersive{background:#101612;padding-top:0!important;overflow:hidden;color:#fff}
body.watch-immersive>.topbar,body.watch-immersive .footer{display:none!important}
body.watch-immersive .layout{max-width:none}
body.watch-immersive .app-main{padding:0!important;max-width:none;min-height:0}
body.watch-immersive>.bottom-nav{display:grid!important;position:fixed!important;bottom:0!important;left:0!important;right:0!important;width:100%!important;max-width:none!important;transform:none!important;height:calc(64px + var(--joga-safe-bottom,env(safe-area-inset-bottom)));padding:3px 0 calc(5px + var(--joga-safe-bottom,env(safe-area-inset-bottom)))!important;border-radius:0!important;border:0!important;border-top:1px solid #ffffff20!important;background:#101612!important;backdrop-filter:none;box-shadow:none!important}
body.watch-immersive>.bottom-nav .navlink{min-height:48px!important;line-height:1.2!important;color:#8a978c!important;font-size:10px!important;padding:6px 0!important;gap:5px!important}
body.watch-immersive>.bottom-nav .navlink svg{width:21px!important;height:21px!important}
body.watch-immersive>.bottom-nav .navlink[aria-current=page]{color:#fff!important}
.watch-stream-page{position:relative;height:calc(var(--app-visible-height,100dvh) - 64px - var(--joga-safe-bottom,env(safe-area-inset-bottom)));width:100%;max-width:480px;margin:0 auto;overflow:hidden;background:#070d09;isolation:isolate}
.watch-stream-header{position:absolute;z-index:5;left:0;right:0;top:0;height:70px;display:flex;align-items:center;gap:12px;padding:9px 17px;background:linear-gradient(#06100bd9,transparent);pointer-events:none;color:#fff}
.watch-stream-header>*{pointer-events:auto}.watch-stream-header>a{width:73px;display:block}.watch-stream-header img{width:100%;height:auto}.watch-stream-header nav{display:flex;align-items:center;justify-content:center;gap:19px;flex:1}
.watch-stream-header nav a{text-decoration:none;font-size:13px;font-weight:650;color:#ffffff9c;min-height:44px;display:grid;place-items:center;border-bottom:2px solid transparent;line-height:1.2}
.watch-stream-header nav a[aria-current=page]{color:#fff;border-color:#fff}
#watch-stream-sound{border:0;background:transparent;color:#fff;width:36px;min-height:44px;display:grid;place-items:center;padding:5px}
.watch-stream-rail{position:absolute;inset:0;overflow-y:auto;overflow-x:hidden;scroll-snap-type:y mandatory;scrollbar-width:none;overscroll-behavior:contain;overflow-anchor:none;outline-offset:-4px}
.watch-stream-slide{width:100%;height:100%;scroll-snap-align:start;scroll-snap-stop:always;position:relative;background:#080e0a;isolation:isolate}
.watch-stream-stage{position:absolute;inset:0;width:100%;height:100%;background:#080e0a}
.watch-stream-stage>video{width:100%;height:100%;object-fit:contain;display:block;filter:none}
.watch-stream-play{position:absolute;inset:0;display:grid;place-items:center;border:0;background:transparent;width:100%;height:100%;color:#fff;z-index:1;padding:0}
.watch-stream-play>svg{width:56px;height:56px;padding:14px;border-radius:50%;background:#0005;opacity:0;transition:opacity .15s}
.is-paused .watch-stream-play>svg,.watch-stream-play:focus-visible>svg{opacity:1}
.watch-stream-error{position:absolute;top:35%;left:18px;right:18px;text-align:center;font-size:13px;background:#111e15e6;padding:18px;color:#fff;z-index:4;border-radius:12px}
.watch-stream-error button,.watch-stream-error a{display:block;min-height:44px;padding:10px;color:#fff;background:transparent;border:0;margin:auto}
.watch-stream-overlay{position:absolute;inset:0;pointer-events:none;color:white}
.watch-stream-slide>.watch-stream-overlay{display:none}
.watch-stationary-controls{position:absolute;inset:0;pointer-events:none;z-index:3}
.watch-stream-caption{position:absolute;bottom:35px;left:17px;right:70px;text-align:left;text-shadow:0 1px 5px #0006}
.watch-stream-caption:before{content:'';position:absolute;z-index:-1;bottom:-36px;left:-17px;right:-70px;height:280px;background:linear-gradient(transparent,#041009e8);pointer-events:none}
.watch-clip-location{font-size:8px;letter-spacing:.08em;font-weight:700;text-transform:uppercase;color:#e1e7db;margin:0 0 11px;line-height:1.5}
.watch-stream-creator{display:flex;align-items:center;gap:8px;margin-bottom:12px;pointer-events:auto;max-width:100%}
.watch-creator-link{display:flex;align-items:center;gap:8px;text-decoration:none;min-width:0}
.watch-creator-link .person-avatar{background:#fff;height:32px;width:32px;min-height:32px;min-width:32px;border:1px solid #fff;display:grid;place-items:center;border-radius:50%;overflow:hidden;margin:0;color:#28513a}
.watch-creator-link .person-avatar>img{width:25px;object-fit:contain;height:auto}.watch-creator-link .person-avatar .avatar-photo{width:100%;height:100%;object-fit:contain}
.watch-creator-link strong{font-size:12px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;max-width:165px;white-space:nowrap;color:#fff}
.watch-stream-creator .follow-button{padding:5px 10px;border:1px solid #ffffffa0;border-radius:6px;min-height:30px;background:transparent;color:white;font-size:10px;margin:0;flex-shrink:0}
.watch-stream-caption h2{font-size:22px;letter-spacing:-.035em;line-height:1.22;font-weight:750;color:#fff;margin:0 0 7px}
.watch-clip-description{font-size:11px;color:#e3eade;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0}
.watch-creator-source{display:inline-block;font-size:10px;color:#e1ead9;min-height:28px;margin-top:4px;pointer-events:auto;text-underline-offset:3px}
.watch-stream-overlay .interaction-bar{position:absolute;right:9px;bottom:98px;display:flex;flex-direction:column;gap:13px;width:47px;margin:0;padding:0;border:0;background:transparent;pointer-events:none;overflow:visible;flex-wrap:nowrap}
.watch-stream-overlay .interaction-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:47px;min-height:45px;padding:0;color:white;background:transparent;border:0;pointer-events:auto;text-shadow:0 1px 5px #000;font-size:9px;line-height:1.3;margin:0!important;text-decoration:none}
.watch-stream-overlay .interaction-button svg{height:26px;width:26px;stroke-width:1.6;filter:drop-shadow(0 1px 3px #0006)}
.watch-stream-overlay [data-like][aria-pressed=true]{color:#ff7882}.watch-stream-overlay [data-like][aria-pressed=true] svg,.watch-stream-overlay [data-save-post][aria-pressed=true] svg{fill:currentColor}
.watch-stream-overlay [data-save-post][aria-pressed=true]{color:#d8fa5a}
.watch-stream-overlay .save-post:after{content:'Save';font-size:9px}
.watch-stream-overlay .interaction-status{font-size:9px;line-height:1.4;color:#fff;text-align:center}.watch-stream-overlay .interaction-status:empty{display:none}
.watch-stream-seek{position:absolute;bottom:6px;left:0;right:0;width:100%;height:12px;min-height:12px;border:0;background:transparent;pointer-events:auto;margin:0;padding:0;accent-color:#fff;border-radius:0}
.watch-stream-next{position:absolute;right:10px;bottom:30px;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;width:45px;min-height:48px;gap:2px;color:#fff;border:1px solid #ffffff40;border-radius:10px;background:#07110c40;font-size:9px;padding:5px}
.watch-stream-next svg{width:20px;height:20px}.watch-stream-next:disabled{opacity:.35}
#watch-stream-status{position:absolute;top:90px;left:20px;right:20px;z-index:4;color:#fff;text-align:center;font-size:13px;background:#0d1b13d9;border-radius:12px;padding:15px;margin:0}
#watch-stream-status:empty{display:none}#watch-stream-status a{display:block;min-height:44px;margin-top:10px;color:#d7efb8;font-size:12px}
#watch-stream-more{position:absolute;top:220px;left:50%;transform:translateX(-50%);border:1px solid #8aab71;border-radius:10px;min-height:44px;background:#213d2a;color:#fff;z-index:5;padding:10px 14px;max-width:90%;white-space:nowrap}
.watch-collections-link{position:absolute;left:17px;top:76px;display:flex;align-items:center;gap:6px;z-index:4;color:#fff;text-decoration:none;border:1px solid #ffffff35;border-radius:18px;padding:6px 10px;font-size:10px;background:#14221950;min-height:33px}.watch-collections-link svg{width:14px;height:14px}
/* Settings rows keep private account flows intact. */
.profile-settings-entry{display:flex;align-items:center;justify-content:flex-end;gap:7px;font-size:12px;min-height:44px;margin-bottom:10px;text-decoration:none;color:#4d6b42}
.profile-settings-entry svg{width:18px;height:18px}
body.settings-page{background:#fafbf8}
body.settings-page .app-main{max-width:560px;padding-top:0}
body.settings-page .footer{display:none}
.account-settings{max-width:480px;margin:auto;padding-bottom:25px;color:#1d3526}
.settings-top{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:66px}
.settings-top>a,.settings-top>span{height:39px;width:39px;display:grid;place-items:center;background:#eef2e7;border-radius:12px;text-decoration:none}.settings-top>span{visibility:hidden}.settings-top strong{font-size:13px;font-weight:750}
.settings-intro{text-align:left;padding-top:20px}.settings-intro .eyebrow{font-size:10px;color:#7b8c70;margin-bottom:9px}.settings-intro h1{font-size:31px;letter-spacing:-.055em;line-height:1.1;margin:0 0 10px}.settings-intro>p:last-child{font-size:13px;line-height:1.7;color:#8a977e}
.settings-identity{display:flex;align-items:center;gap:12px;text-decoration:none;margin:20px 0 26px;padding:19px 0 25px;border-bottom:1px solid #e2e8dc}
.setting-avatar{height:47px;width:47px;display:grid;place-items:center;flex-shrink:0;border-radius:50%;background:#e5ecda;overflow:hidden;position:relative}.setting-avatar>img{width:34px;height:auto}.setting-avatar .avatar-photo{height:100%;width:100%;object-fit:contain;position:absolute;inset:0}
.settings-identity>span:nth-child(2){flex:1;min-width:0}.settings-identity strong{font-size:15px;font-weight:750;overflow-wrap:anywhere}.settings-identity small{display:block;color:#89967c;font-size:11px;margin-top:4px}.settings-identity>svg{width:16px;height:16px}
.settings-group-label{font-size:9px;letter-spacing:.1em;color:#89987c;font-weight:750;margin:26px 0 4px;text-align:left}
.account-setting-row{display:flex;align-items:center;gap:12px;width:100%;min-height:77px;padding:14px 0;border:0;border-bottom:1px solid #e4eadf;background:transparent;text-align:left;text-decoration:none;color:#29452d}
.setting-icon{height:40px;width:40px;flex-shrink:0;border-radius:12px;background:#edf2e7;color:#5e784f;display:grid;place-items:center}.setting-icon svg{height:19px;width:19px}.account-setting-row>span:nth-child(2){flex:1;min-width:0}.account-setting-row strong{display:block;font-size:13px;font-weight:720;line-height:1.4}.account-setting-row small{display:block;color:#8c9980;font-size:11px;line-height:1.5;margin-top:5px}.account-setting-row>svg{height:15px;width:15px;color:#94a388}
.settings-privacy-note{text-align:center;margin:35px 0 22px;font-size:10px;color:#99a58d;line-height:1.8}.settings-bottom-logo{width:78px;margin:0 auto;opacity:.45}
@media(max-width:900px){body[data-page=home] .social-layout{display:block;max-width:600px;margin:auto}body[data-page=home] .feed-aside{display:none}body[data-page=home] .app-main{padding:0 0 88px;max-width:600px}.feed-community-rail{gap:20px}body[data-page=home] .topbar{background:#fff;backdrop-filter:none;border-color:#edf0e7}body[data-page=home] .app-main>.preview-note{display:none}}
@media(max-width:640px){body[data-page=home] .feed-tools{padding:0 14px;gap:7px}body[data-page=home] .feed-switch{gap:22px!important}body[data-page=home] .feed-tools .feed-switch a{font-size:14px!important}.feed-community-rail{gap:18px;padding:10px 15px 12px}.community-ring{height:50px;width:50px}.community-rail-item small{font-size:9px}body[data-page=home] .feed-main .feed-post{margin:0}body[data-page=home] .feed-post .post-byline{padding-left:15px}body[data-page=home] .feed-post .post-copy,body[data-page=home] .feed-post .watch-copy{padding:0 15px 14px}.watch-stream-header{gap:9px;padding-inline:16px}.watch-stream-header>a{width:67px}.watch-stream-header nav{gap:17px}.watch-stream-header nav a{font-size:12px}.watch-stream-page{max-width:none}.watch-stream-caption h2{font-size:21px}.watch-stream-overlay .interaction-button{font-size:9px}body.settings-page .app-main{padding:0 21px 90px}.settings-intro{padding-top:17px}.settings-intro h1{font-size:30px}}
@media(max-width:360px){.feed-community-rail{gap:14px}.community-ring{width:47px;height:47px}body[data-page=home] .feed-tools{gap:3px}body[data-page=home] .feed-switch{gap:16px!important}body[data-page=home] .feed-switch a{font-size:13px!important}body[data-page=home] .interaction-bar{gap:8px!important}body[data-page=home] .interaction-button{font-size:10px}.watch-stream-caption{right:65px;left:14px}.watch-stream-caption h2{font-size:19px}.watch-stream-header>a{width:59px}.watch-stream-header nav{gap:13px}.watch-stream-creator{flex-wrap:wrap}.watch-creator-link strong{max-width:145px}body.settings-page .app-main{padding-inline:17px}}
@media(prefers-reduced-motion:reduce){.watch-stream-play>svg{transition:none}.watch-stream-rail{scroll-behavior:auto}}
/* Keep a whole photo visible without making one portrait consume the feed. */
body[data-page=home] .archive-slider{height:min(var(--archive-height,320px),38svh);max-height:360px;aspect-ratio:auto}
body[data-page=home] .feed-post img.post-image:not(.editorial-logo),body[data-page=home] .media-open img.social-media{max-height:min(100vw,400px);background:#111b15}
body[data-page=home] .inline-player{max-height:min(60svh,500px)}
body[data-page=home] .archive-controls{position:static;inset:auto;transform:none;z-index:auto;order:2;min-height:28px;border:0;padding:0 15px}
body[data-page=home] .archive-controls button{position:static;inset:auto;transform:none;display:block;min-height:30px;width:auto;height:auto;background:transparent;color:#7f9072;border:0;border-radius:0;padding:3px 0;font-size:10px;box-shadow:none}
body[data-page=home] .archive-controls .small{font-size:9px;color:#99a68e}
.watch-stream-overlay [data-like-count],.watch-stream-overlay [data-comment-count]{font-size:0}
.watch-stream-overlay [data-like-count]:after,.watch-stream-overlay [data-comment-count]:after{content:attr(data-count);font-size:10px}
.watch-stream-seek{-webkit-appearance:none;appearance:none;height:10px;min-height:10px;outline-offset:3px;cursor:pointer}
.watch-stream-seek::-webkit-slider-runnable-track{height:2px;background:#ffffff65}
.watch-stream-seek::-moz-range-track{height:2px;background:#ffffff65}
.watch-stream-seek::-webkit-slider-thumb{-webkit-appearance:none;height:8px;width:8px;border-radius:50%;margin-top:-3px;background:white;border:0}
.watch-stream-seek::-moz-range-thumb{height:8px;width:8px;border-radius:50%;background:white;border:0}
.watch-stream-overlay .share-post:after{content:'Share';font-size:9px}
body[data-page=home] .archive-controls .text-button:before,body[data-page=home] .archive-controls .text-button:after{display:none}
.app-account-avatar{display:grid!important;place-items:center;width:34px;height:34px;border-radius:50%;background:#e3ecd9;color:#42603a;font-size:10px;font-weight:750}
.topbar #account-link:has(.app-account-avatar){padding:0;border:0;background:transparent;min-width:38px;min-height:40px;display:grid;place-items:center}
@media(max-width:640px){body.settings-page{padding-top:0!important}body.settings-page>.topbar{display:none!important}}
