.orkutis-gostou{position:relative;margin-top:8px;display:flex;align-items:center;gap:7px;flex-wrap:wrap;font-size:12px}
.orkutis-gostou-button{border:0;background:transparent;color:#315b9a;padding:0;font:inherit;font-weight:700;cursor:pointer;text-decoration:underline}
.orkutis-gostou-picker{display:none;position:absolute;left:0;top:24px;z-index:40;background:#fff;border:1px solid #b9cbe5;border-radius:5px;box-shadow:0 3px 10px rgba(0,0,0,.16);padding:5px;gap:3px;white-space:nowrap}
.orkutis-gostou.open .orkutis-gostou-picker{display:flex}
.orkutis-gostou-emoji{border:1px solid transparent;background:transparent;border-radius:4px;cursor:pointer;font-size:20px;line-height:1;padding:4px}
.orkutis-gostou-emoji:hover,.orkutis-gostou-emoji.selected{background:#edf4ff;border-color:#9dbce8}
.orkutis-gostou-summary{display:flex;align-items:center;gap:4px;color:#6a6a6a}
.orkutis-gostou-count{white-space:nowrap}
.orkutis-gostou-activities{margin:0 0 14px;border:1px solid #c9d8ed;background:#f7faff;border-radius:4px;overflow:hidden}
.orkutis-gostou-activities[hidden]{display:none!important}
.orkutis-gostou-activities-title{margin:0;padding:8px 10px;background:#e4edf9;color:#315b9a;font-size:13px;font-weight:700}
.orkutis-gostou-activity{display:flex;gap:9px;padding:9px 10px;border-top:1px solid #e3eaf3;align-items:flex-start}
.orkutis-gostou-activity:first-child{border-top:0}
.orkutis-gostou-activity-avatar{width:32px;height:32px;border-radius:3px;object-fit:cover;flex:0 0 auto}
.orkutis-gostou-activity-body{min-width:0;font-size:12px;line-height:1.4;color:#444}
.orkutis-gostou-activity-body a{color:#315b9a;font-weight:700;text-decoration:none}
.orkutis-gostou-activity-excerpt{display:block;color:#777;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:560px}
@media(max-width:600px){.orkutis-gostou-picker{position:fixed;left:8px;top:0;right:auto;bottom:auto;transform:none;z-index:2147483640!important}.orkutis-gostou-emoji{font-size:23px}.orkutis-gostou-activity-excerpt{max-width:240px}}



.orkutis-gostou-activity-main{margin-bottom:2px}
.orkutis-gostou-activity-actions{margin-top:4px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.orkutis-gostou-view,.orkutis-gostou-read{border:0;background:transparent;color:#2b65ad;font-size:12px;padding:0;cursor:pointer;text-decoration:underline;font-weight:700}
.orkutis-gostou-view:hover,.orkutis-gostou-read:hover{color:#174a87}
.orkutis-gostou-read:disabled{opacity:.55;cursor:default}
.orkutis-gostou-pagination{display:flex;justify-content:center;align-items:center;gap:4px;padding:9px 10px;border-top:1px solid #e3eaf3;background:#fff}
.orkutis-gostou-page{min-width:26px;height:26px;padding:0 7px;border:1px solid #b9cbe5;background:#fff;color:#315b9a;border-radius:3px;cursor:pointer;font-size:12px}
.orkutis-gostou-page:hover,.orkutis-gostou-page.active{background:#315b9a;color:#fff;border-color:#315b9a}

/* Integração do gostou? em fotos e tópicos do feed */
.friend-photo-feed-actions .orkutis-gostou,
.post-topic-action-group .orkutis-gostou{margin-top:0}
.post-topic-action-group{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.photo-gostou-card{display:flex;align-items:center;margin-top:6px}
.photo-gostou-card .orkutis-gostou{margin-top:0}
@media(max-width:600px){
  .post-topic-action-group{gap:8px}
  .friend-photo-feed-actions{flex-wrap:wrap}
}


/* Feed: exibe sempre o conjunto completo de emoticons do gostou? */
.friend-photo-feed-actions,
.friend-photo-feed-footer,
.post-topic-action-group,
.post-topic-footer{overflow:visible!important}
.friend-photo-feed-actions .orkutis-gostou,
.post-topic-action-group .orkutis-gostou{position:relative;overflow:visible!important}
.friend-photo-feed-actions .orkutis-gostou-picker,
.post-topic-action-group .orkutis-gostou-picker{
  min-width:max-content;
  width:max-content;
  flex-wrap:nowrap;
  align-items:center;
  overflow:visible!important;
}
.friend-photo-feed-actions .orkutis-gostou.open .orkutis-gostou-picker,
.post-topic-action-group .orkutis-gostou.open .orkutis-gostou-picker{display:flex!important}

/* ===== Feed: seletor "gostou?" sempre acima dos cards/coluna lateral ===== */
.posts-main-card:has(.orkutis-gostou.open),
.community-post-card:has(.orkutis-gostou.open),
.friend-photo-feed-card:has(.orkutis-gostou.open),
.post-topic-card:has(.orkutis-gostou.open),
.community-post-content:has(.orkutis-gostou.open),
.friend-photo-feed-area:has(.orkutis-gostou.open),
.friend-photo-feed-footer:has(.orkutis-gostou.open),
.friend-photo-feed-actions:has(.orkutis-gostou.open),
.post-topic-area:has(.orkutis-gostou.open),
.post-topic-footer:has(.orkutis-gostou.open),
.post-topic-action-group:has(.orkutis-gostou.open){
  overflow:visible!important;
}

.community-post-card:has(.orkutis-gostou.open),
.friend-photo-feed-card:has(.orkutis-gostou.open),
.post-topic-card:has(.orkutis-gostou.open){
  position:relative!important;
  z-index:2147483000!important;
}

.orkutis-gostou.open{
  position:relative!important;
  z-index:2147483600!important;
}

.orkutis-gostou.open .orkutis-gostou-picker{
  z-index:2147483640!important;
  overflow:visible!important;
  isolation:isolate;
}

/* Garante que a caixa não seja coberta pela coluna lateral no desktop */
@media (min-width:601px){
  .friend-photo-feed-actions .orkutis-gostou-picker,
  .post-topic-action-group .orkutis-gostou-picker{
    top:22px;
  }
}


/* Comunidades: tópico aberto, respostas e replies */
.topic-post-actions .orkutis-gostou-host{display:inline-flex;align-items:center}
.topic-post-actions .orkutis-gostou{margin-top:0;position:relative;overflow:visible!important}
.topic-post-actions .orkutis-gostou-picker{z-index:99999}
.topic-post:has(.orkutis-gostou.open),
.topic-post-body:has(.orkutis-gostou.open),
.topic-post-actions:has(.orkutis-gostou.open){overflow:visible!important;position:relative;z-index:99990}
