:root{--navy:#0b2545;--navy2:#164b80;--sky:#70b4ff;--bg:#f3f6fa;--white:#fff;--text:#14253b;--muted:#66768a;--line:#e2e9f1;--red:#b42318;--r:17px;--shadow:0 10px 32px rgba(15,35,65,.075)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:"Manrope",system-ui,sans-serif;background:var(--bg);color:var(--text);line-height:1.55}a{color:var(--navy2);text-decoration:none}a:hover{text-decoration:underline}button,input,select,textarea{font:inherit}
/* Compact fixed visual header: only the brand and navigation */
header{background:rgba(255,255,255,.94);color:var(--text);position:sticky;top:0;z-index:20;border-bottom:1px solid rgba(216,226,238,.85);backdrop-filter:blur(16px)}.wrap{max-width:1200px;margin:0 auto;padding:0 24px}.bar{display:flex;align-items:center;gap:12px;height:46px}.logo{display:flex;align-items:center;gap:7px;color:var(--navy);text-decoration:none;font-weight:850;font-size:17px;letter-spacing:-.045em}.logo img{width:22px;height:22px}.logo b{color:#3989e6}.grow{flex:1}nav{display:flex;align-items:center;gap:4px}nav a{color:#43566e;text-decoration:none;margin:0;font-weight:750;font-size:12px;padding:6px 10px;border-radius:9px}nav a:hover{color:var(--navy);background:#edf3fa;text-decoration:none}
.btn{border:0;border-radius:11px;padding:10px 15px;font-weight:800;cursor:pointer;background:var(--navy);color:var(--white);transition:transform .16s,background .16s,box-shadow .16s}.btn:hover{background:#174477;transform:translateY(-1px);box-shadow:0 6px 16px rgba(11,37,69,.16)}.btn.light{background:var(--white);color:var(--navy)}.btn.ghost{background:#fff;color:var(--navy);border:1px solid var(--line)}.btn.danger{background:#fff;color:var(--red);border:1px solid #f0d1cf}
/* Remove the old large promotional hero. Keep search as a compact utility strip. */.directory-intro{background:transparent;padding:20px 0 0;border:0}.intro-inner{display:block}.intro-copy,.directory-intro h1,.directory-intro p{display:none}.search{display:flex;gap:8px;background:#fff;padding:6px;border-radius:15px;border:1px solid #e1e9f2;max-width:760px;margin:0 auto;box-shadow:0 4px 20px rgba(18,43,75,.045)}.search-mark{align-self:center;padding-left:9px;color:#8ba1b9;font-size:23px;line-height:1}.search input{flex:1;min-width:0;border:0;outline:0;padding:10px 10px;font-size:14px;color:var(--text);background:transparent}.search .btn{padding:9px 18px}.directory-content{padding-top:26px}.directory-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px}.directory-heading .eyebrow{font-size:10px;letter-spacing:.13em;font-weight:900;color:#5682b1}.directory-heading h1{font-size:24px;line-height:1.2;letter-spacing:-.04em;margin:3px 0 4px;color:var(--navy)}.directory-heading p{margin:0;color:var(--muted);font-size:13px}.submit-link{display:inline-flex;align-items:center;justify-content:center;background:#e8f1fb;border:1px solid #d4e4f5;color:#164b80;padding:9px 13px;border-radius:11px;font-size:12px;font-weight:800;white-space:nowrap}.submit-link:hover{background:#dceafa;text-decoration:none}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 18px}.chip{background:#fff;border:1px solid #e0e8f1;border-radius:99px;padding:7px 13px;font-weight:800;font-size:12px;cursor:pointer;color:#40546b;transition:all .15s}.chip:hover{border-color:#a7c3e2;color:var(--navy);transform:translateY(-1px)}.chip.on{background:var(--navy);color:#fff;border-color:var(--navy);box-shadow:0 4px 12px rgba(11,37,69,.12)}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;padding-bottom:44px}.card{background:var(--white);border:1px solid #e5ebf3;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 2px 8px rgba(15,35,65,.025);transition:transform .2s,box-shadow .2s,border-color .2s}.card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#cbd9e9}.card .img{aspect-ratio:16/8.5;background:linear-gradient(135deg,#0e2d50,#4380ba) center/cover;display:flex;align-items:center;justify-content:center;color:#b8dcff;font-size:32px;font-weight:850}.card .bd{padding:16px;flex:1;display:flex;flex-direction:column;gap:8px}.card h3{margin:0;font-size:16px;line-height:1.35;letter-spacing:-.025em}.card p{margin:0;color:var(--muted);font-size:13px}.tag{display:inline-block;background:#eff5fb;color:#31587f;border-radius:7px;padding:3px 8px;font-size:10px;font-weight:800;margin:0 4px 4px 0}.pf{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.09em;color:#5682b1}.row{display:flex;gap:7px;flex-wrap:wrap;margin-top:auto;padding-top:10px}.row .btn{font-size:11px;padding:8px 10px}
.panel{background:var(--white);border:1px solid #e5ebf3;border-radius:18px;padding:22px;margin:22px 0;box-shadow:0 3px 16px rgba(15,35,65,.035)}label{display:block;font-weight:800;font-size:13px;margin:12px 0 5px}input,select,textarea{width:100%;border:1px solid #d9e3ee;border-radius:11px;padding:11px 12px;background:var(--white);color:var(--text)}input:focus,select:focus,textarea:focus{outline:3px solid rgba(112,180,255,.22);border-color:#70b4ff}.modal{position:fixed;inset:0;background:rgba(11,37,69,.56);display:flex;align-items:center;justify-content:center;padding:16px;z-index:50;backdrop-filter:blur(4px)}.modal>div{background:var(--white);border-radius:18px;padding:22px;width:100%;max-width:520px;max-height:92vh;overflow:auto;box-shadow:0 20px 60px rgba(0,0,0,.2)}.msg{padding:11px;border-radius:11px;margin-top:10px;font-weight:700}.msg.err{background:#fff0ef;color:var(--red)}.msg.ok{background:#e9f7ef;color:#17633a}footer{background:#0b2545;color:#c9d6ea;padding:24px 0;font-size:12px}footer a{color:#fff;margin-right:14px}footer p{margin:8px 0}.empty{color:var(--muted);text-align:center;padding:38px 18px;background:#fff;border:1px dashed #d5e0ed;border-radius:16px}.legal{max-width:820px}.legal h2{margin-top:28px}.small-note{font-size:12px;color:var(--muted)}.avatar{width:88px;height:88px;object-fit:cover;border-radius:50%;border:3px solid #e7f0fb}.updates{margin-top:22px;background:#f7f9fc;border:1px solid var(--line);border-radius:16px;padding:16px}.updates-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.update{background:white;border:1px solid var(--line);padding:12px;border-radius:12px;margin:10px 0}.update p{margin:0 0 5px}
@media(max-width:820px){.wrap{padding:0 20px}.directory-content{padding-top:22px}.grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}}
@media(max-width:600px){.wrap{padding:0 14px}.bar{height:42px;gap:6px}.logo{font-size:16px;gap:5px}.logo img{width:20px;height:20px}nav{gap:2px;max-width:100%;overflow-x:auto;scrollbar-width:none}nav::-webkit-scrollbar{display:none}nav a{font-size:11px;padding:5px 7px;white-space:nowrap}.directory-intro{padding:12px 0 0}.search{padding:5px;gap:4px;border-radius:13px}.search-mark{padding-left:5px;font-size:21px}.search input{font-size:13px;padding:8px 5px}.search .btn{padding:8px 12px;font-size:12px}.directory-content{padding-top:20px}.directory-heading{align-items:flex-start;flex-direction:column;gap:10px;margin-bottom:14px}.directory-heading h1{font-size:22px}.directory-heading p{font-size:12px}.submit-link{padding:8px 11px;font-size:11px}.chips{gap:6px;margin-bottom:15px}.chip{font-size:11px;padding:7px 10px}.grid{grid-template-columns:1fr;gap:12px;padding-bottom:26px}.card .bd{padding:14px}.panel{padding:16px;margin:16px 0;border-radius:15px}.row .btn{flex:1 1 auto;text-align:center}.modal>div{padding:17px}footer{padding:20px 0}footer p:first-child{display:flex;flex-wrap:wrap;gap:10px}footer a{margin:0}}
@media(min-width:601px) and (max-width:980px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Galeria de até cinco imagens por espaço */
.space-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:0 0 20px}.space-gallery a{display:block;overflow:hidden;border-radius:14px;background:#eaf0f7;aspect-ratio:16/10}.space-gallery img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s}.space-gallery a:hover img{transform:scale(1.035)}.gallery-empty{padding:24px;background:#f5f8fc;border:1px dashed #d7e2ee;border-radius:14px;color:#718198;margin-bottom:16px}.image-preview{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:10px;margin:12px 0}.image-preview-item{min-width:0;background:#f5f8fc;border:1px solid #dfe8f2;border-radius:12px;padding:7px;display:flex;flex-direction:column;gap:7px}.image-preview-item img{width:100%;height:90px;object-fit:cover;border-radius:8px}.image-preview-item .btn{padding:6px 8px;font-size:11px}.image-preview+.small-note{line-height:1.45}
@media(max-width:600px){.space-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.image-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Perfil renovado e seletor de foto local (desktop e celular) */
.profile-page{padding-top:28px;padding-bottom:40px}.profile-hero{display:flex;align-items:center;gap:24px;background:linear-gradient(135deg,#fff 0%,#f2f7ff 100%);border:1px solid #dce7f5}.profile-avatar-wrap{position:relative;flex:0 0 112px;width:112px;height:112px}.profile-avatar{width:112px;height:112px;border-radius:50%;object-fit:cover;border:4px solid #fff;box-shadow:0 8px 24px #0b254522;background:#eaf1fa}.avatar-pick{position:absolute;left:50%;bottom:-8px;transform:translateX(-50%);white-space:nowrap;background:#0b2545;color:#fff;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:700;cursor:pointer;box-shadow:0 3px 10px #0b254533}.profile-heading h1{margin:5px 0;font-size:clamp(25px,4vw,34px);color:#0b2545}.profile-heading p{margin:4px 0 12px;color:#63748b}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}.section-heading h2{margin:4px 0}.profile-page .panel{border-radius:18px;box-shadow:0 8px 28px rgba(11,37,69,.055);margin-bottom:22px}.profile-page form{max-width:760px}.profile-page input,.profile-page textarea{border-radius:11px}.profile-page .grid{margin-top:12px}.error-panel{padding:18px;border:1px solid #f1caca;background:#fff7f7;border-radius:12px;color:#8e3030}.error-panel p{margin:7px 0}.profile-page .eyebrow{font-size:11px;letter-spacing:.12em;color:#54749c;font-weight:800}
@media(max-width:640px){.profile-page{padding-top:14px}.profile-hero{align-items:center;gap:16px;padding:18px;flex-direction:column;text-align:center}.profile-avatar-wrap{flex-basis:100px;width:100px;height:100px}.profile-avatar{width:100px;height:100px}.profile-heading h1{font-size:26px}.section-heading{align-items:flex-start;flex-direction:column}.section-heading .btn{width:100%;text-align:center}.profile-page .panel{padding:18px}.profile-page .row{flex-wrap:wrap}.profile-page .row .btn{flex:1 1 100%;text-align:center}}

/* Detalhe do espaço: uma única imagem compacta à esquerda e texto à direita. */
.space-single-layout{display:grid;grid-template-columns:minmax(170px,300px) minmax(0,1fr);align-items:center;gap:28px;margin:0 0 22px;padding:8px 0 22px;border-bottom:1px solid #e7edf5}
.space-single-media{width:100%;max-width:300px}
.space-single-image{display:block;width:100%;aspect-ratio:16/10;overflow:hidden;border-radius:16px;background:#edf2f8;box-shadow:0 8px 24px rgba(11,37,69,.10)}
.space-single-image img{width:100%;height:100%;display:block;object-fit:cover}
.space-detail-copy{min-width:0}
.space-detail-copy h1{margin:8px 0 16px;font-size:clamp(25px,3vw,36px);line-height:1.12;letter-spacing:-.04em;color:var(--navy)}
.space-detail-copy .about-label{font-size:14px;margin:0 0 5px;color:#48617d}
.space-description{margin:0 0 12px;white-space:pre-wrap;line-height:1.7;color:#52647a}
@media(max-width:620px){.space-single-layout{grid-template-columns:112px minmax(0,1fr);gap:15px;align-items:start}.space-single-media{max-width:112px}.space-single-image{border-radius:12px}.space-detail-copy h1{font-size:22px;margin:5px 0 10px}.space-detail-copy .about-label{font-size:12px}.space-description{font-size:13px;line-height:1.5}}

/* Ajustes de categorias completas, CTA destacado e contraste dos títulos */
.chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.submit-link{background:linear-gradient(135deg,#0b2545 0%,#174b80 100%);border:1px solid #0b2545;color:#fff;padding:11px 17px;border-radius:13px;font-size:13px;font-weight:850;box-shadow:0 7px 18px rgba(11,37,69,.18);transition:transform .18s,box-shadow .18s,filter .18s}
.submit-link:hover{color:#fff;background:linear-gradient(135deg,#12365f 0%,#1c5b96 100%);box-shadow:0 10px 23px rgba(11,37,69,.24);transform:translateY(-2px);text-decoration:none}
.card h3 a,.card h3 a:visited{color:#111827;font-weight:850}
.card h3 a:hover{color:#000;text-decoration:underline;text-decoration-color:#9bb8d8;text-underline-offset:3px}
@media(max-width:600px){.chips{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;padding:2px 1px 10px;margin-right:-14px;padding-right:14px;scrollbar-width:thin;scroll-snap-type:x proximity}.chip{flex:0 0 auto;scroll-snap-align:start}.submit-link{padding:10px 14px;font-size:12px}}

/* Portal Index: correção visual reforçada (versão de deploy) */
.directory-heading .submit-link,
a.submit-link,
.submit-link:link,
.submit-link:visited {
  background: linear-gradient(135deg,#0b2545 0%,#174b80 100%) !important;
  color: #ffffff !important;
  border: 1px solid #0b2545 !important;
  border-radius: 13px !important;
  padding: 12px 18px !important;
  font-weight: 850 !important;
  box-shadow: 0 7px 20px rgba(11,37,69,.22) !important;
}
.directory-heading .submit-link:hover,
.submit-link:hover {
  background: linear-gradient(135deg,#12365f 0%,#1c5b96 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11,37,69,.28) !important;
}
.card h3 a,
.card h3 a:link,
.card h3 a:visited,
.grid .card h3 a {
  color: #111827 !important;
  font-weight: 850 !important;
}
.chips { display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
@media(max-width:600px) {
  .chips { flex-wrap:nowrap; overflow-x:auto; overflow-y:hidden; padding:2px 2px 10px; margin-right:-14px; padding-right:14px; scroll-snap-type:x proximity; }
  .chips .chip { flex:0 0 auto; scroll-snap-align:start; }
}

/* Categorias em uma única fileira com expansão opcional */
.chips{display:flex;flex-wrap:nowrap;align-items:center;gap:7px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;padding:2px 1px 10px;scrollbar-width:thin;scroll-snap-type:x proximity}
.chips .chip{flex:0 0 auto;scroll-snap-align:start}
.chip-more{background:#eaf1f9;border-color:#cbd9e9;color:#0b2545}
.chip-more:hover{background:#dce9f7}
/* Rodapé compacto com crédito */
footer{padding:11px 0 10px;font-size:11px;line-height:1.35}
footer p{margin:3px 0}
footer .footer-brand{font-weight:800;letter-spacing:.02em;color:#fff}
footer .footer-brand a{color:#fff;text-decoration:none}
.updates{margin-top:22px;padding:17px}
.update-form{margin-top:12px}
.update-form textarea{min-height:76px;resize:vertical}
.update-message:empty{display:none}
.update .tiny{padding:5px 8px;margin-top:8px;font-size:10px}
@media(max-width:600px){.chips{margin-right:-14px;padding-right:14px}footer{padding:10px 0;font-size:10px}footer p:first-child{gap:8px;flex-wrap:wrap}}

/* Identidade própria de cada espaço e fotos dos avisos */
.space-identity{display:flex;flex-direction:column;align-items:center;text-align:center;padding:22px 12px 18px;margin-bottom:12px}
.space-identity h1{font-size:clamp(30px,4vw,42px);line-height:1.12;letter-spacing:-.045em;color:var(--navy);margin:7px 0 13px}
.space-avatar-large{width:116px;height:116px;border-radius:50%;object-fit:cover;background:#edf2f8;border:4px solid #fff;box-shadow:0 5px 22px rgba(11,37,69,.14);margin:0 auto 12px}
.space-identity .about-label{font-size:16px;margin:10px 0 2px;color:var(--navy)}
.space-identity .space-description{max-width:850px;margin:0 auto;color:var(--muted);font-size:16px}
.space-avatar-editor{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.space-avatar-editor img{width:76px;height:76px;object-fit:cover;border-radius:50%;border:2px solid var(--line);background:#edf2f8}
.update{display:flex;align-items:flex-start;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
.update-avatar{width:42px;height:42px;flex:0 0 42px;object-fit:cover;border-radius:50%;background:#edf2f8;border:1px solid var(--line)}
.update-content{min-width:0;flex:1}.update-content>strong{font-size:13px;color:var(--navy)}
.update-content p{margin:3px 0 6px}.update-content small{color:var(--muted)}
@media(max-width:640px){.space-identity{padding:14px 4px}.space-avatar-large{width:96px;height:96px}.space-identity .space-description{font-size:14px}}


/* Página do espaço: avatar à esquerda e galeria à direita */
.space-showcase{display:grid;grid-template-columns:minmax(190px,245px) minmax(0,1fr);gap:26px;align-items:stretch;margin:0 0 22px;padding:8px 0 22px;border-bottom:1px solid #e7edf5}
.space-profile-side{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;padding:18px 14px;background:linear-gradient(160deg,#f7faff,#fff);border:1px solid #e3ebf5;border-radius:16px;min-width:0}
.space-profile-side>.pf{margin-bottom:13px}
.space-avatar-large{width:126px;height:126px;flex:0 0 126px;border-radius:50%;object-fit:cover;background:#edf2f8;border:4px solid #fff;box-shadow:0 6px 22px rgba(11,37,69,.15);margin:4px auto 13px}
.space-profile-side h1{font-size:clamp(23px,2.5vw,32px);line-height:1.12;letter-spacing:-.04em;color:var(--navy);margin:0 0 14px;overflow-wrap:anywhere}
.space-profile-side .btn{font-size:12px;padding:9px 11px}
.space-gallery-side{min-width:0;display:flex;flex-direction:column}
.space-gallery-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}
.space-gallery-heading h2{font-size:18px;color:var(--navy);margin:0}
.space-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;align-content:start}
.space-gallery a{aspect-ratio:16/10;min-width:0}
.space-gallery a:first-child:nth-last-child(1){grid-column:1/-1;max-width:100%;width:100%;aspect-ratio:16/8}
.space-about{margin:0 0 16px}
.space-about .about-label{font-size:17px;color:var(--navy);margin:0 0 7px}
.space-about .space-description{margin:0 0 12px;line-height:1.7;color:#52647a;white-space:pre-wrap}
@media(max-width:640px){.space-showcase{grid-template-columns:1fr;gap:16px;padding:0 0 17px}.space-profile-side{padding:16px 12px}.space-avatar-large{width:104px;height:104px;flex-basis:104px}.space-profile-side h1{font-size:25px;margin-bottom:10px}.space-gallery-heading h2{font-size:16px}.space-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.space-gallery a:first-child:nth-last-child(1){aspect-ratio:16/9}.space-about .space-description{font-size:14px;line-height:1.55}}


/* O painel da identidade fica apenas do tamanho do conteúdo; fotos extras são opcionais. */
.space-showcase{align-items:start}
.space-profile-side{align-self:start;height:fit-content;min-height:0}
.space-gallery-side{align-self:start}
@media(max-width:640px){.space-profile-side{height:auto;min-height:0}}


/* Cabeçalho e identidade tipográfica refinados */
.logo{font-family:Manrope,system-ui,sans-serif;font-size:23px;font-weight:800;letter-spacing:-1.15px;color:#0b2545;gap:8px}
.logo b{font-weight:800;color:#2474b9;margin-left:-7px}
.bar{min-height:70px}
nav a{font-weight:750;letter-spacing:-.15px}
header{box-shadow:0 5px 24px rgba(11,37,69,.07);border-bottom:1px solid #e6edf5}
.profile-hero-centered{display:flex;flex-direction:column;align-items:center;text-align:center;gap:0;overflow:hidden;padding:0 0 26px}
.profile-cover{position:relative;width:100%;height:210px;background:linear-gradient(120deg,#0b2545,#1b5a91 58%,#8ab6dc);background-size:cover;background-position:center}
.cover-pick{position:absolute;right:18px;bottom:14px;background:rgba(7,25,48,.82);color:#fff;padding:9px 14px;border-radius:999px;font-size:12px;font-weight:800;cursor:pointer}
.profile-hero-centered .profile-avatar-wrap{margin-top:-58px;z-index:1;flex:0 0 116px;width:116px;height:116px}
.profile-hero-centered .profile-avatar{width:116px;height:116px;border:5px solid #fff}
.profile-hero-centered .profile-heading{padding:15px 18px 0}
.profile-hero-centered .profile-heading h1{font-size:clamp(27px,4vw,38px);letter-spacing:-1.2px}
.social-count{display:inline-flex;align-items:center;padding:10px 13px;border-radius:999px;background:#eef4fa;color:#284563;font-size:13px;font-weight:800}
.like-btn{background:#fff0f2!important;color:#b42342!important;border:1px solid #f5cbd4!important}
.like-btn[aria-pressed="true"]{background:#ffe0e6!important;color:#a31635!important}
.public-cover{height:190px;margin:-20px -20px 0;background:linear-gradient(120deg,#0b2545,#1b5a91 58%,#8ab6dc);background-size:cover;background-position:center;border-radius:15px 15px 0 0}
.public-profile-center{text-align:center;margin-top:-48px;position:relative;padding-bottom:8px}
.public-avatar{width:104px;height:104px;border:5px solid #fff;box-shadow:0 5px 18px #0b254522}
.public-profile-center h1{margin:8px 0 4px;font-size:30px;letter-spacing:-.8px;color:#0b2545}
@media(max-width:600px){.bar{min-height:56px}.logo{font-size:20px}.profile-cover{height:150px}.profile-hero-centered .profile-avatar-wrap{margin-top:-48px;flex-basis:100px;width:100px;height:100px}.profile-hero-centered .profile-avatar{width:100px;height:100px}.cover-pick{right:10px;bottom:10px;padding:7px 10px}.public-cover{height:140px;margin:-18px -18px 0}.public-avatar{width:88px;height:88px}.social-count{font-size:12px}}
/* Comentários */
.comments{margin-top:10px;border-top:1px solid #e5e9f0;padding-top:8px}
.comments-title{font-size:13px;font-weight:600;color:#556;margin-bottom:6px}
.comment{display:flex;gap:8px;margin:6px 0}
.comment-avatar{width:28px;height:28px;border-radius:50%;object-fit:cover;flex:none}
.comment-body{background:#f4f6fa;border-radius:10px;padding:6px 10px;flex:1}
.comment-body p{margin:2px 0;font-size:14px}
.comment-body small{color:#889;font-size:11px}
.comment-form{display:flex;gap:6px;margin-top:6px}
.comment-form input{flex:1;margin:0}
.link-btn{background:none;border:0;color:#b42318;font-size:12px;cursor:pointer;padding:0}
/* Mensagens */
.chat-overlay{position:fixed;inset:0;background:rgba(11,37,69,.56);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:16px;z-index:60}
.chat-box{width:100%;max-width:420px;height:min(640px,88vh);background:#fff;border-radius:16px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.28)}
.chat-head{display:flex;align-items:center;gap:10px;padding:10px 12px 10px 14px;border-bottom:1px solid #e4e6eb;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.chat-av{width:40px;height:40px;border-radius:50%;object-fit:cover;background:#e4e6eb;flex:none}.chat-av.sm{width:28px;height:28px}.chat-av.ph{background:none}.chat-av.big{width:80px;height:80px;margin-bottom:6px}
.chat-who{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.2}.chat-who strong{font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-who small{color:#65676b;font-size:12px}
.chat-x{width:36px;height:36px;border:0;border-radius:50%;background:#f0f2f5;color:#4b4f56;font-size:15px;cursor:pointer}.chat-x:hover{background:#e4e6eb}
.chat-list{flex:1;overflow-y:auto;padding:12px 10px;display:flex;flex-direction:column;gap:2px;background:#fff}
.chat-empty{margin:auto;display:flex;flex-direction:column;align-items:center;gap:4px;color:#65676b;text-align:center;padding:20px}.chat-empty strong{color:#050505;font-size:17px}
.chat-hi{margin-top:12px;border:0;border-radius:999px;background:#e7f1ff;color:#1560c9;font-weight:800;padding:9px 18px;cursor:pointer}.chat-hi:hover{background:#d6e8ff}
.chat-time{align-self:center;color:#65676b;font-size:12px;font-weight:700;margin:12px 0 6px}
.chat-row{display:flex;align-items:flex-end;gap:6px}.chat-row.mine{justify-content:flex-end}
.bubble{max-width:75%;background:#f0f2f5;color:#050505;border-radius:18px;padding:8px 12px;word-break:break-word}
.bubble.mine{background:linear-gradient(135deg,#2a7be4,#164b80);color:#fff}
.bubble p{margin:0;white-space:pre-wrap;line-height:1.35;font-size:15px}
.bubble:not(.mine).first,.bubble:not(.mine).mid{border-bottom-left-radius:4px}.bubble:not(.mine).mid,.bubble:not(.mine).last{border-top-left-radius:4px}
.bubble.mine.first,.bubble.mine.mid{border-bottom-right-radius:4px}.bubble.mine.mid,.bubble.mine.last{border-top-right-radius:4px}
#chatMsg .msg{margin:0 12px 6px;font-size:13px}
.chat-form{display:flex;gap:8px;align-items:flex-end;padding:10px 12px;border-top:1px solid #e4e6eb}
.chat-form textarea{flex:1;margin:0;resize:none;border:0;border-radius:20px;background:#f0f2f5;padding:9px 14px;line-height:1.35;max-height:110px;overflow-y:auto}.chat-form textarea:focus{outline:2px solid rgba(42,123,228,.35)}
.chat-send{width:38px;height:38px;flex:none;border:0;border-radius:50%;background:transparent;color:#1d6fe0;display:flex;align-items:center;justify-content:center;cursor:pointer}.chat-send:hover:not(:disabled){background:#e7f1ff}.chat-send:disabled{color:#bcc0c4;cursor:default}
@media(max-width:600px){.chat-overlay{padding:0}.chat-box{max-width:none;height:100dvh;border-radius:0}}
.convo{display:flex;gap:10px;align-items:center;width:100%;text-align:left;background:#fff;border:1px solid #e5e9f0;border-radius:12px;padding:10px;margin-bottom:8px;cursor:pointer;font:inherit}
.convo img{width:40px;height:40px;border-radius:50%;object-fit:cover}
.convo small{display:block;color:#667}
.badge{background:#e11d48;color:#fff;border-radius:999px;padding:0 7px;font-size:12px}
.is-following{background:#eef4ff}

/* Rodapé organizado + páginas editáveis */
footer.site-footer{background:#0b2545;color:#c9d6ea;padding:36px 0 0;font-size:13px;line-height:1.5;margin-top:24px}
.site-footer .foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:28px;padding-bottom:28px}
.site-footer .logo{color:#fff;font-size:18px}.site-footer .logo b{color:#70b4ff}
.site-footer .foot-brand p{margin:10px 0 0;max-width:36ch;color:#a9bbd6;font-size:12.5px}
.site-footer h4{margin:0 0 10px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:#7f9bc4}
.site-footer .foot-col{display:flex;flex-direction:column;gap:8px}
.site-footer .foot-col a{color:#e8eefb;margin:0;font-size:13px;width:fit-content}
.site-footer .foot-col a:hover{color:#fff;text-decoration:underline}
.site-footer .foot-bottom{border-top:1px solid rgba(255,255,255,.12);padding:14px 0;display:flex;flex-wrap:wrap;gap:6px 14px;justify-content:space-between;align-items:center;font-size:12px;color:#a9bbd6}
.site-footer .foot-credit{color:#fff;margin:0;font-weight:800;letter-spacing:.02em}
@media(max-width:760px){.site-footer .foot-grid{grid-template-columns:1fr 1fr;gap:22px}.site-footer .foot-brand{grid-column:1/-1}.site-footer .foot-bottom{flex-direction:column;align-items:flex-start}}
.page-admin{display:flex;justify-content:flex-end;margin-bottom:4px}
.legal ul{padding-left:22px}.legal li{margin:4px 0}
#pgForm textarea{min-height:320px;font-family:inherit;line-height:1.5}
/* Rodapé compacto no celular */
@media(max-width:760px){
footer.site-footer{padding:14px 0 0;margin-top:16px}
.site-footer .foot-grid{display:flex;flex-wrap:wrap;gap:6px 16px;padding-bottom:10px}
.site-footer .foot-brand{width:100%;grid-column:auto;margin-bottom:2px}
.site-footer .foot-brand p,.site-footer h4{display:none}
.site-footer .logo{font-size:15px}.site-footer .logo img{width:18px;height:18px}
.site-footer .foot-col{display:contents}
.site-footer .foot-col a{font-size:12px}
.site-footer .foot-bottom{flex-direction:row;justify-content:space-between;align-items:center;padding:8px 0 10px;font-size:11px}
}

/* Logotipo Portal Index Media (cabeçalho e rodapé) */
.logo.logo-img{gap:0}
.logo.logo-img img,.site-footer .logo.logo-img img{width:125px;height:auto;display:block}
@media(max-width:600px){.logo.logo-img img,.site-footer .logo.logo-img img{width:100px}}

/* Atalhos de administração no rodapé */
.site-footer .foot-admin{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;padding:10px 0;border-top:1px solid rgba(255,255,255,.12);font-size:12px}
.site-footer .foot-admin[hidden]{display:none}
.site-footer .foot-admin strong{background:#70b4ff;color:#0b2545;border-radius:999px;padding:1px 9px;font-size:11px}
.site-footer .foot-admin a{color:#e8eefb;margin:0}.site-footer .foot-admin a:hover{color:#fff;text-decoration:underline}

/* Lista de usuários (admin) */
.ulist{display:flex;flex-direction:column;gap:8px;margin-top:14px}
.urow{display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid #e5ebf3;border-radius:14px;background:#fff;color:var(--text);text-decoration:none}
.urow:hover{border-color:#a7c3e2;background:#f7faff;text-decoration:none}
.urow img{width:42px;height:42px;border-radius:50%;object-fit:cover;background:#e4e6eb;flex:none}
.uinfo{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.3}.uinfo strong,.uinfo small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uinfo small{color:var(--muted);font-size:12px}
.uadm{font-style:normal;background:#e7f1ff;color:#1560c9;border-radius:999px;padding:0 8px;font-size:11px;font-weight:800;margin-left:4px}
.umeta{display:flex;flex-direction:column;align-items:flex-end;font-size:12px;font-weight:700;color:#40546b;flex:none}.umeta small{color:var(--muted);font-weight:500}
