/* feed.css — 카테고리 필터 · 짤 카드 · 피드 그리드 · 빈 화면 */

.filters {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  padding: 18px 0 23px;
  overflow: auto;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar {
  display: none;
}

.filters button {
  white-space: nowrap;
  font-size: 13px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 30px;
}

.filters button.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.sectionhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 28px 0 20px;
}

.sectionhead h2 {
  font-size: 19px;
  margin: 0;
  font-weight: 750;
}

.sectionhead p {
  font-size: 12px;
  color: var(--muted);
  margin: 7px 0 0;
}

.sectionhead button {
  font-size: 12px;
  color: var(--muted);
}

.board {
  columns: 4;
  column-gap: 22px;
}

.pin {
  break-inside: avoid;
  margin: 0 0 25px;
}

.shot {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #e6e6de;
  text-align: left;
  background: white;
  transition: transform .18s;
}

.shot:hover {
  transform: translateY(-3px);
}

.art {
  min-height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eeede7;
  padding: 17px;
}

.art>div {
  width: 100%;
  box-shadow: 0 2px 10px #00000008;
  border-radius: 3px;
}

.pin:nth-child(3n+2) .art {
  min-height: 226px;
  background: #e9eee9;
}

.pin:nth-child(4n) .art {
  background: #ede9e3;
  min-height: 210px;
}

.pin:nth-child(5n) .art {
  background: #e8ebed;
}

.pin img {
  width: 100%;
  display: block;
  max-height: 400px;
  object-fit: contain;
}

.meta {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 11px 1px 4px;
}

.meta h3 {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.save {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}

.save[aria-pressed=true] {
  background: var(--yellow);
  border-color: var(--yellow);
}

.tags {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
}

.empty {
  text-align: center;
  padding: 70px 20px;
  border: 1px dashed #d8d9ce;
  border-radius: 14px;
  max-width: 640px;     /* 넓은 화면에서 내용 대비 폭만 커지던 것 */
  margin-inline: auto;
}

.empty p {
  color: var(--muted);
  font-size: 14px;
}

.empty button,
.primary {
  background: var(--ink);
  color: white;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 13px;
}
