.home-posts-section{margin:28px 0 8px;padding:22px;background:var(--surface);border:1px solid var(--border);border-radius:20px;display:flex;flex-direction:column;gap:18px}.home-posts-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.home-posts-heading h2{margin:5px 0;font-size:23px}.home-posts-heading p{margin:0;color:var(--muted);font-size:13px}.post-composer{display:flex;flex-direction:column;gap:12px;padding:18px;background:var(--surface2);border:1px solid var(--border);border-radius:16px}.post-composer[hidden]{display:none}.post-composer-top{display:flex;justify-content:space-between;align-items:center}.post-composer-top strong{font-size:17px}.post-close{border:0;background:transparent;color:var(--muted);font-size:27px;cursor:pointer}.post-file-picker{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:115px;border:1px dashed #8068ed88;border-radius:13px;background:#8068ed0c;cursor:pointer;text-align:center}.post-file-picker>span{font-size:27px;color:var(--accent2)}.post-file-picker small{font-size:11px;color:var(--muted)}.post-composer textarea,.post-composer select{width:100%;padding:11px 12px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);font:inherit}.post-filter-row{display:flex;align-items:center;gap:12px}.post-filter-row select{max-width:220px}.post-media-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:8px}.post-preview-item{position:relative;aspect-ratio:1;background:var(--surface);border-radius:10px;overflow:hidden}.post-preview-item img,.post-preview-item video{width:100%;height:100%;object-fit:cover}.post-preview-item button{position:absolute;right:5px;top:5px;width:27px;height:27px;border:0;border-radius:50%;background:#111c;color:white;font-size:19px;cursor:pointer}.post-composer-footer{display:flex;justify-content:space-between;align-items:center;gap:12px}.post-composer-footer small{max-width:460px;color:var(--muted);font-size:11px}.post-composer .field-note{margin:0;color:var(--muted);font-size:12px}.post-composer .field-note.is-error{color:#f08b8b}.home-posts-feed{display:flex;flex-direction:column;gap:16px;max-width:760px;width:100%;margin:0 auto}.post-feed-empty{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px;padding:32px 18px;border:1px dashed var(--border);border-radius:15px}.post-feed-empty span{color:var(--muted);font-size:13px}.home-post-card{overflow:hidden;background:var(--surface2);border:1px solid var(--border);border-radius:16px}.home-post-author{display:flex;align-items:center;gap:10px;padding:14px 16px}.home-post-avatar{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:50%;background:#8068ed33;color:var(--accent2);font-weight:800}.home-post-author div{display:flex;flex-direction:column;gap:3px}.home-post-author strong{font-size:13px}.home-post-author small{font-size:10px;color:var(--muted)}.home-post-gallery{position:relative;background:#08090e}.home-post-media{width:100%;max-height:620px;aspect-ratio:4/3}.home-post-media[hidden]{display:none}.home-post-media img,.home-post-media video{display:block;width:100%;height:100%;max-height:620px;object-fit:contain}.home-post-gallery-controls{position:absolute;left:0;right:0;top:50%;display:flex;justify-content:space-between;align-items:center;padding:0 12px;transform:translateY(-50%);pointer-events:none}.home-post-gallery-controls span{padding:5px 9px;border-radius:20px;background:#111b;color:white;font-size:11px}.post-gallery-arrow{width:34px;height:34px;border:0;border-radius:50%;background:#111b;color:white;font-size:24px;cursor:pointer;pointer-events:auto}.home-post-caption{padding:0 16px;margin:12px 0;color:var(--text);font-size:13px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}.home-post-caption strong{font-weight:800}.home-post-actions{display:flex;gap:18px;padding:8px 16px 14px}.home-post-actions button{border:0;background:transparent;color:var(--muted);font-size:13px;font-weight:700;cursor:pointer}.home-post-actions .is-liked{color:#f1789b}.home-post-comments{padding:0 16px 14px}.home-post-comments[hidden]{display:none}.post-comment{margin:8px 0;font-size:12px;overflow-wrap:anywhere}.post-comment-form{display:flex;gap:8px;margin-top:12px}.post-comment-form input{flex:1;min-width:0;padding:9px 11px;border:1px solid var(--border);border-radius:9px;background:var(--surface);color:var(--text)}.post-comment-form .button{padding:8px 13px}.home-posts-section .field-note{color:var(--muted)}@media(max-width:650px){.home-posts-section{padding:15px;margin-top:20px}.home-posts-heading{align-items:flex-start;flex-direction:column}.home-posts-heading h2{font-size:20px}.post-composer{padding:13px}.post-composer-footer{align-items:flex-start;flex-direction:column}.home-post-media{aspect-ratio:1/1}.home-post-media img,.home-post-media video{max-height:480px}.home-posts-heading>.button{width:100%}}
.post-editor-modal[hidden]{display:none}.post-editor-modal{position:fixed;inset:0;z-index:10050;display:grid;place-items:center;padding:22px}.post-editor-backdrop{position:absolute;inset:0;background:rgba(5,6,12,.78);backdrop-filter:blur(9px)}.post-editor-panel{position:relative;z-index:1;width:min(980px,100%);max-height:min(92vh,900px);overflow:auto;background:var(--surface);border:1px solid var(--border);border-radius:23px;box-shadow:0 28px 100px #0008;display:flex;flex-direction:column}.post-editor-header{display:flex;justify-content:space-between;align-items:flex-start;padding:25px 28px 20px;border-bottom:1px solid var(--border)}.post-editor-header h2{margin:5px 0;font-size:25px;letter-spacing:-.5px}.post-editor-header p{margin:0;color:var(--muted);font-size:13px}.post-editor-close{width:38px;height:38px;border:1px solid var(--border);border-radius:12px;background:var(--surface2);color:var(--text);font-size:25px;cursor:pointer}.post-editor-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:26px;padding:24px 28px}.post-editor-section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.post-editor-section-heading>div{display:flex;flex-direction:column;gap:4px}.post-editor-section-heading strong{font-size:15px}.post-editor-section-heading small{font-size:11px;color:var(--muted)}.post-editor-count{font-size:11px;font-weight:800;color:var(--accent2);padding:6px 10px;background:#8068ed18;border-radius:20px}.post-editor-media-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.post-editor-media-item{position:relative;aspect-ratio:1.15;background:var(--surface2);border:1px solid var(--border);border-radius:14px;overflow:hidden}.post-editor-media-item img,.post-editor-media-item video{width:100%;height:100%;object-fit:cover}.post-editor-media-item .editor-media-type{position:absolute;left:9px;top:9px;padding:5px 8px;border-radius:7px;background:#10111bd9;color:white;font-size:10px;font-weight:800}.post-editor-media-item .editor-media-actions{position:absolute;left:8px;right:8px;bottom:8px;display:flex;justify-content:space-between;gap:6px}.post-editor-media-item button{width:34px;height:34px;border:1px solid #ffffff38;border-radius:10px;background:#111827e8;color:white;font-size:17px;cursor:pointer}.post-editor-media-item button:disabled{opacity:.3;cursor:default}.post-editor-media-item .editor-remove{margin-left:auto;color:#ffb6c3}.post-editor-add{min-height:86px;margin-top:12px;border:1px dashed #8068ed88;border-radius:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer;background:#8068ed0a}.post-editor-add>span{font-size:23px;color:var(--accent2)}.post-editor-add strong{font-size:12px}.post-editor-add small{font-size:10px;color:var(--muted)}.post-editor-settings{display:flex;flex-direction:column;gap:10px}.post-editor-settings>label{font-size:12px;font-weight:800;margin-top:2px}.post-editor-settings textarea{width:100%;resize:vertical;min-height:130px;padding:13px;border:1px solid var(--border);border-radius:12px;background:var(--surface2);color:var(--text);font:inherit;font-size:13px;line-height:1.5}.post-editor-character-count{margin-top:-7px;text-align:right;color:var(--muted);font-size:10px}.post-editor-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.post-filter-option{display:flex;flex-direction:column;align-items:center;gap:7px;padding:8px 5px;border:1px solid var(--border);border-radius:11px;background:var(--surface2);color:var(--text);cursor:pointer}.post-filter-option.is-active{border-color:var(--accent2);box-shadow:0 0 0 2px #8068ed28}.post-filter-option b{font-size:10px}.filter-swatch{width:100%;height:43px;border-radius:7px;background:linear-gradient(135deg,#d89d74,#644eaa 52%,#d3c5a4)}.filter-warm{filter:sepia(.35) saturate(1.2)}.filter-mono{filter:grayscale(1)}.filter-vivid{filter:saturate(1.8) contrast(1.1)}.filter-cool{filter:hue-rotate(25deg) saturate(.85)}.post-editor-tip{display:flex;gap:10px;padding:12px;border:1px solid #8068ed33;border-radius:12px;background:#8068ed0c;margin-top:8px}.post-editor-tip span{color:var(--accent2);font-size:17px}.post-editor-tip p{margin:0;color:var(--muted);font-size:11px;line-height:1.5}.post-editor-footer{position:sticky;bottom:0;display:flex;justify-content:space-between;align-items:center;gap:14px;padding:16px 28px;background:var(--surface);border-top:1px solid var(--border)}.post-editor-footer>p{margin:0;color:var(--muted);font-size:11px}.post-editor-footer>p.is-error{color:#e87979}.post-editor-footer>div{display:flex;gap:9px}.post-editor-edit-button{margin-left:auto!important;padding:7px 11px!important;border:1px solid var(--border)!important;border-radius:9px!important;background:var(--surface)!important;color:var(--text)!important}.home-post-actions{align-items:center}.home-post-actions .post-like-button{margin-right:0}.post-editor-modal.editor-busy .post-editor-panel{cursor:progress}.post-editor-modal.editor-busy button,.post-editor-modal.editor-busy input,.post-editor-modal.editor-busy textarea{pointer-events:none;opacity:.7}
@media(max-width:720px){.post-editor-modal{padding:0;align-items:end}.post-editor-panel{width:100%;max-height:96vh;border-radius:22px 22px 0 0}.post-editor-header{padding:19px 18px 15px}.post-editor-header h2{font-size:21px}.post-editor-layout{grid-template-columns:1fr;gap:22px;padding:18px}.post-editor-media-list{grid-template-columns:repeat(2,minmax(0,1fr))}.post-editor-footer{padding:13px 18px;align-items:flex-start;flex-direction:column}.post-editor-footer>div{width:100%}.post-editor-footer button{flex:1}.post-editor-filter-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.filter-swatch{height:35px}.post-filter-option{padding:6px 3px}.post-filter-option b{font-size:9px}}

.post-preview-edit{left:5px!important;right:auto!important;top:5px!important;width:auto!important;height:28px!important;padding:0 9px!important;border-radius:9px!important;font-size:11px!important;background:#6f5bd5ed!important}.post-preview-video-note{position:absolute;left:6px;bottom:6px;padding:5px 7px;border-radius:7px;background:#101827e8;color:#fff;font-size:9px}.post-preview-item{position:relative}.post-editor-media-item .editor-media-actions button[aria-label="Editar foto no Brazilly Studio"]{font-size:12px;width:auto;padding:0 9px}

.feed-page-container{width:min(1040px,calc(100% - 40px));margin:0 auto;padding:30px 0 70px}.feed-page-container>.inner-header{margin-bottom:28px}.feed-page-intro{padding:24px 28px;margin-bottom:22px;border:1px solid var(--border);border-radius:18px;background:linear-gradient(120deg,#8068ed16,transparent 70%),var(--surface)}.feed-page-intro h1{margin:7px 0;font-size:clamp(23px,3vw,32px);letter-spacing:-.7px}.feed-page-intro p{margin:0;color:var(--muted);font-size:13px}.feed-page-container .home-posts-section{margin:0;padding:0;border:0;background:transparent;gap:20px}.feed-page-container .home-posts-heading{padding:0 2px}.feed-page-container .home-posts-heading .section-kicker{display:none}.feed-page-container .home-posts-feed{max-width:760px}
@media(max-width:650px){.feed-page-container{width:min(100% - 24px,1040px);padding:18px 0 45px}.feed-page-intro{padding:19px;margin-bottom:16px}.feed-page-container .home-posts-section{padding:0}}

/* Brazilly Reels: isolated vertical feed at the bottom of the home page */
.home-reels-section{width:min(1180px,calc(100% - 48px));margin:42px auto 52px;padding:30px 0 0;border-top:1px solid var(--border)}
.reels-section-intro{margin:0 auto 18px;text-align:center}.reels-section-intro h2{margin:6px 0;font-size:clamp(24px,3vw,34px)}.reels-section-intro p{margin:0;color:var(--muted);font-size:13px}
.reels-section{margin:0 auto;padding:18px;border:1px solid var(--border);border-radius:20px;background:var(--surface)}
.reels-heading{max-width:760px;width:100%;margin:0 auto 16px}.reels-heading h2{font-size:18px}.reels-heading p{font-size:12px}
.reels-feed{height:min(76vh,820px);min-height:520px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scroll-behavior:smooth;padding:2px 10px 18px;max-width:780px;contain:layout paint}
.reels-feed .home-post-card{margin:0 auto 20px;max-width:560px;scroll-snap-align:start}.reels-feed .home-post-media{aspect-ratio:4/5;max-height:620px}.reels-feed .home-post-media img,.reels-feed .home-post-media video{max-height:620px;object-fit:contain}
.posts-loading,.posts-feed-end{text-align:center;padding:16px;color:var(--muted);font-size:12px}.posts-feed-sentinel{height:1px}
@media(max-width:650px){.home-reels-section{width:calc(100% - 24px);margin:30px auto 36px;padding-top:22px}.reels-section{padding:12px}.reels-feed{height:72vh;min-height:440px;padding:0 3px 14px}.reels-feed .home-post-card{border-radius:13px}.reels-feed .home-post-media{aspect-ratio:4/5}.reels-heading{align-items:flex-start}.reels-heading>.button{width:auto}}
