/* LastBro v18: post cards, buttons, responsive feed/my_feed */
.lb-post-card .card-body,.lb-wall-post-card .card-body{padding-left:1rem!important;padding-right:1rem!important;box-sizing:border-box!important;}
.lb-post-header-row,.lb-wall-post-card .card-body>.d-flex:first-child{align-items:flex-start!important;gap:8px!important;width:100%!important;}
.lb-post-author-link{min-width:0!important;}
.lb-post-author-name{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;}
.lb-post-profile-pill{display:inline-flex!important;align-items:center!important;width:max-content!important;margin-top:4px!important;padding:2px 8px!important;border-radius:999px!important;background:#101820!important;border:1px solid #26384c!important;color:#9ed0ff!important;font-size:11px!important;font-weight:800!important;line-height:1.2!important;}
.lb-post-top-actions,.lb-wall-post-card .card-body>.d-flex:first-child>.post-actions{margin-left:auto!important;justify-content:flex-end!important;align-items:center!important;gap:5px!important;flex-wrap:nowrap!important;max-width:max-content!important;}
.lb-post-top-actions .post-action-compact,.lb-wall-post-card .post-action-compact{min-height:26px!important;height:26px!important;padding:0 7px!important;font-size:11px!important;line-height:1!important;border-radius:999px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0!important;white-space:nowrap!important;}
.post-content{padding-left:14px!important;padding-right:14px!important;margin-bottom:10px!important;overflow-wrap:anywhere!important;}
.post-content img,.post-content video{display:block!important;margin-left:auto!important;margin-right:auto!important;max-width:100%!important;height:auto!important;border-radius:16px!important;}
.lb-post-actions-row{justify-content:flex-start!important;align-items:center!important;width:100%!important;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch!important;padding:2px 0 4px!important;scrollbar-width:none!important;}
.lb-post-actions-row::-webkit-scrollbar{display:none!important;}
.lb-post-reaction-actions{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:6px!important;flex-wrap:nowrap!important;width:auto!important;max-width:100%!important;min-width:0!important;}
.lb-post-reaction-actions .btn,.lbv-post-share .lbv-share-copy-only .lbv-copy{flex:0 0 auto!important;margin:0!important;border-radius:999px!important;min-height:30px!important;height:30px!important;padding:0 8px!important;font-size:12px!important;font-weight:800!important;line-height:1!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;white-space:nowrap!important;box-sizing:border-box!important;}
.lb-post-reaction-actions .like-btn,.lb-post-reaction-actions .dislike-btn{width:52px!important;min-width:52px!important;max-width:52px!important;padding:0 6px!important;}
.lb-post-reaction-actions .comment-btn{min-width:94px!important;max-width:110px!important;padding:0 9px!important;}
.lbv-post-share{display:inline-flex!important;align-items:center!important;flex:0 0 auto!important;margin:0!important;padding:0!important;}
.lbv-post-share .lbv-share{margin:0!important;padding:0!important;display:inline-flex!important;background:transparent!important;}
.lbv-post-share .lbv-copy{min-width:82px!important;max-width:94px!important;background:#1d9bf0!important;color:#fff!important;-webkit-text-fill-color:#fff!important;padding-left:9px!important;padding-right:9px!important;}
.post-action-label.lb-like-label,.post-action-label.lb-dislike-label{display:none!important;}
.post-action-icon{font-size:13px!important;line-height:1!important;}
.reaction-count{font-size:12px!important;line-height:1!important;font-weight:900!important;}
.lb-feed-more-wrap{display:flex!important;justify-content:center!important;align-items:center!important;padding:12px 0 18px!important;}
.lb-load-link{background:#1d9bf0!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:0!important;border-radius:999px!important;padding:10px 18px!important;font-weight:900!important;}
@media(max-width:640px){
  .lb-post-card .card-body,.lb-wall-post-card .card-body{padding-left:12px!important;padding-right:12px!important;}
  .lb-post-header-row,.lb-wall-post-card .card-body>.d-flex:first-child{gap:6px!important;}
  .lb-post-top-actions,.lb-wall-post-card .card-body>.d-flex:first-child>.post-actions{gap:4px!important;}
  .lb-post-top-actions .post-action-compact,.lb-wall-post-card .post-action-compact{height:24px!important;min-height:24px!important;padding:0 6px!important;font-size:10px!important;}
  .post-content{padding-left:12px!important;padding-right:12px!important;}
  .lb-post-reaction-actions{gap:5px!important;}
  .lb-post-reaction-actions .btn,.lbv-post-share .lbv-share-copy-only .lbv-copy{height:28px!important;min-height:28px!important;font-size:11px!important;}
  .lb-post-reaction-actions .like-btn,.lb-post-reaction-actions .dislike-btn{width:42px!important;min-width:42px!important;max-width:42px!important;padding:0 4px!important;}
  .lb-post-reaction-actions .comment-btn{min-width:82px!important;max-width:90px!important;padding:0 6px!important;}
  .lbv-post-share .lbv-copy{min-width:72px!important;max-width:82px!important;padding-left:6px!important;padding-right:6px!important;}
  .post-action-icon{font-size:12px!important;}
  .reaction-count{font-size:11px!important;}
  .lb-post-profile-pill{font-size:10px!important;padding:2px 7px!important;}
}
@media(max-width:360px){
  .lb-post-reaction-actions{gap:4px!important;}
  .lb-post-reaction-actions .like-btn,.lb-post-reaction-actions .dislike-btn{width:38px!important;min-width:38px!important;max-width:38px!important;}
  .lb-post-reaction-actions .comment-btn{min-width:76px!important;max-width:82px!important;font-size:10px!important;}
  .lbv-post-share .lbv-copy{min-width:66px!important;max-width:76px!important;font-size:10px!important;}
}

/* LastBro v20: centrování všech ikon/SVG v tlačítkách a interaktivních prvcích + XP vypnuto */
body.lb-lastbro-page :where(
  button,
  .btn,
  a.lastbros-link,
  .lastbros-link,
  .lb-icon-status,
  .lb-icon-svg,
  .lb-mobile-toggle,
  .lb-search-submit,
  .post-action-compact,
  .like-btn,
  .dislike-btn,
  .comment-btn,
  .lbv-copy,
  .lb-load-link,
  .lb-lastbro-plus-btn,
  .lb-lastbro-send-btn,
  .lb-emoji-btn,
  .lb-comment-send-btn,
  .lb-comment-emoji-btn,
  .lb-preview-close,
  .lb-fb-emoji-tab,
  .lb-fb-emoji-item
){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  vertical-align:middle!important;
  text-align:center!important;
}
body.lb-lastbro-page :where(button,.btn,a.lastbros-link,.lastbros-link,.lb-icon-status,.post-action-compact,.like-btn,.dislike-btn,.comment-btn,.lbv-copy,.lb-load-link){
  gap:6px!important;
}
body.lb-lastbro-page :where(button,.btn,a,.lastbros-link,.lb-icon-status,.lb-search-submit,.post-action-compact,.like-btn,.dislike-btn,.comment-btn,.lbv-copy,.lb-load-link) :where(svg,img,.post-action-icon,.lb-icon-svg){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  vertical-align:middle!important;
  line-height:1!important;
  margin-top:0!important;
  margin-bottom:0!important;
}
body.lb-lastbro-page :where(button,.btn,a,.lastbros-link,.lb-icon-status,.lb-search-submit,.post-action-compact,.like-btn,.dislike-btn,.comment-btn,.lbv-copy,.lb-load-link) svg{
  display:block!important;
  transform:none!important;
  position:relative!important;
  top:0!important;
}
body.lb-lastbro-page .lb-icon-svg svg,
body.lb-lastbro-page .lb-search-icon{
  margin:auto!important;
}
body.lb-lastbro-page .reaction-count,
body.lb-lastbro-page .post-action-label,
body.lb-lastbro-page .lb-link-label{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
}
.lbv-level,.lbv-xp,.lbv-progress,.lbv-top-list strong{display:none!important;}


/* LastBro v21 visitor/nav/button polish */
body.lb-lastbro-page .lb-mobile-toggle{
  display:none!important;
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  min-height:40px!important;
  padding:0!important;
  border-radius:12px!important;
  background:#0b1118!important;
  border:1px solid #1f2d3d!important;
  color:#e9f4ff!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important;
}
@media(min-width:992px){
  body.lb-lastbro-page .lb-mobile-toggle,
  body.lb-lastbro-page .lb-mobile-menu{display:none!important;}
  body.lb-lastbro-page .lb-sidebar-right{display:none!important;}
  body.lb-lastbro-page .lb-shell{grid-template-columns:240px minmax(0,1fr)!important;max-width:1040px!important;}
}
@media(max-width:991px){
  body.lb-lastbro-page .lb-mobile-toggle{display:inline-flex!important;}
  body.lb-lastbro-page .lb-shell{grid-template-columns:1fr!important;}
}
body.lb-lastbro-page .lb-post-reaction-actions .like-btn,
body.lb-lastbro-page .lb-post-reaction-actions .dislike-btn,
body.lb-lastbro-page .lb-post-reaction-actions .comment-btn,
body.lb-lastbro-page .lbv-post-share .lbv-share-copy-only .lbv-copy,
body.lb-lastbro-page .lbv-share-copy-only .lbv-copy,
body.lb-lastbro-page .lb-load-link{
  background:#1d9bf0!important;
  border:1px solid #1d9bf0!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  border-radius:999px!important;
  box-shadow:none!important;
  text-shadow:none!important;
}
body.lb-lastbro-page .lb-post-reaction-actions .like-btn:hover,
body.lb-lastbro-page .lb-post-reaction-actions .dislike-btn:hover,
body.lb-lastbro-page .lb-post-reaction-actions .comment-btn:hover,
body.lb-lastbro-page .lbv-share-copy-only .lbv-copy:hover,
body.lb-lastbro-page .lb-load-link:hover{
  background:#1d9bf0!important;
  border-color:#1d9bf0!important;
  transform:none!important;
  box-shadow:none!important;
}
body.lb-lastbro-page .lb-post-reaction-actions{
  gap:7px!important;
}
body.lb-lastbro-page .lb-post-reaction-actions .like-btn,
body.lb-lastbro-page .lb-post-reaction-actions .dislike-btn{
  width:54px!important;
  min-width:54px!important;
  max-width:54px!important;
  height:32px!important;
  min-height:32px!important;
  font-weight:900!important;
}
body.lb-lastbro-page .lb-post-reaction-actions .comment-btn{
  min-width:104px!important;
  max-width:124px!important;
  height:32px!important;
  min-height:32px!important;
  padding:0 11px!important;
  font-weight:900!important;
}
body.lb-lastbro-page .lbv-post-share .lbv-share-copy-only .lbv-copy,
body.lb-lastbro-page .lbv-share-copy-only .lbv-copy{
  min-width:88px!important;
  max-width:102px!important;
  height:32px!important;
  min-height:32px!important;
  font-weight:900!important;
}
body.lb-lastbro-page .lbv-auth-actions a,
body.lb-lastbro-page .lbv-guest-cta .lbv-auth-actions a{
  min-height:46px!important;
  padding:0 24px!important;
  border-radius:999px!important;
  font-weight:900!important;
  letter-spacing:.01em!important;
  border:1px solid #1d9bf0!important;
  background:#1d9bf0!important;
  box-shadow:none!important;
}
body.lb-lastbro-page .lbv-auth-actions a.lbv-secondary,
body.lb-lastbro-page .lbv-guest-cta .lbv-auth-actions a.lbv-secondary{
  background:#0b1118!important;
  border:1px solid #243246!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important;
}
@media(max-width:640px){
  body.lb-lastbro-page .lb-post-reaction-actions{gap:5px!important;}
  body.lb-lastbro-page .lb-post-reaction-actions .like-btn,
  body.lb-lastbro-page .lb-post-reaction-actions .dislike-btn{width:42px!important;min-width:42px!important;max-width:42px!important;height:29px!important;min-height:29px!important;}
  body.lb-lastbro-page .lb-post-reaction-actions .comment-btn{min-width:82px!important;max-width:92px!important;height:29px!important;min-height:29px!important;padding:0 7px!important;}
  body.lb-lastbro-page .lbv-post-share .lbv-share-copy-only .lbv-copy,
  body.lb-lastbro-page .lbv-share-copy-only .lbv-copy{min-width:72px!important;max-width:84px!important;height:29px!important;min-height:29px!important;padding-left:7px!important;padding-right:7px!important;}
}


/* LastBro v22: čísla v reakčních tlačítkách blíže k ikonám */
body.lb-lastbro-page .lb-post-reaction-actions .like-btn,
body.lb-lastbro-page .lb-post-reaction-actions .dislike-btn,
body.lb-lastbro-page .lb-post-actions-bar .like-btn,
body.lb-lastbro-page .lb-post-actions-bar .dislike-btn{
  gap:2px!important;
  padding-left:6px!important;
  padding-right:6px!important;
  justify-content:center!important;
}
body.lb-lastbro-page .lb-post-reaction-actions .comment-btn,
body.lb-lastbro-page .lb-post-actions-bar .comment-btn{
  gap:4px!important;
  justify-content:center!important;
}
body.lb-lastbro-page .lb-post-reaction-actions .lb-like-label,
body.lb-lastbro-page .lb-post-reaction-actions .lb-dislike-label,
body.lb-lastbro-page .lb-post-actions-bar .lb-like-label,
body.lb-lastbro-page .lb-post-actions-bar .lb-dislike-label{
  display:none!important;
  width:0!important;
  min-width:0!important;
  max-width:0!important;
  margin:0!important;
  padding:0!important;
}
body.lb-lastbro-page .lb-post-reaction-actions .reaction-count,
body.lb-lastbro-page .lb-post-actions-bar .reaction-count{
  margin-left:0!important;
  padding-left:0!important;
}
body.lb-lastbro-page .lb-post-reaction-actions .post-action-icon,
body.lb-lastbro-page .lb-post-actions-bar .post-action-icon{
  margin-right:0!important;
}



/* LastBro v29: všude stejná mezera mezi bloky/kartami */
:root {
    --lb-global-gap: 4px;
}

body.lb-lastbro-page .lb-feed-wrap,
body.lb-lastbro-page .lb-page-panel,
body.lb-lastbro-page .content-wrapper,
body.lb-lastbro-page .container,
body.lb-lastbro-page .container-fluid,
body.lb-lastbro-page main,
body.lb-lastbro-page section {
    row-gap: var(--lb-global-gap) !important;
}

body.lb-lastbro-page .card,
body.lb-lastbro-page .lb-card,
body.lb-lastbro-page .lb-post-card,
body.lb-lastbro-page .lb-wall-post-card,
body.lb-lastbro-page .lb-wall-profile-card,
body.lb-lastbro-page .lb-wall-about-card,
body.lb-lastbro-page .lb-search-card,
body.lb-lastbro-page .post-card,
body.lb-lastbro-page .feed-card,
body.lb-lastbro-page .profile-card,
body.lb-lastbro-page .panel,
body.lb-lastbro-page .box,
body.lb-lastbro-page .widget,
body.lb-lastbro-page .alert,
body.lb-lastbro-page .list-group-item,
body.lb-lastbro-page .row-item,
body.lb-lastbro-page .comment-item,
body.lb-lastbro-page .friend-card,
body.lb-lastbro-page .chat-card,
body.lb-lastbro-page .chat-list-item,
body.lb-lastbro-page .lb-empty-media-note,
body.lb-lastbro-page .lb-upload-debug,
body.lb-lastbro-page .lb-feed-more-wrap {
    margin-top: 0 !important;
    margin-bottom: var(--lb-global-gap) !important;
}

body.lb-lastbro-page .card + .card,
body.lb-lastbro-page .lb-card + .lb-card,
body.lb-lastbro-page .lb-post-card + .lb-post-card,
body.lb-lastbro-page .lb-wall-post-card + .lb-wall-post-card,
body.lb-lastbro-page .post-card + .post-card,
body.lb-lastbro-page .feed-card + .feed-card {
    margin-top: 0 !important;
}

body.lb-lastbro-page hr {
    margin-top: var(--lb-global-gap) !important;
    margin-bottom: var(--lb-global-gap) !important;
}

body.lb-lastbro-page .mb-1,
body.lb-lastbro-page .mb-2,
body.lb-lastbro-page .mb-3,
body.lb-lastbro-page .mb-4,
body.lb-lastbro-page .mb-5 {
    margin-bottom: var(--lb-global-gap) !important;
}

body.lb-lastbro-page .mt-1,
body.lb-lastbro-page .mt-2,
body.lb-lastbro-page .mt-3,
body.lb-lastbro-page .mt-4,
body.lb-lastbro-page .mt-5 {
    margin-top: var(--lb-global-gap) !important;
}




/* LastBro v54: pravá karta Přátelé / Chat / Pomoc musí být vidět ve feed, my_feed, angella, profile */
@media (min-width:992px){
  body.lb-feed-page .lb-shell,
  body.lb-myfeed-page .lb-shell,
  body.lb-angella-page .lb-shell,
  body.lb-profile-page .lb-shell{
    max-width:1320px!important;
    grid-template-columns:240px minmax(0,1fr) 280px!important;
  }

  body.lb-feed-page .lb-sidebar-right,
  body.lb-myfeed-page .lb-sidebar-right,
  body.lb-angella-page .lb-sidebar-right,
  body.lb-profile-page .lb-sidebar-right{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    width:280px!important;
    min-width:280px!important;
  }

  body.lb-feed-page .lb-sidebar-right .lb-status-card-only,
  body.lb-myfeed-page .lb-sidebar-right .lb-status-card-only,
  body.lb-angella-page .lb-sidebar-right .lb-status-card-only,
  body.lb-profile-page .lb-sidebar-right .lb-status-card-only{
    display:flex!important;
    flex-direction:column!important;
    gap:0!important;
    width:100%!important;
  }

  body.lb-feed-page .lb-sidebar-right .lb-status-card-only .lb-status-row,
  body.lb-myfeed-page .lb-sidebar-right .lb-status-card-only .lb-status-row,
  body.lb-angella-page .lb-sidebar-right .lb-status-card-only .lb-status-row,
  body.lb-profile-page .lb-sidebar-right .lb-status-card-only .lb-status-row{
    min-height:42px!important;
    padding:8px 0!important;
    border-bottom:1px solid rgba(255,255,255,.06)!important;
  }

  body.lb-feed-page .lb-sidebar-right .lb-status-card-only .lb-side-link,
  body.lb-myfeed-page .lb-sidebar-right .lb-status-card-only .lb-side-link,
  body.lb-angella-page .lb-sidebar-right .lb-status-card-only .lb-side-link,
  body.lb-profile-page .lb-sidebar-right .lb-status-card-only .lb-side-link{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    align-self:flex-start!important;
    margin-top:8px!important;
    min-height:42px!important;
    padding:8px 12px!important;
    border-radius:12px!important;
    text-decoration:none!important;
  }
}
@media (max-width:991px){
  body.lb-feed-page .lb-sidebar-right,
  body.lb-myfeed-page .lb-sidebar-right,
  body.lb-angella-page .lb-sidebar-right,
  body.lb-profile-page .lb-sidebar-right{
    display:none!important;
  }
}



/* LASTBRO PATCH: úprava a smazání v horní liště karty jsou malé kulaté ikonky. */
body.lb-lastbro-page .lb-post-top-actions .post-action-compact.lb-post-icon-action,
body.lb-lastbro-page .lb-wall-post-card .lb-post-top-actions .post-action-compact.lb-post-icon-action,
body.lb-feed-page .lb-post-top-actions .post-action-compact.lb-post-icon-action,
body.lb-myfeed-page .lb-post-top-actions .post-action-compact.lb-post-icon-action{
  width:32px!important;
  min-width:32px!important;
  max-width:32px!important;
  height:32px!important;
  min-height:32px!important;
  max-height:32px!important;
  padding:0!important;
  border-radius:50%!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  line-height:1!important;
  font-size:14px!important;
  font-weight:800!important;
  flex:0 0 32px!important;
  margin:0!important;
  box-sizing:border-box!important;
}
body.lb-lastbro-page .lb-post-top-actions .post-action-compact.lb-post-icon-action:hover,
body.lb-feed-page .lb-post-top-actions .post-action-compact.lb-post-icon-action:hover,
body.lb-myfeed-page .lb-post-top-actions .post-action-compact.lb-post-icon-action:hover{
  transform:translateY(-1px)!important;
}


/* LASTBRO PATCH: tlačítko Nahlásit v horní liště karty menší text. */
body.lb-lastbro-page .lb-post-top-actions .post-action-compact.lb-post-report-action,
body.lb-lastbro-page .lb-wall-post-card .lb-post-top-actions .post-action-compact.lb-post-report-action,
body.lb-feed-page .lb-post-top-actions .post-action-compact.lb-post-report-action,
body.lb-myfeed-page .lb-post-top-actions .post-action-compact.lb-post-report-action{
  font-size:10px!important;
}
