.bc-wrap { padding-top: calc(20px + env(safe-area-inset-top));
    padding-bottom: calc(100px + env(safe-area-inset-bottom));min-height: 100vh; }
.bc-header { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.bc-fare-select { font-size: 16px; font-weight: 800; color: var(--logo); padding: 10px 40px 10px 16px; border: 2px solid var(--ink); border-radius: 12px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23333333' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center; cursor: pointer; box-shadow: 4px 4px 0 var(--line); appearance: none; -webkit-appearance: none; }
.bc-count { font-size: 13px; color: var(--mid); font-weight: 500; }
.bc-empty { text-align: center; padding: 100px 0; font-size: 15px; color: var(--mid); }
.bc-row { display: flex; align-items: stretch; gap: 0; margin-bottom: 28px; }
.bc-row-label { width: 54px; flex-shrink: 0; font-size: 14px; font-weight: 900; color: var(--white); background: var(--ink); border-radius: 10px 0 0 10px; display: flex; align-items: center; justify-content: center; letter-spacing: -0.5px; }
.bc-row-scroll { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; flex: 1; padding: 16px 20px; background: var(--white); border: 1px solid var(--line); border-left: none; border-radius: 0 10px 10px 0; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.bc-row-scroll::-webkit-scrollbar { display: none; }
.bc-card { display: flex; flex-direction: column; align-items: flex-start; text-decoration: none; color: inherit; flex-shrink: 0; width: 120px; transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); }
.bc-card:hover { transform: translateY(-5px); }
.bc-thumb { width: 120px; height: 120px; border-radius: 10px; overflow: hidden; background: var(--gray2); box-shadow: 0 4px 10px rgba(0,0,0,0.08); position: relative; }
.bc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bc-booth-num { font-size: 11px; font-weight: 800; color: var(--ink); margin-top: 10px; background: var(--blue-pale); padding: 2px 8px; border-radius: 4px; display: inline-block; }
.bc-booth-name { font-size: 13px; font-weight: 600; color: var(--logo); margin-top: 4px; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 요일 탭 */
.bc-day-tabs { display: flex; gap: 8px; margin-left: auto; }
.bc-day-tab { font-size: 14px; font-weight: 700; padding: 8px 20px; border-radius: 20px; border: 2px solid var(--line); background: var(--white); color: var(--mid); cursor: pointer; transition: all 0.15s; display: flex; align-items: center; gap: 6px; }
.bc-day-tab.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.bc-day-count { font-size: 11px; font-weight: 600; opacity: 0.75; }
.bc-day-short { display: none; }
.bc-day-full { display: inline; }

/* 스펙 필터 */
.bc-spec-filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.bc-spec-btn { font-size: 13px; font-weight: 700; padding: 6px 16px; border-radius: 20px; border: 2px solid var(--line); background: var(--white); color: var(--mid); cursor: pointer; transition: all 0.15s; }
.bc-spec-btn.active { background: var(--ink3); color: var(--ink); border-color: var(--ink); }
.bc-spec-btn:hover:not(.active) { border-color: var(--ink); color: var(--ink); }

/* 미배정 */
.bc-unassigned-wrap { margin-top: 0px; }
.bc-unassigned-label { font-size: 13px; font-weight: 700; color: var(--mid); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.bc-unassigned-label span { font-size: 12px; font-weight: 500; }
.bc-unassigned-wrap .bc-row-label { background: var(--gray2); color: var(--mid); }

/* 그리드 모드 (9개 이상) */
.bc-unassigned-grid .bc-row { flex-direction: column; align-items: stretch; }
.bc-unassigned-grid .bc-row-label { width: 100%; height: 40px; border-radius: 10px 10px 0 0; flex-direction: row; gap: 6px; }
.bc-unassigned-grid .bc-row-scroll { flex-wrap: wrap; overflow-x: visible; border-left: 1px solid var(--line); border-radius: 0 0 10px 10px; justify-content: center; }
.bc-unassigned-grid .bc-card { width: 120px; }
.bc-unassigned-grid .bc-thumb { width: 120px; height: 120px; }
/* 점차 로딩 */
.bc-thumb img.lazy { opacity: 0; transition: opacity 0.2s; }
.bc-thumb img.lazy.loaded { opacity: 1; }
.bc-thumb.skeleton { background: linear-gradient(90deg, var(--gray2) 25%, #e8e8e8 50%, var(--gray2) 75%); background-size: 200% 100%; animation: bc-skeleton 1.2s infinite; }
@keyframes bc-skeleton { 0% { background-position: 200% 0 } 100% { background-position: -200% 0 } }

.bc-row-scroll.dragging { cursor: grabbing; user-select: none; }
.bc-row-scroll { cursor: grab; }

@media (max-width: 640px) {
    .bc-unassigned-wrap { margin-top: 0; }
    .bc-unassigned-label { padding: 0 10px; }
    .bc-unassigned-grid .bc-row-label { border-radius: 0; }
    .bc-unassigned-grid .bc-row-scroll { border-radius: 0; }
    .bc-unassigned-grid .bc-card { width: 100px; }
    .bc-unassigned-grid .bc-thumb { width: 100px; height: 100px; }
}

@media (min-width: 961px) {
    .bc-row-scroll {
        gap: 24px;
    }
}

@media (min-width: 641px) and (max-width: 960px) {
    .bc-row-scroll {
        gap: 22px;
    }
}

/* 미디어 쿼리 */
@media (max-width: 960px) { .bc-wrap { padding-top: calc(15px + env(safe-area-inset-top)); } }
@media (max-width: 640px) {
    .bc-header { padding: 0 10px; margin-bottom: 12px; gap: 8px; flex-wrap: nowrap; align-items: center; }
    .bc-fare-select { font-size: 12px; padding: 8px 28px 8px 10px; border-radius: 8px; flex: 1; min-width: 0; }
    .bc-count { display: none; }
    .bc-day-tabs { margin-left: 0; flex-shrink: 0; gap: 6px; }
    .bc-day-tab { font-size: 13px; font-weight: 800; padding: 8px 14px; border-radius: 8px; gap: 0; }
    .bc-day-full { display: none; }
    .bc-day-short { display: inline; }
    .bc-day-count { display: none; }
    .bc-spec-filter { padding: 0 10px; margin-bottom: 16px; gap: 6px; }
    .bc-spec-btn { font-size: 12px; padding: 5px 12px; }
    .bc-row { padding: 0; margin-bottom: 16px; } .bc-row-label { width: 40px; font-size: 12px; border-radius: 0; }
    .bc-card { width: 100px; } .bc-thumb { width: 100px; height: 100px; } .bc-row-scroll { padding: 12px; gap: 18px; border-radius: 0; }
    .bc-booth-num { font-size: 10px; } .bc-booth-name { font-size: 12px; }
}