/* MST 메인 최신글 3종: 기존 아미나/게시판 스타일과 충돌하지 않도록 접두어 사용 */
.mst-latest{margin:0 0 26px;color:#eef2f8;min-width:0}
.mst-latest *{box-sizing:border-box}
.mst-latest-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px;padding:0 0 10px;border-bottom:1px solid #414957}
.mst-latest-head h2{margin:0;color:#f6f7fa;font-size:20px;font-weight:700;line-height:1.4}
.mst-latest-head>a{color:#aebcd0;font-size:13px;text-decoration:none;white-space:nowrap}
.mst-latest-head>a:hover{color:#fff}
.mst-latest-grid{display:grid;gap:14px;min-width:0}
.mst-latest-highlights .mst-latest-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.mst-latest-analysis .mst-latest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.mst-latest-news .mst-latest-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.mst-latest-card{min-width:0;overflow:hidden;background:#303743;border:1px solid #434c59;border-radius:10px}
.mst-latest-image{position:relative;display:block;width:100%;aspect-ratio:16/10;background:#202630;overflow:hidden}
.mst-latest-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .2s ease}
.mst-latest-card:hover .mst-latest-image img{transform:scale(1.025)}
.mst-latest-noimage{display:flex;align-items:center;justify-content:center;height:100%;color:#99a6b7;font-size:12px}
.mst-latest-play{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;padding-left:3px;background:rgba(0,0,0,.65);color:#fff;font-size:16px}
.mst-latest-body{padding:12px;min-width:0}
.mst-latest-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#f6f7fa!important;font-weight:650;font-size:14px;line-height:1.5;min-height:42px;text-decoration:none!important;overflow-wrap:anywhere}
.mst-latest-summary{margin:7px 0 0;color:#aeb8c8;font-size:12px;line-height:1.5;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:36px}
.mst-latest-meta{display:flex;flex-wrap:wrap;gap:4px 10px;margin-top:10px;color:#99a8bc;font-size:11px}
.mst-latest-empty{grid-column:1/-1;padding:25px 10px;text-align:center;color:#b9c4d3;background:#303743;border-radius:10px}
.mst-latest-news .mst-latest-card{display:flex;align-items:stretch}
.mst-latest-news .mst-latest-image{width:40%;flex:0 0 40%;aspect-ratio:auto;min-height:118px}
.mst-latest-news .mst-latest-body{flex:1;min-width:0}
.mst-latest-news .mst-latest-summary{-webkit-line-clamp:2}
@media(max-width:991px){.mst-latest-highlights .mst-latest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mst-latest-news .mst-latest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.mst-latest-head h2{font-size:18px}.mst-latest-analysis .mst-latest-grid,.mst-latest-news .mst-latest-grid{grid-template-columns:1fr}.mst-latest-highlights .mst-latest-grid{gap:9px}.mst-latest-highlights .mst-latest-body{padding:9px}.mst-latest-highlights .mst-latest-title{font-size:12px}.mst-latest-highlights .mst-latest-meta{font-size:10px}.mst-latest-news .mst-latest-image{min-height:116px}}

/* ===== MST ANALYSIS COMPACT V2 ===== */

/* 스포츠 분석 카드만 가로형으로 변경 */
.mst-latest-analysis .mst-latest-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 116px;
    overflow: hidden;
}

/* 썸네일 크기 고정 */
.mst-latest-analysis .mst-latest-image {
    display: block;
    flex: 0 0 110px;
    width: 110px;
    height: 116px;
    min-width: 0;
    overflow: hidden;
}

/* 이미지 비율 유지 */
.mst-latest-analysis .mst-latest-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 게시글 정보 */
.mst-latest-analysis .mst-latest-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    padding: 12px;
}

/* 제목 최대 2줄 */
.mst-latest-analysis .mst-latest-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.5;
}

/* 본문 요약 최대 2줄 */
.mst-latest-analysis .mst-latest-summary {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 6px 0;
    font-size: 12px;
    line-height: 1.5;
}

/* 작성정보 하단 배치 */
.mst-latest-analysis .mst-latest-meta {
    margin-top: auto;
    font-size: 11px;
}

/* 모바일 */
@media (max-width: 767px) {
    .mst-latest-analysis .mst-latest-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .mst-latest-analysis .mst-latest-image {
        flex-basis: 90px;
        width: 90px;
        height: 110px;
    }

    .mst-latest-analysis .mst-latest-card {
        min-height: 110px;
    }

    .mst-latest-analysis .mst-latest-body {
        padding: 10px;
    }

    .mst-latest-analysis .mst-latest-title {
        font-size: 13px;
    }
}

/* ===== MST ANALYSIS IMAGE FILL V3 ===== */

/* 카드 내부 이미지 영역을 카드 전체 높이로 확장 */
.mst-latest-analysis .mst-latest-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

/* 이미지 영역의 고정 높이를 제거 */
.mst-latest-analysis .mst-latest-image {
    position: relative;
    flex: 0 0 110px;
    width: 110px;
    height: auto;
    align-self: stretch;
    overflow: hidden;
}

/* 이미지가 영역 전체를 채우도록 설정 */
.mst-latest-analysis .mst-latest-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 모바일 이미지 너비 */
@media (max-width: 767px) {
    .mst-latest-analysis .mst-latest-image {
        flex-basis: 90px;
        width: 90px;
        height: auto;
    }
}
