﻿.dashboard-compact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.summary-compact {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.summary-item {
    text-align: center;
    padding: 16px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.summary-item:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
    border-color: var(--border-accent);
}

.summary-label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-accent);
}

/* 경기력 트렌드 */
.trend-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.trend-icon {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trend-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

/* 패드/키보드 대전 승률 카드 스타일 */
.controller-stats {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.controller-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.controller-label {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.controller-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-accent);
}

/* 분석 카드 컨테이너 */
.analysis-cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

/* 분석 카드 공통 스타일 */
.analysis-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-fast);
}

.analysis-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.card-header {
    background: #2a2a2a;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 20px;
}

.card-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.player-recent-stats{
    font-size: 10px;
    font-weight: 600;
    color: var(--text-accent);
}

/* 주요 선수 카드 헤더 특별 스타일 */
.top-players-card .card-header {
    background: #2a2a2a;
}

.top-players-card .card-header h3 {
    color: var(--text-primary);
}

.card-content {
    padding: 5px 20px;
}

/* 골 유형 분석 카드 */
.goal-analysis-card .goal-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* 주요 선수 카드 */
.top-players-card .top-players-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

/* 골 카드 스타일 */
.goal-card {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all var(--transition-fast);
    overflow: hidden;
    cursor: pointer;
    min-height: 130px;
}

.goal-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--border-hover);
}

.goal-card-icon {
    font-size: 24px;
    margin-bottom: 2px;
    z-index: 2;
    position: relative;
}

.goal-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    z-index: 2;
    position: relative;
}

.goal-card-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
    text-align: center;
}

.goal-card-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.goal-card-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--border-color);
    transition: all var(--transition-slow);
}

/* 각 카드별 색상 */
#closeRangeCard .goal-card-bg {
    background: linear-gradient(90deg, transparent, #00b894);
}

#midRangeCard .goal-card-bg {
    background: linear-gradient(90deg, transparent, #0984e3);
}

#headingCard .goal-card-bg {
    background: linear-gradient(90deg, transparent, #e17055);
}

#closeRangeCard:hover {
    border-color: #00b894;
    box-shadow: 0 8px 25px rgba(0, 184, 148, 0.2);
}

#midRangeCard:hover {
    border-color: #0984e3;
    box-shadow: 0 8px 25px rgba(9, 132, 227, 0.2);
}

#headingCard:hover {
    border-color: #e17055;
    box-shadow: 0 8px 25px rgba(225, 112, 85, 0.2);
}

/* 주요 선수 아이템 스타일 개선 */

.top-player-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    position: relative;
    text-align: center;
    min-height: 120px;
}

.top-player-item:hover {
    border-color: var(--border-hover);
    background: var(--bg-secondary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.top-player-image {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    object-fit: cover;
    background: transparent;
    transition: var(--transition-fast);
}

.top-player-item:hover .top-player-image {
    border-color: var(--border-accent);
}

.top-player-season-img {
    width: 20px;
    height: 20px;
    border-radius: 2px;
    object-fit: cover;
    margin-left: -8px;
    border: 1px solid var(--border-color);
}

.top-player-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
}

.top-player-name-section {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.top-player-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
    text-align: center;
}

.top-player-stats {
    font-size: 11px;
    color: var(--text-secondary);
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
}

.top-player-stat {
    display: flex;
    align-items: center;
    gap: 2px;
}

.top-player-rank {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
    z-index: 2;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8);
}

/* 1등 - 금색 도트 */
.top-player-item:nth-child(1) .top-player-rank {
    background: #FFD700;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3), 0 0 12px rgba(255, 215, 0, 0.6);
}

/* 2등 - 은색 도트 */
.top-player-item:nth-child(2) .top-player-rank {
    background: #C0C0C0;
    box-shadow: 0 0 0 2px rgba(192, 192, 192, 0.3), 0 0 12px rgba(192, 192, 192, 0.6);
}

/* 3등 - 동색 도트 */
.top-player-item:nth-child(3) .top-player-rank {
    background: #CD7F32;
    box-shadow: 0 0 0 2px rgba(205, 127, 50, 0.3), 0 0 12px rgba(205, 127, 50, 0.6);
}

/* 순위별 카드 테두리 효과 */
.top-player-item:nth-child(1) {
    border-color: rgba(255, 215, 0, 0.3);
    background: linear-gradient(145deg, var(--bg-card), rgba(255, 215, 0, 0.02));
}

.top-player-item:nth-child(2) {
    border-color: rgba(192, 192, 192, 0.3);
    background: linear-gradient(145deg, var(--bg-card), rgba(192, 192, 192, 0.02));
}

.top-player-item:nth-child(3) {
    border-color: rgba(205, 127, 50, 0.3);
    background: linear-gradient(145deg, var(--bg-card), rgba(205, 127, 50, 0.02));
}

.top-player-item:hover .top-player-rank {
    transform: scale(1.5);
    width: 8px;
    height: 8px;
}

/* 호버 시 각 순위별 글로우 효과 */
.top-player-item:nth-child(1):hover .top-player-rank {
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.8);
}

.top-player-item:nth-child(2):hover .top-player-rank {
    box-shadow: 0 0 0 3px rgba(192, 192, 192, 0.4), 0 0 20px rgba(192, 192, 192, 0.8);
}

.top-player-item:nth-child(3):hover .top-player-rank {
    box-shadow: 0 0 0 3px rgba(205, 127, 50, 0.4), 0 0 20px rgba(205, 127, 50, 0.8);
}

/* 호버 시 카드 전체 효과 */
.top-player-item:nth-child(1):hover {
    border-color: rgba(255, 215, 0, 0.6);
    background: linear-gradient(145deg, var(--bg-card), rgba(255, 215, 0, 0.05));
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.15);
}

.top-player-item:nth-child(2):hover {
    border-color: rgba(192, 192, 192, 0.6);
    background: linear-gradient(145deg, var(--bg-card), rgba(192, 192, 192, 0.05));
    box-shadow: 0 8px 25px rgba(192, 192, 192, 0.15);
}

.top-player-item:nth-child(3):hover {
    border-color: rgba(205, 127, 50, 0.6);
    background: linear-gradient(145deg, var(--bg-card), rgba(205, 127, 50, 0.05));
    box-shadow: 0 8px 25px rgba(205, 127, 50, 0.15);
}

/* 경기 기록 - FotMob 스타일 */
.matches-compact {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
}

.matches-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.matches-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.match-count {
    color: var(--text-accent);
    font-weight: 600;
    font-size: 12px;
    margin-left: 8px;
}

.matches-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.match-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
    overflow: hidden;
    position: relative;
}

.match-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    transition: all var(--transition-fast);
}

.match-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-color: var(--border-hover);
}

/* 매치 헤더 (클릭 가능한 부분) */
.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.match-header:hover {
    background: linear-gradient(90deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
}

/* 확장 아이콘 */
.expand-icon {
    font-size: 12px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    margin-left: 12px;
    font-weight: bold;
    opacity: 0.6;
}

.match-header:hover .expand-icon {
    opacity: 1;
    color: var(--text-accent);
}

.match-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

.match-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.match-date {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.match-opponent {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
    transition: color var(--transition-fast);
}

.match-item:hover .match-opponent {
    color: var(--text-accent);
}

/* 클릭 가능한 상대 닉네임 스타일 */
.opponent-nickname-clickable {
    cursor: pointer;    
    text-decoration-style: dotted;
    text-underline-offset: 2px;
    transition: all var(--transition-fast);
    padding: 2px 4px;
    border-radius: 3px;
}

.opponent-nickname-clickable:hover {
    color: var(--text-accent);
    background: var(--bg-accent-light);
    text-decoration: solid;
}

/* 배지 컨테이너 */
.match-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* 경기 하이라이트 배지 */
.match-highlight {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    padding: 3px 8px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    letter-spacing: 0.3px;
    transition: all var(--transition-fast);
}

/* 승리 경기 하이라이트 */
.match-item:has(.match-result.win) .match-highlight {
    background: rgba(0, 212, 170, 0.15);
    color: var(--text-success);
    border-color: rgba(0, 212, 170, 0.3);
}

/* 패배 경기 하이라이트 */
.match-item:has(.match-result.lose) .match-highlight {
    background: rgba(255, 71, 87, 0.15);
    color: var(--text-error);
    border-color: rgba(255, 71, 87, 0.3);
}

/* 무승부 경기 하이라이트 */
.match-item:has(.match-result.draw) .match-highlight {
    background: rgba(255, 165, 2, 0.15);
    color: var(--text-warning);
    border-color: rgba(255, 165, 2, 0.3);
}

.match-score {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* MVP 선수 표시 */
.match-mvp {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 193, 7, 0.15) 100%);
    padding: 4px 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.4);
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.1);
}

.match-item:hover .match-mvp {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(255, 193, 7, 0.25) 100%);
    border-color: rgba(255, 215, 0, 0.6);
    transform: scale(1.02);
}

.score {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    background: var(--bg-tertiary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    letter-spacing: 1px;
    font-family: 'Courier New', monospace;
    transition: all var(--transition-fast);
    margin-right: 10px;
}

/* 승리 시 스코어 강조 */
.match-item:has(.match-result.win) .score {
    color: var(--text-success);
    border-color: rgba(0, 212, 170, 0.4);
    background: rgba(0, 212, 170, 0.1);
}

/* 패배 시 스코어 */
.match-item:has(.match-result.lose) .score {
    color: var(--text-error);
    border-color: rgba(255, 71, 87, 0.4);
    background: rgba(255, 71, 87, 0.1);
}

/* 무승부 시 스코어 */
.match-item:has(.match-result.draw) .score {
    color: var(--text-warning);
    border-color: rgba(255, 165, 2, 0.4);
    background: rgba(255, 165, 2, 0.1);
}

.match-result {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    min-width: 42px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-fast);
}

.match-result.win {
    background: linear-gradient(135deg, #00d4aa 0%, #00b894 100%);
    color: #000000;
    border: 1px solid #00ffcc;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.2);
}

.match-result.lose {
    background: linear-gradient(135deg, #ff4757 0%, #e84118 100%);
    color: #ffffff;
    border: 1px solid #ff6b7a;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.match-result.draw {
    background: linear-gradient(135deg, #ffa502 0%, #ff8c00 100%);
    color: #000000;
    border: 1px solid #ffb732;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.2);
}

/* 승리 카드 스타일 */
.match-item:has(.match-result.win) {
    background: linear-gradient(90deg, rgba(0, 212, 170, 0.05) 0%, var(--bg-card) 30%);
    border-color: rgba(0, 212, 170, 0.3);
}

.match-item:has(.match-result.win)::before {
    background: linear-gradient(180deg, #00d4aa 0%, #00b894 100%);
    box-shadow: 0 0 10px rgba(0, 212, 170, 0.5);
}

.match-item:has(.match-result.win):hover {
    border-color: rgba(0, 212, 170, 0.5);
    box-shadow: 0 4px 16px rgba(0, 212, 170, 0.2);
}

/* 패배 카드 스타일 */
.match-item:has(.match-result.lose) {
    background: linear-gradient(90deg, rgba(255, 71, 87, 0.05) 0%, var(--bg-card) 30%);
    border-color: rgba(255, 71, 87, 0.3);
}

.match-item:has(.match-result.lose)::before {
    background: linear-gradient(180deg, #ff4757 0%, #e84118 100%);
    box-shadow: 0 0 10px rgba(255, 71, 87, 0.5);
}

.match-item:has(.match-result.lose):hover {
    border-color: rgba(255, 71, 87, 0.5);
    box-shadow: 0 4px 16px rgba(255, 71, 87, 0.2);
}

/* 무승부 카드 스타일 */
.match-item:has(.match-result.draw) {
    background: linear-gradient(90deg, rgba(255, 165, 2, 0.05) 0%, var(--bg-card) 30%);
    border-color: rgba(255, 165, 2, 0.3);
}

.match-item:has(.match-result.draw)::before {
    background: linear-gradient(180deg, #ffa502 0%, #ff8c00 100%);
    box-shadow: 0 0 10px rgba(255, 165, 2, 0.5);
}

.match-item:has(.match-result.draw):hover {
    border-color: rgba(255, 165, 2, 0.5);
    box-shadow: 0 4px 16px rgba(255, 165, 2, 0.2);
}

.load-more-btn {
    padding: 8px 16px;
    background: var(--bg-accent);
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.load-more-btn:hover {
    background: var(--bg-accent-hover);
    transform: translateY(-1px);
}

.load-more-btn:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
}

.no-matches {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 40px 20px;
    font-size: 14px;
}

/* Coming Soon */
.coming-soon {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.coming-soon h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.coming-soon p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* 에러 섹션 */
.error-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin: 24px 0;
}

.error-message {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: var(--radius-md);
    padding: 16px;
    color: var(--text-error);
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

/* 계산 과정 팝업 스타일 */
.calculation-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.calculation-popup-overlay[style*="display: flex"] {
    display: flex !important;
}

.calculation-popup-overlay.show {
    opacity: 1;
}

.calculation-popup {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    max-width: 500px;
    max-height: 80vh;
    width: 90%;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.calculation-popup-overlay.show .calculation-popup {
    transform: scale(1);
}

.calculation-popup .popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.calculation-popup .popup-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.calculation-popup .popup-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.calculation-popup .popup-close:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.calculation-popup .popup-content {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
}

.calculation-step {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 16px 0;
}

.calculation-step p {
    margin: 8px 0;
    font-size: 14px;
    color: var(--text-primary);
}

.calculation-step p strong {
    color: var(--text-primary);
    font-weight: 600;
}

.calculation-note {
    background: var(--accent-light);
    border: 1px solid var(--accent-color);
    border-radius: var(--radius-md);
    padding: 16px;
    margin: 16px 0;
}

.calculation-note p {
    margin: 0;
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.5;
}

.calculation-note p strong {
    color: var(--accent-color);
    font-weight: 600;
}

/* 퍼센트 클릭 가능 스타일 */
.goal-card-value {
    transition: all 0.2s ease;
}

.goal-card-value:hover {
    transform: scale(1.05);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* 선수별 성과 테이블 퍼센트 클릭 가능 스타일 */
.clickable-percent {
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    position: relative !important;
}

.clickable-percent:hover {
    background-color: var(--accent-light) !important;
    color: var(--accent-color) !important;
    transform: scale(1.05) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.clickable-percent::after {
    content: "ℹ️" !important;
    position: absolute !important;
    right: 4px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 12px !important;
    opacity: 0 !important;
    transition: opacity 0.2s ease !important;
}

.clickable-percent:hover::after {
    opacity: 1 !important;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 0 12px;
    }
    
    .logo {
        justify-content: center;
        padding: 10px 12px;
    }
    
    .logo-text h1 {
        font-size: 24px;
    }
    
    .logo-text p {
        font-size: 10px;
    }
    
    .logo-image {
        height: 75px;
        max-width: 300px;
    }
    
    .header-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .action-btn {
        font-size: 11px;
        padding: 8px 12px;
    }
    
    .youtube-icon {
        width: 16px;
        height: 16px;
    }
    
    /* 슛 유형 클릭 가능한 퍼센트 스타일 */
    .clickable-percent {
        cursor: pointer;
        transition: all 0.2s ease;
        padding: 2px 4px;
        border-radius: 4px;
    }
    
    .clickable-percent:hover {
        background-color: var(--bg-hover);
        color: var(--text-accent);
        transform: scale(1.05);
    }
    
    /* 슛 유형 계산 팝업 스타일 - 대시보드와 동일 */
    .calculation-popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
    }
    
    .calculation-popup {
        background: var(--bg-card);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        max-width: 500px;
        width: 90%;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .popup-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 24px 16px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .popup-header h3 {
        margin: 0;
        color: var(--text-primary);
        font-size: 18px;
        font-weight: 600;
    }
    
    .popup-close {
        background: none;
        border: none;
        font-size: 24px;
        color: var(--text-secondary);
        cursor: pointer;
        padding: 0;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.2s ease;
    }
    
    .popup-close:hover {
        background-color: var(--bg-hover);
        color: var(--text-primary);
    }
    
    .popup-content {
        padding: 20px 24px 24px;
    }
    
    .calculation-step {
        margin-bottom: 20px;
        padding: 16px;
        background: var(--bg-subtle);
        border-radius: var(--radius-md);
        border-left: 4px solid var(--accent-color);
    }
    
    .calculation-step:last-child {
        margin-bottom: 0;
    }
    
    .calculation-step p {
        margin: 8px 0;
        color: var(--text-primary);
        line-height: 1.5;
    }
    
    .calculation-step p:first-child {
        margin-top: 0;
        font-weight: 600;
        color: var(--text-accent);
    }
    
    .calculation-note {
        margin-top: 16px;
        padding: 12px;
        background: var(--bg-info);
        border-radius: var(--radius-md);
        border: 1px solid var(--border-info);
    }
    
    .calculation-note p {
        margin: 0;
        color: var(--text-info);
        font-size: 14px;
        line-height: 1.4;
    }
    
    
    .search-box {
        flex-direction: column;
        gap: 1px;
        border-radius: var(--radius-md);
    }
    
    .search-input-container {
        flex: none;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
    }
    
    #nicknameInput {
        border-radius: var(--radius-md) var(--radius-md) 0 0;
    }
    
    #searchBtn {
        min-width: auto;
        width: 100%;
        padding: 14px 24px;
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }
    
    .player-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 16px;
    }
    
    .player-characteristics {
        margin-left: 0;
        margin-top: 12px;
        min-width: auto;
        max-width: none;
        width: 100%;
        padding: 10px;
    }
    
    .characteristic-item {
        flex-direction: column;
        align-items: center;
        gap: 2px;
        text-align: center;
        padding: 2px 0;
        min-width: 60px;
        max-width: 80px;
        overflow: hidden;
    }
    
    .characteristic-label {
        font-size: 9px;
        margin-bottom: 1px;
    }
    
    .characteristic-value {
        text-align: center;
        margin-left: 0;
        font-size: 9px;
        white-space: nowrap;
        word-break: keep-all;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    .current-grade-image {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .highest-grade-image {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .player-info h2 {
        font-size: 18px;
        line-height: 1.2;
    }
    
    .player-level {
        font-size: 13px;
        line-height: 1.2;
    }
    
    .summary-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tab-menu {
        flex-direction: column;
    }
    
    .tab-btn {
        border-bottom: 1px solid var(--border-color);
        border-right: 2px solid transparent;
    }
    
    .tab-btn.active {
        border-right-color: var(--text-accent);
        border-bottom-color: var(--border-color);
    }
    
    .matches-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .match-item {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    
    .match-info {
        width: 100%;
    }
    
    .match-score {
        justify-content: space-between;
        width: 100%;
    }
}

@media (max-width: 1200px) {
    .summary-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .summary-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .summary-stats {
        grid-template-columns: 1fr;
    }
    
    .player-stats {
        grid-template-columns: 1fr;
    }
    
    /* 분석 카드 반응형 */
    .analysis-cards-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .card-header {
        padding: 12px 16px;
    }
    
    .card-content {
        padding: 16px;
    }
    
    .goal-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .goal-card {
        padding: 16px 12px;
    }
    
    .goal-card-icon {
        font-size: 24px;
    }
    
    .goal-card-value {
        font-size: 20px;
    }
    
    /* 주요 선수 모바일 반응형 */
    .top-players-card .top-players-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .top-player-item {
        padding: 12px;
        gap: 8px;
    }
    
    .top-player-image {
        width: 56px;
        height: 56px;
    }
    
    .top-player-rank {
        width: 5px;
        height: 5px;
        top: 6px;
        left: 6px;
    }
    
    .top-player-name {
        font-size: 11px;
        max-width: 80px;
    }
    
    .top-player-stats {
        font-size: 10px;
    }
    
    .goal-label {
        min-width: auto;
    }
    
    .goal-card-bg {
        height: 3px;
    }
    
    /* 경기 한눈에 보기 모바일 반응형 */
    .match-opponents {
        flex-direction: column;
        gap: 16px;
    }
    
    .match-opponents-single-line {
        flex-direction: column;
        gap: 12px;
        margin: 12px 0;
    }
    
    .team-badge {
        min-width: 90px;
        padding: 6px 12px;
    }
    
    .team-name {
        font-size: 12px;
    }
    
    .score-box {
        min-width: 90px;
        padding: 8px 12px;
    }
    
    .score-numbers {
        font-size: 18px;
        letter-spacing: 2px;
    }
    
    .player-score {
        font-size: 20px;
        padding: 4px 8px;
        min-width: 40px;
    }
    
    .player-result {
        font-size: 10px;
        padding: 2px 6px;
        min-width: 30px;
    }
    
    .grade-badge {
        font-size: 10px;
        padding: 2px 6px;
        min-width: 50px;
    }
    
    .vs-text {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    .recent-features {
        gap: 8px;
    }
    
    .feature-item {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .achievement-message {
        font-size: 12px;
        padding: 6px 12px;
        margin: 8px 0;
    }
    
    .improvement-suggestion {
        font-size: 11px;
        padding: 3px 6px;
        margin: 6px 0;
    }
}

/* 스크롤바 스타일링 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-hover);
}


/* 선택 텍스트 스타일 */
::selection {
    background: var(--bg-accent-light);
    color: var(--text-primary);
}

/* 특징 가이드 팝업 스타일 */
.characteristics-guide-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.characteristics-guide-popup-overlay.show {
    opacity: 1;
}

.characteristics-guide-popup {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    max-width: 600px;
    max-height: 80vh;
    width: 90%;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.characteristics-guide-popup-overlay.show .characteristics-guide-popup {
    transform: scale(1);
}

.characteristics-guide-popup .popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.characteristics-guide-popup .popup-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.characteristics-guide-popup .popup-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

.characteristics-guide-popup .popup-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.characteristics-guide-popup .popup-content {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
}

.guide-section {
    margin-bottom: 24px;
}

.guide-section:last-child {
    margin-bottom: 0;
}

.guide-section h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-accent);
}

.guide-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    transition: all var(--transition-fast);
}

.guide-item:hover {
    background: var(--bg-secondary);
    border-color: var(--border-hover);
}

.guide-item:last-child {
    margin-bottom: 0;
}

.guide-item-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.guide-item-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 8px;
}

.guide-item-features {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.guide-item-features strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* 최고의 선수 가이드 팝업 스타일 */
.top-players-guide-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.top-players-guide-popup-overlay.show {
    opacity: 1;
}

.top-players-guide-popup {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    max-width: 700px;
    max-height: 80vh;
    width: 90%;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.top-players-guide-popup-overlay.show .top-players-guide-popup {
    transform: scale(1);
}

.top-players-guide-popup .popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.top-players-guide-popup .popup-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.top-players-guide-popup .popup-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

.top-players-guide-popup .popup-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.top-players-guide-popup .popup-content {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
}

.guide-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.guide-indicator {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: all var(--transition-normal);
}

.guide-indicator:hover {
    background: var(--bg-secondary);
    border-color: var(--border-accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.indicator-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.indicator-icon {
    font-size: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-accent-light);
    border-radius: 50%;
}

.indicator-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-accent);
}

.guide-indicator p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .top-players-guide-popup {
        width: 95%;
        max-height: 85vh;
    }
    
    .top-players-guide-popup .popup-header {
        padding: 16px 20px;
    }
    
    .top-players-guide-popup .popup-header h3 {
        font-size: 16px;
    }
    
    .top-players-guide-popup .popup-content {
        padding: 20px;
    }
    
    .guide-indicators {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .guide-indicator {
        padding: 12px;
    }
    
    .indicator-header h4 {
        font-size: 14px;
    }
    
    .guide-indicator p {
        font-size: 13px;
    }
}

/* 클릭 가능한 특징 박스 스타일 */
.characteristic-item {
    cursor: pointer;
    transition: all var(--transition-fast);
}

.characteristic-item:hover {
    background: var(--bg-accent-light);
    border-radius: var(--radius-sm);
    transform: translateY(-1px);
}

/* ========== 확장된 매치 상세 정보 스타일 ========== */

/* 확장된 매치 상세 정보 */
.match-details-expanded {
    transition: all 0.3s ease;
    border-top: 1px solid var(--border-color);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.match-details-content {
    padding: 20px;
    background: var(--bg-secondary);
}

/* 승리 시 확장 영역 */
.match-item:has(.match-result.win) .match-details-expanded {
    border-top-color: rgba(0, 212, 170, 0.3);
}

.match-item:has(.match-result.win) .match-details-content {
    background: linear-gradient(180deg, rgba(0, 212, 170, 0.03) 0%, var(--bg-secondary) 50%);
}

/* 패배 시 확장 영역 */
.match-item:has(.match-result.lose) .match-details-expanded {
    border-top-color: rgba(255, 71, 87, 0.3);
}

.match-item:has(.match-result.lose) .match-details-content {
    background: linear-gradient(180deg, rgba(255, 71, 87, 0.03) 0%, var(--bg-secondary) 50%);
}

/* 무승부 시 확장 영역 */
.match-item:has(.match-result.draw) .match-details-expanded {
    border-top-color: rgba(255, 165, 2, 0.3);
}

.match-item:has(.match-result.draw) .match-details-content {
    background: linear-gradient(180deg, rgba(255, 165, 2, 0.03) 0%, var(--bg-secondary) 50%);
}

.match-loading {
    text-align: center;
    padding: 0;
    color: var(--text-secondary);
}

.no-player-data {
    text-align: center;
    padding: 20px;
    color: var(--text-secondary);
}

.no-player-data p {
    margin: 8px 0;
}

/* 팀 통계 비교 */
.team-stats-comparison {
    margin-bottom: 24px;
}

.team-stats-comparison h4 {
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
}

.stats-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
}

.user-stat, .opponent-stat {
    font-weight: 600;
    color: var(--text-primary);
}

.vs {
    color: var(--text-secondary);
    font-size: 12px;
    text-align: center;
}

/* 선수별 성과 섹션 */
.players-section {
    margin-bottom: 24px;
}

.players-section h4 {
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
}

.players-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.user-players h5, .opponent-players h5 {
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 500;
}

.players-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.player-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
    transition: all 0.2s ease;
}

.player-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-1px);
}

.player-card.user {
    border-left: 3px solid var(--primary-color);
}

.player-card.opponent {
    border-left: 3px solid var(--danger-color);
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.season-badge {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
    flex-shrink: 0;
}

.season-badge .season-img {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.player-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.player-position {
    background: var(--bg-muted);
    color: var(--text-secondary);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 12px;
}

.player-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.stat-label {
    font-size: 11px;
    color: var(--text-secondary);
}

.stat-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.stat-value.rating.high {
    color: var(--success-color);
}

.stat-value.rating.medium {
    color: var(--warning-color);
}

.stat-value.rating.low {
    color: var(--danger-color);
}

.stat-value.goal {
    color: var(--primary-color);
}

.stat-value.assist {
    color: var(--warning-color);
}

.player-cards {
    margin-top: 8px;
    display: flex;
    gap: 4px;
}

.yellow-card, .red-card {
    font-size: 12px;
}

/* 포지션별 분석 */
.position-analysis-section {
    margin-bottom: 24px;
}

.position-analysis-section h4 {
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
}

.position-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.position-stat {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
    text-align: center;
}

.position-name {
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    margin-bottom: 8px;
}

.position-count, .position-rating, .position-contribution {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

/* 주요 선수 섹션 */
.key-players-section h4 {
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
}

.key-players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.top-rated, .goal-scorers {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
}

.top-rated h6, .goal-scorers h6 {
    color: var(--text-primary);
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 600;
}

.key-player {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.key-player:last-child {
    border-bottom: none;
}

.key-player .player-name {
    font-size: 13px;
}

.player-rating, .player-goals {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 13px;
}

.no-players {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    padding: 16px;
}

/* ========== 리뉴얼된 경기 상세 정보 스타일 ========== */

/* 1. 경기 한눈에 보기 */
.match-overview {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.match-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--bg-accent), #00b894);
}

.match-header-info {
    margin-bottom: 16px;
}

.match-date-time {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 4px;
}

.match-opponent {
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.match-score-result {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
}

.final-score {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    background: var(--bg-tertiary);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    letter-spacing: 2px;
}

.match-result {
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.match-result.win {
    background: var(--bg-accent-light);
    color: var(--text-success);
    border: 2px solid var(--bg-accent);
}

.match-result.lose {
    background: rgba(255, 71, 87, 0.1);
    color: var(--text-error);
    border: 2px solid rgba(255, 71, 87, 0.3);
}

.match-result.draw {
    background: rgba(255, 165, 2, 0.1);
    color: var(--text-warning);
    border: 2px solid rgba(255, 165, 2, 0.3);
}

.achievement-message {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
    text-align: center;
    padding: 8px 16px;
    margin: 12px 0;
    line-height: 1.4;
    opacity: 0.9;
}

.improvement-suggestion {
    font-size: 13px;
    color: #D4AF37;
    font-weight: 500;
    text-align: center;
    padding: 4px 8px;
    margin: 8px 0;
    line-height: 1.3;
    opacity: 0.9;
}

/* 새로운 경기 한눈에 보기 스타일 */
.match-opponents {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 16px 0;
}

.match-opponents-single-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 16px 0;
    flex-wrap: wrap;
}

/* 팀 배지 스타일 (이미지와 같은 스타일) */
.team-badge {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 8px 16px;
    min-width: 100px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.team-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 점수 디스플레이 스타일 (이미지와 같은 스타일) */
.score-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.score-box {
    background: var(--bg-accent);
    border-radius: 8px;
    padding: 10px 16px;
    min-width: 110px;
    text-align: center;
    box-shadow: 0 3px 6px rgba(78, 205, 196, 0.2);
    position: relative;
    border: 2px solid transparent;
}

.score-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 10px 10px 0 0;
}

.score-numbers {
    font-size: 24px;
    font-weight: 800;
    color: white;
    letter-spacing: 3px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 승리/패배에 따른 색상 변화 - 더 직관적인 컬러 */
.score-box.win {
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    border-color: #4ECDC4;
    box-shadow: 0 3px 6px rgba(78, 205, 196, 0.4);
}

.score-box.win::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.score-box.lose {
    background: linear-gradient(135deg, #FF4757, #FF3742);
    border-color: #FF4757;
    box-shadow: 0 3px 6px rgba(255, 71, 87, 0.4);
}

.score-box.lose::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.score-box.draw {
    background: linear-gradient(135deg, #FFA502, #FF8C00);
    border-color: #FFA502;
    box-shadow: 0 3px 6px rgba(255, 165, 2, 0.4);
}

.score-box.draw::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.player-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 120px;
}

.player-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.2px;
    line-height: 1.2;
}

/* 통합된 점수-결과 박스 - 심플한 디자인 */
.score-result-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 16px;
    border-radius: 8px;
    min-width: 70px;
    text-align: center;
    transition: all 0.2s ease;
}

.score-result-box .score {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.score-result-box .result {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    opacity: 0.8;
}

/* 승리 박스 - 심플한 색상 */
.score-result-box.win {
    background: rgba(78, 205, 196, 0.15);
}

.score-result-box.win .result {
    color: #4ECDC4;
}

/* 패배 박스 - 심플한 색상 */
.score-result-box.lose {
    background: rgba(255, 71, 87, 0.15);
}

.score-result-box.lose .result {
    color: #FF4757;
}

/* 무승부 박스 - 심플한 색상 */
.score-result-box.draw {
    background: rgba(255, 165, 2, 0.15);
}

.score-result-box.draw .result {
    color: #FFA502;
}

/* 기존 개별 스타일 (호환성을 위해 유지) */
.player-score {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    background: var(--bg-tertiary);
    padding: 6px 12px;
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
    min-width: 50px;
    text-align: center;
}

.player-result {
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 35px;
    text-align: center;
    white-space: nowrap;
}

.player-result.win {
    background: var(--bg-accent-light);
    color: var(--text-success);
    border: 2px solid var(--bg-accent);
}

.player-result.lose {
    background: rgba(255, 71, 87, 0.1);
    color: var(--text-error);
    border: 2px solid rgba(255, 71, 87, 0.3);
}

.player-result.draw {
    background: rgba(255, 165, 2, 0.1);
    color: var(--text-warning);
    border: 2px solid rgba(255, 165, 2, 0.3);
}

.grade-badge {
    padding: 4px 12px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    min-width: 80px;
    text-align: center;
}

.vs-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    padding: 8px 16px;
    letter-spacing: 1px;
    opacity: 0.7;
}

.recent-features {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.feature-item {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-item.streak {
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    color: white;
    box-shadow: 0 2px 4px rgba(78, 205, 196, 0.3);
}

.feature-item.clean-sheets {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.feature-item.win-rate {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
    box-shadow: 0 2px 4px rgba(79, 172, 254, 0.3);
}

.feature-item.avg-goals {
    background: linear-gradient(135deg, #fa709a, #fee140);
    color: white;
    box-shadow: 0 2px 4px rgba(250, 112, 154, 0.3);
}

/* 2. 팀별 하이라이트 스탯 */
.team-highlight-stats {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}

.team-highlight-stats h4 {
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.3px;
}

.stats-comparison {
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: space-between;
}

.stat-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: all var(--transition-fast);
    flex: 1;
    min-width: 0;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--border-hover);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
}

.stat-comparison {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.user-value, .opponent-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--bg-card);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    min-width: 80px;
    text-align: center;
}

.vs {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.goal-types {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.goal-type {
    background: var(--bg-accent-light);
    color: var(--text-accent);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    border: 1px solid var(--border-accent);
    white-space: nowrap;
}

/* 3. 베스트 플레이어 */
.best-players {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}

.best-players h4 {
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.3px;
}

.best-players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.best-player-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px;
    text-align: center;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.best-player-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--border-hover);
}

.best-player-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--bg-accent), #00b894);
}

.player-title {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.player-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.player-info-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.season-img-small {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
}

.player-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.player-info-inline .player-name {
    margin-bottom: 0;
    font-size: 14px;
}

.player-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-accent);
}

.player-info-inline .player-value {
    font-size: 16px;
}

/* 5. 선수 목록 */
.players-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}

.players-section h4 {
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.3px;
}

.teams-players {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.team-players h5 {
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-accent);
}

.players-by-position {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.position-group h6 {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.players-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.player-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.player-item:hover {
    background: var(--bg-hover);
    border-color: var(--border-hover);
}

.player-left-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.player-right-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.player-position {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-secondary);
    padding: 3px 8px;
    border-radius: 4px;
    min-width: 35px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.player-season-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 3px;
    flex-shrink: 0;
}

/* 강화 등급 배지 */
.grade-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 18px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin-left: 4px;
    flex-shrink: 0;
}

.grade-text {
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

/* 강화 등급별 색상 - 새로운 체계 */
/* 기본 (0) */
.grade-0 { background: linear-gradient(135deg, #6B7280, #4B5563); }

/* 갈색 계열 (1-4) */
.grade-1 { background: linear-gradient(135deg, #8B4513, #654321); }
.grade-2 { background: linear-gradient(135deg, #A0522D, #8B4513); }
.grade-3 { background: linear-gradient(135deg, #CD853F, #A0522D); }
.grade-4 { background: linear-gradient(135deg, #D2691E, #CD853F); }

/* 은색 계열 (5-7) */
.grade-5 { background: linear-gradient(135deg, #C0C0C0, #A8A8A8); }
.grade-6 { background: linear-gradient(135deg, #A8A8A8, #808080); }
.grade-7 { background: linear-gradient(135deg, #808080, #696969); }

/* 금색 계열 (8-10) */
.grade-8 { background: linear-gradient(135deg, #FFD700, #FFA500); }
.grade-9 { background: linear-gradient(135deg, #FFA500, #FF8C00); }
.grade-10 { background: linear-gradient(135deg, #FF8C00, #FF7F00); }

/* 백금색 계열 (11-13) - 부드러운 황금-무지개-사파이어 그라디언트 */
.grade-11 { background: linear-gradient(135deg, rgba(255, 215, 0, 0.8), rgba(255, 165, 0, 0.7), rgba(230, 230, 250, 0.6), rgba(176, 196, 222, 0.7)); }
.grade-12 { background: linear-gradient(135deg, rgba(255, 165, 0, 0.7), rgba(255, 140, 0, 0.6), rgba(240, 230, 140, 0.5), rgba(135, 206, 235, 0.6), rgba(70, 130, 180, 0.7)); }
.grade-13 { background: linear-gradient(135deg, rgba(255, 140, 0, 0.6), rgba(255, 127, 80, 0.5), rgba(221, 160, 221, 0.4), rgba(135, 206, 235, 0.5), rgba(65, 105, 225, 0.6), rgba(25, 25, 112, 0.7)); }

/* 호버 효과 */
.grade-badge:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.2s ease;
}

/* 고급 등급 특별 효과 */
.grade-8, .grade-9, .grade-10 {
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.grade-11, .grade-12, .grade-13 {
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.3), 0 0 4px rgba(135, 206, 235, 0.2);
    border: 1px solid rgba(255, 165, 0, 0.3);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.8), rgba(255, 165, 0, 0.7), rgba(230, 230, 250, 0.6), rgba(135, 206, 235, 0.5), rgba(65, 105, 225, 0.6));
    animation: iridescent-glow 4s ease-in-out infinite alternate;
}

@keyframes iridescent-glow {
    0% {
        box-shadow: 0 0 8px rgba(255, 215, 0, 0.3), 0 0 4px rgba(135, 206, 235, 0.2);
        filter: hue-rotate(0deg) brightness(1.1);
    }
    25% {
        box-shadow: 0 0 10px rgba(255, 165, 0, 0.4), 0 0 6px rgba(221, 160, 221, 0.3);
        filter: hue-rotate(90deg) brightness(1.05);
    }
    50% {
        box-shadow: 0 0 12px rgba(135, 206, 235, 0.5), 0 0 8px rgba(65, 105, 225, 0.4);
        filter: hue-rotate(180deg) brightness(1.0);
    }
    75% {
        box-shadow: 0 0 10px rgba(65, 105, 225, 0.4), 0 0 6px rgba(25, 25, 112, 0.3);
        filter: hue-rotate(270deg) brightness(1.05);
    }
    100% {
        box-shadow: 0 0 8px rgba(255, 215, 0, 0.3), 0 0 4px rgba(135, 206, 235, 0.2);
        filter: hue-rotate(360deg) brightness(1.1);
    }
}

.player-item .player-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0;
}

.player-stats {
    font-size: 11px;
    color: var(--text-success);
    font-weight: 600;
}

.player-rating {
    font-size: 12px;
    font-weight: 700;
    color: white;
    background: #20C997;
    padding: 4px 8px;
    border-radius: 6px;
    min-width: 40px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(32, 201, 151, 0.2);
}

.no-players {
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
    padding: 20px;
    font-style: italic;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .teams-players {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .player-item {
        padding: 6px 10px;
    }
    
    .player-left-info {
        gap: 6px;
    }
    
    .player-right-info {
        gap: 6px;
    }
    
    .player-item .player-name {
        font-size: 12px;
    }
    
    .player-position {
        font-size: 10px;
        padding: 2px 6px;
        min-width: 30px;
    }
    
    .player-rating {
        font-size: 11px;
        padding: 3px 6px;
        min-width: 35px;
    }
    
    .player-stats {
        font-size: 10px;
    }
    
    .player-season-img {
        width: 18px;
        height: 18px;
    }
    
    .grade-badge {
        min-width: 20px;
        height: 16px;
        font-size: 9px;
        margin-left: 3px;
    }
    
    .grade-text {
        font-size: 9px;
    }
}

/* 4. 간단한 전술 정보 */
.tactics-info {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}

.tactics-info h4 {
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.3px;
}

.tactics-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.formation-info, .style-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-tertiary);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.tactics-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

.tactics-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    background: var(--bg-card);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.tactics-value.공격적 {
    color: var(--text-error);
    border-color: rgba(255, 71, 87, 0.3);
    background: rgba(255, 71, 87, 0.1);
}

.tactics-value.균형 {
    color: var(--text-warning);
    border-color: rgba(255, 165, 2, 0.3);
    background: rgba(255, 165, 2, 0.1);
}

.tactics-value.수비적 {
    color: var(--text-accent);
    border-color: var(--border-accent);
    background: var(--bg-accent-light);
}

.tactics-message {
    text-align: center;
    font-size: 14px;
    color: var(--text-accent);
    font-weight: 600;
    font-style: italic;
    padding: 12px 20px;
    background: var(--bg-accent-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-accent);
}

/* 반응형 스타일 - 모바일에서 선수 비교를 세로로 배치 */
@media (max-width: 768px) {
    .players-comparison {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .stat-row {
        grid-template-columns: 1fr auto auto auto 1fr;
        gap: 8px;
    }
    
    .key-players-grid {
        grid-template-columns: 1fr;
    }
    
    .position-breakdown {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    /* 리뉴얼된 스타일 반응형 */
    .match-score-result {
        flex-direction: column;
        gap: 12px;
    }
    
    .final-score {
        font-size: 28px;
        padding: 10px 20px;
    }
    
    .stats-comparison {
        flex-direction: column;
        gap: 12px;
    }
    
    .stat-item {
        flex: none;
    }
    
    .user-value, .opponent-value {
        min-width: auto;
        width: 100%;
    }
    
    .goal-types {
        flex-direction: column;
        gap: 8px;
    }
    
    .best-players-grid {
        grid-template-columns: 1fr;
    }
    
    .formation-info, .style-info {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* 전술 비교 추가 스타일 */
.tactics-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.my-tactics,
.opponent-tactics {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 16px;
    border: 1px solid var(--border-color);
}

.my-tactics h5,
.opponent-tactics h5 {
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.my-tactics h5 {
    color: var(--text-accent);
}

.opponent-tactics h5 {
    color: var(--text-error);
}

/* VS 구분선 */
.tactics-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 12px;
    color: var(--text-secondary);
}

.formation-highlight {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: var(--text-accent) !important;
    background: var(--bg-accent-light) !important;
    border-color: var(--border-accent) !important;
}


/* 전술 비교 반응형 디자인 */
@media (max-width: 768px) {
    .tactics-comparison {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .tactics-vs {
        order: -1;
        margin: 0 auto;
    }
    
    .my-tactics,
    .opponent-tactics {
        width: 100%;
    }
}

/* 경기 성향 분석 스타일 */

/* 전술 카드 스타일 */
.tactics-cards-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: start;
    margin-top: 20px;
}

.tactics-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.tactics-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.my-tactics-card {
    border-left: 4px solid var(--border-color);
}

.opponent-tactics-card {
    border-left: 4px solid var(--border-color);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.card-header h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.formation-badge {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-accent);
    background: var(--bg-accent-light);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-accent);
}

.tactics-card .card-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    justify-content: space-between;
}

.style-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
}

.style-section .label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.style-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.performance-metrics {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0;
}

.metric-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.metric-label {
    min-width: 80px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
}

.metric-bar {
    flex: 1;
    height: 8px;
    background: var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
}

.metric-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--bg-accent), #00b894);
    transition: width var(--transition-slow);
    border-radius: var(--radius-sm);
}

.opponent-fill {
    background: linear-gradient(90deg, var(--bg-accent), #00b894);
}

.metric-score {
    min-width: 30px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: right;
}

.characteristics-section {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.characteristics-section .label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: block;
}


.match-description {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
    font-style: italic;
}

/* VS 구분선 (기존 스타일 유지하되 위치 조정) */
.tactics-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 14px;
    color: var(--text-secondary);
    align-self: center;
    margin-top: 40px;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .tactics-cards-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .tactics-vs {
        order: 2;
        margin: 16px auto;
        width: 40px;
        height: 40px;
        font-size: 12px;
    }
    
    .my-tactics-card {
        order: 1;
    }
    
    .opponent-tactics-card {
        order: 3;
    }
    
    .tactics-card {
        padding: 16px;
        min-height: 350px;
    }
    
    .formation-badge {
        font-size: 12px;
        padding: 3px 8px;
    }
    
    .metric-label {
        min-width: 60px;
        font-size: 11px;
    }
    
}

/* 경기 정보 헤더 스타일 */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.section-header h4 {
    margin: 0;
    flex: 1;
    text-align: center;
}

.info-button {
    background: var(--bg-accent-light);
    color: var(--text-accent);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all var(--transition-normal);
}

.info-button:hover {
    background: var(--bg-accent);
    color: white;
    transform: scale(1.1);
}

/* 지표 설명 팝업 스타일 */
.metrics-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.metrics-popup-overlay.show {
    opacity: 1;
}

.metrics-popup {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    max-width: 600px;
    max-height: 80vh;
    width: 90%;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.metrics-popup-overlay.show .metrics-popup {
    transform: scale(1);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.popup-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.popup-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-secondary);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
}

.popup-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.popup-content {
    padding: 24px;
    max-height: 60vh;
    overflow-y: auto;
}

.metric-explanation {
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.metric-explanation:last-child {
    margin-bottom: 0;
}

.metric-explanation h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-accent);
}

.metric-desc {
    margin: 0 0 12px 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-primary);
}

.calculation-box,
.example-box {
    margin: 8px 0;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    line-height: 1.4;
}

.calculation-box {
    background: rgba(59, 130, 246, 0.1);
    border-left: 3px solid var(--bg-accent);
    color: var(--text-primary);
}

.example-box {
    background: rgba(34, 197, 94, 0.1);
    border-left: 3px solid #22c55e;
    color: var(--text-primary);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .metrics-popup {
        width: 95%;
        max-height: 85vh;
    }
    
    .popup-header {
        padding: 16px 20px;
    }
    
    .popup-header h3 {
        font-size: 16px;
    }
    
    .popup-content {
        padding: 20px;
    }
    
    .metric-explanation {
        margin-bottom: 20px;
        padding: 12px;
    }
    
    .metric-explanation h4 {
        font-size: 14px;
    }
    
    .metric-desc {
        font-size: 13px;
    }
    
    .calculation-box,
    .example-box {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .tactics-guide {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 10px;
    }
    
    .tactic-item {
        padding: 12px;
    }
    
    .tactic-name {
        font-size: 14px;
    }
    
    .tactic-desc {
        font-size: 13px;
    }
    
    .tactic-features {
        font-size: 12px;
    }
}

/* 경기 성향 가이드 스타일 */
.guide-section {
    margin-bottom: 32px;
}

.guide-section:last-child {
    margin-bottom: 0;
}

.guide-title {
    margin: 0 0 16px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tactics-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
}

.tactic-item {
    padding: 16px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.tactic-item:hover {
    background: var(--bg-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.tactic-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-accent);
    margin-bottom: 8px;
}

.tactic-desc {
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.5;
}

.tactic-features {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

  .tactic-features strong {
      color: var(--text-primary);
      font-weight: 600;
  }

/* 관리자 대시보드 스타일 */
.admin-dashboard {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin: 24px 0;
}

.admin-dashboard h2 {
    color: var(--text-primary);
    margin-bottom: 24px;
    text-align: center;
    font-size: 24px;
}

.admin-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: all var(--transition-fast);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-accent);
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 600;
}

.stat-value {
    font-size: 24px;
    color: var(--text-accent);
    font-weight: 700;
}

.admin-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.admin-section.full-width {
    grid-column: 1 / -1;
}

.admin-section {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
}

.admin-section h3 {
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 16px;
    border-bottom: 2px solid var(--border-accent);
    padding-bottom: 8px;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    margin-bottom: 8px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.search-item .rank {
    font-weight: 700;
    color: var(--text-accent);
    min-width: 24px;
}

.search-item .nickname {
    flex: 1;
    color: var(--text-primary);
    font-weight: 600;
}

.search-item .count,
.search-item .time {
    color: var(--text-secondary);
    font-size: 12px;
}

.search-item .status {
    font-size: 16px;
    font-weight: 700;
}

.search-item.success {
    border-left: 3px solid var(--text-success);
}

.search-item.success .status {
    color: var(--text-success);
}

.search-item.failed {
    border-left: 3px solid var(--text-error);
    opacity: 0.7;
}

.search-item.failed .status {
    color: var(--text-error);
}

.hourly-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 200px;
    padding: 20px 10px 10px;
    gap: 4px;
}

.hour-bar {
    flex: 1;
    background: linear-gradient(180deg, var(--bg-accent), #00b894);
    border-radius: 4px 4px 0 0;
    position: relative;
    min-height: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hour-bar:hover {
    opacity: 0.8;
    transform: scaleY(1.1);
}

.hour-label {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* 관리자 대시보드 반응형 */
@media (max-width: 768px) {
    .admin-dashboard {
        padding: 20px;
    }
    
    .admin-dashboard h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .admin-summary {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 24px;
    }
    
    .admin-section.full-width {
        grid-column: 1 / -1;
    }
    
    .stat-card {
        padding: 16px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    .stat-value {
        font-size: 20px;
    }
    
    .admin-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .admin-section {
        padding: 16px;
    }
    
    .admin-section h3 {
        font-size: 14px;
    }
    
    .search-item {
        padding: 8px;
        gap: 8px;
    }
    
    .search-item .rank {
        min-width: 20px;
        font-size: 12px;
    }
    
    .search-item .nickname {
        font-size: 13px;
    }
    
    .search-item .count,
    .search-item .time {
        font-size: 11px;
    }
    
    .hourly-chart {
        height: 150px;
        padding: 15px 5px 10px;
        gap: 2px;
    }
    
    .hour-label {
        font-size: 8px;
        bottom: -18px;
    }
}

@media (max-width: 480px) {
    .admin-summary {
        grid-template-columns: 1fr;
    }
    
    .hourly-chart {
        height: 120px;
        padding: 10px 3px 10px;
        gap: 1px;
    }
}

/* 구단별 데이터 탭 스타일 */
