*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{font-family:'Malgun Gothic',' ',Dotum,sans-serif;font-size:12px;color:#333;background:#f0f0f0}
a{color:#1a6fb5;text-decoration:none}
a:hover{text-decoration:underline}
.wrap{max-width:1200px;margin:0 auto;padding:8px}

/*   ŸƲ  */
.page-title{background:#fff;border:1px solid #ccc;padding:8px 12px;margin-bottom:6px;border-radius:3px}
.page-title h1{font-size:18px;font-weight:bold;color:#1a3a6b;display:inline}
.page-title-en{font-size:13px;color:#888;margin-left:8px}

/*  ̾ƿ  */
.content-wrap{display:flex;gap:8px;align-items:flex-start}
.main-area{flex:1;min-width:0}
.sidebar{width:195px;flex-shrink:0}

/*   ޴  */
.tab-menu{display:flex;gap:2px;margin-bottom:-1px;position:relative;z-index:1}
.tab-btn{padding:5px 12px;border:1px solid #bbb;border-bottom:none;background:#ddd;cursor:pointer;font-size:12px;border-radius:3px 3px 0 0}
.tab-btn.active{background:#fff;border-color:#1a3a6b;font-weight:bold;color:#1a3a6b}
.tab-content{display:none;background:#fff;border:1px solid #bbb;margin-bottom:8px}
.tab-content.active{display:block}

/*  ⺻ڷ 3 ̾ƿ  */
.info-wrap{display:flex;align-items:flex-start;min-height:180px}
.info-left{width:120px;flex-shrink:0;padding:10px 8px;border-right:1px solid #eee;text-align:center}
.info-logo-img{width:72px;height:72px;object-fit:contain;display:block;margin:0 auto 6px}
.info-shirts{display:flex;justify-content:center;gap:6px;margin-bottom:6px}
.shirt-item{text-align:center;font-size:10px;color:#888}
.shirt-item img{display:block;width:34px;height:40px;object-fit:contain;margin:0 auto 2px}
.info-logo-name{font-size:11px;font-weight:bold;color:#1a3a6b;line-height:1.3;word-break:break-all}
.info-logo-name-en{font-size:10px;color:#999;margin-top:2px;word-break:break-all}
.info-center{flex:1;padding:8px 10px;border-right:1px solid #eee;min-width:0}
.info-right{width:230px;flex-shrink:0;padding:8px 10px;overflow:hidden}

/*  ⺻ ̺  */
.info-table{width:100%;border-collapse:collapse;font-size:12px}
.info-table th,.info-table td{padding:4px 6px;border-bottom:1px solid #f0f0f0;vertical-align:top}
.info-table th{width:75px;text-align:right;color:#666;font-weight:normal;white-space:nowrap;background:#fafafa}
.sub-text{color:#999;font-size:11px}

/*   ֱٰ/  */
.info-right-hd{font-size:11px;font-weight:bold;color:#fff;background:#1a3a6b;padding:3px 6px;margin-bottom:4px}
.recent-row{display:flex;align-items:center;gap:4px;padding:3px 0;border-bottom:1px solid #f0f0f0;font-size:10px;flex-wrap:wrap}
.lg-badge{display:inline-block;padding:1px 4px;border-radius:2px;color:#fff;font-size:9px;white-space:nowrap;font-weight:bold;flex-shrink:0}
.recent-date{color:#888;white-space:nowrap;flex-shrink:0}
.recent-teams{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rb{display:inline-block;padding:1px 4px;border-radius:2px;font-size:10px;color:#fff;font-weight:bold;flex-shrink:0}
.rw{background:#d9534f}
.rd{background:#888}
.rl{background:#337ab7}

/*     */
.coach-wrap{display:flex;gap:14px;align-items:flex-start;padding:12px}
.coach-photo-wrap img{width:80px;height:100px;object-fit:cover;border:1px solid #ddd}
.coach-info{flex:1}
.coach-info h3{font-size:14px;margin-bottom:8px;color:#1a3a6b;font-weight:bold}
.rich-content{line-height:1.7;font-size:12px;padding:10px}

/*    */
.section{background:#fff;border:1px solid #bbb;margin-bottom:8px}
.section-header-row{display:flex;align-items:center;justify-content:space-between;background:#1a3a6b;padding:5px 10px}
.section-title{font-size:12px;font-weight:bold;color:#fff}
.compare-toggle{font-size:11px;color:#cce;display:flex;align-items:center;gap:3px;cursor:pointer}
.compare-toggle input{margin:0}

/*     */
.league-filter{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:5px 8px;background:#e8f0fb;border-bottom:1px solid #c8d8f0}
.filter-label{font-size:11px;display:flex;align-items:center;gap:3px;cursor:pointer;white-space:nowrap}
.filter-count{font-size:11px;color:#555;margin-left:auto;white-space:nowrap}
.filter-count select{font-size:11px;padding:1px 3px;border:1px solid #bbb}

/*   ̺  */
.table-scroll{overflow-x:auto}
.match-table{width:100%;border-collapse:collapse;font-size:11px}
.match-table th{background:#3a5a8b;color:#fff;padding:5px 6px;text-align:center;white-space:nowrap;font-size:11px;line-height:1.3}
.match-table td{padding:4px 5px;border-bottom:1px solid #eee;text-align:center;white-space:nowrap}
.match-table tr:nth-child(even) td{background:#f5f8ff}
.match-table tr:hover td{background:#ddeeff}
.league-badge{display:inline-block;padding:1px 5px;border-radius:2px;color:#fff;font-size:10px;white-space:nowrap;font-weight:bold}
.date-cell{color:#555;font-size:10px}
.team-cell{text-align:left;max-width:110px}
.team-cell a{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}
.my-team a{font-weight:bold}
.vs-cell{color:#aaa;font-size:11px;width:22px}
.score-cell{font-weight:bold;font-size:12px}
.center{text-align:center}
.score-win{color:#d9534f}
.score-draw{color:#555}
.score-loss{color:#337ab7}
.neutral-mark{font-size:10px;color:#999;margin-left:2px}
.red-card-icon{width:10px;height:14px;vertical-align:middle;margin:0 1px}

/*     */
.result-badge{display:inline-block;padding:1px 5px;border-radius:2px;font-size:11px;color:#fff;font-weight:bold;min-width:20px;text-align:center}
.result-win{background:#d9534f}
.result-draw{background:#888}
.result-loss{background:#337ab7}
.over{color:#d9534f;font-weight:bold}
.under{color:#337ab7;font-weight:bold}
.odd{color:#e67e22;font-weight:bold}
.even{color:#27ae60;font-weight:bold}

/*    */
.stats-summary-text{padding:5px 10px;font-size:11px;color:#444;background:#f5f8ff;border-top:1px solid #dde;line-height:1.9}
.stats-summary-text p{margin-bottom:1px}
.stat-subtitle{font-size:11px;font-weight:bold;padding:4px 10px;background:#3a5a8b;color:#fff}
.stat-table{width:100%;border-collapse:collapse;font-size:11px}
.stat-table th{background:#4a6a9b;color:#fff;padding:4px 5px;text-align:center;white-space:nowrap;font-size:10px}
.stat-table td{padding:3px 5px;border-bottom:1px solid #eee;text-align:center;white-space:nowrap}
.stat-table tr:nth-child(even) td{background:#f5f8ff}
.stat-table td small{color:#888;font-size:10px;display:block}
.stat-label{text-align:left !important;font-weight:bold;background:#eef2ff !important;padding-left:8px !important}

/*  ̵  */
.sidebar-section{background:#fff;border:1px solid #bbb;margin-bottom:8px}
.sidebar-title{font-size:12px;font-weight:bold;padding:5px 8px;background:#1a3a6b;color:#fff}
.pos-group{padding:4px 6px 2px}
.pos-label{font-size:10px;color:#fff;background:#3a5a8b;padding:1px 5px;margin:2px 0 3px;border-radius:2px;display:inline-block}
.player-item{display:flex;align-items:center;gap:4px;padding:2px 0;border-bottom:1px solid #f0f0f0;font-size:11px}
.player-item img{width:22px;height:22px;object-fit:cover;border-radius:50%;border:1px solid #ddd;flex-shrink:0}
.player-num{color:#999;font-size:10px;min-width:14px;text-align:right;flex-shrink:0}
.player-item a{color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.transfer-group{padding:4px 6px}
.transfer-label{font-size:10px;color:#fff;padding:1px 6px;border-radius:2px;display:inline-block;margin-bottom:3px}
.transfer-label.in{background:#27ae60}
.transfer-label.out{background:#e74c3c}
.transfer-item{display:flex;justify-content:space-between;align-items:center;padding:2px 0;border-bottom:1px solid #f0f0f0;font-size:11px}
.tr-name{font-weight:bold;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tr-club{color:#888;font-size:10px;flex-shrink:0;margin-left:4px}

/*    */
@media(max-width:960px){.info-right{display:none}}
@media(max-width:760px){
  .content-wrap{flex-direction:column}
  .sidebar{width:100%}
  .info-wrap{flex-direction:column}
  .info-left{width:100%;border-right:none;border-bottom:1px solid #eee;flex-direction:row;display:flex;gap:10px}
  .info-right{display:block;width:100%}
}

/* (2026-09-17) 팀 페이지 제목줄 왼쪽 홈 버튼 */
.page-title{display:flex;align-items:center;gap:12px}
.page-title .header_home{width:40px;height:40px;flex-shrink:0;border-radius:8px;background:#1a237e;color:#fff;text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:center;line-height:1;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:transform .12s,background .12s}
.page-title .header_home .hi{font-size:16px}.page-title .header_home .ht{font-size:9px;font-weight:800;margin-top:2px}
.page-title .header_home:hover{background:#283593;transform:translateY(-1px)}

/* (2026-09-17) 홈 버튼 → 라이브맨 로고(흰 상자 안 검정 로고) */
.page-title .header_home{width:auto;padding:0 10px;background:#fff;border:1px solid #c5cae9}.page-title .header_home img{height:14px;display:block}.page-title .header_home:hover{background:#eef1fb}

/* ===== 상단바(분석·배당흐름·경기 페이지와 동일 스타일, 알약 없음) 2026-09-17 ===== */
#an-hdr{position:sticky;top:0;z-index:9999;background:linear-gradient(135deg,#FF6F5E,#f5533f);color:#fff;padding:10px 14px;font-family:'Noto Sans KR','Malgun Gothic',sans-serif;box-shadow:0 2px 6px rgba(0,0,0,.2);text-align:left}
#an-hdr .in{max-width:100%;margin:0 auto;display:flex;align-items:center;gap:12px}
#an-hdr .lhs{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;min-width:0}
#an-hdr .badge{background:#fff;border-radius:8px;padding:9px 10px;flex:none;display:flex;align-items:center}#an-hdr .badge img{height:15px;display:block}
#an-hdr .t{font-weight:700;font-size:15px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#an-hdr .sub{font-size:11px;opacity:.9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#an-hdr .home{margin-left:auto;font-size:11px;background:rgba(0,0,0,.2);padding:5px 10px;border-radius:12px;color:#fff;text-decoration:none;white-space:nowrap;flex:none}
@media (max-width:600px){#an-hdr{padding:8px 8px}#an-hdr .badge{padding:7px 8px}#an-hdr .badge img{height:12px}#an-hdr .t{font-size:13px}#an-hdr .sub{font-size:10px}#an-hdr .home{display:none}}

/* (2026-09-17) 가로 스크롤 시에도 상단바가 화면 왼쪽에 고정되도록(sticky x축) */
#an-hdr{left:0;width:100%;box-sizing:border-box}
/* (2026-09-17) 좁은 화면: body를 본문 폭까지 늘려 sticky 상단바가 가로 스크롤에도 화면에 고정되게 */
@media (max-width:1000px){body{min-width:max-content}}
