:root {
	--midnight-wine: #2D0505;
	--deep-burgundy: #4A080E;
	--gold-matte: #a68a56;
	--off-white: #f8f8f8;
	--border: rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { font-family: 'Noto Sans KR', sans-serif; background-color: #fff; color: #333; line-height: 1.5; overflow-x: hidden; }
.container { width: 92%; max-width: 1200px; margin: 0 auto; }

/* --- Header & Nav --- */
header { background: #fff; padding: 15px 0; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 2000; }
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: 'Montserrat'; font-size: 1.2rem; font-weight: 800; letter-spacing: -1px; z-index: 2100; }
.logo span { color: var(--midnight-wine); }

nav ul { display: flex; list-style: none; align-items: center; }
nav ul li a { text-decoration: none; color: #555; font-weight: 500; margin-left: 30px; font-size: 0.85rem; }
.mobile-toggle { display: none; cursor: pointer; z-index: 2100; }
.mobile-toggle div { width: 22px; height: 2px; background: #333; margin: 5px 0; transition: 0.4s; }

@media (max-width: 992px) {
	.mobile-toggle { display: block; }
	nav { position: fixed; top: 0; right: -100%; width: 75%; height: 100vh; background: var(--midnight-wine); padding: 100px 40px; transition: 0.5s; z-index: 2050; }
	nav.active { right: 0; }
	nav ul { flex-direction: column; align-items: flex-start; }
	nav ul li { margin-bottom: 30px; width: 100%; }
	nav ul li a { color: #fff; margin-left: 0; font-size: 1.3rem; display: block; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
	.mobile-toggle.active div:nth-child(1) { transform: rotate(-45deg) translate(-5px, 5px); background: #fff; }
	.mobile-toggle.active div:nth-child(2) { opacity: 0; }
	.mobile-toggle.active div:nth-child(3) { transform: rotate(45deg) translate(-5px, -5px); background: #fff; }
}

/* --- Hero --- */
.hero { background: linear-gradient(135deg, var(--midnight-wine), var(--deep-burgundy)); color: #fff; padding: 60px 0; text-align: center; }
.hero h2 { font-family: 'Playfair Display'; font-size: 2.2rem; margin-bottom: 10px; }
.hero p { opacity: 0.7; font-size: 0.9rem; margin-bottom: 25px; }

/* --- Section Common --- */
.section-padding { padding: 50px 0; border-bottom: 1px solid #f0f0f0; }
.section-title { font-size: 1.2rem; margin-bottom: 35px; font-weight: 700; color: var(--midnight-wine); border-left: 4px solid var(--gold-matte); padding-left: 15px; display: flex; justify-content: space-between; align-items: center; }
.section-title a { font-size: 0.75rem; color: #999; text-decoration: none; font-weight: 400; }

/* --- UI 폼 1: 데이터 서머리 보드 --- */
.summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.summary-item { background: var(--off-white); padding: 25px 15px; text-align: center; }
.summary-item .label { font-size: 0.7rem; color: #aaa; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; display: block; }
.summary-item .num { font-family: 'Montserrat'; font-size: 1.6rem; font-weight: 700; color: var(--midnight-wine); }

/* --- UI 폼 2: 매치 분석 카드 (이미지형) --- */
.match-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.match-card { border: 1px solid var(--border); overflow: hidden; position: relative; }
.match-card .img-box { height: 160px; background: #222; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.match-card .img-box img { width: 100%; opacity: 0.5; transition: 0.5s; }
.match-card:hover .img-box img { transform: scale(1.1); opacity: 0.3; }
.match-info { padding: 20px; }
.match-info .tag { font-family: 'Montserrat'; font-size: 0.65rem; color: var(--gold-matte); font-weight: 700; margin-bottom: 8px; display: block; }
.match-info h4 { font-size: 1.05rem; margin-bottom: 10px; color: #222; }
.match-info .status { font-size: 0.8rem; color: #777; display: flex; justify-content: space-between; border-top: 1px solid #eee; padding-top: 10px; }

/* --- UI 폼 3: 실시간 리포트 테이블 --- */
.report-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.report-table th { text-align: left; padding: 15px; background: #fafafa; border-bottom: 2px solid var(--midnight-wine); color: #666; font-weight: 500; }
.report-table td { padding: 18px 15px; border-bottom: 1px solid #f0f0f0; }
.badge-p { background: var(--midnight-wine); color: #fff; padding: 2px 6px; font-size: 0.7rem; margin-right: 5px; }
.conf-text { font-family: 'Montserrat'; font-weight: 700; color: var(--gold-matte); }

/* --- UI 폼 4: 알고리즘 피드 (타임라인형) --- */
.feed-list { border-left: 1px solid #eee; padding-left: 20px; margin-left: 10px; }
.feed-item { position: relative; margin-bottom: 25px; }
.feed-item::before { content: ''; position: absolute; left: -25.5px; top: 5px; width: 10px; height: 10px; background: var(--gold-matte); border-radius: 50%; }
.feed-item .time { font-size: 0.75rem; color: #bbb; margin-bottom: 5px; display: block; }
.feed-item .content { background: #fdfdfd; padding: 15px; border: 1px solid #f5f5f5; border-radius: 4px; }
.feed-item .content strong { color: var(--deep-burgundy); }

/* --- UI 폼 5: 유료 플랜 카드 --- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan-card { padding: 40px 25px; border: 1px solid var(--border); text-align: center; }
.plan-card.best { background: var(--midnight-wine); color: #fff; border: none; transform: scale(1.03); }
.plan-card h3 { font-size: 1rem; margin-bottom: 20px; letter-spacing: 1px; }
.plan-card .price { font-family: 'Montserrat'; font-size: 1.8rem; font-weight: 700; margin-bottom: 25px; }
.plan-card ul { list-style: none; margin-bottom: 30px; font-size: 0.8rem; opacity: 0.8; }
.plan-card ul li { margin-bottom: 10px; }
.btn-plan { display: block; padding: 12px; border: 1px solid var(--gold-matte); color: var(--gold-matte); text-decoration: none; font-weight: 700; font-size: 0.8rem; }
.best .btn-plan { background: var(--gold-matte); color: #fff; }

/* --- Footer --- */
footer { background: #111; color: #666; padding: 50px 0; font-size: 0.8rem; }
.footer-flex { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.f-box h6 { color: #fff; margin-bottom: 15px; }

@media (max-width: 992px) {
	.summary-grid, .match-grid, .plan-grid { grid-template-columns: 1fr; }
	.plan-card.best { transform: scale(1); }
	.report-table thead { display: none; }
	.report-table td { display: block; text-align: right; border-bottom: none; padding: 10px 15px; }
	.report-table td::before { content: attr(data-label); float: left; font-weight: 700; color: #333; }
	.report-table tr { display: block; border-bottom: 1px solid #eee; padding: 10px 0; }
}
/* --- 모바일 고도화: Intelligence Summary 전용 스타일 --- */
.summary-grid { 
display: grid; 
grid-template-columns: repeat(2, 1fr); /* 모바일에서 2개씩 깔끔하게 배치 */
gap: 12px; 
padding: 0 5px;
}

.summary-item { 
background: #ffffff; 
padding: 22px 15px; 
text-align: center; 
border: 1px solid #f0f0f0; 
border-radius: 8px; /* 부드러운 라운딩 처리 */
box-shadow: 0 4px 12px rgba(0,0,0,0.02); /* 미세한 그림자로 입체감 부여 */
transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.summary-item:hover {
border-color: var(--gold-matte);
transform: translateY(-3px);
}

.summary-item .label { 
font-family: 'Montserrat';
font-size: 0.65rem; 
color: #999; 
text-transform: uppercase; 
letter-spacing: 1.5px; 
margin-bottom: 8px; 
display: block; 
font-weight: 600;
}

.summary-item .num { 
font-family: 'Montserrat'; 
font-size: 1.6rem; /* 모바일 최적화 크기 */
font-weight: 700; 
color: var(--midnight-wine); 
letter-spacing: -0.5px;
display: block;
}

/* 실시간 상태를 나타내는 미세한 포인트 추가 */
.summary-item .status-dot {
display: inline-block;
width: 6px;
height: 6px;
background: #2ecc71; /* 정상 작동 중인 느낌의 그린 */
border-radius: 50%;
margin-right: 5px;
vertical-align: middle;
box-shadow: 0 0 5px rgba(46, 204, 113, 0.5);
animation: pulse 2s infinite;
}

@keyframes pulse {
0% { opacity: 1; }
50% { opacity: 0.4; }
100% { opacity: 1; }
}

/* PC 화면에서는 다시 4열로 복구 */
@media (min-width: 992px) {
.summary-grid { 
	grid-template-columns: repeat(4, 1fr); 
	gap: 20px;
}
.summary-item { padding: 35px 20px; }
.summary-item .num { font-size: 2rem; }
}


/*컨텥츠 sub 추가*/
/* 로그인 페이지 전체 배경 및 폰트 설정 */
#maincont {
    max-width: 450px;
    margin: 60px auto;
    padding: 40px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 타이틀: LOGIN / 로그인 */
.subtitle {
    text-align: center;
    margin-bottom: 40px;
}
.subtEn {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #2D0505; /* 검붉은 와인색 */
    letter-spacing: 2px;
}
.subtKo {
    font-size: 0.9rem;
    color: #a68a56; /* 골드 포인트 */
    font-weight: 500;
    letter-spacing: 4px;
    margin-top: 5px;
    display: block;
}

/* 입력 영역 리스트 */
.login_area ul {
    list-style: none;
    padding: 0;
}
.login_area ul li {
    margin-bottom: 15px;
    position: relative;
}
.login_area ul li label {
    display: block;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
    font-weight: 600;
}

/* 입력창(Input) 스타일 */
.login_area input[type="text"], 
.login_area input[type="password"] {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.login_area input:focus {
    outline: none;
    border-color: #a68a56;
    background-color: #fff;
    box-shadow: 0 0 8px rgba(166, 138, 86, 0.2);
}

/* 로그인 버튼 영역 */
.btn_login {
    margin-top: 25px;
    text-align: center;
}
/* 기존 이미지를 버튼으로 대체할 경우를 대비한 스타일 */
#btn_submit {
    width: 100%;
    height: 55px;
    cursor: pointer;
    transition: transform 0.2s ease;
}
#btn_submit:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* 하단 정보 (회원가입 안내) */
.login_info {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 25px;
}
.login_info .right {
    text-align: center;
}
.login_info .txt {
    margin-bottom: 15px;
}
.login_info .btn a {
    display: inline-block;
    padding: 10px 25px;
    background: #2D0505;
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}
.login_info .btn a:hover {
    background: #4A080E;
}

/* 모바일 대응 */
@media (max-width: 480px) {
    #maincont {
        margin: 30px 15px;
        padding: 30px 15px;
    }
}


/* 전체 컨테이너 및 문구 스타일 */
/* 전체 컨테이너 및 문구 스타일 */
/* 전체 컨테이너 및 문구 스타일 */
/* 전체 컨테이너 및 문구 스타일 */
/* 전체 컨테이너 및 문구 스타일 */
#maincont {
    max-width: 800px; /* 로그인보다 여유 있게 */
    margin: 50px auto;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.contxt {
    background: #fcf8f8;
    padding: 20px;
    border-left: 4px solid #2D0505;
    margin-bottom: 30px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.subtit {
    color: #2D0505;
    font-weight: 700;
    font-size: 1.1rem;
}

/* 마이페이지 폼 구조 (Table-like List) */
.pinfo ul {
    list-style: none;
    padding: 0;
    border-top: 2px solid #2D0505;
}

.pinfo ul li {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.pinfo .tt {
    width: 150px;
    font-weight: 700;
    color: #444;
    padding-left: 15px;
    font-size: 0.9rem;
}

.pinfo .tc {
    flex: 1;
    padding-left: 10px;
    font-size: 0.85rem;
    color: #666;
}

/* 인풋 박스 스타일 */
.pinfo input[type="text"], 
.pinfo input[type="password"],
.pinfo select {
    height: 38px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 0 10px;
    font-size: 0.9rem;
    vertical-align: middle;
    transition: border 0.3s;
}

.pinfo input:focus {
    border-color: #a68a56;
    outline: none;
}

/* 버튼 스타일 (중복확인, 인증 등) */
.button2 a {
    display: inline-block;
    padding: 6px 15px;
    background: #fff;
    border: 1px solid #a68a56;
    color: #a68a56;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 4px;
    margin-left: 5px;
    transition: all 0.3s;
}

.button2 a:hover {
    background: #a68a56;
    color: #fff;
}

/* 회원가입 버튼 (하단 중앙) */
.conmemBtn {
    margin-top: 50px;
}

.conmemBtn a {
    display: inline-block;
    width: 250px;
    height: 60px;
    line-height: 60px;
    background: linear-gradient(135deg, #2D0505, #4A080E);
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(45, 5, 5, 0.3);
    transition: all 0.3s;
}

.conmemBtn a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(45, 5, 5, 0.4);
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .pinfo ul li {
        flex-direction: column;
        align-items: flex-start;
    }
    .pinfo .tt {
        width: 100%;
        margin-bottom: 10px;
    }
    .pinfo .tc {
        width: 100%;
        padding-left: 0;
    }
    .pinfo input[type="text"] {
        margin-bottom: 5px;
    }
}


.btn_login {
    text-align: center;
    margin-top: 25px;
    width: 100%;
}

#btn_submit {
    /* 이미지가 강제로 늘어나는 것을 방지 */
    width: auto !important; 
    max-width: 100%; 
    height: auto !important;
    
    /* 중앙 정렬 및 여백 */
    display: inline-block;
    cursor: pointer;
    
    /* 마우스 호버 효과 (품격 추가) */
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

#btn_submit:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.15)) brightness(1.05);
}


/* 회차 선택(Calendar) 영역 고도화 */
#main_container {
    margin: 20px 0;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #eee;
}

#calendar .year {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

#calendar .year p { margin: 0; }

.date {
    font-size: 1.4rem;
    font-weight: 800;
    color: #2D0505; /* 검붉은 와인색 */
}

.btn_calendar_prev a, .btn_calendar_next a {
    text-decoration: none;
    background: #f4f4f4;
    padding: 8px 15px;
    border-radius: 4px;
    color: #666;
    font-size: 0.85rem;
    transition: 0.3s;
}

.btn_calendar_prev a:hover, .btn_calendar_next a:hover {
    background: #a68a56; /* 골드 */
    color: #fff;
}

/* 데이터 테이블(btablesh) 고도화 */
.btablesh {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 20px;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.btablesh thead th {
    background: #2D0505; /* 헤더 검붉은색 */
    color: #fff;
    padding: 15px 10px;
    font-size: 0.85rem;
    font-weight: 500;
    border-bottom: 2px solid #a68a56; /* 골드 하이라이트 */
}

.btablesh tbody tr {
    background: #fff;
    transition: background 0.2s;
}

.btablesh tbody tr:hover {
    background: #fff9f0; /* 호버 시 연한 골드빛 */
}

.btablesh td {
    padding: 12px 8px;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
    font-size: 0.85rem;
    color: #444;
}

/* 리그명 및 팀명 강조 */
.by_hy { 
    color: #a68a56 !important; 
    font-weight: 700; 
}

/* 승무패 배당률 강조 */
.r_none { font-family: 'Montserrat', sans-serif; }

/* 주황색 강조 표시(당첨/결과)를 더 고급스럽게 */
td[style*="background-color:orange"] {
    background-color: #a68a56 !important; /* 골드색으로 대체 */
    color: #fff !important;
    font-weight: 700;
    border-radius: 4px;
}

/* 하단 로그인 유도 바 */
.more_bar2 {
    margin-top: 20px;
    background: linear-gradient(to right, #2D0505, #4A080E);
    padding: 20px;
    text-align: center;
    border-radius: 8px;
}

.more_bar2 a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: block;
}

.more_bar2 a:hover {
    text-decoration: underline;
    color: #a68a56;
}

/* 모바일 대응: 테이블이 넘칠 경우 스크롤 */
@media (max-width: 992px) {
    .btablesh {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}


/* 적중 픽 리스트 테이블 (b_list) 고도화 */
.b_list {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 10px;
    background: #fff;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.b_list thead th {
    background: #2D0505; /* TL DATA 시그니처 와인색 */
    color: #fff;
    padding: 15px 8px;
    font-size: 0.85rem;
    font-weight: 600;
    border-bottom: 2px solid #a68a56; /* 골드 하이라이트 */
    text-align: center;
}

.b_list tbody tr {
    transition: all 0.2s ease;
}

.b_list tbody tr:nth-child(even) {
    background-color: #fafafa; /* 줄무늬 효과로 가독성 향상 */
}

.b_list tbody tr:hover {
    background-color: #fff9f0; /* 마우스 호버 시 골드빛 */
    transform: scale(1.002);
}

.b_list td {
    padding: 14px 8px;
    border-bottom: 1px solid #eee;
    text-align: center;
    font-size: 0.85rem;
    color: #333;
}

/* 회차, 리그, 종목 강조 열 */
.b_list .by_hy {
    color: #a68a56 !important; /* 골드 컬러 */
    font-weight: 700;
}

/* 홈팀 : 원정팀 강조 */
.b_list td:nth-child(6) {
    font-weight: 600;
    color: #2D0505;
    text-align: left;
    padding-left: 20px;
}

/* 예측 및 내역 폰트 강조 */
.b_list td:nth-child(8) {
    font-weight: 800;
    color: #d32f2f; /* 예측 강조색 */
}

/* 'error' 또는 결과 텍스트 스타일 */
.r_none font[color="orange"] {
    color: #ff9800 !important;
    font-weight: 700;
    text-transform: uppercase;
    background: #fff3e0;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
}

/* 하단 로그인 유도 바 (more_bar1) */
.more_bar1 {
    margin-top: 0;
    background: #2D0505;
    border-top: 2px solid #a68a56;
    padding: 20px;
    text-align: center;
    border-radius: 0 0 8px 8px;
}

.more_bar1 a {
    color: #a68a56;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.more_bar1 a:hover {
    color: #fff;
    text-decoration: underline;
}

/* 모바일 대응 스크롤 */
@media (max-width: 992px) {
    .b_list {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* 게시판 리스트 (b_list) 고도화 */
#maincont .b_list {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-top: 2px solid #2D0505; /* 상단 검붉은 강조 라인 */
    margin-bottom: 30px;
}

#maincont .b_list thead th {
    background-color: #fcf8f8;
    color: #333;
    font-weight: 700;
    padding: 15px 10px;
    border-bottom: 1px solid #ddd;
    font-size: 0.9rem;
}

#maincont .b_list tbody td {
    padding: 15px 10px;
    border-bottom: 1px solid #eee;
    font-size: 0.85rem;
    color: #555;
    text-align: center;
}

/* 제목 열 좌측 정렬 및 링크 스타일 */
#maincont .b_list td.txt_left {
    text-align: left;
    padding-left: 20px;
}

#maincont .b_list td.title a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s;
}

#maincont .b_list td.title a:hover {
    color: #a68a56; /* 호버 시 골드색 */
    text-decoration: underline;
}

/* ★오늘의 럭키글★ 강조 스타일 */
font[color="#e4af04"] {
    background-color: #fff9e6;
    color: #a68a56 !important; /* 골드 톤으로 정교화 */
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    border: 1px solid #f3e5ab;
}

/* 페이징 (paging) 디자인 */
.paging {
    margin-top: 40px;
    text-align: center;
}

.pag_wrap ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    gap: 8px;
}

.pag_wrap ul li {
    display: inline-block;
}

/* 현재 페이지 번호 */
.pag_wrap ul li strong {
    display: block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: #2D0505; /* 검붉은색 */
    color: #fff;
    border-radius: 4px;
    font-weight: 700;
}

/* 이동 가능한 페이지 번호 */
.pag_wrap ul li a {
    display: block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-decoration: none;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
    background: #fff;
}

.pag_wrap ul li a:hover {
    background: #a68a56; /* 골드 */
    border-color: #a68a56;
    color: #fff;
}

/* 조회수 등 숫자 데이터 폰트 */
.r_none {
    font-family: 'Montserrat', sans-serif;
    color: #999 !important;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    #maincont .b_list colgroup col:nth-child(1),
    #maincont .b_list colgroup col:nth-child(5),
    #maincont .b_list colgroup col:nth-child(6),
    #maincont .b_list thead th:nth-child(1),
    #maincont .b_list thead th:nth-child(5),
    #maincont .b_list thead th:nth-child(6),
    #maincont .b_list tbody td:nth-child(1),
    #maincont .b_list tbody td:nth-child(5),
    #maincont .b_list tbody td:nth-child(6) {
        display: none; /* 모바일에서 번호, 등록일, 조회수 숨김 (제목 집중) */
    }
}
/* 게시판 상세 컨테이너 */
#boardlist {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* 상세 테이블 구조 */
#boardlist .b_list {
    width: 100%;
    border-collapse: collapse;
    border-top: 3px solid #2D0505; /* 상단 포인트 라인 */
}

/* 제목 영역 (헤더) */
#boardlist .b_list th {
    background: #fcf8f8;
    color: #2D0505;
    font-weight: 700;
    padding: 20px 15px;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
    text-align: center;
}

#boardlist .b_list td[colspan="3"] {
    font-size: 1.15rem;
    font-weight: 700;
    color: #333;
    padding: 20px 15px;
    border-bottom: 1px solid #eee;
    line-height: 1.4;
}

/* 본문 영역 스타일 */
.redactor_editor {
    padding: 40px 25px;
    line-height: 1.8;
    font-size: 1rem;
    color: #444;
    min-height: 300px;
}

/* 본문 내 문단 간격 조절 */
.redactor_editor p {
    margin-bottom: 1.5rem;
}

/* 하단 버튼 영역 */
.boardblock {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
}

/* [목록] 버튼 스타일 고도화 */
.button1 a {
    display: inline-block;
    padding: 10px 30px;
    background: #2D0505; /* 와인색 */
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid #2D0505;
}

.button1 a:hover {
    background: #fff;
    color: #2D0505 !important;
    box-shadow: 0 4px 10px rgba(45, 5, 5, 0.2);
}

/* 본문 내 강조 문구 스타일 (필요시) */
.redactor_editor strong, 
.redactor_editor b {
    color: #2D0505;
    font-weight: 700;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    #boardlist {
        padding: 10px;
    }
    #boardlist .b_list th {
        width: 80px !important;
        font-size: 0.85rem;
    }
    #boardlist .b_list td[colspan="3"] {
        font-size: 1rem;
    }
    .redactor_editor {
        padding: 25px 10px;
        font-size: 0.95rem;
    }
}
/* 고객센터 테이블 스타일 */
#boardlist table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-top: 2px solid #2D0505;
    margin-bottom: 20px;
}

#boardlist th {
    background: #fcf8f8;
    color: #2D0505;
    padding: 15px 10px;
    font-size: 0.9rem;
    font-weight: 700;
    border-bottom: 1px solid #ddd;
    text-align: center;
}

#boardlist td {
    padding: 15px 10px;
    border-bottom: 1px solid #eee;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    vertical-align: middle;
}

/* 제목 열 (비밀글 안내) */
#boardlist td:nth-child(2) {
    text-align: left;
    padding-left: 15px;
}

/* 작성자 본인만 볼 수 있습니다 (빨간색 폰트) 최적화 */
#boardlist td a font[color="red"],
#boardlist td font[color="red"] {
    color: #a68a56 !important; /* 골드 브라운으로 변경하여 고급스럽게 */
    font-weight: 500;
}

#boardlist td a {
    text-decoration: none;
    display: inline-block;
}

#boardlist td a::before {
    content: "🔒"; /* 비밀글 아이콘 추가 */
    margin-right: 5px;
    font-size: 0.8rem;
}

/* 상태 (답변완료/대기) 배지 스타일 */
.text_orange {
    display: inline-block;
    background: #2D0505; /* 와인색 배경 */
    color: #fff !important;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* 번호 및 등록일 폰트 가독성 */
#boardlist td:nth-child(1),
#boardlist td:nth-child(4) {
    font-family: 'Montserrat', sans-serif;
    color: #999;
    font-size: 0.8rem;
}

/* 페이징 영역 (이전 공통 스타일 유지) */
.paging {
    margin-top: 30px;
    text-align: center;
}

.pag_wrap ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    gap: 5px;
}

.pag_wrap li a, .pag_wrap li strong {
    display: block;
    min-width: 32px;
    height: 32px;
    line-height: 32px;
    text-decoration: none;
    font-size: 0.85rem;
    border-radius: 4px;
}

.pag_wrap li strong {
    background: #2D0505;
    color: #fff;
}

.pag_wrap li a {
    border: 1px solid #ddd;
    color: #666;
    transition: 0.2s;
}

.pag_wrap li a:hover {
    border-color: #a68a56;
    color: #a68a56;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    #boardlist th:nth-child(1),
    #boardlist th:nth-child(3),
    #boardlist td:nth-child(1),
    #boardlist td:nth-child(3) {
        display: none; /* 모바일에서 번호와 작성자 숨김 */
    }
}

/* 1. Global Variables & Reset */
:root {
    --wine-dark: #2D0505;
    --wine-soft: #4A080E;
    --gold: #a68a56;
    --gold-light: #fff9f0;
    --bg-light: #fcf8f8;
    --border-color: #eee;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans KR', 'Montserrat', sans-serif; background-color: #fff; color: #333; line-height: 1.5; }

/* 2. Layout Container */
#maincont {
    max-width: 1000px;
    margin: 50px auto;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

/* 3. Common Typography (CS CENTER 타이틀 등) */
.subtitle {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.subtEn { font-family: 'Montserrat'; font-size: 2.2rem; font-weight: 800; color: var(--wine-dark); display: block; letter-spacing: 2px; }
.subtKo { font-size: 0.95rem; color: var(--gold); font-weight: 500; letter-spacing: 5px; margin-top: 5px; display: block; }

/* 4. Write Form System (b_write 고도화) */
.b_write {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    border-top: 2px solid var(--wine-dark);
}

.b_write th {
    padding: 20px 15px;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    color: var(--wine-dark);
    font-size: 0.9rem;
    font-weight: 700;
}

.b_write td, .b_write th[scope="row"] + th {
    padding: 15px;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

/* 제목 입력창 */
.w_txt {
    height: 45px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 15px;
    font-size: 1rem;
    transition: 0.3s;
    background: #fafafa;
}
.w_txt:focus { border-color: var(--gold); background: #fff; outline: none; box-shadow: 0 0 8px rgba(166, 138, 86, 0.1); }

/* 5. Editor Style (Redactor) */
.redactor_box {
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    margin: 10px 0;
}
.redactor_toolbar {
    background: #f8f8f8 !important;
    border-bottom: 1px solid #ddd !important;
    padding: 5px !important;
}
.redactor_editor {
    min-height: 400px !important;
    padding: 25px !important;
    font-size: 1rem;
    line-height: 1.8;
    outline: none;
}

/* 6. Button Area (확인/취소) */
.boardblock {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 30px 0;
}

/* 확인 버튼 (Submit) */
.button2 input[type="submit"], .button2 button {
    width: 180px;
    height: 55px;
    background: var(--wine-dark);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}
.button2 input[type="submit"]:hover { background: var(--wine-soft); transform: translateY(-2px); }

/* 취소 버튼 */
.button1 a {
    display: inline-block;
    width: 180px;
    height: 55px;
    line-height: 55px;
    text-align: center;
    background: #fff;
    color: #666 !important;
    border: 1px solid #ccc;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: 0.3s;
}
.button1 a:hover { background: #f4f4f4; color: #333 !important; }

/* 7. Table System (List & CS) */
.b_list, .btablesh {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-top: 2px solid var(--wine-dark);
}
.b_list th { background: var(--bg-light); padding: 15px; font-size: 0.85rem; border-bottom: 1px solid #ddd; }
.b_list td { padding: 15px; border-bottom: 1px solid var(--border-color); text-align: center; font-size: 0.85rem; }

/* 8. Mobile Optimized */
@media (max-width: 768px) {
    #maincont { padding: 20px; margin: 20px 10px; }
    .subtEn { font-size: 1.8rem; }
    
    .b_write colgroup col:first-child { width: 80px !important; }
    .w_txt { width: 100% !important; }
    
    .boardblock { flex-direction: column; align-items: center; }
    .button2 input, .button1 a { width: 100%; }
    
    .redactor_editor { min-height: 300px !important; }
}

/* 1. Global Variables & Reset */
:root {
    --wine-dark: #2D0505;
    --wine-soft: #4A080E;
    --gold: #a68a56;
    --gold-light: #fff9f0;
    --bg-light: #fcf8f8;
    --border-color: #eee;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans KR', 'Montserrat', sans-serif; background-color: #fff; color: #333; line-height: 1.6; }

/* 2. Layout Container */
#maincont {
    max-width: 1000px;
    margin: 50px auto;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

/* 3. Common Typography & Subtitle */
.subtitle {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
}
/* 이미지 타이틀 대응 (이미지가 있을 경우 중앙 정렬 및 크기 최적화) */
.subtitle img {
    max-width: 100%;
    height: auto;
}
.subtEn { font-family: 'Montserrat'; font-size: 2.2rem; font-weight: 800; color: var(--wine-dark); display: block; letter-spacing: 2px; }
.subtKo { font-size: 0.95rem; color: var(--gold); font-weight: 500; letter-spacing: 5px; margin-top: 5px; display: block; }

/* 4. Content Area (txtContents 고도화) */
#txtContents {
    text-align: center;
    padding: 20px 0;
}

/* 콘텐츠 내 이미지 최적화 */
#txtContents img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
#txtContents a:hover img {
    transform: translateY(-5px);
}

/* 콘텐츠 제목 스타일 */
.contitle {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--wine-dark);
    margin-top: 35px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
.contitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--gold);
}

/* 5. Write/List Table Integrated System */
.b_write, .b_list, .btablesh, #boardlist table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 25px;
    border-top: 2px solid var(--wine-dark);
}
.b_write th, .b_list th { background: var(--bg-light); padding: 15px; color: var(--wine-dark); border-bottom: 1px solid #ddd; font-size: 0.85rem; }
.b_write td, .b_list td { padding: 15px; border-bottom: 1px solid var(--border-color); font-size: 0.85rem; }

/* 6. Form Elements */
.w_txt, .login_area input, .pinfo input {
    width: 100%;
    height: 48px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 15px;
    transition: 0.3s;
}
.w_txt:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 8px rgba(166, 138, 86, 0.1); }

/* 7. Button Area */
.boardblock { display: flex; justify-content: center; gap: 15px; padding: 30px 0; }
.button2 input[type="submit"] { width: 180px; height: 55px; background: var(--wine-dark); color: #fff; border: none; border-radius: 4px; font-weight: 700; cursor: pointer; }
.button1 a { display: inline-block; width: 180px; height: 55px; line-height: 55px; text-align: center; border: 1px solid #ccc; color: #666 !important; text-decoration: none; border-radius: 4px; }

/* 8. Mobile Optimized */
@media (max-width: 768px) {
    #maincont { padding: 25px 15px; margin: 20px 10px; }
    .contitle { font-size: 1.25rem; }
    
    /* 이미지 꽉 차게 */
    #txtContents img { width: 100% !important; }
    
    .boardblock { flex-direction: column; }
    .button2 input, .button1 a { width: 100%; }
}

/* 1. Today Game 전용 상단 바 */
.more_bar {
    background: linear-gradient(135deg, var(--wine-dark), var(--wine-soft));
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(45, 5, 5, 0.2);
}
.more_bar a {
    color: var(--gold);
    text-decoration: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 2. 경기 리스트 테이블 (b_list) 고도화 */
.b_list {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.b_list th {
    background: var(--wine-dark);
    color: #fff;
    padding: 18px 10px;
    font-size: 0.85rem;
    border-bottom: 2px solid var(--gold);
}
.b_list td {
    background: #fff;
    padding: 15px 8px;
    border-bottom: 1px solid #f0f0f0;
    transition: 0.2s;
}
.b_list tr:hover td {
    background-color: var(--gold-light);
}

/* 배당률 및 팀명 강조 */
.r_none { font-family: 'Montserrat', 'Noto Sans KR'; }
.winlosec { display: inline-block; vertical-align: middle; margin-right: 5px; }

/* 3. 분석글 영역 (analysis-wrapper) 고급화 */
.analysis-wrapper {
    background: #fdfdfd;
    padding: 30px;
    border: 2px solid var(--gold);
    border-radius: 15px;
    margin: 20px;
    text-align: left;
    box-shadow: inset 0 0 20px rgba(166, 138, 86, 0.05);
}

/* 분석 요약 박스 */
.summary-box {
    background: #fff;
    border: 1px solid var(--gold);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}
.summary-box strong {
    display: block;
    font-size: 1.1rem;
    color: var(--wine-dark);
    margin-bottom: 10px;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 5px;
}
.summary-box ul {
    list-style: none;
    padding-left: 5px;
}
.summary-box li {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 5px;
}
.summary-box li::before {
    content: '•';
    color: var(--gold);
    margin-right: 8px;
}

/* 분석 본문 */
.analysis-content h5 {
    background: var(--bg-light);
    color: var(--wine-dark);
    padding: 10px 15px;
    border-left: 4px solid var(--wine-dark);
    margin: 25px 0 15px 0;
    font-size: 1.1rem;
}
.analysis-content b {
    color: var(--wine-soft);
}
.analysis-content li {
    margin-bottom: 10px;
    list-style-position: inside;
}

/* 닫기 버튼 스타일 */
#conshow369570, #conshow369575 {
    display: inline-block;
    background: var(--wine-dark);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 15px;
    transition: 0.3s;
}
#conshow369570:hover { background: var(--gold); }

/* 4. 예측(승/무/패) 뱃지 디자인 */
td:last-child {
    font-weight: 800;
    color: #d32f2f; /* 예측 결과 강조 */
}

/* 5. 모바일 최적화 */
@media (max-width: 992px) {
    .b_list { display: block; overflow-x: auto; white-space: nowrap; }
    .analysis-wrapper { padding: 15px; margin: 10px; }
    .summary-box { padding: 15px; }
    .analysis-content h5 { font-size: 1rem; }
}
/* 1. 테이블이 화면을 뚫고 나가지 않도록 감싸는 설정 */
.b_list {
    width: 100%;
    table-layout: fixed; /* 테이블 크기 고정 */
    border-collapse: collapse;
    min-width: 800px; /* 모바일에서도 데이터가 겹치지 않게 최소 가로폭 유지 */
}

/* 2. 모바일에서 가로 스크롤을 만들어주는 컨테이너 (HTML에서 감싸주면 더 좋습니다) */
/* 만약 HTML 수정이 어렵다면 아래 설정을 b_list에 직접 적용 */
#boardlist {
    width: 100%;
    overflow-x: auto; /* 가로 스크롤 활성화 */
    -webkit-overflow-scrolling: touch; /* 아이폰 부드러운 스크롤 */
    margin-bottom: 20px;
}

/* 3. 테이블 내부 텍스트 최적화 */
.b_list th, .b_list td {
    padding: 10px 5px !important; /* 간격 축소 */
    font-size: 12px !important; /* 폰트 크기 축소 */
    white-space: nowrap; /* 텍스트가 밑으로 떨어지지 않게 고정 */
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-all;
}

/* 4. 분석글 보기 영역 (가로 전체 차지) */
.contxcl td {
    white-space: normal !important; /* 분석글은 줄바꿈 허용 */
    padding: 0 !important;
}

.analysis-wrapper {
    min-width: 100% !important; /* 분석글은 스크롤 상관없이 화면에 맞춤 */
    box-sizing: border-box;
}

/* 5. 모바일 전용 미세 조정 */
@media (max-width: 768px) {
    .subtitle img { width: 80%; } /* 타이틀 이미지 축소 */
    
    /* 승/무/패 배당 부분 텍스트 강조 */
    .r_none {
        font-size: 11px; 
    }
    
    /* 분석글보기 버튼을 더 크게 (터치하기 쉽게) */
    [id^="conshow"] {
        display: block;
        padding: 10px;
        background: #f9f9f9;
        border: 1px solid #ddd;
        text-align: center;
        margin: 5px 0;
    }
}

/* 1. 테이블의 부모 요소에 스크롤 설정 (필수) */
#maincont, #boardlist {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}

/* 2. "분석글보기"가 들어가는 행 처리 */
tr[id^="trshowhi"] td {
    background: #fff9f9 !important; /* 가독성을 위해 연한 배경색 추가 */
    padding: 10px !important;
    border-bottom: 1px solid #eee;
}

/* 3. 모바일에서 버튼이 화면 중앙에 고정되게 함 */
@media (max-width: 768px) {
    /* 테이블 폭 강제 고정 (글자 겹침 방지) */
    .b_list {
        min-width: 900px !important; 
    }

    /* 분석글보기 버튼 영역을 고정(Sticky) 시킴 */
    tr[id^="trshowhi"] td p {
        position: sticky;
        left: 0;
        width: 100vw; /* 화면 너비만큼 버튼을 확장 */
        text-align: center;
        margin: 0;
        padding: 12px 0;
        background: #fdf2f2; /* 버튼 배경색 */
        font-size: 14px !important;
        font-weight: bold;
        color: #d32f2f !important; /* 레드 계열 */
        display: block;
        border: 1px dashed #d32f2f;
        border-radius: 5px;
    }

    /* 분석글 닫기 버튼이 들어가는 영역도 동일 처리 */
    .contxcl td > div {
        width: 100vw;
        position: sticky;
        left: 0;
    }
}


@media (max-width: 768px) {
    /* 1. 테이블 구조 해제: 모든 요소를 블록 수준으로 변경 */
    .b_list, .b_list tbody, .b_list tr, .b_list td, .b_list th {
        display: block;
        width: 100% !important;
    }

    /* 2. 헤더(th) 숨기기: 모바일에서는 항목이 너무 많아 헤더가 있으면 더 헷갈립니다. */
    .b_list tr:first-child {
        display: none;
    }

    /* 3. 경기 정보 행(tr) 디자인: 카드 느낌으로 변경 */
    .b_list tr {
        margin-bottom: 15px;
        border: 1px solid var(--border-color);
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
    }

    /* 4. 개별 데이터(td) 줄바꿈 및 레이블링 */
    .b_list td {
        text-align: left !important;
        padding: 8px 15px !important;
        border-bottom: 1px solid #f5f5f5;
        font-size: 14px !important;
        white-space: normal !important;
    }

    /* 5. "분석글보기" 행 특화 디자인 (핵심!) */
    tr[id^="trshowhi"] {
        border: none !important;
        margin-top: -15px; /* 경기 정보와 붙어 보이게 */
        margin-bottom: 25px;
    }

    tr[id^="trshowhi"] td {
        background: var(--wine-dark) !important;
        padding: 0 !important;
        border: none;
    }

    tr[id^="trshowhi"] td a {
        display: block;
        padding: 15px;
        text-align: center;
        text-decoration: none;
    }

    tr[id^="trshowhi"] td p[id^="conshow"] {
        color: var(--gold) !important; /* 와인 배경에 골드 글씨 */
        margin: 0 !important;
        font-size: 16px !important;
        font-weight: 800 !important;
    }

    /* 6. 분석글 본문 영역 */
    .contxcl td {
        padding: 0 !important;
    }
    
    .analysis-wrapper {
        padding: 15px !important;
        margin: 0 !important;
        border-radius: 0 !important;
        border-x: none !important;
    }
}


@media (max-width: 768px) {
    /* 1. 테이블의 표 성질을 완전히 제거하여 가로로 길어지는 현상 차단 */
    .b_list, .b_list tbody, .b_list tr, .b_list td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box;
    }

    /* 2. 가로 스크롤바 강제 제거 */
    #maincont, #boardlist, body {
        overflow-x: hidden !important;
    }

    /* 3. 테이블 헤더(th)는 모바일에서 불필요하므로 숨김 */
    .b_list thead, .b_list tr:first-child {
        display: none !important;
    }

    /* 4. 경기 정보 카드 디자인 */
    .b_list tr {
        margin-bottom: 20px;
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        background: #fff;
        padding: 10px 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    }

    /* 5. 데이터 노출 방식 조정 (한 줄에 2개씩 배치하거나 줄바꿈) */
    .b_list td {
        border: none !important;
        padding: 5px 15px !important;
        font-size: 14px !important;
        display: inline-block; /* 핵심: 일부는 옆으로, 일부는 아래로 */
        width: auto !important;
    }

    /* 경기 시간, 리그 등 보조 정보 */
    .b_list td:nth-child(2), .b_list td:nth-child(3) {
        color: #888;
        font-size: 12px !important;
        display: block; /* 한 줄 차지 */
    }

    /* 홈팀 vs 원정팀 강조 */
    .b_list td:nth-child(6), .b_list td:nth-child(7) {
        font-weight: 800;
        font-size: 16px !important;
        color: var(--wine-dark);
        display: inline-block;
    }
    .b_list td:nth-child(7)::before {
        content: ' VS ';
        color: #ccc;
        font-weight: 400;
        margin: 0 5px;
    }

    /* 6. "분석글보기" 버튼을 카드 하단에 꽉 차게 배치 */
    tr[id^="trshowhi"] {
        padding: 0 !important;
        border: none !important;
        margin-top: -20px; /* 위 카드와 밀착 */
    }

    tr[id^="trshowhi"] td {
        display: block !important;
        width: 100% !important;
        padding: 0 !important;
    }

    tr[id^="trshowhi"] td p[id^="conshow"] {
        background: var(--wine-dark) !important;
        color: var(--gold) !important;
        text-align: center;
        padding: 15px 0 !important;
        margin: 0 !important;
        border-radius: 0 0 12px 12px; /* 카드의 아래쪽만 곡선 */
        font-weight: bold;
    }

    /* 7. 분석글 열렸을 때 영역 */
    .contxcl td div {
        width: 100% !important;
        padding: 15px !important;
    }
}
