/* ============================================
   SUB/stack_total - 가로 그리드 믹스 위젯
   ============================================ */

/* --- 그리드 레이아웃 --- */
.stack_total .stotal_grid {
    width: 100%;
    min-height: 40px;
}
.stack_total .stotal_column {
    position: relative;
    min-width: 0;
    min-height: 40px;
}
.stack_total .stotal_item {
    width: 100%;
}
.stack_total .stotal_empty {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 13px;
}

/* --- 반응형 --- */
@media screen and (max-width: 1024px) {
    .stack_total .stotal_grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media screen and (max-width: 640px) {
    .stack_total .stotal_grid {
        grid-template-columns: 1fr !important;
    }
}


/* ============================================
   관리자 전용 UI (프론트 페이지)
   ============================================ */

/* --- 칸별 뱃지 --- */
.stotal_col_badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    z-index: 99999;
    background: #f97316;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
    white-space: nowrap;
    line-height: 1.4;
}
.stotal_col_badge small {
    font-weight: 400;
    opacity: 0.7;
    margin-left: 4px;
}
.stotal_column:hover .stotal_col_badge {
    opacity: 1;
}

/* --- 관리자 모드 그리드 아웃라인 --- */
.stotal_admin_mode .stotal_column {
    outline: 1px dashed #ddd;
    outline-offset: -1px;
    transition: outline-color 0.2s;
}
.stotal_admin_mode .stotal_column:hover {
    outline-color: #f97316;
}
