/* Camada visual compartilhada: carregada por último em todas as páginas. */
:root{
  --ui-sidebar:280px;
  --ui-topbar:84px;
  --ui-text:#263451;
  --ui-muted:#68738a;
  --ui-border:#dedee8;
}
html{font-size:16px}
body{color:var(--ui-text);font-size:16px;line-height:1.5}
small{font-size:11px}

/* Estrutura idêntica entre home e páginas internas */
.page-shell,.app-frame{grid-template-columns:var(--ui-sidebar) minmax(0,1fr)}
.sidebar,.app-sidebar{
  width:var(--ui-sidebar);
  padding:28px 22px 22px;
  background:#fff;
  border-right:1px solid var(--ui-border);
}
.logo,.app-logo{height:64px;padding:0 12px 25px}
.logo img,.app-logo img{width:150px}
.main-nav,.app-menu{gap:7px}
.nav-item,.app-link{
  min-height:50px;
  padding:13px 15px;
  border-radius:14px;
  gap:13px;
  color:#58657e;
  font:800 16px Nunito,sans-serif;
}
.nav-item{text-decoration:none}
.sidebar-login{margin-top:auto;min-height:62px;display:flex;align-items:center;gap:11px;text-decoration:none;background:linear-gradient(135deg,#ff6b8b,#f25478);color:#fff;border-radius:16px;padding:11px 13px;text-align:left;box-shadow:0 10px 24px rgba(255,107,139,.25)}
.sidebar-login svg{width:24px;height:24px;flex:0 0 auto}.sidebar-login span{display:grid}.sidebar-login strong{font-size:13px}.sidebar-login small{color:#fff;font-size:10px;opacity:.82}
.nav-item svg,.app-link svg{width:22px;height:22px}
.nav-item b,.nav-item em,.app-link small{font-size:11px;padding:3px 7px}
.sidebar>.profile-mini,.app-sidebar>.profile-mini{margin-top:auto;padding:18px 3px 0;text-decoration:none}
.profile-mini strong,.app-sidebar .profile-mini strong{font-size:14px}
.profile-mini small,.app-sidebar .profile-mini small{font-size:12px;color:var(--ui-muted)}
.sidebar-account{margin-top:auto;padding-top:15px;border-top:1px solid #efedf2}.sidebar-account .profile-mini{padding:0 3px 10px;text-decoration:none}.sidebar-logout{width:100%;min-height:39px;display:flex;align-items:center;gap:10px;padding:8px 11px;border:0;border-radius:11px;background:#fff5f7;color:#c84e6c;font:800 12px Nunito;cursor:pointer}.sidebar-logout:hover{background:#ffe9ef}.sidebar-logout svg{width:18px;height:18px}.logout-action{color:#c84e6c;background:#fff5f7}

.topbar,.app-topbar{
  height:var(--ui-topbar);
  padding:0 38px;
  gap:18px;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--ui-border);
}
.search,.app-search{
  width:min(620px,100%);
  max-width:620px;
  height:48px;
  padding:0 15px;
  border:1px solid var(--ui-border);
  border-radius:14px;
  background:#f7f7fa;
}
.search svg,.app-search svg{width:20px;height:20px}
.search input,.app-search input{font:600 14px Nunito,sans-serif;color:var(--navy)}
.icon-btn,.mobile-menu{width:46px;height:46px}
.publish-btn,.primary-action,.secondary-action,.buy-btn,.sidebar-login,.top-login{
  min-height:44px;
  padding:0 17px;
  font:800 13px Nunito,sans-serif;
}
.wallet-pill{min-height:48px;padding:7px 13px}.wallet-pill small{font-size:11px}.wallet-pill strong{font-size:14px}
.top-login{margin-left:auto;min-height:46px;display:flex;align-items:center;gap:8px;padding:0 17px;border-radius:13px;background:var(--coral);color:#fff;text-decoration:none;font-weight:900;box-shadow:0 8px 20px rgba(255,107,139,.22)}.top-login svg{width:19px}
.sidebar>.sidebar-login,.app-sidebar>.sidebar-login{min-height:62px;padding:11px 13px;font-size:13px}
.community-actions{margin-left:auto;display:flex;gap:8px}.top-actions .community-actions{margin-left:0}
.community-action{position:relative;width:46px;height:46px;display:grid;place-items:center;border:1px solid var(--ui-border);border-radius:13px;background:#fff;color:#44516a;cursor:pointer}.community-action svg{width:20px}.community-action b{position:absolute;right:-4px;top:-5px;min-width:19px;height:19px;padding:0 5px;display:grid;place-items:center;border:2px solid #fff;border-radius:999px;background:var(--coral);color:#fff;font-size:9px}
.community-overlay{position:fixed;z-index:108;inset:0;display:none;background:rgba(24,37,68,.25);backdrop-filter:blur(2px)}.community-overlay.open{display:block}
.community-panel{position:fixed;z-index:109;top:0;right:-430px;width:min(410px,100%);height:100dvh;display:flex;flex-direction:column;background:#fff;box-shadow:-20px 0 60px rgba(31,42,69,.18);transition:right .25s ease}.community-panel.open{right:0}
.community-panel-head{display:flex;align-items:center;justify-content:space-between;padding:23px;border-bottom:1px solid var(--ui-border)}.community-panel-head span{color:var(--coral);font-size:10px;font-weight:900;letter-spacing:1px}.community-panel-head h2{margin:2px 0 0;font:600 24px Fredoka}.community-panel-head button{width:34px;height:34px;border:0;border-radius:10px;background:#f4f3f7;color:#677086;font-size:21px}
.read-all,.chat-back{margin:12px 18px 4px;align-self:flex-start;border:0;background:none;color:var(--coral);font-size:12px;font-weight:900;cursor:pointer}.notification-list,.conversation-list{overflow:auto;padding:12px 16px 25px}
.notification-item,.conversation-item{width:100%;display:flex;align-items:flex-start;gap:11px;padding:13px;border:0;border-bottom:1px solid #efedf2;background:#fff;color:#354057;text-align:left;text-decoration:none}.notification-item.unread{border-radius:13px;background:#fff5f7}.notification-item div,.conversation-item div{min-width:0;flex:1}.notification-item strong,.conversation-item strong{font-size:13px}.notification-item p,.conversation-item p{margin:3px 0;color:#737c8e;font-size:12px;line-height:1.4}.notification-item small{font-size:10px;color:#a0a5b1}.notification-type,.conversation-avatar{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:12px;background:#f2edff;color:#785db1;font-size:12px;font-weight:900}.notification-type.purchase{background:#e8f8f2;color:#27896f}.notification-type.comment{background:#fff0f4;color:#ed5779}.notification-type.request{background:#fff6da;color:#997625}.conversation-item{cursor:pointer}.conversation-item b{min-width:20px;height:20px;display:grid;place-items:center;border-radius:50%;background:var(--coral);color:#fff;font-size:9px}
.chat-thread{min-height:0;flex:1;display:flex;flex-direction:column}.chat-thread[hidden]{display:none}.chat-messages{flex:1;overflow:auto;padding:15px;display:flex;flex-direction:column;gap:9px;background:#faf9fc}.chat-message{max-width:82%;align-self:flex-start;padding:10px 12px;border-radius:14px 14px 14px 4px;background:#fff;border:1px solid #e8e6ed}.chat-message.mine{align-self:flex-end;border:0;border-radius:14px 14px 4px 14px;background:#fff0f4}.chat-message strong{font-size:10px;color:#ed5779}.chat-message p{margin:2px 0;font-size:13px}.chat-message small{color:#9aa0ad;font-size:9px}.chat-thread form{display:flex;gap:8px;padding:13px;border-top:1px solid var(--ui-border)}.chat-thread input{min-width:0;flex:1;border:1px solid var(--ui-border);border-radius:12px;padding:11px;font:600 12px Nunito}.chat-thread form button{border:0;border-radius:11px;background:var(--coral);color:#fff;padding:0 14px;font-weight:900}.community-empty{padding:45px 20px;text-align:center;color:#858c9c;font-size:13px}

/* Escala tipográfica confortável */
.eyebrow,.product-category,.boost-card>span{font-size:11px}
.welcome h1,.page-heading h1{font-size:32px}
.welcome p,.page-heading p,.hero-market p{font-size:15px;color:var(--ui-muted)}
.hero-market p{color:#dce3f1}
.section-title h2,.card-title h2{font-size:19px}
.section-title button,.card-title button,.reviews .card-title a{font-size:12px}
.story{font-size:12px}.story-ring b{font-size:9px}
.composer>button{font-size:14px}.composer-actions button,.tabs button,.filter-btn{font-size:13px}
.post-head strong{font-size:16px}.post-head p,.hashtags,.post-stats{font-size:12px}
.post-copy{font-size:16px;line-height:1.65}.tag{font-size:11px}
.post-actions button,.comment-box input{font-size:13px}
.helpful-answer p{font-size:13px}.helpful-answer button{font-size:12px}
.category-grid button{font-size:11px}.rank-row p b{font-size:12px}.rank-row p small,.points{font-size:10px}
.rightbar .section-title h2{font-size:19px}.rightbar .section-title button{font-size:12px}
.rightbar .rank-row{padding:13px 0}.rightbar .rank-row p b{font-size:13px}.rightbar .rank-row p small{font-size:11px}.rightbar .points{font-size:10px}
.products p strong{font-size:12px}.products p small{font-size:10px}.products p b{font-size:12px}
.trend-card>span,.trend-card b{font-size:10px}.trend-card p,.trend-card button{font-size:12px}

.page-heading h1{margin-top:6px}.hero-market h2{font-size:34px}
.filter-chip{font-size:12px;padding:11px 15px}
.product-info h3{font-size:15px}.product-info p,.stars{font-size:12px}.product-visual small{font-size:11px}
.price-buy strong{font-size:17px}.buy-btn{font-size:12px}
.transaction p{font-size:13px}.transaction p small{font-size:11px}.transaction strong{font-size:14px}
.wallet-stat small,.request-head small,.request-bottom span,.course-info p{font-size:12px}
.request-head strong{font-size:14px}.request-card h3{font-size:18px}.request-card p{font-size:14px}
.topic{font-size:13px}.course-info span{font-size:11px}.course-info h3{font-size:17px}
.profile-main .handle{font-size:13px}.profile-bio{font-size:15px}.profile-numbers span,.badge{font-size:12px}

.product-summary h1{font-size:33px}.product-rating,.product-lead{font-size:14px}
.seller-line small,.seller-line span,.product-price small,.product-price span,.secure-note{font-size:11px}
.seller-line strong{font-size:14px}.product-description p,.product-description li{font-size:14px}
.review strong,.review p{font-size:13px}.review span,.review-summary span{font-size:11px}
.seller-card p,.boost-card p{font-size:12px}

/* Contraste e áreas de leitura */
.post-card,.composer,.side-card,.white-card,.market-product,.product-gallery,.product-summary{border-color:var(--ui-border)}
.post-copy,.product-description p,.product-description li,.request-card p{color:#4f5b72}
.page-content{padding-top:34px}
.shared-mobile-nav{display:none}

@media(max-width:1050px){
  .page-shell,.app-frame{grid-template-columns:88px minmax(0,1fr)}
  .sidebar,.app-sidebar{width:88px;padding:23px 15px}
  .logo,.app-logo{width:58px;height:58px;padding:0 0 20px;overflow:hidden}
  .logo img,.app-logo img{width:150px;max-width:none}
  .nav-item,.app-link{width:58px;min-height:52px;padding:14px;justify-content:center}
  .sidebar-login{width:58px;min-height:52px;padding:14px;justify-content:center}.sidebar-login span{display:none}
  .sidebar-account{width:58px;display:grid;gap:7px;justify-items:center}.sidebar-account .profile-mini{padding:0}.sidebar-account .profile-mini span:not(.avatar),.sidebar-logout span{display:none}.sidebar-logout{width:48px;min-height:42px;padding:0;justify-content:center}.sidebar-logout svg{width:20px;height:20px}
}
@media(max-width:760px){
  html,body{width:100%;max-width:100%;overflow-x:hidden}
  body{font-size:15px;padding-bottom:calc(76px + env(safe-area-inset-bottom))}
  .topbar,.app-topbar{height:68px;padding:0 13px}
  .community-actions{gap:5px}.community-action{width:42px;height:42px}.app-topbar .community-actions{margin-left:auto}.wallet-pill{display:none}
  .search,.app-search{height:46px}
  .welcome h1,.page-heading h1{font-size:27px}
  .post-copy{font-size:15px}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .app-main{max-width:100vw;overflow-x:hidden}
  .page-content{width:calc(100% - 12px);max-width:none;min-width:0;margin:0;padding-left:12px;padding-right:12px;overflow-x:hidden}
  .page-heading,.hero-market,.filter-row,.product-grid{max-width:100%;min-width:0}
  .hero-market{width:auto;margin-left:0;margin-right:0;overflow:hidden}
  .hero-market h2{font-size:27px;overflow-wrap:anywhere}
  .hero-market p{font-size:14px}
  .filter-row{overflow-x:auto;padding-bottom:3px}
  .product-grid{width:100%;gap:10px}
  .market-product{min-width:0}
  .product-visual{height:145px}
  .product-visual div,.product-info h3{overflow-wrap:anywhere}
  .product-info{padding:13px}
  .product-info h3{font-size:14px}
  .product-info p,.stars{font-size:11px}
  .stars{white-space:normal;overflow-wrap:anywhere}
  .price-buy{display:grid;gap:8px}
  .buy-btn{width:100%;margin:0}
  .shared-mobile-nav{
    position:fixed;
    z-index:80;
    inset-inline:0;
    bottom:0;
    height:calc(70px + env(safe-area-inset-bottom));
    padding:7px 8px env(safe-area-inset-bottom);
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    width:auto;
    max-width:none;
    overflow:hidden;
    align-items:center;
    background:rgba(255,255,255,.97);
    border-top:1px solid var(--ui-border);
    box-shadow:0 -8px 25px rgba(32,42,67,.08);
    backdrop-filter:blur(14px);
  }
  .shared-mobile-nav a{
    min-width:0;
    min-height:54px;
    border-radius:13px;
    display:grid;
    place-items:center;
    align-content:center;
    gap:3px;
    color:#7b8598;
    text-decoration:none;
    font:800 10px Nunito,sans-serif;
    padding:2px 0;
  }
  .shared-mobile-nav a.active{background:var(--coral-soft);color:var(--coral)}
  .shared-mobile-nav svg{width:21px;height:21px}
  .shared-mobile-nav a span{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .app-page .toast{bottom:88px}
  .favorite,.heart{display:grid;place-items:center;padding:0;font-size:16px;line-height:1;background:#fff;color:var(--coral)}
}
@media(max-width:520px){
  .product-grid{grid-template-columns:1fr}
  .product-visual{height:170px}
  .product-info{padding:15px}
  .price-buy{display:flex;align-items:center}
  .buy-btn{width:auto;margin-left:auto}
}

/* Login elegante, centralizado e independente do layout do aplicativo */
body.login-page{
  width:100%;
  min-height:100dvh;
  margin:0;
  padding:32px;
  overflow-x:hidden;
  display:grid;
  place-items:center;
  background:
    radial-gradient(circle at 15% 20%,rgba(255,107,139,.11),transparent 30%),
    radial-gradient(circle at 85% 78%,rgba(135,109,195,.12),transparent 32%),
    linear-gradient(135deg,#fff8fa,#f7f4fc);
}
.login-shell{
  width:min(1080px,100%);
  min-height:680px;
  margin:auto;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);
  border:1px solid rgba(222,222,232,.8);
  border-radius:30px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 30px 90px rgba(50,39,77,.14);
}
.login-brand{
  min-width:0;
  padding:64px 60px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:
    radial-gradient(circle at 85% 15%,rgba(255,107,139,.22),transparent 25%),
    linear-gradient(145deg,#202e54,#50457d);
}
.login-brand img{width:155px;margin-bottom:auto}
.login-brand>span{margin-top:60px;font-size:11px}
.login-brand h1{max-width:440px;font-size:40px;line-height:1.15}
.login-brand p{max-width:470px;font-size:14px}
.login-points{margin-top:30px;font-size:13px}
.login-card{
  min-width:0;
  width:100%;
  padding:54px 48px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:12px;
}
.login-card>div:first-child{margin-bottom:5px}
.login-card h2{font-size:30px;margin:5px 0}
.login-card p{font-size:12px}
#socialArea{display:grid;grid-template-columns:1fr;gap:9px}
.social-login{
  width:100%;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  font-size:12px;
  cursor:pointer;
}
.login-divider{width:100%;margin:15px 0 2px}
.login-card label{width:100%;font-size:12px}
.login-card input{width:100%;height:48px;padding:0 14px;font-size:13px}
.login-submit{width:100%;min-height:48px;margin-top:7px;font-size:13px}
.create-account,.back-link{font-size:11px}

@media(max-width:900px){
  body.login-page{padding:24px}
  .login-shell{width:min(520px,100%);min-height:auto;grid-template-columns:1fr;border-radius:24px}
  .login-brand{display:none}
  .login-card{padding:42px 38px}
}
@media(max-width:520px){
  body.login-page{
    min-height:100dvh;
    padding:14px;
    display:flex;
    align-items:center;
    justify-content:center;
  }
  .login-shell{
    flex:0 0 auto;
    width:100%;
    max-width:360px;
    min-width:0;
    margin:0;
    border-radius:22px;
  }
  .login-card{width:100%;min-width:0;padding:30px 22px;gap:11px}
  .login-card>*{max-width:100%;min-width:0}
  .login-card h2{font-size:27px}
  .login-card p{font-size:12px;line-height:1.5}
  .social-login{height:48px;font-size:11px}
  .login-card input{height:48px}
  .create-account{display:flex;justify-content:center;gap:4px;flex-wrap:wrap}
}

/* Biblioteca de compras */
.purchases-page{max-width:1380px}
.purchase-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}
.purchase-stats article{position:relative;overflow:hidden;min-height:132px;padding:22px;border:1px solid #ece8f0;border-radius:20px;background:#fff;box-shadow:0 8px 28px rgba(32,40,68,.05)}
.purchase-stats article::after{content:"";position:absolute;right:-25px;bottom:-35px;width:105px;height:105px;border-radius:50%;background:rgba(255,107,139,.09)}
.purchase-stats article:nth-child(2)::after{background:rgba(132,113,193,.11)}
.purchase-stats article:nth-child(3)::after{background:rgba(94,196,179,.13)}
.purchase-stats span,.purchase-stats small{display:block;color:#73798b;font-size:13px}
.purchase-stats strong{display:block;margin:8px 0 2px;color:#182544;font:600 28px/1.1 Fredoka,sans-serif}
.purchase-list{padding:22px;border:1px solid #ece8f0;border-radius:22px;background:#fff;box-shadow:0 8px 28px rgba(32,40,68,.05)}
.purchase-list-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px}
.purchase-list-head h2{margin:0 0 3px;color:#182544;font:600 21px/1.2 Fredoka,sans-serif}
.purchase-list-head p{margin:0;color:#73798b;font-size:13px}
.purchase-list-head>span{padding:7px 12px;border-radius:999px;background:#fff0f4;color:#ed5779;font-size:12px;font-weight:800}
.purchase-card{display:grid;grid-template-columns:132px minmax(0,1fr) 170px;gap:20px;align-items:center;padding:18px 0;border-top:1px solid #efedf2}
.purchase-cover{display:flex;flex-direction:column;justify-content:flex-end;aspect-ratio:1.2;min-height:108px;overflow:hidden;padding:14px;border-radius:17px;background:linear-gradient(145deg,#f9dce6,#e8e1f6);color:#182544;text-decoration:none}
.purchase-cover img{width:100%;height:100%;object-fit:cover}
.purchase-cover:has(img){padding:0}
.purchase-cover span{color:#ed5779;font:600 14px Fredoka,sans-serif}.purchase-cover strong{font-size:14px;line-height:1.25}
.purchase-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.purchase-meta small{color:#84899a;font-size:12px}
.purchase-status{padding:5px 9px;border-radius:999px;background:#f1f1f4;color:#696f80;font-size:11px;font-weight:900}
.purchase-status.paid{background:#e8f8f2;color:#27896f}.purchase-status.pending,.purchase-status.disputed{background:#fff6da;color:#997625}.purchase-status.cancelled,.purchase-status.refunded{background:#fff0f3;color:#c6566e}
.purchase-info h3{margin:10px 0 4px;font:600 18px/1.2 Fredoka,sans-serif}.purchase-info h3 a{color:#182544;text-decoration:none}
.purchase-info p{margin:0;color:#73798b;font-size:13px}.purchase-info p strong{color:#4c5368}
.purchase-review{display:flex;align-items:center;gap:9px;margin-top:11px;font-size:12px}.purchase-review a{color:#ed5779;font-weight:900}.purchase-review small{color:#84899a}.purchase-stars{color:#f3b33d;font-size:15px;letter-spacing:1px}
.purchase-actions{display:flex;flex-direction:column;align-items:stretch;gap:8px}.purchase-actions>strong{margin-bottom:3px;color:#182544;font:600 20px Fredoka,sans-serif;text-align:right}
.purchase-actions .primary-action,.purchase-actions .secondary-action{display:flex;align-items:center;justify-content:center;min-height:40px;padding:9px 12px;border-radius:11px;font-size:12px;text-decoration:none}
.purchase-empty{display:grid;place-items:center;min-height:350px;padding:45px;text-align:center}.purchase-empty-icon{display:grid;place-items:center;width:68px;height:68px;border-radius:20px;background:#fff0f4;color:#ed5779}.purchase-empty-icon svg{width:30px}.purchase-empty h2{margin:18px 0 5px;font:600 23px Fredoka,sans-serif}.purchase-empty p{max-width:440px;margin:0 0 20px;color:#73798b;font-size:14px}

@media(max-width:900px){
  .purchase-card{grid-template-columns:105px minmax(0,1fr)}.purchase-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.purchase-actions>strong{grid-column:1/-1;text-align:left}
}
@media(max-width:700px){
  .purchase-stats{grid-template-columns:1fr;gap:10px}.purchase-stats article{min-height:auto;padding:17px}.purchase-list{padding:16px}.purchase-card{grid-template-columns:86px minmax(0,1fr);gap:13px}.purchase-cover{min-height:86px;padding:9px}.purchase-cover strong{font-size:11px}.purchase-meta{display:block}.purchase-meta small{display:block;margin-top:5px}.purchase-info h3{font-size:16px}.purchase-info p{font-size:12px}.purchase-review{align-items:flex-start;flex-direction:column;gap:3px}.purchase-actions{grid-template-columns:1fr}.purchase-actions>strong{font-size:18px}.purchase-list-head p{display:none}
}

/* Postagens no perfil */
.profile-posts{max-width:780px;margin:28px auto 0}
.profile-section-title{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:15px}
.profile-section-title h2{margin:4px 0 2px;color:#182544;font:600 24px/1.2 Fredoka,sans-serif}
.profile-section-title p{margin:0;color:#858b9b;font-size:13px}
.profile-section-title .primary-action{text-decoration:none}
.profile-post-list{display:grid;gap:14px}
.profile-post-card,.profile-post-empty{padding:20px;border:1px solid #e8e6ed;border-radius:20px;background:#fff;box-shadow:0 8px 28px rgba(32,40,68,.05)}
.profile-post-category{margin-left:auto;padding:6px 10px;border-radius:999px;background:#f2edff;color:#745ead;font-size:11px;font-weight:900}
.profile-post-copy{margin:17px 0;color:#343b50;font-size:15px;line-height:1.65}
.profile-post-image{display:block;width:100%;max-height:520px;object-fit:cover;border-radius:16px}
.profile-post-stats{display:flex;justify-content:space-between;margin-top:15px;padding-top:13px;border-top:1px solid #efedf2;color:#858b9b;font-size:12px}
.profile-post-stats span:first-child{color:#ed5779;font-weight:800}
.profile-comment-form{display:flex;gap:8px;margin-top:13px}.profile-comment-form input{min-width:0;flex:1;border:1px solid #e1dfe7;border-radius:11px;padding:10px 12px;font:600 12px Nunito}.profile-comment-form button{border:0;border-radius:10px;background:#182544;color:#fff;padding:0 13px;font-size:11px;font-weight:900}

/* Autenticação contextual */
body.auth-modal-open{overflow:hidden}
.auth-modal-backdrop{position:fixed;z-index:300;inset:0;display:none;place-items:center;padding:22px;background:rgba(24,37,68,.48);backdrop-filter:blur(8px)}
.auth-modal-backdrop.open{display:grid}
.auth-modal-card{position:relative;width:min(900px,100%);max-height:calc(100dvh - 44px);display:grid;grid-template-columns:minmax(300px,.85fr) minmax(390px,1.15fr);overflow:auto;border:1px solid rgba(255,255,255,.7);border-radius:28px;background:#fff;box-shadow:0 35px 100px rgba(24,37,68,.28)}
.auth-modal-close{position:absolute;z-index:2;right:16px;top:16px;width:36px;height:36px;border:0;border-radius:50%;background:#f3f1f5;color:#697187;font-size:22px;cursor:pointer}
.auth-modal-brand{padding:48px 38px;display:flex;flex-direction:column;justify-content:center;background:radial-gradient(circle at 80% 15%,rgba(255,107,139,.3),transparent 26%),linear-gradient(145deg,#202e54,#51457d);color:#fff}
.auth-modal-brand img{width:145px;margin-bottom:48px;filter:brightness(0) invert(1)}.auth-modal-brand>span{color:#ffd2dc;font-size:10px;font-weight:900;letter-spacing:1.5px}.auth-modal-brand h2{margin:10px 0;font:600 31px/1.15 Fredoka}.auth-modal-brand p{margin:0 0 22px;color:#d7dbea;font-size:13px;line-height:1.6}.auth-modal-brand div{display:flex;align-items:center;gap:10px;margin-top:9px;color:#eef0f7;font-size:12px;font-weight:800}.auth-modal-brand div b{width:27px;height:27px;display:grid;place-items:center;border-radius:9px;background:#ffffff18;color:#ffd3dd}
.auth-modal-form{padding:46px 46px 34px;display:flex;flex-direction:column;justify-content:center;gap:9px}.auth-modal-form h2{margin:3px 0;font:600 29px Fredoka}.auth-modal-form>p{margin:0 0 6px;color:#7b8394;font-size:12px}.auth-modal-form label{font-size:11px;font-weight:900;color:#4b556b}.auth-modal-form input{width:100%;height:46px;margin-top:4px;padding:0 13px;border:1px solid #dedde5;border-radius:11px;outline:none;font:600 12px Nunito}.auth-modal-form input:focus{border-color:#ff91a8;box-shadow:0 0 0 3px #fff0f4}.auth-modal-form #modalRegisterFields{display:grid;gap:8px}.auth-modal-form #modalRegisterFields[hidden],.auth-modal-form #modalSocialArea[hidden]{display:none}.auth-modal-submit{width:100%;margin-top:5px}.auth-modal-message{min-height:18px;text-align:center;color:#35927c;font-size:11px;font-weight:800}.auth-modal-message.error{color:#d65270}

/* Página de login refinada */
.login-brand{position:relative;overflow:hidden}.login-brand::after{content:"";position:absolute;right:-90px;bottom:-100px;width:260px;height:260px;border-radius:50%;background:#ff6b8b22}.login-points span{display:flex;align-items:center;gap:10px}.login-points b{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:#ffffff17;color:#ffd3dc}.login-proof{position:relative;z-index:1;margin-top:auto;padding:18px;border:1px solid #ffffff18;border-radius:16px;background:#ffffff0d;display:grid}.login-proof strong{font:600 23px Fredoka}.login-proof span{color:#d9ddea;font-size:11px}.login-card input:focus{outline:none;border-color:#ff91a8;box-shadow:0 0 0 3px #fff0f4}.social-login{cursor:pointer;transition:.2s}.social-login:hover{transform:translateY(-1px);border-color:#ffb1c0;box-shadow:0 7px 18px rgba(55,45,75,.07)}
@media(max-width:760px){.auth-modal-backdrop{padding:12px}.auth-modal-card{display:block;width:min(430px,100%);border-radius:22px}.auth-modal-brand{display:none}.auth-modal-form{padding:40px 22px 24px}.auth-modal-form h2{font-size:26px}.auth-modal-close{right:11px;top:11px}}

/* Botões sociais delicados */
.social-login-list{display:grid;grid-template-columns:1fr;gap:8px}
.social-login-list .social-login{width:100%;min-height:54px;height:auto;display:flex;align-items:center;justify-content:flex-start;gap:11px;padding:8px 11px;border:1px solid #e6e3eb;border-radius:14px;background:#fff;color:#354057;text-align:left;cursor:pointer;transition:.2s}
.social-login-list .social-login>span:nth-child(2){min-width:0;display:grid;gap:1px;flex:1}
.social-login-list .social-login strong{font:800 12px Nunito}.social-login-list .social-login small{color:#9298a7;font:600 10px Nunito}.social-login-list .social-login i{color:#b2b5c0;font-style:normal;font-size:15px}
.social-mark{width:34px;height:34px;flex:0 0 34px;display:grid!important;place-items:center;border-radius:11px;font:900 15px Nunito}
.google-mark{background:#fff;border:1px solid #e9e6ec;color:#4285f4}.papelariaon-mark{overflow:hidden;background:#8b4eff}.papelariaon-mark img{width:100%;height:100%;object-fit:cover}
.social-login-list .social-login.papelariaon{background:#fbf9ff;border-color:#e8e0fb}
.social-login-list .social-login:hover{transform:translateY(-1px);border-color:#ffc0ce;background:#fffbfc;box-shadow:0 8px 20px rgba(55,45,75,.07)}
.profile-post-empty{display:grid;place-items:center;min-height:270px;padding:38px;text-align:center}
.profile-post-empty>span{display:grid;place-items:center;width:64px;height:64px;border-radius:19px;background:#fff0f4;color:#ed5779}
.profile-post-empty svg{width:28px}.profile-post-empty h3{margin:16px 0 4px;font:600 21px Fredoka,sans-serif}.profile-post-empty p{max-width:430px;margin:0 0 18px;color:#7d8495;font-size:14px}.profile-post-empty a{text-decoration:none}
@media(max-width:700px){.profile-section-title{align-items:start;flex-direction:column}.profile-post-card{padding:15px}.profile-post-copy{font-size:14px}.profile-post-category{font-size:9px}.profile-posts{margin-top:22px}}

.story-create-modal{max-height:min(760px,92vh);overflow:auto}
.story-hint{margin:16px 0;color:#747c8e;font-size:13px;line-height:1.5}
.story-drop{min-height:170px;border:2px dashed #f2b4c2;border-radius:18px;background:#fff8fa;display:grid;place-items:center;align-content:center;gap:7px;text-align:center;cursor:pointer;padding:24px;color:#697187}
.story-drop input{display:none}.story-drop span{width:48px;height:48px;border-radius:16px;background:#ff6b8b;color:#fff;display:grid;place-items:center;font-size:27px}.story-drop strong{color:#182544;font-size:14px}.story-drop small{font-size:11px}
.story-preview{margin-top:14px;border-radius:18px;overflow:hidden;background:#182544;max-height:360px}.story-preview img,.story-preview video{display:block;width:100%;max-height:360px;object-fit:contain}
.story-upload-status{min-height:20px;margin-top:10px;color:#7a8190;font-size:12px;font-weight:700}
.story-viewer{z-index:350;background:rgba(13,20,39,.88)}.story-viewer.open{display:grid}.story-view-content{width:min(430px,92vw);height:min(760px,84vh);display:grid;grid-template-rows:auto 1fr;gap:10px;color:#fff}.story-view-content>strong{font:600 16px Fredoka}.story-view-content>div{min-height:0;display:grid;place-items:center}.story-view-content img,.story-view-content video{max-width:100%;max-height:100%;border-radius:20px;box-shadow:0 22px 70px #0008}
.story-view-close{position:fixed;top:20px;right:24px;width:42px;height:42px;border:0;border-radius:50%;background:#ffffff1c;color:#fff;font-size:27px;cursor:pointer}
.feed-sync-note{background:#182544;color:#fff;border:0;border-radius:999px;padding:9px 15px;font:800 11px Nunito}
.post-media-preview{position:relative;margin:8px 0 12px;border-radius:16px;overflow:hidden;background:#f4f3f7}.post-media-preview img{display:block;width:100%;max-height:330px;object-fit:contain}.post-media-preview button{position:absolute;right:10px;top:10px;border:0;width:32px;height:32px;border-radius:50%;background:#182544dd;color:#fff;font-size:20px}
.post-video-field{margin:8px 0 12px;padding:13px;border:1px solid #e8e6ed;border-radius:14px;background:#faf9fb}.post-video-field label{display:grid;gap:6px;font-size:12px;font-weight:800}.post-video-field input{width:100%;border:1px solid #dedce5;border-radius:10px;padding:11px;font:600 12px Nunito;outline:0}.post-video-field small,.composer-message{display:block;margin-top:7px;color:#818797;font-size:11px}.composer-message{min-height:16px;color:#c64e70;font-weight:700}
.modal-tools button{display:flex;align-items:center;gap:5px}.modal-tools svg{width:15px;color:#ff6b8b}
.post-video{position:relative;width:100%;aspect-ratio:16/9;margin-top:12px;border-radius:14px;overflow:hidden;background:#182544}.post-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.comments-panel{margin-top:8px;padding-top:10px;border-top:1px solid #f0edf2}.comments-list{display:grid;gap:10px}.feed-comment{display:flex;align-items:flex-start;gap:9px}.feed-comment>.avatar{width:31px;height:31px;flex-basis:31px;font-size:8px;text-decoration:none}.feed-comment>div{min-width:0;flex:1;background:#f8f7fa;border-radius:4px 13px 13px 13px;padding:8px 11px}.feed-comment p{display:flex;align-items:center;gap:6px;margin:0 0 2px}.feed-comment strong{font-size:11px}.feed-comment small{color:#9a9fad;font-size:9px}.feed-comment span{display:block;color:#555f73;font-size:11px;line-height:1.45}.comments-empty,.comments-loading{padding:10px;text-align:center;color:#969cab;font-size:11px}
.rank-row{color:#182544;text-decoration:none;border-radius:13px;padding-inline:8px;transition:.18s}.rank-row:hover{background:#fff6f8;transform:translateX(2px)}.rank-row p b,.rank-row p small,.rank-row .points{text-decoration:none}
.profile-follow{min-height:42px;border:0;border-radius:12px;padding:0 18px;background:linear-gradient(135deg,#ff6b8b,#f45c7d);color:#fff;font:900 12px Nunito;box-shadow:0 8px 19px #ff6b8b35;cursor:pointer}.profile-follow.following{background:#fff;border:1px solid #eadde2;color:#b75470;box-shadow:none}.profile-follow:disabled{opacity:.6}.profile-share{background:#fffafb}
.avatar img,.story-ring img{width:100%;height:100%;border-radius:50%;object-fit:cover}.search>button{display:none;border:0;background:var(--coral);color:#fff;border-radius:9px;width:34px;height:34px;flex:0 0 34px;place-items:center}.search>button svg{width:16px;color:#fff}
.delete-post{margin-left:auto;border:0;background:#fff0f3;color:#c84d68;border-radius:8px;padding:7px 9px;font:800 10px Nunito}.story-view-content{position:relative;grid-template-rows:auto auto 1fr!important}.story-progress{display:flex!important;gap:4px;min-height:auto!important}.story-progress i{height:3px;flex:1;background:#ffffff55;border-radius:4px}.story-progress i.active{background:#fff}.story-view-head{display:flex!important;align-items:center;justify-content:space-between;min-height:auto!important}.story-view-head div{display:grid!important;place-items:start!important}.story-view-head small{color:#ffffffaa}.story-view-head button{border:0;background:#ffffff22;color:#fff;border-radius:8px;padding:7px 10px}.story-arrow{position:absolute;z-index:2;top:50%;border:0;background:#ffffff22;color:#fff;width:38px;height:52px;border-radius:12px;font-size:30px}.story-arrow.prev{left:-48px}.story-arrow.next{right:-48px}.story-view-content #storyViewerMedia{min-height:0;display:grid;place-items:center}
@media(max-width:650px){.rightbar{display:block!important;margin-top:18px}.rightbar .categories,.rightbar .ranking{display:none}.rightbar .marketplace{display:block}.story-arrow.prev{left:4px}.story-arrow.next{right:4px}.topbar .mobile-menu{display:none}.search kbd{display:none}.search>button{display:grid}.shared-mobile-nav{grid-template-columns:repeat(6,1fr)}.shared-mobile-nav a{font-size:8px;padding-inline:2px}}
.story-progress i.done{background:#fff}.story-progress i.playing{overflow:hidden}.story-progress i.playing:after{content:"";display:block;width:100%;height:100%;background:#fff;transform-origin:left;animation:storyProgress var(--story-duration,5s) linear forwards}@keyframes storyProgress{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.shared-mobile-nav button{border:0;background:none;color:#7b8598;border-radius:13px;display:grid;place-items:center;align-content:center;gap:3px;font:800 10px Nunito,sans-serif}.shared-mobile-nav button svg{width:21px;height:21px}.mobile-more-backdrop,.mobile-more-sheet{display:none}
.shared-mobile-nav button.active{background:var(--coral-soft);color:var(--coral)}
@media(max-width:760px){.shared-mobile-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.app-page .app-topbar{display:none}.app-page .page-content{padding-top:18px;padding-bottom:100px}.mobile-more-backdrop{position:fixed;display:block;visibility:hidden;opacity:0;inset:0;z-index:88;background:#18254488;transition:.2s}.mobile-more-sheet{position:fixed;display:block;z-index:89;left:10px;right:10px;bottom:-420px;padding:18px;border-radius:24px 24px 0 0;background:#fff;box-shadow:0 -20px 60px #18254433;transition:.25s}.mobile-more-sheet>div{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;font:600 20px Fredoka}.mobile-more-sheet>div button{border:0;background:#f3f1f5;border-radius:50%;width:34px;height:34px;font-size:22px}.mobile-more-sheet nav{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mobile-more-sheet a{display:flex;align-items:center;gap:10px;padding:15px;border-radius:14px;background:#faf8fb;color:#182544;text-decoration:none;font-weight:900}.mobile-more-sheet svg{width:20px;color:var(--coral)}.mobile-more-open .mobile-more-backdrop{visibility:visible;opacity:1}.mobile-more-open .mobile-more-sheet{bottom:0}}
@media(max-width:760px){.mobile-more-sheet a,.mobile-more-sheet nav button{display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:15px;border:0;border-radius:14px;background:#faf8fb;color:#182544;text-decoration:none;font:900 13px Nunito}.mobile-more-sheet nav button svg{width:20px;color:var(--coral)}}
