/* block:bf-feed/dday 0.1.0 */
/* 모임 날짜 타일 */
.bff-dday { display: flex; flex-direction: column; height: 100%; min-height: 260px; padding: 22px; border-radius: var(--bfc-card-r, 24px); background: var(--bfc-surface, #fff); color: var(--bfc-ink, #16181d); box-sizing: border-box; }
.bff-dday__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.bff-dday__label { color: var(--bfc-muted, #60606b); font-size: 14px; font-weight: 600; }
.bff-dday__more { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bfc-chip, #f4f4f5); color: var(--bfc-ink, #16181d); font-size: 18px; }
.bff-dday__more:hover { background: var(--bfc-chip-2, #ececee); color: var(--bfc-ink, #16181d); }
.bff-dday__list { display: flex; flex-direction: column; gap: 4px; margin: auto 0 0; padding: 12px 0 0; list-style: none; }
.bff-dday__list a { display: flex; align-items: center; gap: 14px; padding: 8px 0; color: inherit; text-decoration: none; }
.bff-dday__list li + li { border-top: 1px solid var(--bfc-line-soft, #f4f4f5); }
.bff-dday__date { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; min-width: 56px; }
.bff-dday__date strong { font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.bff-dday__date span { margin-top: 4px; color: var(--bfc-muted, #60606b); font-size: 12.5px; white-space: nowrap; }
.bff-dday__list li + li .bff-dday__date strong { font-size: 26px; }
.bff-dday__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bff-dday__title { display: -webkit-box; overflow: hidden; font-size: 15px; font-weight: 700; line-height: 1.4; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bff-dday__list a:hover .bff-dday__title { text-decoration: underline; text-underline-offset: 3px; }
.bff-dday__left { align-self: flex-start; padding: 2px 8px; border-radius: 10px; background: var(--bfc-solid, #16181d); color: var(--bfc-on-solid, #fff); font-size: 12px; font-weight: 700; }
.bff-dday__empty { margin: auto 0; color: var(--bfc-muted, #60606b); font-size: 14px; }
.bff-dday--empty { min-height: 120px; justify-content: center; align-items: center; background: var(--bfc-chip, #f4f4f5); color: var(--bfc-muted, #60606b); font-size: 13px; }

@media (max-width: 768px) {
    .bff-dday { min-height: 0; padding: 18px; }
}

/* block:bf-feed/feed 0.1.0 */
/* 피드 블록: 알약 줄 + 정렬 · 글 카드 · 사진 격자 · 더 보기 (알약 · 카드 · 단추 모양은 테마 css/theme.css 의 피드 공통 부품) */
.bff-feed { display: flex; flex-direction: column; gap: 16px; }
.bff-feed__title { margin: 4px 4px 0; color: var(--bfc-ink, #16181d); font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.bff-feed__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bff-feed__bar .bff-pills { flex: 1; }
.bff-feed__list { display: flex; flex-direction: column; gap: 16px; }
.bff-feed.is-loading .bff-feed__list { opacity: .5; transition: opacity .2s; }
.bff-feed__empty { padding: 48px 24px; color: var(--bfc-muted, #60606b); text-align: center; }

.bff-card__meta { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--bfc-muted, #60606b); font-size: 14px; }
.bff-card__name { min-width: 0; overflow: hidden; color: var(--bfc-ink, #16181d); font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.bff-card__name a { color: inherit; text-decoration: none; }
.bff-card__board { color: inherit; text-decoration: none; white-space: nowrap; }
.bff-card__board:hover { color: var(--bfc-ink, #16181d); }
.bff-card__time { margin-left: auto; white-space: nowrap; }
.bff-card__title { margin: 14px 0 0; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.4; }
.bff-card__title a { color: var(--bfc-ink, #16181d); text-decoration: none; }
.bff-card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bff-card__lock { margin-right: 6px; font-size: 17px; vertical-align: -2px; color: var(--bfc-muted, #60606b); }
.bff-card__text { display: -webkit-box; margin: 8px 0 0; overflow: hidden; color: var(--bfc-ink-2, #3f3f46); font-size: 16px; line-height: 1.65; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* 사진: 1장 넓게 · 2장 반반 · 3장 이상 2fr 1fr (오른쪽 두 장 위아래), 마지막 칸에 +N */
.bff-photos { display: grid; gap: 6px; margin-top: 16px; overflow: hidden; border-radius: 18px; }
.bff-photos--1 { aspect-ratio: 16 / 9; }
.bff-photos--2 { grid-template-columns: 1fr 1fr; aspect-ratio: 2 / 1; }
.bff-photos--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16 / 9; }
.bff-photos--3 .bff-photos__cell:first-child { grid-row: 1 / 3; }
.bff-photos__cell { position: relative; min-height: 0; overflow: hidden; background: var(--bfc-chip, #f4f4f5); }
.bff-photos__cell img { display: block; width: 100%; height: 100%; object-fit: cover; }
.bff-photos__more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(22, 24, 29, .5); color: #fff; font-size: 22px; font-weight: 800; font-style: normal; }

.bff-card__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.bff-card__hit { margin-left: auto; color: var(--bfc-muted, #60606b); font-size: 13.5px; }

.bff-feed__more { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px; border-radius: 26px; background: var(--bfc-surface, #fff); color: var(--bfc-ink, #16181d); font-size: 15px; font-weight: 700; text-decoration: none; }
.bff-feed__more:hover { background: var(--bfc-chip-2, #ececee); color: var(--bfc-ink, #16181d); }
.bff-feed__more .bf-icon { font-size: 20px; }

@media (max-width: 768px) {
    .bff-feed, .bff-feed__list { gap: 12px; }
    .bff-feed__bar { flex-direction: column; align-items: stretch; gap: 8px; }
    .bff-feed__bar .bff-seg { align-self: flex-start; }
    .bff-card__meta { font-size: 13px; }
    .bff-card__title { margin-top: 10px; font-size: 18px; }
    .bff-card__text { font-size: 15px; }
    .bff-photos { margin-top: 12px; border-radius: 16px; }
    .bff-photos--3 { aspect-ratio: 4 / 3; }
    .bff-card__acts { margin-top: 12px; }
}

/* block:bf-feed/greeting 0.1.0 */
/* 인사 타일: 늘 먹색 바탕 (다크 모드에서도 한 단계 밝은 먹색) */
.bff-hello { display: flex; flex-direction: column; height: 100%; min-height: 260px; padding: 28px 32px; border-radius: var(--bfc-card-r, 24px); background: #16181d; color: #fff; box-sizing: border-box; }
html[data-bfc-theme="dark"] .bff-hello { background: #222227; }
.bff-hello__date { margin: 0; color: #c4c4cc; font-size: 14px; }
.bff-hello__title { margin: 10px 0 0; color: #fff; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.3; }
.bff-hello__count { margin: 10px 0 0; color: #c4c4cc; font-size: 14px; }
.bff-hello__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 20px; }
.bff-hello__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 22px; background: rgba(255, 255, 255, .12); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; }
.bff-hello__btn:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.bff-hello__btn.is-primary { background: #fff; color: #16181d; }
.bff-hello__btn.is-primary:hover { background: #ececee; color: #16181d; }
.bff-hello__btn .bf-icon { font-size: 18px; }

@media (max-width: 768px) {
    .bff-hello { min-height: 0; padding: 20px; }
    .bff-hello__date { font-size: 13px; }
    .bff-hello__title { margin-top: 6px; font-size: 22px; }
    .bff-hello__count { margin-top: 6px; font-size: 13px; }
    .bff-hello__btns { padding-top: 16px; }
}

/* block:bf-feed/pick 0.1.0 */
/* 인기 그림 타일 */
.bff-pick { position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; min-height: 260px; overflow: hidden; padding: 22px; border-radius: var(--bfc-card-r, 24px); background: #16181d; color: #fff; text-decoration: none; box-sizing: border-box; isolation: isolate; }
.bff-pick__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.bff-pick:hover .bff-pick__img { transform: scale(1.04); }
.bff-pick__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(22, 24, 29, .1) 30%, rgba(22, 24, 29, .78) 100%); }
.bff-pick__label { position: absolute; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; border-radius: 16px; background: #fff; color: #16181d; font-size: 13px; font-weight: 700; }
.bff-pick__label .bf-icon { font-size: 16px; }
.bff-pick__body { display: flex; flex-direction: column; gap: 6px; }
.bff-pick__title { display: -webkit-box; overflow: hidden; color: #fff; font-size: 19px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bff-pick__meta { color: rgba(255, 255, 255, .8); font-size: 13px; }
.bff-pick:hover, .bff-pick:hover .bff-pick__title { color: #fff; }
.bff-pick--empty { min-height: 120px; justify-content: center; background: var(--bfc-chip, #f4f4f5); color: var(--bfc-muted, #60606b); font-size: 13px; text-align: center; }

@media (max-width: 768px) {
    .bff-pick { min-height: 220px; padding: 18px; }
}

