/* ------------------------------------------------------------
 * shared-feed.css
 * - 공유 탭 피드/목록 전용
 * ------------------------------------------------------------ */

.shared-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
}

.shared-feed-headline{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  width:100%;
  flex-wrap:nowrap;
}

.shared-feed-meta-row{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:nowrap;
  margin-left:auto;
  min-width:0;
  flex:1 1 auto;
}

.shared-feed-nickname{
  color:#5f6d68;
  font-size:12px;
  font-weight:700;
  letter-spacing:-0.01em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  min-width:0;
  text-align:right;
  margin-left:auto;
}

.shared-feed-meta-divider{
  color:#9ba6a2;
  font-size:11px;
  font-weight:700;
  flex:0 0 auto;
}

.shared-feed-manage-btn{
  min-height:32px;
  padding:0 12px;
  flex:0 0 auto;
}

@media (max-width:520px){
  .shared-feed-headline{
    align-items:center;
    gap:8px;
  }

  .shared-feed-headline h2{
    flex:0 0 auto;
  }

  .shared-feed-meta-row{
    width:auto;
    margin-left:auto;
  }

  .shared-feed-nickname{
    font-size:11px;
    max-width:150px;
  }

  .shared-feed-manage-btn{
    min-height:30px;
    padding:0 10px;
    font-size:11px;
  }
}

.shared-toolbar--board{
  margin-bottom:6px;
  padding:6px 2px 10px;
  border-radius:0;
  background:none;
  border:0;
  border-bottom:1px solid rgba(208,216,210,0.88);
}

.shared-toolbar-label{
  color:var(--text-strong);
  font-size:13px;
  font-weight:800;
  letter-spacing:-0.02em;
  white-space:nowrap;
}

.shared-page-size{
  justify-content:flex-end;
  margin-left:auto;
}

.shared-page-size-btn{
  min-width:42px;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
}

.shared-page-number,
.shared-page-nav{
  min-height:30px;
  padding:0 11px;
  border-radius:999px;
  color:var(--text-soft);
  font-size:11px;
  font-weight:700;
}

.shared-page-size-btn,
.shared-page-number,
.shared-page-nav{
  border:0;
  background:#f3f5f2;
  color:var(--text-soft);
}

.shared-page-size-btn.active,
.shared-page-number.active{
  background:var(--accent);
  color:#ffffff;
  border-color:transparent;
}

.shared-community-list{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.shared-community-card{
  width:100%;
  padding:11px 2px 11px 1px;
  border:0;
  border-bottom:1px solid rgba(208,216,210,0.88);
  border-radius:0;
  background:none;
  box-shadow:none;
  text-align:left;
  transition:transform .16s ease, opacity .16s ease;
}

.shared-community-card:active{
  transform:translateY(1px);
}

.shared-community-card.is-featured{
  border-bottom-color:rgba(42,193,160,0.34);
}

.shared-community-headline{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.shared-community-table{
  display:flex;
  flex-direction:column;
  gap:7px;
}

.shared-community-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.shared-community-row--top{
  min-height:20px;
}

.shared-community-row--summary{
  align-items:center;
}

.shared-community-meta-inline{
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
  flex-wrap:wrap;
}

.shared-community-postno{
  color:#8a9491;
  font-size:12px;
  font-weight:600;
  letter-spacing:-0.01em;
}

.shared-community-inline-text{
  color:#6e7975;
  font-size:12px;
  font-weight:600;
  letter-spacing:-0.01em;
}

.shared-community-title{
  flex:1 1 auto;
  min-width:0;
  margin-top:0;
  color:var(--text-strong);
  font-size:14px !important;
  font-weight:700 !important;
  line-height:1.35;
  letter-spacing:-0.01em;
  white-space:normal;
  display:-webkit-box;
  -webkit-line-clamp:1;
  -webkit-box-orient:vertical;
  overflow:hidden;
  text-rendering:optimizeLegibility;
}

.shared-community-divider{
  color:#bcc4c1;
  font-size:9px;
  font-weight:500;
}

.shared-community-counts{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex:0 0 auto;
  flex-wrap:nowrap;
  padding-top:0;
}

.shared-community-count{
  color:#727d79;
  font-size:12px;
  font-weight:600;
  letter-spacing:-0.01em;
}

.shared-community-state{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:22px;
  padding:0 8px;
  border-radius:999px;
  background:rgba(17,24,23,0.05);
  color:#596562;
  font-size:11px;
  font-weight:700;
  white-space:nowrap;
}

.shared-community-balls{
  display:flex;
  align-items:center;
  gap:5px;
  flex-wrap:wrap;
  min-height:30px;
}

.shared-community-balls .shared-board-mini-ball{
  width:30px;
  height:30px;
  font-size:12px;
}

.shared-community-state.is-pending{
  background:#f2f4f3;
  color:#5d6b67;
}

.shared-community-state.is-done{
  background:rgba(230,247,242,0.9);
  color:var(--accent-strong);
}

.shared-community-skeleton{
  height:106px;
  border-radius:18px;
}

@media (max-width:460px){
  .shared-community-card{
    padding:10px 2px 10px 1px;
  }

  .shared-community-title{
    font-size:14px;
  }

  .shared-community-inline-text,
  .shared-community-postno,
  .shared-community-count{
    font-size:11.5px;
  }

  .shared-community-balls .shared-board-mini-ball{
    width:28px;
    height:28px;
    font-size:11.5px;
  }
}

@media (max-width:400px){
  .shared-feed-nickname{
    font-size:10px;
    max-width:118px;
  }

  .shared-feed-meta-divider{
    font-size:10px;
  }

  .shared-feed-manage-btn{
    min-height:28px;
    padding:0 9px;
    font-size:10px;
  }

  .shared-toolbar--board{
    gap:8px;
  }

  .shared-toolbar-label{
    font-size:12px;
  }

  .shared-community-title{
    font-size:14px;
  }

  .shared-community-postno,
  .shared-community-inline-text,
  .shared-community-state{
    font-size:11px;
  }

  .shared-community-row--summary{
    gap:8px;
  }

  .shared-community-counts{
    gap:6px;
  }

  .shared-community-count{
    font-size:11px;
  }
}
