body { 
    font-family: 'Pretendard', sans-serif; 
    line-height: 1.6; 
    color: #333; 
    margin: 0; 
    padding: 0; 
    background: #f4f4f4; 
}

#header { 
    width: 100%;
}

.container { 
    max-width: 900px; 
    margin: 80px auto; 
    background: white; 
    padding: 40px; 
    border-radius: 5px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
}

.breadcrumb { 
    display: flex; 
    justify-content: flex-end; 
    align-items: center; 
    font-size: 0.8rem; 
    color: #888; 
    margin-bottom: 25px; 
    gap: 8px; 
}
.breadcrumb .b-home { 
    color: #444; 
    text-decoration: none; 
    font-weight: 600; 
    padding: 4px 10px; 
    border: 1px solid #e0e0e0; 
    border-radius: 20px; 
    background: #fff; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.02); 
    transition: all 0.2s ease;" onmouseover="this.style.background='#333'; this.style.color='#fff'; this.style.borderColor='#333';" onmouseout="this.style.background='#fff'; this.style.color='#444'; this.style.borderColor='#e0e0e0';
}
.breadcrumb .b-home:hover {
    background: #333;
    color: #fff !important;
}

h1 { 
    text-align: center; 
    color: #1a1a1a; 
    border-bottom: 2px solid #333; 
    padding-bottom: 10px; 
}
h2 { 
    border-left: 5px solid #333; 
    padding-left: 15px; 
    margin-top: 40px; 
    color: #222; 
}
h3 { 
    display: flex; 
    align-items: center; 
    margin-top: 20px; 
    color: #222; 
    font-size: 1.2rem; 
}
h3::before { 
    content: "•"; 
    margin-right: 8px; 
    color: #333; 
    font-size: 1.5rem; 
    line-height: 1;
}

.intro { 
    color: #666; 
    background: #f9f9f9; 
    padding: 20px; 
    border-radius: 2px; 
    margin: 20px 0; 
}

.chart-box { 
    background: #eee; 
    text-align: center; 
    padding: 40px 20px; 
    margin: 20px 0; 
    border: 1px dashed #999;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; 
}
.chart-inner {
    min-width: 400px;
    text-align: center;
    margin: 0 auto;
}
.chart-box img { 
    width: 100%; 
    height: auto; 
    display: block;
    margin-bottom: 15px;
}
.chart-box figcaption {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    word-break: keep-all;
    padding: 0 10px;
}

.grid-container { 
    background: #eee; 
    text-align: center; 
    padding: 40px 20px; 
    margin: 20px 0; 
    border: 1px dashed #999; 
    display: flex; 
    flex-direction: column; 
    align-items: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.grid-container figcaption {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    word-break: keep-all;
    padding: 0 10px;
}
.image-group { 
    display: flex; 
    width: 100%; 
    gap: 10px; 
    justify-content: center; 
    margin-bottom: 15px;
}
.img-wrapper { 
    position: relative; 
    flex: 1; 
}
.img-wrapper img { 
    width: 100%; 
    height: auto; 
    display: block;
}
.img-number { 
    position: absolute; 
    top: 10px; 
    left:10px; 
    color: white; 
    padding: 4px 8px; 
    font-size: 0.8rem; 
    font-weight: bold; 
    border-radius: 2px; 
    z-index: 10; 
    pointer-events: none;
}
.interactive-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.interactive-wrapper iframe {
    min-width: 800px;
}

.clean-table {
    width: 100%;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    margin: 30px 0;
    font-size: 0.95rem;
}
.clean-table table { 
    width:100%; 
    min-width: 600px; 
    border-collapse: collapse;
}
.clean-table th { 
    border-bottom: 2px solid #333; 
    padding: 12px; 
    text-align: center; 
    font-weight: 700; 
    white-space: nowrap; 
}
.clean-table td { 
    border-bottom: 1px solid #eee; 
    padding: 12px; 
    text-align: center; 
}
.clean-table td:first-child {
    width: 80px; 
    font-weight: bold; 
    color: #333;
}
.clean-table tr:hover { 
    background-color: #fcfcfc; 
}

/*For the Season Simulation*/
.team-card { 
    border: 1px solid #ddd; 
    border-radius: 4px; 
    padding: 25px; 
    margin-bottom: 30px; 
}
.team-name { 
    font-size: 1.5rem; 
    font-weight: bold; 
    margin-bottom: 15px; 
    display: flex; 
    align-items: center; 
}
.stats-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 15px; 
    margin-top: 15px; 
}
.stat-item { 
    background: #fcfcfc; 
    padding: 10px; 
    border: 1px solid #eee; 
    border-radius: 2px; 
    font-size: 0.9rem; 
}
.stat-item strong { 
    color: #d32f2f; 
}
