#createchoices{width:420px;padding:22px}.createchoices{display:grid;gap:8px}.createchoices button{display:flex;gap:16px;text-align:left;align-items:center;padding:18px;border-radius:16px;background:var(--bg);min-height:80px}.createchoices button:hover{background:var(--soft)}.createchoices svg{width:30px;height:30px;color:var(--green)}.createchoices b{display:block;font-size:19px}.createchoices small{display:block;color:var(--muted);margin-top:5px;line-height:1.4}.creator-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.creator-head h2{font-size:21px}.editor-toolbar{display:flex;gap:8px;overflow-x:auto;padding:14px 2px;background:#15241f;color:#fff;border-radius:14px;margin-bottom:14px}.editor-toolbar button{min-width:66px;display:grid;justify-items:center;gap:7px;padding:9px 6px;font-size:11px;border-radius:10px;white-space:nowrap}.editor-toolbar button[aria-selected=true]{background:#2e6954}.editor-toolbar b{border-radius:50%;background:#ffffff15;width:38px;height:38px;display:grid;place-items:center;font-size:20px;font-weight:600}.edit-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px}.edit-controls label{display:grid;gap:6px;font-weight:600;font-size:12px}.edit-controls input,.edit-controls select{width:100%;min-width:0;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:11px}.edit-controls .wide{grid-column:1/-1}.edit-controls input[type=checkbox]{width:auto;justify-self:start}.editor-stickers{display:flex;gap:9px;flex-wrap:wrap}.editor-stickers button{position:static!important;border:1px solid var(--line);border-radius:10px!important;padding:10px!important;font-size:23px;background:var(--bg)!important}.editor-stickers button[aria-pressed=true]{outline:2px solid var(--green)}.video-stage{position:relative;isolation:isolate;background:#101411;border-radius:14px;overflow:hidden;margin:0 auto;max-width:100%}.video-stage video{display:block;border-radius:0!important}.video-overlay{position:absolute;inset:10% 7% 22%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;pointer-events:none;white-space:pre-wrap;overflow:hidden;text-align:center}.video-overlay .overlay-caption{color:#fff;background:#0009;border-radius:8px;padding:8px 13px;font-weight:750;font-size:clamp(17px,4vw,28px);line-height:1.3;max-width:100%;overflow-wrap:anywhere}.video-overlay .overlay-sticker{font-size:46px}.creator-review{border-top:1px solid var(--line);padding:18px 0 0;margin-top:16px}.creator-review h3{font-size:17px;margin-bottom:12px}.creator-review p{line-height:1.6}.creator-review strong{color:var(--green)}.head-create{display:inline-grid!important;background:var(--soft);color:var(--green)}@media(max-width:700px){.editor-toolbar{gap:2px}.editor-toolbar button{min-width:59px}.edit-controls{grid-template-columns:1fr 1fr}#createchoices{border-radius:24px}.creator-review .primary{width:100%;min-height:46px}}
/* Conecta creator: consistent spacing, clear hierarchy, touch-friendly controls. */
.creator-kicker{margin:0 0 6px;font-size:9px;letter-spacing:1.6px;font-weight:750;color:var(--green);line-height:1.5}.creator-head{gap:12px;margin-bottom:20px}.creator-head h2{font-size:22px;letter-spacing:-.7px;line-height:1.25}.creator-head>.textbtn{background:var(--soft);padding:9px 12px;border-radius:22px;white-space:nowrap}#createchoices{padding:26px;border:1px solid var(--line);box-shadow:0 24px 100px #102c3530}#createchoices .dialoghead{align-items:flex-start;margin-bottom:24px}#createchoicetitle{font-size:26px;letter-spacing:-1px;line-height:1.2}#createchoices .dialoghead>.iconbtn{border:1px solid var(--line);border-radius:50%;width:36px;height:36px;padding:0;font-size:24px}.createchoices{gap:10px}.createchoices button{background:var(--surface);border:1px solid var(--line);padding:18px 16px;transition:background .15s,border-color .15s}.createchoices button:hover{border-color:var(--green)}.createchoices button>span:first-child{width:48px;height:48px;background:var(--soft);border-radius:14px;display:grid;place-items:center;flex-shrink:0}.createchoices svg{width:25px;height:25px}.createchoices button>span:last-child{flex:1}.createchoices b{font-size:16px;letter-spacing:-.3px}.createchoices small{font-size:12px;line-height:1.6}.createchoices button:after{content:'›';font-size:26px;color:var(--muted)}#createchoices>.muted{margin:22px 0 0;text-align:center;font-size:11px}#composer{padding:24px;border-radius:22px;box-shadow:0 8px 30px #18382b06}#composer .compose textarea{min-height:108px;border:1px solid var(--line);border-radius:15px;padding:15px;line-height:1.7}#composer textarea:focus,#composer input:focus,#composer select:focus{outline:2px solid var(--green);outline-offset:2px}#videoeditor legend{font-weight:750;font-size:16px;letter-spacing:-.3px;margin-bottom:12px}.editor-toolbar{padding:8px;gap:4px;border:1px solid #ffffff0d;box-shadow:0 6px 16px #10201910;justify-content:space-between;margin-bottom:18px;border-radius:18px}.editor-toolbar button{flex:1;min-width:54px;gap:7px;padding:9px 4px;font-weight:600;border-radius:12px}.editor-toolbar b{width:37px;height:37px;background:transparent;border-radius:12px}.editor-toolbar b svg{width:23px;height:23px;stroke-width:1.6}.editor-toolbar button[aria-selected=true]{background:#ffffff13;color:#a4efce}.editor-toolbar button:focus-visible{outline:2px solid #a4efce;outline-offset:-2px}.edit-controls{gap:14px;padding:16px;background:var(--bg);border-radius:16px;border:1px solid var(--line);min-width:0}.edit-controls label{font-size:11px;font-weight:650;line-height:1.5;min-width:0}.edit-controls input,.edit-controls select{background:var(--surface);min-height:45px;font-size:14px;border-radius:10px}.edit-controls p{margin:0}.edit-controls+.muted{line-height:1.7;margin:12px 0}#videoeditor>[data-video-edit-reset]{background:transparent;padding:9px 0;color:var(--green);border:0;font-size:11px}#videoeditor>button.primary{width:100%;min-height:46px;font-size:13px;border-radius:12px}.video-stage{box-shadow:0 4px 20px #132a2710;border:1px solid #ffffff0d}.creator-review{background:var(--soft);padding:20px;border:1px solid var(--line);border-radius:16px}.creator-review h3{font-size:17px;letter-spacing:-.4px}.creator-review p{font-size:13px}.creator-review .primary{min-height:44px;border-radius:11px}.audiencerow{border:1px solid var(--line);padding:15px!important;border-radius:14px;margin-top:20px!important;background:var(--bg)}.audiencerow label{font-size:12px!important;line-height:1.5}.audiencerow select{min-height:44px;background:var(--surface);border-radius:10px}.composerbottom{gap:8px;flex-wrap:wrap}.composerbottom .primary{border-radius:11px;min-height:44px;padding:11px 20px}.composerbottom .attach{padding:10px;border-radius:10px}.composerbottom .attach:hover{background:var(--soft)}@media(max-width:700px){#composer{padding:18px;border-radius:19px}#createchoices{padding:22px;max-width:calc(100vw - 24px)}.creator-head h2{font-size:20px}.creator-kicker{font-size:8px;letter-spacing:1.3px}.creator-head>.textbtn{font-size:11px}.editor-toolbar{padding:6px;gap:2px}.editor-toolbar button{font-size:10px;min-width:46px}.edit-controls{padding:12px;gap:12px}.edit-controls input,.edit-controls select{font-size:13px;padding:10px 8px}.audiencerow{align-items:stretch!important;gap:9px!important}.audiencerow select{max-width:100%;width:100%}.composerbottom .attach{padding:9px 5px}.composerbottom .primary{margin-left:auto}.creator-review{padding:16px}}@media(prefers-reduced-motion:reduce){.createchoices button{transition:none}}
.video-location{display:flex;justify-content:space-between;align-items:center;gap:16px;background:var(--soft)}.video-location h2{font-size:17px}.video-location p{font-size:12px;line-height:1.6;color:var(--text);margin:8px 0 0;max-width:350px}.video-location-actions{display:flex;flex-wrap:wrap;gap:8px;flex-shrink:0}.publish-help{flex-basis:100%;font-size:11px;margin:0 0 4px;line-height:1.6}@media(max-width:700px){.video-location{display:block}.video-location-actions{margin-top:14px}.video-location-actions button{flex:1}}
#legacyfriends h2{font-size:17px}#legacyfriends>.muted{font-size:12px;margin:12px 0;line-height:1.7}.legacy-friend{padding:14px 0;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.legacy-friend strong{font-size:14px}.legacy-friend span{font-size:11px;color:var(--muted)}#legacyfriends>.secondary{margin-top:12px}

/* Keep the selected video and publishing controls ahead of optional tools. */
.video-edit-details{margin:14px 0;border-top:1px solid var(--line);padding-top:12px;min-width:0}
.video-edit-details>summary{cursor:pointer;color:var(--green);font-weight:650;font-size:14px;padding:12px 4px;min-height:44px}
.video-quick-publish{display:grid;gap:12px;margin:14px 0}
.video-quick-publish>#publish{width:100%;min-height:48px;font-size:15px;border-radius:12px;margin:0}
.video-quick-publish>.audiencerow{margin:0!important}
#videopicked .video-stage{width:100%;max-width:100%!important}
#videopreview{max-height:min(65svh,620px)!important;scroll-margin-top:190px}
@media(max-width:700px){main,.layout,#composer,.compose{min-width:0}#composer .compose textarea{min-width:0;width:0;flex:1;font-size:16px}.creator-head{flex-wrap:wrap}.video-quick-publish select{font-size:16px}.edit-controls input,.edit-controls select{font-size:16px}}

body[data-view=videos] #installbanner{display:none}body[data-view=videos] .greeting{margin-bottom:14px}body[data-view=videos] .post .videoplayer{margin-top:10px}body[data-view=videos] .post video{max-height:72svh}
/* Dedicated vertical video browsing, with one published clip per page. */
.reels-topbar{display:none}
body.reels-view{--reel-nav:calc(68px + env(safe-area-inset-bottom,0px));background:#080c0a;overflow:hidden;color:#fff}
body.reels-view>header,body.reels-view>.languagebar,body.reels-view .left,body.reels-view .right,body.reels-view .greeting,body.reels-view #installbanner{display:none!important}
body.reels-view .layout{display:block;margin:0;padding:0;max-width:none}
body.reels-view #feed{position:fixed;inset:0 0 var(--reel-nav);overflow-y:auto;overflow-x:hidden;scroll-snap-type:y mandatory;overscroll-behavior-y:contain;background:#080c0a;padding:0;scrollbar-width:none}
body.reels-view #feed::-webkit-scrollbar{display:none}
body.reels-view .video-reel{height:100%;min-height:100%;width:100%;max-width:620px;margin:0 auto;padding:0;border:0;border-radius:0;position:relative;scroll-snap-align:start;scroll-snap-stop:always;background:#080c0a;box-shadow:none;overflow:hidden}
body.reels-view .video-reel .videoplayer,body.reels-view .video-reel .video-stage{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;padding:0;margin:0;border:0;border-radius:0;background:#080c0a;box-shadow:none}
body.reels-view .video-reel video{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;border-radius:0;display:block;background:#080c0a}
.reel-toggle{position:absolute;inset:0;z-index:1;width:100%;height:100%;display:grid;place-items:center;background:transparent;color:#fff}
.reel-toggle>span{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#0007;font-size:32px;pointer-events:none}
.reel-toggle>span:empty:after{content:'▶'}
.reel-playing .reel-toggle>span{opacity:0}
.reel-toggle:focus-visible{outline:3px solid #a4efce;outline-offset:-5px}
.reel-shade{position:absolute;inset:50% 0 0;background:linear-gradient(transparent,#000b);pointer-events:none;z-index:2}
.reel-caption{position:absolute;left:18px;right:88px;bottom:24px;z-index:3;color:#fff;text-shadow:0 1px 4px #0009}
.reel-author{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.reel-author>button:first-child{display:flex;align-items:center;gap:9px;text-align:left;padding:0;min-width:0;color:#fff}
.reel-author .avatar{width:38px;height:38px}
.reel-author b{overflow-wrap:anywhere;font-size:15px}
.reel-follow{border:1px solid #ffffff80;border-radius:9px;padding:7px 12px;background:#0003;color:#fff;font-size:12px}
.reel-description{font-size:14px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;max-height:24vh;overflow-y:auto;margin:12px 0 7px}
.reel-caption small{font-size:11px;color:#ddd}
.reel-actions{position:absolute;right:10px;bottom:23px;z-index:4;display:grid;gap:12px;width:65px;text-align:center}
.reel-actions>button{display:grid;justify-items:center;gap:4px;color:#fff;padding:3px 0;min-height:40px;font-size:10px;text-shadow:0 1px 4px #000}
.reel-actions>button>svg{width:29px;height:29px;filter:drop-shadow(0 1px 3px #0008)}
.reel-actions>.liked{color:#9cf0c8}
.reel-actions>[data-video-sound]{border-radius:9px;border:1px solid #ffffff70;font-size:10px;padding:6px 3px;background:#0005}
body.reels-view .videoerror{position:absolute;top:35%;left:15%;right:15%;z-index:4;background:#17251feb;color:#fff;border-radius:12px;padding:16px;text-align:center}
body.reels-view .reels-topbar{position:fixed;top:0;left:0;right:0;display:flex;align-items:center;gap:10px;padding:calc(9px + env(safe-area-inset-top,0px)) 16px 12px;z-index:8;color:#fff;background:linear-gradient(#0009,transparent);pointer-events:none}
.reels-topbar>button,.reels-topbar>h1{pointer-events:auto}
.reels-topbar>button{color:#fff;font-size:32px;min-width:40px;min-height:44px;display:grid;place-items:center;text-shadow:0 1px 4px #000}
.reels-topbar>button:last-child{margin-left:auto}
.reels-topbar>h1{font-size:24px;letter-spacing:-.5px;margin:0;color:#fff}
body.reels-view .mobile{display:flex!important;position:fixed;left:0;right:0;bottom:0;height:var(--reel-nav);padding-bottom:env(safe-area-inset-bottom,0px);background:#111713;border-top:1px solid #ffffff20;z-index:9;color:#fff;justify-content:space-around}
body.reels-view .mobile button{color:#b4bdb7;flex:1;padding:7px 4px;font-size:10px}
body.reels-view .mobile button.active{color:#a4efce}
body.reels-view #feed>.empty{max-width:600px;margin:20vh auto 0;color:#fff;background:#142119}
body.reels-view dialog{color:var(--text)}
/* Comfortable layouts at phone sizes and improved video controls. */
html,body{max-width:100%;overflow-x:clip}main,.layout,.compose,.card,.searchwrap{min-width:0}button{touch-action:manipulation}#composer .compose textarea{min-width:0;flex:1;width:0}select,textarea,input{max-width:100%}
@media(max-width:700px){input,textarea,select,#composer .compose textarea{font-size:16px}.audiencerow{flex-wrap:wrap}.audiencerow label,.audiencerow select{width:100%}.composerbottom #publish{min-width:130px;min-height:48px}.headtools .iconbtn[data-action=theme]{display:none}.mobile button{min-height:48px}.reel-actions{gap:8px;bottom:36px}.reel-actions>button{min-height:34px}.reel-caption{bottom:34px}}
.reel-seek{position:absolute!important;left:16px;bottom:6px;width:calc(100% - 32px);z-index:5;accent-color:#a4efce;height:22px;padding:0;border:0;background:transparent;cursor:pointer}
.reel-actions>[data-reel-fit]{font-size:10px;border:1px solid #ffffff70;border-radius:8px;background:#0005;padding:5px 3px}.reel-actions>[data-reel-fullscreen]{font-size:28px;line-height:1}
body.reels-view .video-reel.reel-fill video{object-fit:cover!important}.reel-buffer{position:absolute;left:calc(50% - 20px);top:calc(45% - 20px);width:40px;height:40px;border:3px solid #ffffff50;border-top-color:#fff;border-radius:50%;animation:reel-spin .8s linear infinite;pointer-events:none;z-index:3}.videoerror button{text-decoration:underline;color:#a4efce;padding:10px;min-height:44px}@keyframes reel-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.reel-buffer{animation:none}}

.editor-stickers{display:grid;grid-template-columns:repeat(auto-fill,minmax(48px,1fr));gap:8px;margin:12px 0}.editor-stickers button{min-width:48px;min-height:48px;font-size:28px}.editor-stickers button[aria-pressed="true"]{outline:3px solid var(--green,#367b62);background:#e2f0e8}.video-overlay{position:absolute;inset:0;pointer-events:none}
/* Compact everyday posts on phones; vertical Videos keeps its dedicated player. */
@media(max-width:700px){
 #composer{padding:14px;border-radius:16px}
 #composer .creator-head{margin-bottom:12px;gap:8px}
 #composer .creator-head h2{font-size:18px}
 #composer .compose{gap:10px}
 #composer .compose textarea{min-height:76px;padding:10px;line-height:1.45}
 #composer .compose>.avatar{width:34px;height:34px;min-width:34px}
 #composer .audiencerow{margin-top:12px!important;padding:10px!important;gap:6px}
 #composer .composerbottom{margin-top:10px;padding-top:10px}
 #composer .prompts{margin:10px 0;gap:6px}
 #feed>.post:not(.video-reel){padding:12px;margin-bottom:12px;border-radius:15px}
 .post:not(.video-reel) .posthead{gap:8px;margin-bottom:8px}
 .post:not(.video-reel) .posthead .avatar{width:34px;height:34px;min-width:34px}
 .post:not(.video-reel) .posthead .author{font-size:14px}
 .post:not(.video-reel) .posthead .muted{font-size:11px}
 .post:not(.video-reel) .postimg{width:100%;max-height:300px;object-fit:contain;background:var(--bg);border-radius:10px}
 .post:not(.video-reel) .poststats{padding:8px 0;font-size:12px}
 .post:not(.video-reel) .postactions{gap:2px;padding:4px 0}
 .post:not(.video-reel) .postactions button{min-height:44px;padding:6px 3px;font-size:11px;gap:4px}
 .post:not(.video-reel) .postactions svg{width:17px;height:17px}
 .post:not(.video-reel) .commentform{margin-top:8px;gap:6px}
 .post:not(.video-reel) .commentform input{min-height:40px;padding:8px 10px}
 .post:not(.video-reel) .commentform .avatar{width:28px;height:28px;min-width:28px}
}
.post-size-choice{display:flex;align-items:center;justify-content:flex-end;gap:6px;margin:8px 0 12px;font-size:12px;color:var(--muted)}.post-size-choice>span{margin-right:auto}.post-size-choice button{min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--text)}.post-size-choice button[aria-pressed=true]{background:var(--soft);color:var(--green);border-color:var(--green)}.reels-view .post-size-choice{display:none}
@media(max-width:700px){body.large-posts #feed>.post:not(.video-reel){padding:18px;margin-bottom:18px}body.large-posts .post:not(.video-reel) .postimg{max-height:620px}body.large-posts .post:not(.video-reel) .posthead .author{font-size:17px}body.large-posts .post:not(.video-reel) .posthead .muted{font-size:13px}body.large-posts .post:not(.video-reel) .posthead .avatar{width:44px;height:44px;min-width:44px}body.large-posts .post:not(.video-reel) .postactions button{font-size:12px}body.large-posts .post:not(.video-reel) .posttext{font-size:18px;line-height:1.65}}

.search-people h2{font-size:18px;margin:0 0 12px}.search-people .friendbuttons{display:flex;flex-wrap:wrap;gap:6px}.search-people .friendbuttons button{min-height:44px}
/* Keep each reel a full scroll page in Safari, including the end-of-feed page. */
body.reels-view #feed{display:block;height:calc(100dvh - var(--reel-nav));touch-action:pan-y;-webkit-overflow-scrolling:touch}
body.reels-view .video-reel,body.reels-view .reels-end{box-sizing:border-box;height:100%;min-height:100%;flex-shrink:0;touch-action:pan-y}
body.reels-view .reel-toggle{touch-action:pan-y}
.reels-end{display:none}
body.reels-view .reels-end{display:grid;place-items:center;padding:32px 24px;text-align:center;scroll-snap-align:start;scroll-snap-stop:always;background:#101b16;color:#fff}
.reels-end>div{max-width:360px}.reels-end h2{font-size:26px;line-height:1.2}.reels-end p{line-height:1.6;color:#c1d3c8}.reels-end button{padding:14px 18px;background:#a4efce;color:#123e2e;border-radius:12px;font-weight:700}
.reels-count{margin-left:auto;font-size:12px;white-space:nowrap}.reels-topbar{flex-wrap:wrap}.reels-topbar button{min-width:40px;min-height:44px}
