html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.main-body {
    padding: 2px 10px
}

.scoring-chip {
    background: #ccc
}

.scoring-btn {
    width: 180px;
    height: 80px;
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    border-radius: 20px;
    margin-top: 10px !important
}
    .scoring-btn button.k-button {
        width: 145px;
        height: 70px;
        font-size: 40px;
        font-weight: bold;
        background:none
    }

.scoring-btn-in-active {
    background-color: lightblue!important;
}
.scoring-btn-active {
    background-color: lightgoldenrodyellow!important;
}

.scoring-card-yellow {
    background-color: yellow!important
}

.scoring-card-red {
    background-color: lightcoral!important
}

    .scoring-card-red.status-active {
        background-color: lightcoral!important;
        color: silver!important
    }
    .scoring-card-yellow.status-active {
        background-color: yellow!important;
        color: silver !important
    }


.scoring-medical {
    color: red
}

.scoring-btn-back {
    font-size: 40px;
    font-weight: bold;
    left: 0;
    height: 80px;
    border-radius: 10px;
}

.notification-full-width {
    width: 100% !important;
    z-index: 654321;
    opacity: 0.9;
}

    .notification-full-width div:first-child {
        width: 100% !important;
        padding-bottom: 55px !important;
        font-size: 24px !important
    }

.k-notification > .k-notification-content {
    text-align: center
}

.high-zindex {
    z-index: 654321;
}
.scoring-player {
    font-size:16px
}

.scoring-player-serving {
    font-weight: bold !important;
    background-color: #90ee90 !important;
    border-radius: 4px;
    padding: 2px 4px;
    margin-right:4px;
}
.scoring-player-next-server {

    background-color: #fde8cc !important;
    border-radius: 4px;
    padding: 2px 4px;
    margin-right:4px;
}

.scoring-legend-item {
    display: inline-flex;
    align-items: center;
    color: #555;
}

.scoring-legend-swatch {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    margin-right: 4px;
}
.home-away-team-label {
    font-size: 10px!important;
    display: block!important
}
.status-active {
    background-color: #278200 !important;
    color: #fff
}

.top-nav {
    background: #0855a6
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.telerik-dialog-bottom {
    position: fixed !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
}

    .telerik-dialog-bottom .k-window-content {
        padding: 10px 2px
    }

.k-input-inner::placeholder {
    color: #ccc;
    opacity: 1;
}

/* arrange buttons vertically */
.vertical-buttons {
    flex-flow: column;
}

/* set block display */
.block-buttons {
    display: flex;
}

/* remove default margins and overlapping */
.vertical-buttons .k-button {
    margin: 0;
}

.vertical-buttons.k-button-group > .k-button + .k-button {
    margin-inline-start: 0;
}

/* adjust rounded and square corners */
.vertical-buttons.k-button-group > .k-button:first-child:not(:only-child) {
    border-radius: 2px 2px 0 0;
}

.vertical-buttons.k-button-group > .k-button:last-child:not(:only-child) {
    border-radius: 0 0 2px 2px;
}

.favo {
    color: red;
}

    .favo .k-button-lg.k-icon-button {
        width: 48px !important;
        height: 48px !important
    }

.link {
    cursor: pointer;
}



.court-zone-court {
    width: 100%;
    display: block;
}

.court-zone-court {
    padding-left: 20px
}


.court-zone-long {
    width: 100%;
    display: block;
    height: 70px;
}

    .court-zone-back div, .court-zone-front div, .court-zone-long div, .court-zone-net div {
        float: left;
        height: 70px;
        text-align: center
    }

.court-zone-net div {
    float: left;
    height: 60px;
    text-align: center
}

.court-zone-back {
    width: 100%;
    display: block;
    height: 70px;
}

.court-zone-front {
    width: 100%;
    display: block;
    height: 70px;
}

.court-zone-net {
    width: 100%;
    display: block;
    height: 60px !important;
    text-align: center;
}

    .court-zone-net div {
        background: #ddd;
        text-align: center
    }

.court-zone-court div {
    border: 1px solid black !important
}

.zone-out, .zone-in, .zone-net {
    background-color: lightblue !important
}

.zone-net {
    padding: 20px 0px !important
}

.selected-zone {
    background-color: #1274AC !important;
}

.disabled-zone {
    background-color: indianred !important;
    opacity: 0.4
}

/* Profile Image Styles */
.profile-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
}

.profile-image-wrapper {
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.profile-image-rounded {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    border: 3px solid #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-image-rounded:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.profile-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.profile-image-wrapper:hover .profile-image-overlay {
    opacity: 1;
}

.profile-image-icon {
    font-size: 32px;
    margin-bottom: 5px;
}

.profile-image-text {
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Mobile-optimized: Always show hint on touch devices */
@media (hover: none) and (pointer: coarse) {
    .profile-image-overlay {
        opacity: 0.3;
        background: rgba(0, 0, 0, 0.4);
    }

    .profile-image-wrapper:active .profile-image-overlay {
        opacity: 0.8;
        background: rgba(0, 0, 0, 0.6);
    }

    .profile-image-rounded {
        /* Larger touch target on mobile */
        width: 180px;
        height: 180px;
    }

    .profile-image-icon {
        font-size: 40px;
    }

    .profile-image-text {
        font-size: 16px;
    }
}

.profile-image-rounded-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    border: 2px solid #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-image-rounded-small:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}

/* Image Cropper Modal */
.image-cropper-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.image-cropper-container {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.image-cropper-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.image-cropper-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.btn-close-cropper {
    background: none;
    border: none;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.btn-close-cropper:hover {
    background: #f0f0f0;
}

.image-cropper-instructions {
    padding: 12px 20px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
}

.image-cropper-instructions p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.image-cropper-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
    background: #f8f9fa;
}

.image-cropper-viewport {
    position: relative;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.5);
    border: 3px solid white;
}

.cropper-image {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    cursor: grab;
    touch-action: none;
    user-select: none;
    -webkit-user-drag: none;
    transform-origin: 0 0;
}

.cropper-image:active {
    cursor: grabbing;
}

.image-cropper-controls {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
    background: white;
}

.zoom-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.btn-zoom {
    background: #f0f0f0;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.btn-zoom:hover {
    background: #e0e0e0;
}

.btn-zoom:active {
    background: #d0d0d0;
}

.zoom-slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
    background: #e0e0e0;
}

.zoom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1b6ec2;
    cursor: pointer;
}

.zoom-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1b6ec2;
    cursor: pointer;
    border: none;
}

.action-buttons {
    display: flex;
    gap: 12px;
}

.action-buttons .btn {
    flex: 1;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.action-buttons .btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.action-buttons .btn-secondary:hover {
    background: #e0e0e0;
}

.action-buttons .btn-primary {
    background: #1b6ec2;
    color: white;
}

.action-buttons .btn-primary:hover {
    background: #155a9c;
}

/* Mobile optimizations */
@media (max-width: 600px) {
    .image-cropper-viewport {
        width: 280px;
        height: 280px;
    }

    .image-cropper-header h3 {
        font-size: 18px;
    }

    .image-cropper-instructions {
        padding: 10px 16px;
    }

    .image-cropper-instructions p {
        font-size: 13px;
    }

    .zoom-controls {
        margin-bottom: 12px;
    }

    .btn-zoom {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}


.team-row {
    display: block;
    margin: 4px 0;
    clear: both
}

    .team-row .score {
        float: right;
        width: 20px;
        text-align: center;
        font-size: 1.2em;
        margin: 0 4px;
    }

.set-winner {
    font-weight: bold
}

.live-score-container .k-card-body {
    margin: 1px !important
}

.list-group-item .scoring-item {
    margin: 1px !important
}

.team-row {
    display: block
}

.team-name {
    max-width: 80% !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.scoring-statistic-container {
    width: 100%;
    display: block;
    height: 380px;
    overflow-y: scroll;
}

#mainMenu .k-svg-icon, .top-nav .k-svg-icon {
    color: white;
}


.icon-only-btn {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 4px;
}

    .icon-only-btn:hover {
        background: rgba(0,0,0,0.05); /* optional hover effect */
    }






.wrap-button-group {
    display: flex;
    flex-wrap: wrap;
}

    .wrap-button-group .k-button {
        margin: 2px; /* optional spacing */
    }


.full-width-notification.k-notification-container {
    width: 100vw !important; /* span full viewport width */
    left: 0 !important; /* align to left edge */
    right: 0 !important; /* align to right edge */
    top: 0 !important; /* position at top */
    transform: none !important; /* remove Telerik’s center transform */
    display: flex !important; /* center content horizontally */
    justify-content: center;
}

/* Optional: style the actual message box inside */
.full-width-notification .k-notification {
    width: 100%; /* stretch across */
    border-radius: 0; /* flat edges for banner style */
    text-align: center;
}

/* ========================================
   Register Profile Component Styles
   Mobile-first registration flow
   ======================================== */

.register-profile-container {
    min-height: 100vh;
    background: linear-gradient(180deg, #87CEEB 0%, #E0F6FF 50%, #F4E4C1 100%);
    padding: 1rem;
    display: flex;
    flex-direction: column;
}

.register-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.register-logo {
    max-width: 100px;
    height: auto;
    margin-bottom: 1rem;
}

.register-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 0 0.5rem;
}

.progress-steps .step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    opacity: 0.5;
}

.progress-steps .step.active {
    opacity: 1;
}

.progress-steps .step.completed .step-circle {
    background-color: #4caf50;
    border-color: #4caf50;
}

.progress-steps .step.completed .step-circle::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1rem;
}

.step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: white;
    border: 3px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.progress-steps .step.active .step-circle {
    border-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.step-label {
    font-size: 0.75rem;
    color: white;
    font-weight: 600;
    text-align: center;
}

/* Form Container */
.register-form {
    background: white;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-step {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.step-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 0.5rem 0;
}

.step-description {
    color: #718096;
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Form Elements */
.register-form .form-group {
    margin-bottom: 1.5rem;
}

.register-form .form-label {
    display: block;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.register-form .form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background-color: #f7fafc;
}

.register-form .form-input:focus {
    outline: none;
    border-color: #667eea;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.code-input {
    text-align: center;
    font-size: 4rem;
    letter-spacing: 1rem;
    font-weight: 700;
    padding: 1.25rem;
}

/* Register Form Buttons */
.register-form .btn-primary,
.register-form .btn-secondary,
.register-form .btn-link {
    width: 100%;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 50px;
    margin-bottom: 1rem;
}

.register-form .btn-primary, .btn-beachlive {
    background: linear-gradient(145deg, #4A9FD8 0%, #6BAED6 70%, #D4A574 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(74, 159, 216, 0.3);
}

.register-form .btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #3A8FC8 0%, #5B9EC6 50%, #C49564 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(74, 159, 216, 0.4);
}

.register-form .btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.register-form .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.register-form .btn-secondary {
    background: linear-gradient(135deg, #B8D4E6 0%, #E8D5C4 100%);
    color: #2c5f7a;
}

.register-form .btn-secondary:hover:not(:disabled) {
    background: linear-gradient(135deg, #A8C4D6 0%, #D8C5B4 100%);
}

.register-form .btn-link {
    background: transparent;
    color: #3A8FC8;
    box-shadow: none;
    text-decoration: underline;
    padding: 0.5rem;
    min-height: auto;
}

.register-form .btn-link:hover:not(:disabled) {
    color: #764ba2;
}

/* Loading Spinner */
.register-form .spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Player Match Card */
.player-match-card {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.player-match-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.player-info {
    text-align: center;
}

.player-name {
    font-size: 1.0rem;
    font-weight: 300;
    color: #2d3748;
    margin: 0 0 0.3rem 0;
}

.player-club {
    color: #718096;
    font-size: 1rem;
    margin: 0;
}

/* Profile Picture Section */
.profile-picture-section {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.profile-picture-preview {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #667eea;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.profile-picture-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-picture-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border: 3px dashed #cbd5e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-picture-placeholder:hover {
    border-color: #667eea;
    background: linear-gradient(135deg, #edf2f7 0%, #e2e8f0 100%);
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.profile-picture-placeholder p {
    color: #718096;
    font-weight: 600;
    margin: 0;
}

/* Home Page Register Button */
.register-button {
    font-size: 1.2rem !important;
    padding: 1.2rem 2.5rem !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4) !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    min-height: 56px !important;
}

.register-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5) !important;
}

.register-button:active {
    transform: translateY(0) !important;
}

/* Tablet and larger screens */
@media (min-width: 768px) {
    .register-profile-container {
        padding: 2rem;
        justify-content: center;
    }

    .register-form {
        max-width: 500px;
        margin: 0 auto;
        padding: 3rem 2.5rem;
    }

    .register-title {
        font-size: 2.25rem;
    }

    .step-heading {
        font-size: 1.75rem;
    }

    .step-description {
        font-size: 1.1rem;
    }

    .register-form .btn-primary,
    .register-form .btn-secondary {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .progress-steps {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 2.5rem;
    }

    .step-label {
        font-size: 0.875rem;
    }

    .register-button {
        width: auto !important;
        max-width: 400px !important;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .register-profile-container {
        padding: 3rem;
    }

    .register-form {
        max-width: 600px;
        padding: 4rem 3rem;
    }
}
.winner-team {font-weight:bold;}


.img-profile-round-mini {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto;
    border: 2px solid #cbd5e0;
}

/* Player Profile Card */
.player-profile-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 500px;
    margin: 0 auto;
}

.profile-card-header {
    text-align: center;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.profile-card-header .profile-image-container {
    margin-bottom: 1rem;
}

.profile-image-round {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0.5rem 0 0.25rem;
}

.profile-club {
    font-size: 1.1rem;
    color: #4a5568;
    margin: 0.25rem 0;
}

.profile-birth-year {
    font-size: 0.95rem;
    color: #718096;
    margin: 0.25rem 0 0;
}

.profile-card-body {
    padding: 1.5rem;
}

.profile-stats {
    background: #f7fafc;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.stats-heading,
.info-heading {
    font-size: 1rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    font-weight: 500;
    color: #4a5568;
}

.stat-value {
    font-weight: 600;
    color: #2d3748;
}

.profile-info-section {
    margin-bottom: 1.5rem;
}

.profile-info-section:last-child {
    margin-bottom: 0;
}

.info-text {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
    white-space: pre-wrap;
}

.profile-card-empty {
    padding: 3rem 1.5rem;
    text-align: center;
    color: #718096;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .player-profile-card {
        border-radius: 0;
        box-shadow: none;
    }

    .profile-image-round {
        width: 120px;
        height: 120px;
    }

    .profile-name {
        font-size: 1.25rem;
    }

    .profile-club {
        font-size: 1rem;
    }
}

/* Clickable Player Names */
.player-name {
    cursor: pointer;
    color: #2c5f7a;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
    padding: 2px 4px;
    border-radius: 4px;
}

.player-name:hover {
    background-color: rgba(44, 95, 122, 0.1);
    color: #1a4a5f;
    text-decoration: underline;
}

.player-name:active {
    transform: scale(0.98);
}

/* ================================================== */
/* Club Team Tournament Public Page - Mobile First   */
/* ================================================== */
.clubteam-public-page {
    min-height: 100vh;
    background: #f5f5f5;
    padding-bottom: 1rem;
}

/* Loading & Error States */
.clubteam-public-page .loading-container,
.clubteam-public-page .error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    color: #2d3748;
    gap: 1rem;
    padding: 1rem;
}

.clubteam-public-page .error-container {
    text-align: center;
}

.clubteam-public-page .error-container p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Tournament Header */
.clubteam-public-page .tournament-header {
    background: white;
    padding: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 0.5rem;
}

.clubteam-public-page .tournament-header h1 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 0.5rem 0;
}

.clubteam-public-page .tournament-dates,
.clubteam-public-page .tournament-venue {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.clubteam-public-page .tournament-dates svg,
.clubteam-public-page .tournament-venue svg {
    color: #667eea;
}

/* Filters Section */
.clubteam-public-page .filters-section {
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.clubteam-public-page .filter-card {
    background: white;
    border-radius: 6px;
    padding: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.clubteam-public-page .filter-label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Pool Selector */
.clubteam-public-page .pool-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 0.5rem;
}

.clubteam-public-page .pool-button {
    padding: 0.6rem;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.clubteam-public-page .pool-button:hover {
    border-color: #667eea;
    background: #f7fafc;
}

.clubteam-public-page .pool-button.selected {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* Matches Container */
.clubteam-public-page .matches-container {
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Match Card */
.clubteam-public-page .match-card {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

/* Match Teams Header */
.clubteam-public-page .match-teams-header {
    background: #f7fafc;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.clubteam-public-page .live-stream-link {
    position: absolute;
    top: 6px;
    right: 8px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px 8px;
    background: #e53935;
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: background 0.15s ease, transform 0.15s ease;
    z-index: 1;
}

    .clubteam-public-page .live-stream-link:hover {
        background: #b71c1c;
        transform: scale(1.05);
        color: #fff;
    }

.clubteam-public-page .team-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.clubteam-public-page .club-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 4px;
    background: white;
    padding: 0.35rem;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.clubteam-public-page .club-logo-placeholder {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    background: #667eea;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.clubteam-public-page .team-info {
    flex: 1;
    min-width: 0;
}

.clubteam-public-page .team-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 0.15rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.clubteam-public-page .team-label {
    font-size: 0.7rem;
    color: #718096;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.clubteam-public-page .vs-divider {
    align-self: center;
    width: 100%;
    text-align: center;
    padding: 0.4rem 0;
    color: #667eea;
    font-weight: 700;
    font-size: 0.75rem;
    font-weight: 700;
    font-size: 0.75rem;
}

.clubteam-public-page .live-stream-link:hover {
        background: #b71c1c;
        transform: scale(1.05);
        color: #fff;
    }

/* Match Info */
.clubteam-public-page .match-info {
    padding: 0.75rem;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.clubteam-public-page .info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
    font-size: 0.85rem;
}

.clubteam-public-page .info-item svg {
    color: #667eea;
    flex-shrink: 0;
}

/* Volleyball Matches */
.clubteam-public-page .volleyball-matches {
    padding: 0.75rem;
    background: #f7fafc;
}

.clubteam-public-page .section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.clubteam-public-page .vb-match-card {
    background: white;
    border-radius: 4px;
    padding: 0.75rem;
    margin-bottom: 0.6rem;
    border: 1px solid #e2e8f0;
}

.clubteam-public-page .vb-match-card:last-child {
    margin-bottom: 0;
}

.clubteam-public-page .vb-match-card:hover {
    border-color: #cbd5e0;
}

.clubteam-public-page .vb-match-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.6rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.clubteam-public-page .vb-match-title {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.clubteam-public-page .round-badge {
    background: #667eea;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    white-space: nowrap;
}

.clubteam-public-page .match-name {
    color: #2d3748;
    font-weight: 600;
    font-size: 0.85rem;
}

.clubteam-public-page .vb-match-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #718096;
    font-size: 0.75rem;
}

/* VB Teams */
.clubteam-public-page .vb-teams {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.clubteam-public-page .vb-team {
    background: #f7fafc;
    border-radius: 4px;
    padding: 0.6rem;
}

.clubteam-public-page .vb-team.home {
    border-left: 3px solid #667eea;
}

.clubteam-public-page .vb-team.away {
    border-left: 3px solid #764ba2;
}

.clubteam-public-page .team-side {
    display: block;
    font-size: 0.7rem;
    color: #718096;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.4rem;
    letter-spacing: 0.3px;
}

.clubteam-public-page .players {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.clubteam-public-page .player-badge {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 0.3rem 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
}

.clubteam-public-page .player-number {
    color: #667eea;
    font-weight: 700;
}

.clubteam-public-page .player-name {
    color: #2d3748;
    font-weight: 500;
}

.clubteam-public-page .no-players {
    color: #a0aec0;
    font-style: italic;
    font-size: 0.85rem;
}

/* Winner Banner */
.clubteam-public-page .winner-banner {
    background: #48bb78;
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1rem;
}

/* Empty State */
.clubteam-public-page .empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    color: #718096;
    text-align: center;
}

.clubteam-public-page .empty-state svg {
    opacity: 0.5;
    margin-bottom: 1rem;
}

.clubteam-public-page .empty-state p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* View toggle */
.clubteam-public-page .tournament-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.clubteam-public-page .tournament-header .header-content {
    flex: 1 1 auto;
}

.clubteam-public-page .view-toggle {
    flex: 0 0 auto;
    align-self: center;
}

/* Compact match list */
.clubteam-public-page .matches-compact {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem;
}

.clubteam-public-page .compact-match-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.clubteam-public-page .compact-time {
    font-weight: 700;
    color: #2d3748;
    min-width: 3.5rem;
}

.clubteam-public-page .compact-court {
    color: #667eea;
    font-weight: 600;
    min-width: 5rem;
}

.clubteam-public-page .compact-teams {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1 1 auto;
    font-weight: 500;
    color: #2d3748;
}

.clubteam-public-page .compact-score {
    font-weight: 700;
    color: #4a5568;
    padding: 0 0.25rem;
}

.clubteam-public-page .compact-class {
    color: #718096;
    font-size: 0.8rem;
    margin-left: auto;
}

/* Tablet and up */
@media (min-width: 768px) {
    .clubteam-public-page {
        padding-bottom: 2rem;
    }

    .clubteam-public-page .tournament-header {
        padding: 1.5rem;
    }

    .clubteam-public-page .tournament-header h1 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .clubteam-public-page .tournament-dates {
        font-size: 1rem;
    }

    .clubteam-public-page .filters-section {
        flex-direction: row;
        align-items: flex-start;
        padding: 1rem;
    }

    .clubteam-public-page .filter-card {
        flex: 1;
        padding: 1rem;
    }

    .clubteam-public-page .matches-container {
        padding: 1rem;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
        gap: 1rem;
    }

    .clubteam-public-page .match-card {
        height: fit-content;
    }

    .clubteam-public-page .match-teams-header {
        padding: 1.25rem;
        gap: 1rem;
    }

    .clubteam-public-page .team-section {
        width: 100%;
    }

    .clubteam-public-page .club-logo,
    .clubteam-public-page .club-logo-placeholder {
        width: 30px;
        height: 30px;
        font-size: 1.0rem;
    }

    .clubteam-public-page .team-info h3 {
        font-size: 1.1rem;
    }

    .clubteam-public-page .vs-divider {
        width: 100%;
        padding: 0.5rem 0;
        font-size: 0.85rem;
    }

    .clubteam-public-page .volleyball-matches {
        padding: 1rem;
    }

    .clubteam-public-page .vb-match-card {
        padding: 1rem;
    }

    .clubteam-public-page .match-info {
        padding: 1rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .clubteam-public-page {
        padding-bottom: 3rem;
    }

    .clubteam-public-page .tournament-header {
        padding: 2rem;
    }

    .clubteam-public-page .tournament-header h1 {
        font-size: 2rem;
    }

    .clubteam-public-page .filters-section {
        padding: 1.5rem;
    }

    .clubteam-public-page .matches-container {
        padding: 1.5rem;
        max-width: 1400px;
        margin: 0 auto;
    }
}

/* Bracket View Styles */
.bracket-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.bracket-scroll {
    min-width: 100%;
    padding: 1rem 0.5rem;
    display: flex;
    min-height: 500px;
}

.bracket-grid {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    min-width: max-content;
    width: 100%;
}

.bracket-column {
    display: flex;
    flex-direction: column;
    min-width: 200px;
    justify-content: flex-start;
}

.bracket-column-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.75rem;
    color: #333;
}

.bracket-matches {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex: 1;
    justify-content: center;
    min-height: 400px;
}

.bracket-match {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 200px;
}

.bracket-match:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-color: #1976d2;
    transform: translateY(-2px);
}

.bracket-match-team {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.bracket-match-team.winner {
    background-color: #e8f5e9;
    font-weight: 600;
}

.bracket-team-logo {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.bracket-team-logo-placeholder {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #1976d2;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    flex-shrink: 0;
}

.bracket-team-name {
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.bracket-match-vs {
    text-align: center;
    font-size: 0.7rem;
    color: #999;
    padding: 0.2rem 0;
}

.bracket-match-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #555;
    text-align: center;
    padding: 0.2rem 0.25rem 0.3rem;
    border-bottom: 1px solid #f0f0f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0.25rem;
}

.bracket-match-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.3rem 0.25rem 0.1rem;
    border-top: 1px solid #f0f0f0;
    margin-top: 0.25rem;
}

.bracket-match-datetime {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    color: #666;
}

.bracket-match-referee {
    font-size: 0.72rem;
    color: #888;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.empty-bracket {
    padding: 2rem;
    text-align: center;
    color: #999;
}

.playoff-view-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}

.playoff-view-toggle .k-button-group {
    width: 100%;
    max-width: 400px;
}

.playoff-view-toggle .k-button {
    flex: 1;
}

/* Tournament Structure - Playoff View Mode Toggle */
.tournament-structure-container {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.playoff-view-mode-toggle {
    margin-left: auto;
}

.playoff-view-mode-toggle .k-button {
    min-width: 32px;
    padding: 0.375rem 0.5rem;
    font-size: 0.875rem;
}

.playoff-view-mode-toggle .k-button .k-icon {
    font-size: 1rem;
}

/* Match Bracket View - Admin specific styles */
.bracket-match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0.5rem;
    background-color: #f5f5f5;
    border-radius: 4px 4px 0 0;
    margin: -0.5rem -0.5rem 0.5rem -0.5rem;
    font-size: 0.75rem;
}

.bracket-match-name {
    font-weight: 600;
    color: #333;
}

.bracket-match-time {
    color: #666;
    font-size: 0.7rem;
}

.bracket-match-number {
    color: #1976d2;
    font-size: 0.7rem;
    font-weight: 600;
}

.bracket-match-result {
    text-align: center;
    padding: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1976d2;
    margin-top: 0.25rem;
    border-top: 1px solid #e0e0e0;
}

.bracket-match-referee {
    text-align: center;
    font-size: 0.7rem;
    color: #757575;
    margin-top: 0.2rem;
    padding: 0 0.25rem;
}

/* Match Details Modal */
.match-details-modal .k-window-content {
    padding: 1.5rem;
    overflow-y: auto;
    min-height: 0;
}

.match-details-modal.k-window {
    display: flex;
    flex-direction: column;
}

.match-details-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.match-details-teams {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.match-details-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.match-details-team-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.match-details-team-logo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #1976d2;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.match-details-team-name {
    font-weight: 600;
    font-size: 1.1rem;
}

.match-details-vs {
    font-size: 1.2rem;
    color: #999;
    font-weight: 600;
}

.match-details-winner-banner {
    background-color: #4caf50;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Tablet and up - Bracket */
@media (min-width: 768px) {
    .bracket-scroll {
        padding: 1.5rem 1rem;
        min-height: 600px;
    }

    .bracket-grid {
        gap: 2.5rem;
    }

    .bracket-column {
        min-width: 240px;
    }

    .bracket-column-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .bracket-matches {
        min-height: 500px;
    }

    .bracket-match {
        min-width: 240px;
        padding: 0.75rem;
    }

    .bracket-team-logo,
    .bracket-team-logo-placeholder {
        width: 32px;
        height: 32px;
    }

    .bracket-team-name {
        font-size: 0.95rem;
    }
}

/* Desktop - Bracket */
@media (min-width: 1024px) {
    .bracket-scroll {
        padding: 2rem 1.5rem;
        min-height: 700px;
    }

    .bracket-grid {
        gap: 3rem;
    }

    .bracket-column {
        min-width: 260px;
    }

    .bracket-matches {
        min-height: 600px;
    }

    .bracket-match {
        min-width: 260px;
    }

    .playoff-view-toggle .k-button-group {
        max-width: 500px;
    }
}

/* Teams Overview Window */
.teams-ov-classes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
}

.teams-ov-detail-grid {
    overflow-x: auto;
}

.teams-ov-detail-grid .k-grid-table {
    min-width: 1300px;
}

/* ── SBT Live Score Card ── */
.sbt-live-card {
    background: linear-gradient(135deg, #0d2a5c 0%, #0a1e42 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 210, 50, 0.35);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    margin-bottom: 1.25rem;
    font-family: inherit;
}

.sbt-live-card__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 1rem;
    background: rgba(255, 210, 50, 0.10);
    border-bottom: 1px solid rgba(255, 210, 50, 0.15);
    gap: 0.5rem;
    flex-wrap: wrap;
}

.sbt-live-card__event {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.sbt-live-card__tournament {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffd232;
}

.sbt-live-card__court {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.04em;
}

.sbt-live-card__badges {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.sbt-live-badge {
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 20px;
}

.sbt-live-badge--live {
    background: #e02020;
    color: #fff;
    animation: live-pulse 1.8s ease-in-out infinite;
}

.sbt-live-badge--match {
    background: #ffd232;
    color: #0d2a5c;
}

.sbt-live-badge--set {
    background: #2080e0;
    color: #fff;
}

.sbt-live-badge--timeout {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.sbt-live-badge--finished {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.6);
}

.sbt-live-card__tv {
    font-size: 0.68rem;
    font-weight: 700;
    color: #ffd232;
    text-decoration: none;
    opacity: 0.85;
    letter-spacing: 0.03em;
}

.sbt-live-card__tv:hover { opacity: 1; }

.sbt-live-card__teams {
    padding: 0.4rem 0;
}

.sbt-live-card__team {
    display: grid;
    grid-template-columns: 14px 1fr auto auto auto;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s;
}

.sbt-live-card__team:last-child { border-bottom: none; }

.sbt-bar-chart {
    background: linear-gradient(135deg, #0d2a5c 0%, #0a1e42 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 210, 50, 0.35);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.4);
    padding: 0.9rem 1rem 0.6rem;
    margin-bottom: 1rem;
    font-family: inherit;
}

.sbt-bar-chart__title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffd232;
    letter-spacing: 0.03em;
    margin-bottom: 0.6rem;
    text-align: center;
}

.sbt-bar-chart__legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.85);
}

.sbt-bar-chart__legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.sbt-bar-chart__legend-swatch {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.sbt-bar-chart__bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 60px;
}

.sbt-bar-chart__bar {
    flex: 1 1 auto;
    min-width: 4px;
    height: 100%;
    border-radius: 3px 3px 0 0;
}

.sbt-bar-chart__bar--green {
    background-color: #2fae4e;
}

.sbt-bar-chart__bar--red {
    background-color: #e02020;
}

.sbt-bar-chart__bar--grey {
    background-color: rgba(255, 255, 255, 0.25);
}

.sbt-bar-chart__bar--empty {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.sbt-bar-chart__axis {
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
    margin-top: 2px;
}

.sbt-bar-chart__ticks {
    display: flex;
    gap: 3px;
    margin-top: 4px;
}

.sbt-bar-chart__tick {
    flex: 1 1 auto;
    min-width: 4px;
    height: 6px;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.sbt-bar-chart__labels {
    position: relative;
    height: 16px;
    margin-top: 2px;
}

.sbt-bar-chart__label {
    position: absolute;
    transform: translateX(-50%);
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.sbt-live-card__team.is-serving {
    background: rgba(255, 210, 50, 0.06);
}

.sbt-live-card__serve-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    flex-shrink: 0;
}

.sbt-live-card__team.is-serving .sbt-live-card__serve-dot {
    background: #ffd232;
    box-shadow: 0 0 6px rgba(255, 210, 50, 0.8);
}

.sbt-live-card__players {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.sbt-live-card__players span {
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.sbt-live-card__team.is-serving .sbt-live-card__players span {
    color: #ffd232;
}

.sbt-live-card__sets-history {
    display: flex;
    gap: 3px;
    align-items: center;
}

.sbt-live-card__prev-set {
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.sbt-live-card__prev-set.won {
    background: rgba(255, 210, 50, 0.2);
    color: #ffd232;
}

.sbt-live-card__prev-set.lost {
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.4);
}

.sbt-live-card__setwins {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    width: 18px;
    text-align: center;
}

.sbt-live-card__team.is-serving .sbt-live-card__setwins {
    color: rgba(255, 210, 50, 0.7);
}

.sbt-live-card__score {
    font-size: 1.9rem;
    font-weight: 800;
    color: rgba(255,255,255,0.75);
    min-width: 2.4rem;
    text-align: right;
    line-height: 1;
    letter-spacing: -0.02em;
}

.sbt-live-card__score.is-serving {
    color: #ffd232;
}

.sbt-live-card__score.is-pulsing {
    animation: score-pulse 0.5s ease-in-out;
    color: #4ade80;
}

@keyframes score-pulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.35); color: #4ade80; }
    100% { transform: scale(1); }
}

.sbt-live-card__winner {
    text-align: center;
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #ffd232;
    background: rgba(255, 210, 50, 0.08);
    border-top: 1px solid rgba(255, 210, 50, 0.15);
    letter-spacing: 0.03em;
}

.sbt-live-card__last-point {
    text-align: center;
    padding: 0.4rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.06);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.01em;
}

@keyframes live-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.55; }
}

.sbt-live-card__footer {
    text-align: center;
    padding: 0.55rem 1rem;
    border-top: 1px solid rgba(255, 210, 50, 0.12);
    background: rgba(0, 0, 0, 0.15);
}

.sbt-live-card__footer-link {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: color 0.2s;
}

.sbt-live-card__footer-link:hover {
    color: #ffd232;
}

.sbt-live-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.sbt-live-card__refresh-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border-radius: 999px;
    padding: 0.25rem 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.sbt-live-card__refresh-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.18);
    color: #ffd232;
}

.sbt-live-card__refresh-btn:disabled {
    opacity: 0.5;
    cursor: default;
}

.sbt-live-card__stats {
    margin: 0.25rem 1rem 0.75rem;
    padding: 0.6rem 0.9rem;
    border-radius: 0.6rem;
    background: rgba(13, 110, 253, 0.12);
    border: 1px solid rgba(13, 110, 253, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sbt-live-card__stats-row {
    display: grid;
    grid-template-columns: 3.5rem 8rem 3.5rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.2rem 0;
}

.sbt-live-card__stats-row--header {
    padding-bottom: 0.4rem;
    margin-bottom: 0.2rem;
    border-bottom: 1px solid rgba(13, 110, 253, 0.35);
}

.sbt-live-card__stats-value {
    font-weight: 700;
    font-size: 0.95rem;
    color: #7fb6ff;
    text-align: center;
}

.sbt-live-card__stats-label {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.sbt-live-card__stats-initials {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.85);
}

.lst-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 0 0.75rem;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #0d2a5c 0%, #163a7a 55%, #1e4fa3 100%);
    box-shadow: 0 4px 24px rgba(13,42,92,0.35);
    border: 1px solid rgba(255,255,255,0.15);
}

.lst-header__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}

.lst-header__loading {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}

.lst-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
}

.lst-card {
    margin-bottom: 0;
}

.lst-card--pinned {
    border: 1px solid rgba(255, 210, 50, 0.7);
    box-shadow: 0 0 0 2px rgba(255, 210, 50, 0.25), 0 6px 28px rgba(0, 0, 0, 0.4);
}

.lst-pin-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0.15rem 0.3rem;
    border-radius: 6px;
    opacity: 0.55;
    filter: grayscale(1);
    transition: opacity 0.15s ease, filter 0.15s ease, background-color 0.15s ease;
}

.lst-pin-btn:hover {
    opacity: 0.9;
    background-color: rgba(255, 255, 255, 0.08);
}

.lst-pin-btn.is-pinned {
    opacity: 1;
    filter: none;
}

.lst-empty {
    text-align: center;
    padding: 1rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.stat-summary {
    background: linear-gradient(135deg, #0d2a5c 0%, #0a1e42 100%);
    border: 1px solid rgba(255, 210, 50, 0.35);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.4);
    max-width: 480px;
    margin: 0 auto;
    font-family: inherit;
}

.stat-summary__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 210, 50, 0.15);
}

.stat-summary__team {
    font-weight: 700;
    font-size: 0.95rem;
    flex: 1;
}

.stat-summary__team.home {
    text-align: left;
    color: #ffd232;
}

.stat-summary__team.away {
    text-align: right;
    color: #ffd232;
}

.stat-summary__title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.stat-summary__row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-summary__row:last-child {
    border-bottom: none;
}

.stat-summary__row--player {
    grid-template-columns: 1fr auto;
}

.stat-summary__label {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
}

.stat-summary__value {
    font-size: 1.15rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}

.stat-summary__value.home {
    text-align: left;
}

.stat-summary__value.away {
    text-align: right;
}

.stat-summary__value.lead {
    color: #2fae4e;
}

.stat-summary--player .stat-summary__value {
    text-align: right;
}

.stat-pbp {
    max-width: 520px;
    margin: 0 auto;
}

.stat-pbp__set-title {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.45);
    margin: 1rem 0 0.5rem;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.06);
}

.stat-pbp__set-title:first-child {
    margin-top: 0;
}

.stat-pbp__list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.stat-pbp__row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: background-color 0.15s, box-shadow 0.15s;
}

.stat-pbp__row:hover {
    background-color: #f8f9fb;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.stat-pbp__stat {
    min-height: 1.5rem;
    display: flex;
}

.stat-pbp__stat.home {
    justify-content: flex-start;
}

.stat-pbp__stat.away {
    justify-content: flex-end;
}

.stat-pbp__stat-badge {
    background: rgba(13, 110, 253, 0.08);
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 0.4rem;
    text-align: center;
    line-height: 1.2;
}

.stat-pbp__stat-badge small {
    display: block;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.5);
    font-size: 0.68rem;
}

.stat-pbp__scoreline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-variant-numeric: tabular-nums;
}

.stat-pbp__dash {
    color: rgba(0, 0, 0, 0.3);
    font-size: 0.85rem;
}

.stat-pbp__score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.4rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.55);
}

.stat-pbp__score.won {
    background: #0d6efd;
    color: #ffffff;
}

/* ── Statistics Form ── */
.stat-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stat-form__context-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    background: #f0f4f8;
    border-left: 4px solid #1274ac;
    border-radius: 6px;
    padding: 0.6rem 0.85rem;
    font-size: 0.82rem;
    color: #444;
    align-items: center;
}

.stat-form__context-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.stat-form__context-label {
    font-weight: 500;
    color: #888;
}

.stat-form__context-value {
    font-weight: 700;
    color: #1a1a2e;
}

.stat-form__section {
    background: #fff;
    border: 1px solid #e5e9ef;
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
}

.stat-form__section-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #1274ac;
    margin-bottom: 0.5rem;
}

.stat-type-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.stat-page-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.5rem 0 0.25rem;
}

.stat-score-badge {
    font-size: 1.5rem;
    font-weight: 800;
    background: #1274ac;
    color: #fff;
    border-radius: 8px;
    padding: 2px 16px;
    letter-spacing: -0.02em;
    line-height: 1.5;
}

.stat-team-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a2e;
}

.stat-team-name.home { text-align: right; }
.stat-team-name.away { text-align: left; }

.stat-form__section--court {
    background: #f9fbfc;
}

/* Tournament statistics summary block - blue theme (matches .sbt-live-card / .stat-summary) */
.sbt-tourney-stats {
    background: linear-gradient(135deg, #0d2a5c 0%, #0a1e42 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 210, 50, 0.35);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.4);
    padding: 1.1rem 1.25rem 1.25rem;
    margin: 1.25rem 0;
    font-family: inherit;
}

.sbt-tourney-stats__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffd232;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    text-align: center;
}

.sbt-tourney-stats__classes {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sbt-tourney-stats__class {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 210, 50, 0.15);
    border-radius: 12px;
    padding: 0.85rem 1rem;
}

.sbt-tourney-stats__class-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 210, 50, 0.15);
    flex-wrap: wrap;
    gap: 0.4rem;
}

.sbt-tourney-stats__class-name {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.02em;
}

.sbt-tourney-stats__match-count {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.02em;
}

.sbt-tourney-stats__winner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 210, 50, 0.08);
    border: 1px solid rgba(255, 210, 50, 0.25);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.85rem;
}

.sbt-tourney-stats__winner-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffd232;
}

.sbt-tourney-stats__winner-players {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.sbt-tourney-stats__winner-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.sbt-tourney-stats__winner-player span {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

.sbt-tourney-stats__winner-photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffd232;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.sbt-tourney-stats__winner-photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 210, 50, 0.2);
    color: #ffd232;
    font-weight: 800;
    font-size: 1.3rem;
}

.sbt-tourney-stats__winner-team {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
}

.sbt-tourney-stats__leaders {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
}

.sbt-tourney-stats__leader {
    flex: 1 1 140px;
    min-width: 140px;
    background: rgba(32, 128, 224, 0.15);
    border: 1px solid rgba(32, 128, 224, 0.4);
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
    text-align: center;
}

.sbt-tourney-stats__leader-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.2rem;
}

.sbt-tourney-stats__leader-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.15rem;
}

.sbt-tourney-stats__leader-value {
    font-size: 1rem;
    font-weight: 800;
    color: #7fb6ff;
}

.sbt-tourney-stats__leader-value span {
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
}

.sbt-tourney-stats__players {
    margin-top: 0.85rem;
    overflow-x: auto;
}

.sbt-tourney-stats__players-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.sbt-tourney-stats__players-table th {
    text-align: left;
    padding: 0.4rem 0.6rem;
    color: #ffd232;
    font-weight: 700;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(255, 210, 50, 0.25);
}

.sbt-tourney-stats__players-table td {
    padding: 0.35rem 0.6rem;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sbt-tourney-stats__players-table td span {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    margin-left: 0.2rem;
}

.sbt-tourney-stats__players-table tbody tr:hover {
    background: rgba(32, 128, 224, 0.12);
}


