.participant { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: #123e78; vertical-align: middle; max-width: 100%; }
a.participant:hover .participant-name { text-decoration: underline; }
.participant-avatar { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; flex: 0 0 30px; background: #dfeaff; color: #164e98; font-weight: 750; font-size: 13px; overflow: hidden; }
.participant-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.participant-name { min-width: 0; overflow-wrap: anywhere; font-weight: 750; line-height: 1.3; }
.country-flag { flex: 0 0 22px; width: 22px; height: 16px; object-fit: cover; border-radius: 2px; border: 1px solid #cbd6e5; }
.identity-heading .participant { color: white; gap: 15px; }
.identity-heading .participant-avatar { width: 54px; height: 54px; flex-basis: 54px; font-size: 25px; }
.identity-heading .country-flag { width: 30px; height: 22px; flex-basis: 30px; }
.identity-edit-panel { margin-bottom: 20px; }
.identity-edit-form { grid-template-columns: minmax(160px,1fr) minmax(180px,1fr) auto; align-items: end; }
.match-versus { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin: 15px 0; }
.versus-label { color: #71839a; font-size: 12px; font-weight: 750; }
.schedule-badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 30px; padding: 4px 9px; font-size: 11px; font-weight: 800; line-height: 1.2; white-space: nowrap; }
.badge-today { background: #dcf8e8; color: #116641; }
.badge-tomorrow { background: #e4efff; color: #1a529f; }
.badge-soon { background: #fff1cc; color: #8a5804; }
.match-meta .schedule-badge { min-height: 0; border: 0; border-radius: 30px; font-size: 11px; }
.match-meta .badge-today { background: #dcf8e8; color: #116641; }
.match-meta .badge-tomorrow { background: #e4efff; color: #1a529f; }
.match-meta .badge-soon { background: #fff1cc; color: #8a5804; }
.match-pagination { flex-wrap: wrap; }
.match-pagination label { min-width: 140px; }
.match-pagination label:first-child { flex-grow: 1; }
.match-page-item { scroll-margin-top: 100px; }
.focus-panel:fullscreen,.focus-panel.is-expanded { width: 100vw !important; height: 100dvh !important; max-width: none !important; max-height: none !important; margin: 0 !important; padding: 22px; border: 0; border-radius: 0; background: #edf3fb; color: #13213a; display: flex; flex-direction: column; overflow: hidden; }
.focus-panel.is-expanded { position: fixed; inset: 0; z-index: 1000; }
.focus-panel:fullscreen > .collapsible-head,.focus-panel.is-expanded > .collapsible-head { flex: 0 0 auto; padding-bottom: 15px; border-bottom: 1px solid #cddbed; margin-bottom: 16px; }
.focus-panel:fullscreen > .collapsible-body,.focus-panel.is-expanded > .collapsible-body { flex: 1 1 auto; min-height: 0; width: 100%; overflow: auto; display: block; }
.focus-panel-head .help-text { margin: 4px 0 0; }
.focus-panel-head h2 { margin-bottom: 0; }
.bracket-scroll { overflow: auto; padding: 16px 4px; }
.visual-bracket { position: relative; display: flex; align-items: stretch; gap: 44px; width: max-content; min-width: 100%; padding: 0 3px; }
.bracket-round { position: relative; flex: 0 0 280px; width: 280px; z-index: 1; }
.bracket-round h3 { display: flex; align-items: center; justify-content: center; height: 42px; margin: 0; border: 1px solid #c3d3eb; border-radius: 9px; background: #eaf2ff; color: #154477; font-size: 14px; }
.bracket-round-matches { height: var(--bracket-height); display: flex; flex-direction: column; justify-content: space-around; gap: 16px; }
.bracket-card { width: 280px; flex: 0 0 auto; height: 148px; display: flex; flex-direction: column; gap: 6px; padding: 11px 12px; background: white; border: 1px solid #bccfe9; border-radius: 10px; box-shadow: 0 3px 8px #1027420a; color: #1a3152; text-align: left; cursor: pointer; }
.bracket-card:hover:not(:disabled),.bracket-card:focus-visible { outline: 2px solid #2a71d5; outline-offset: 2px; background: #f5f9ff; }
.bracket-card:disabled { opacity: 1; cursor: default; }
.bracket-card-meta { display: flex; justify-content: space-between; gap: 4px; color: #667a96; font-size: 10px; font-weight: 700; }
.bracket-player { display: flex; justify-content: space-between; gap: 8px; align-items: center; min-height: 30px; }
.bracket-player .participant { font-size: 12px; gap: 7px; flex: 1; }
.bracket-player .participant-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bracket-player .participant-avatar { width: 25px; height: 25px; flex-basis: 25px; font-size: 11px; }
.bracket-player > strong { flex: 0 0 22px; text-align: right; font-size: 18px; }
.bracket-player.is-winner { color: #116841; }
.bracket-player.is-winner .participant-name { color: #116841; }
.bracket-placeholder { display: flex; gap: 8px; align-items: center; color: #75869e; font-size: 12px; min-height: 30px; }
.bracket-placeholder .participant-avatar { width: 25px; height: 25px; flex-basis: 25px; }
.bracket-date { margin-top: auto; color: #667a96; font-size: 10px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.bracket-connectors { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: visible; }
.bracket-connectors path { fill: none; stroke: #86a8d6; stroke-width: 2; }
.match-dialog { width: min(820px,calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 30px); overflow: auto; border: 1px solid #b9cbe3; border-radius: 14px; padding: 24px; background: #f8fbff; }
.match-dialog::backdrop { background: #04152bcc; backdrop-filter: blur(3px); }
.match-dialog-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; }
.match-dialog-head h2 { margin: 0; }
.match-dialog .match-item { padding: 18px; margin: 0 0 18px; background: #fff; border: 1px solid #d0def0; border-radius: 9px; }
.match-dialog .match-create-form { margin: 0; padding-top: 18px; border-top: 1px solid #d0def0; }
.match-dialog .form { width: 100%; }
.live-score-editor { grid-template-columns: repeat(2,minmax(0,1fr)); }
.live-score-editor .score-live-help { grid-column: 1 / -1; color: #526782; font-size: 12px; font-weight: 500; line-height: 1.5; }
.live-score-editor .button { padding: 10px 8px; font-size: 12px; }
.finish-match-button { background: #edf2f9; color: #244d7c; border-color: #adc2de; }
.match-meta .live-match-status.is-live,.live-match-status.is-live { background: #dcf8e8; color: #116641; border-color: #9cdbbb; padding: 3px 8px; border-radius: 20px; }
.bracket-card.is-live { border-color: #42a77a; box-shadow: 0 0 0 1px #42a77a; }
.live-connection { display: block; margin-top: 6px; color: #5c718e; font-size: 11px; }
@media (max-width: 760px) { .identity-edit-form { grid-template-columns: 1fr; }.focus-panel:fullscreen,.focus-panel.is-expanded { padding: 14px; }.match-dialog { padding: 16px; }.match-dialog .match-item { grid-template-columns: 1fr; }.visual-bracket { gap: 32px; }.bracket-round,.bracket-card { width: 256px; }.bracket-round { flex-basis: 256px; } }
