/* 스포츠분석 게시판 메인 컨테이너 */
.pickinfo-view-wrap {
    background: #1a1a1e;
    border-radius: 8px;
    margin: 20px 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* 섹션 헤더 */
.section-header {
    background: #222228;
    padding: 12px 15px;
    border-bottom: 1px solid #2a2a30;
    font-size: 14px;
    font-weight: 600;
    color: #ff6b35;
}

/* 팀 정보 컨테이너 */
.team-info-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 15px;
    background: #1a1a1e;
    position: relative;
}

/* 팀 박스 스타일 */
.team-box {
    display: flex;
    align-items: center;
    flex: 1;
}

.team-box.home {
    justify-content: flex-end;
    text-align: right;
}

.team-box.away {
    justify-content: flex-start;
    text-align: left;
}

/* 팀 엠블럼 스타일 */
.team-emblem {
    width: 40px;
    height: 40px;
    margin: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-emblem img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 팀 이름 */
.team-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.team-name strong {
    color: #ff6b35;
    margin: 0 5px;
}

/* VS 스타일 */
.vs-separator {
    font-size: 18px;
    font-weight: 700;
    color: #ff6b35;
    padding: 0 10px;
}

/* 경기 일자 */
.match-date {
    text-align: center;
    padding: 10px 0;
    background: #222228;
    color: #aaa;
    font-size: 12px;
    border-top: 1px solid #2a2a30;
    border-bottom: 1px solid #2a2a30;
}

/* 배팅 옵션 그리드 */
.betting-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1px;
    background: #2a2a30;
}

/* 배팅 카테고리 */
.betting-category {
    position: relative;
    padding: 15px 10px;
    background: #1a1a1e;
    text-align: center;
    transition: all 0.2s ease;
    overflow: hidden;
}

.betting-category:hover {
    background: #222228;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* 추천된 배팅 카테고리 */
.betting-category.recommended {
    position: relative;
    background: rgba(255, 107, 53, 0.05);
    border: 1px solid rgba(255, 107, 53, 0.3);
}

/* 추천 리본 */
.recommend-ribbon {
    position: absolute;
    top: 10px;
    right: -34px;
    width: 140px;
    padding: 5px 0;
    background: linear-gradient(135deg, #ff6b35 0%, #ff4500 100%);
    color: white;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* 리본 꼬임 효과 */
.recommend-ribbon:before,
.recommend-ribbon:after {
    content: '';
    position: absolute;
    border-style: solid;
    border-color: transparent;
    bottom: -5px;
}

.recommend-ribbon:before {
    left: 0;
    border-width: 0 5px 5px 0;
    border-right-color: #d94b00;
}

.recommend-ribbon:after {
    right: 0;
    border-width: 5px 5px 0 0;
    border-top-color: #d94b00;
}

/* 배팅 정보 */
.bet-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
}

.bet-line {
    font-size: 12px;
    color: #aaa;
    position: relative;
    z-index: 2;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .betting-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-box {
        flex-direction: column;
        text-align: center !important;
    }
    
    .team-emblem {
        margin: 0 auto 5px;
    }
}

@media (max-width: 480px) {
    .betting-options {
        grid-template-columns: 1fr;
    }
    
    .team-info-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .team-box {
        width: 100%;
        justify-content: center !important;
    }
}

/* 본문 내용 스타일 */
#bo_v_con {
    padding: 20px 0;
    color: #e0e0e0;
    line-height: 1.8;
}

#bo_v_con h5 {
    color: #ff6b35;
    font-size: 18px;
    font-weight: 700;
    margin: 24px 0 16px;
    padding-left: 12px;
    border-left: 4px solid #ff6b35;
}

#bo_v_con ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

#bo_v_con ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: #d0d0d0;
    line-height: 1.8;
}

#bo_v_con ul li:before {
    content: '▸';
    position: absolute;
    left: 0;
    top: 0;
    color: #ff6b35;
    font-weight: bold;
}

#bo_v_con strong {
    color: #4ecdc4;
    font-weight: 600;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .pickinfo-view-wrap {
        padding: 10px;
        margin: 10px 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .pickinfo-view-wrap .row-wrap {
        display: flex;
        flex-wrap: nowrap;
        min-width: 100%;
        width: max-content;
        gap: 0;
        margin: 0;
    }
    
    .pickinfo-view-wrap .row-info {
        flex: 0 0 33.333%;
        min-width: 100px;
        padding: 8px 4px;
        margin: 0;
        box-sizing: border-box;
        border: 1px solid #2a2a30;
        font-size: 12px;
    }
    
    .pickinfo-view-wrap .row-label {
        font-size: 11px;
        margin-bottom: 5px;
    }
    
    .pickinfo-view-wrap .team-name {
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .pickinfo-view-wrap .team-name img {
        width: 24px;
        height: 24px;
        margin-right: 4px;
        vertical-align: middle;
    }
    
    .pickinfo-view-wrap .play-date,
    .pickinfo-view-wrap .bet-line {
        font-size: 12px;
    }
    
    .pickinfo-view-wrap .result-status {
        padding: 3px 8px;
        font-size: 10px;
        margin-top: 4px;
        display: inline-block;
    }
}

/* 다크 테마 호환성 */
body.dark-mode .pickinfo-view-wrap {
    background: linear-gradient(135deg, #0f0f0f 0%, #0a0a0a 100%);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .pickinfo-view-wrap .row-info {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.04);
}

body.dark-mode .pickinfo-view-wrap .row-info:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 107, 53, 0.2);
}

/* pickinfo-view-wrap 기본 스타일 */
.pickinfo-view-wrap {
    background: #1a1a1e;
    border-radius: 12px;
    padding: 0;
    margin: 20px 0;
    color: #e0e0e0;
    overflow: hidden;
    border: 1px solid #2a2a30;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* 행 레이아웃 스타일 */
.pickinfo-view-wrap .row-wrap {
    display: flex;
    flex-wrap: wrap;
    background: #2a2a30;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #2a2a30;
}

/* 각 정보 박스 스타일 */
.pickinfo-view-wrap .row-info {
    flex: 1;
    min-width: 150px;
    background: #1a1a1e;
    padding: 5px 10px;
    position: relative;
    overflow: hidden;
    border-right: 1px solid #2a2a30;
}

/* 세 번째 row-info 스타일 조정 */
.pickinfo-view-wrap .row-wrap:first-child .row-info:nth-child(3) {
    display: flex;
    flex-direction: column;
}

.pickinfo-view-wrap .row-wrap:first-child .row-info:nth-child(3) .row-label {
    margin-bottom: 10px;
    font-weight: bold;
    color: #ff6b35;
}

.pickinfo-view-wrap .row-wrap:first-child .row-info:nth-child(3) .row-data {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-grow: 1;
    align-content: center;
    flex-wrap: nowrap;
}

/* 헤더 스타일 */
.pickinfo-view-wrap .section-header {
    background: #222228;
    padding: 10px 15px;
    border-bottom: 1px solid #2a2a30;
    font-weight: 600;
    color: #ff6b35;
    display: flex;
    align-items: center;
}

/* 팀 정보 컨테이너 */
.team-info-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: #1a1a1e;
}

/* 팀 박스 스타일 */
.team-box {
    display: flex;
    align-items: center;
    flex: 1;
}

.team-box.home {
    justify-content: flex-end;
    text-align: right;
}

.team-box.away {
    justify-content: flex-start;
    text-align: left;
}

/* 팀 엠블럼 스타일 */
.team-emblem {
    width: 40px;
    height: 40px;
    margin: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-emblem img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* VS 스타일 */
.vs-separator {
    font-size: 18px;
    font-weight: 700;
    color: #ff6b35;
    padding: 0 15px;
}

/* 경기 일자 스타일 */
.match-date {
    text-align: center;
    padding: 12px 0;
    background: #222228;
    color: #aaa;
    font-size: 13px;
    border-top: 1px solid #2a2a30;
    border-bottom: 1px solid #2a2a30;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* 배팅 옵션 그리드 */
.betting-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1px;
    background: #2a2a30;
}

/* 라벨 스타일 */
.pickinfo-view-wrap .row-label {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
}

/* 데이터 리스트 스타일 */
.pickinfo-view-wrap .row-data {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 팀 이름 스타일 */
.pickinfo-view-wrap .team-name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

/* 팀 이름 강조 */
.team-name strong {
    color: #ff6b35;
    margin: 0 3px;
}

/* 경기 일정 스타일 */
.pickinfo-view-wrap .play-date {
    color: #ff6b35;
    font-weight: 600;
    font-size: 14px;
}

/* 배팅 이름 스타일 */
.pickinfo-view-wrap .bet-name {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

/* 배팅 라인 스타일 */
.pickinfo-view-wrap .bet-line {
    color: #aaa;
    font-size: 13px;
    margin-bottom: 4px;
}

/* 추천 상태 스타일 - 대각선 띠 */
.pickinfo-view-wrap .result-status {
    position: absolute;
    top: -15px;
    right: -45px;
    width: 100px;
    background: #ff6b35;
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
    line-height: 2;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform-origin: 0 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 1;
    pointer-events: none;
}

/* 배팅 카테고리 스타일 */
.betting-category {
    padding: 15px 10px;
    position: relative;
    text-align: center;
    border-bottom: 1px solid #2a2a30;
    transition: all 0.2s ease;
    background: #1a1a1e;
    overflow: hidden;
}

.betting-category:hover {
    background: #222228;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 2;
}

/* 배팅 이름과 라인 */
.bet-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    position: relative;
    z-index: 2;
}

.bet-line {
    font-size: 12px;
    color: #aaa;
    position: relative;
    z-index: 2;
}

/* 추천된 배팅 카테고리 */
.betting-category.recommended {
    border: 1px solid rgba(255, 107, 53, 0.3);
    background: rgba(255, 107, 53, 0.05);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .betting-options {
        grid-template-columns: 1fr 1fr;
    }
    
    .team-box {
        flex-direction: column;
        text-align: center !important;
    }
    
    .team-emblem {
        margin: 0 auto 5px;
    }
}

/* 작은 화면에서의 조정 */
@media (max-width: 480px) {
    .betting-options {
        grid-template-columns: 1fr;
    }
    
    .team-info-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .team-box {
        width: 100%;
        justify-content: center !important;
    }
}