.uld-site-wrap { background: transparent; color: inherit; font-family: inherit; padding: 0; }
.uld-back-link { display: inline-block; margin-bottom: 16px; color: #FFD700; text-decoration: none; font-weight: bold; font-size: 14px; transition: opacity 0.2s; }
.uld-back-link:hover { opacity: 0.7; }
.uld-hero-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; padding: 20px; border-radius: 8px; background: rgba(0, 0, 0, 0.2); border-left: 5px solid #FFD700; }
.uld-title { margin: 0; font-size: 24px; font-weight: bold; text-transform: uppercase; line-height: 1.2; color: inherit; }
.uld-subtitle { margin: 4px 0 0; opacity: 0.7; font-size: 14px; }
.uld-year-switcher { display: flex; gap: 8px; flex-wrap: wrap; }
.uld-year-btn { padding: 6px 12px; background: rgba(128, 128, 128, 0.1); color: inherit; text-decoration: none; border: 1px solid rgba(128, 128, 128, 0.2); transition: 0.2s; border-radius: 4px; }
.uld-year-btn.summer.active, .uld-year-btn.summer:hover { background: #FFD700; color: #000; border-color: #FFD700; font-weight: bold; }
.uld-year-btn.winter.active, .uld-year-btn.winter:hover { background: #4DB8FF; color: #000; border-color: #4DB8FF; font-weight: bold; }
.uld-year-btn.active { font-weight: bold; }
.uld-table-responsive { overflow-x: auto; }
.uld-site-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; background: transparent; }
.uld-site-table th { background: rgba(255, 215, 0, 0.1); color: #FFD700; text-transform: uppercase; padding: 12px; text-align: left; border-bottom: 2px solid #FFD700; }
.uld-site-table td { padding: 12px; border-bottom: 1px solid rgba(128, 128, 128, 0.2); color: inherit; }
.uld-site-table tr:hover td { background: rgba(128, 128, 128, 0.05); }
.uld-stages-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.uld-stage-pill { background: transparent; border: 1px solid rgba(128, 128, 128, 0.3); padding: 10px 16px; border-radius: 6px; color: inherit; text-decoration: none; display: flex; flex-direction: column; transition: 0.2s; }
.uld-stage-pill span { font-size: 11px; color: #FFD700; font-weight: bold; margin-bottom: 2px; }
.uld-stage-pill.active, .uld-stage-pill:hover { background: #FFD700; color: #000; border-color: #FFD700; }
.uld-stage-pill.active span, .uld-stage-pill:hover span { color: #000; }
.uld-section-title { font-size:20px; color:#FFD700; text-transform:uppercase; margin:0 0 14px; border-bottom:1px solid rgba(128,128,128,0.3); padding-bottom:8px; }
.uld-place-badge { display: inline-block; min-width: 30px; text-align: center; padding: 4px 8px; background: rgba(128,128,128,0.2); font-weight: bold; border-radius: 4px; }
.uld-place-badge.place-1 { background: #FFD700; color: #000; }
.uld-place-badge.place-2 { background: #C0C0C0; color: #000; }
.uld-place-badge.place-3 { background: #CD7F32; color: #000; }
.uld-col-qual { min-width: 145px; white-space: nowrap; }
.uld-tag-gold { display: inline-block; white-space: nowrap; background: rgba(255, 215, 0, 0.15); color: #FFD700; border: 1px solid #FFD700; padding: 3px 8px; font-weight: bold; border-radius: 4px;}
.uld-points { color: #FFD700; font-size: 16px; font-weight: bold; }
.uld-num { background: #FFD700; color: #000; padding: 2px 6px; font-weight: bold; margin-right: 6px; font-size: 12px; border-radius: 4px;}
.uld-pilot-link, .uld-team-link { color: inherit; text-decoration: none; font-weight: bold; transition: 0.2s;}
.uld-pilot-link:hover, .uld-team-link:hover { color: #FFD700; }
.uld-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.uld-pilot-card { background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(128, 128, 128, 0.2); border-radius: 8px; display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; overflow: hidden; }
.uld-pilot-card:hover { transform: translateY(-4px); border-color: #FFD700; box-shadow: 0 4px 15px rgba(255,215,0,0.1); }
.uld-pilot-photo-wrap { position: relative; width: 100%; height: 380px; aspect-ratio: 3/4; background: rgba(0,0,0,0.3); overflow: hidden; }
.uld-pilot-photo { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.uld-pilot-no-photo { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 32px; font-weight: bold; opacity: 0.3; }
.uld-pilot-num { position: absolute; top: 12px; right: 12px; background: #FFD700; color: #000; font-weight: bold; font-size: 18px; padding: 4px 10px; border-radius: 4px;}
.uld-pilot-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.uld-pilot-name { font-size: 18px; font-weight: bold; text-transform: uppercase; }
.uld-pilot-meta { display: flex; flex-direction: column; gap: 4px; font-size: 13px; opacity: 0.8; }
.uld-pilot-stats-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: rgba(0, 0, 0, 0.2); padding: 10px; margin-top: auto; text-align: center; border-top: 1px solid rgba(128, 128, 128, 0.2); border-radius: 4px; }
.uld-pilot-stats-mini strong { display: block; color: #FFD700; font-size: 14px; }
.uld-pilot-stats-mini small { font-size: 10px; opacity: 0.7; text-transform: uppercase; }
.uld-profile-header { display: grid; grid-template-columns: 320px 1fr; gap: 30px; padding: 0 0 24px 0; margin-bottom: 24px; border-bottom: 1px solid rgba(128,128,128,0.3); }
@media (max-width: 800px) { .uld-profile-header { grid-template-columns: 1fr; } }
.uld-profile-photo-col { position: relative; }
.uld-profile-photo { width: 100%; height: 420px; object-fit: cover; object-position: top center; border: 3px solid #FFD700; border-radius: 8px;}
.uld-pilot-no-photo.large { height: 420px; border: 2px solid #FFD700; border-radius: 8px; }
.uld-profile-top-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.uld-big-num { background: #FFD700; color: #000; font-size: 24px; font-weight: bold; padding: 4px 14px; border-radius: 4px;}
.uld-profile-name { font-size: 32px; margin: 12px 0; font-weight: bold; text-transform: uppercase; color: inherit; }
.uld-profile-specs { display: flex; gap: 20px; flex-wrap: wrap; font-size: 15px; margin-bottom: 16px; opacity: 0.9; }
.uld-kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 24px; }
.uld-kpi-box { background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(128,128,128,0.2); border-top: 3px solid #FFD700; padding: 16px; text-align: left; border-radius: 6px; }
.uld-kpi-val { display: block; font-size: 24px; font-weight: bold; color: #FFD700; }
.uld-kpi-lbl { display: block; font-size: 12px; margin-top: 4px; font-weight: bold; text-transform: uppercase; opacity: 0.9; }
.uld-teams-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.uld-team-card { background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(128, 128, 128, 0.2); padding: 20px; display: flex; flex-direction: column; gap: 16px; border-radius: 8px;}
.uld-team-card-head { display: flex; gap: 16px; align-items: center; }
/* ИСПРАВЛЕНИЕ: МАСШТАБИРОВАНИЕ ЛОГОТИПА И ОТКЛЮЧЕНИЕ СЖАТИЯ FLEX */
.uld-team-logo-box { width: 80px; height: 80px; flex-shrink: 0; background: rgba(255,255,255,0.05); border: 1px solid #FFD700; border-radius: 6px; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #FFD700; font-weight: bold; text-decoration: none; }
.uld-team-logo-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.uld-team-card-title { font-size: 20px; font-weight: bold; color: inherit; text-decoration: none; text-transform: uppercase; }
.uld-team-card-title:hover { color:#FFD700; }
.uld-roster-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.uld-roster-pilot { background: transparent; border: 1px solid rgba(128, 128, 128, 0.3); color: inherit; text-decoration: none; padding: 6px 12px; font-size: 13px; font-weight: bold; transition: 0.2s; border-radius: 4px; }
.uld-roster-pilot:hover { border-color: #FFD700; color: #FFD700; }
.uld-stat-win { color: #4CAF50; font-weight: bold; }
.uld-stat-loss { color: #FF5252; font-weight: bold; }
.uld-empty { padding: 30px; background: rgba(0,0,0,0.1); border: 1px dashed rgba(128,128,128,0.3); opacity: 0.7; text-align: center; border-radius: 8px;}
/* СТИЛИ СЕТКИ (BRACKET) */
.uld-bracket-wrapper { overflow-x: auto; padding-bottom: 20px; }
.uld-bracket { display: flex; gap: 30px; min-width: max-content; }
.uld-bracket-column { display: flex; flex-direction: column; justify-content: space-around; min-width: 240px; gap: 16px; }
.uld-bracket-header { text-align: center; font-weight: bold; color: #FFD700; margin-bottom: 10px; padding-bottom: 5px; border-bottom: 1px solid rgba(255, 215, 0, 0.3); }
.uld-matchup { background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(128, 128, 128, 0.3); border-radius: 4px; padding: 6px; position: relative; }
.uld-bracket-column:not(:last-child) .uld-matchup::after { content: ''; position: absolute; right: -15px; top: 50%; width: 15px; border-top: 1px solid rgba(128, 128, 128, 0.5); }
.uld-matchup-note { font-size: 10px; color: #FFD700; text-align: right; min-height: 12px; margin-bottom: 2px; }
.uld-team { display: flex; align-items: center; padding: 6px 8px; margin-bottom: 2px; background: rgba(128, 128, 128, 0.1); border-radius: 3px; border-left: 3px solid transparent; }
.uld-team.winner { background: rgba(255, 215, 0, 0.1); border-left: 3px solid #FFD700; font-weight: bold; }
.uld-team.winner .uld-name { color: #FFD700; }
.uld-seed { font-size: 11px; color: #aaa; margin-right: 8px; width: 20px; }
.uld-name { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.uld-third-place { margin-top: auto; justify-content: flex-end; }
