@font-face {
    font-family: 'BebasNeuePro-Bold';
    src: url('BebasNeuePro-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #ff0000;
    font-family: 'BebasNeuePro-Bold', sans-serif;
    padding: 70px 60px 60px 60px;
}

.fip-container {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
}

.break-point-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 103px;
    background: #2563eb;
    color: #ffffff;
    font-family: 'BebasNeuePro-Bold', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 3px 12px;
    border-radius: 2px 2px 0 0;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1;
    
    opacity: 0;
    transform: translateY(0);
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.break-point-badge.visible {
    opacity: 1;
    transform: translateY(-100%);
}

.fip-board {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #001e3d 0%, #000f24 100%);
    border-radius: 2px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    z-index: 2;
}

.team-row {
    display: flex;
    align-items: center;
    height: 38px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.team-row:last-child {
    border-bottom: none;
}

.name-box {
    position: relative;
    width: 250px;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 15px;
}

.name {
    font-size: 21px;
    font-family: 'BebasNeuePro-Bold', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
}

.name-box .underline {
    position: absolute;
    bottom: 4px;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: #ffffff;
    display: none;
}

.team-row.serving .name-box .underline {
    display: block;
}

.serve {
    width: 28px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.serve-dot {
    width: 9px;
    height: 9px;
    background-color: #34d399;
    border-radius: 50%;
    border: 1px solid #000;
    box-shadow: 0 0 6px #34d399;
}

.set-col {
    width: 38px;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: 'BebasNeuePro-Bold', sans-serif;
    font-size: 24px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.fip-board[data-sets="1"] .set-1 { display: flex; }
.fip-board[data-sets="2"] .set-1 { display: flex; }
.fip-board[data-sets="2"] .set-2 { display: flex; }
.fip-board[data-sets="3"] .set-1 { display: flex; }
.fip-board[data-sets="3"] .set-2 { display: flex; }
.fip-board[data-sets="3"] .set-3 { display: flex; }

.pts-col {
    width: 65px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #000000;
    font-family: 'BebasNeuePro-Bold', sans-serif;
    font-size: 26px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

/* Золотисто-желтый стиль для плашки Star Point (SP) */
.pts-col.star-point {
    background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%) !important;
    color: #ffffff !important;
    font-size: 22px;
    letter-spacing: 0.5px;
}