.lineup-card-lines .fi-fo-repeater-items {
    gap: 1rem;
}

.lineup-card-lines .fi-fo-repeater-item {
    overflow: hidden;
    border-width: 2px;
    border-color: rgb(203 213 225);
    background-color: rgb(248 250 252);
    box-shadow: 0 1px 3px rgb(15 23 42 / 0.08);
}

.lineup-card-lines .fi-fo-repeater-item:nth-child(even) {
    border-color: rgb(167 243 208);
    background-color: rgb(236 253 245);
}

.lineup-card-lines .fi-fo-repeater-item-header {
    border-bottom: 1px solid rgb(203 213 225);
    background-color: rgb(226 232 240 / 0.65);
}

.lineup-card-lines .fi-fo-repeater-item:nth-child(even) .fi-fo-repeater-item-header {
    border-bottom-color: rgb(167 243 208);
    background-color: rgb(209 250 229 / 0.7);
}

.dark .lineup-card-lines .fi-fo-repeater-item {
    border-color: rgb(71 85 105);
    background-color: rgb(15 23 42);
}

.dark .lineup-card-lines .fi-fo-repeater-item:nth-child(even) {
    border-color: rgb(6 95 70);
    background-color: rgb(6 78 59 / 0.22);
}

.dark .lineup-card-lines .fi-fo-repeater-item-header {
    border-bottom-color: rgb(71 85 105);
    background-color: rgb(30 41 59);
}

.dark .lineup-card-lines .fi-fo-repeater-item:nth-child(even) .fi-fo-repeater-item-header {
    border-bottom-color: rgb(6 95 70);
    background-color: rgb(6 78 59 / 0.38);
}

.team-insights-mobile {
    display: none;
}

.team-insights-mobile-grid {
    display: grid;
    gap: 0.75rem;
}

.team-insights-mobile-card {
    overflow: hidden;
    border: 1px solid rgb(226 232 240);
    border-radius: 0.75rem;
    background: rgb(248 250 252);
}

.team-insights-mobile-card h3 {
    padding: 0.75rem 0.875rem;
    border-bottom: 1px solid rgb(226 232 240);
    font-size: 0.875rem;
    font-weight: 600;
}

.team-insights-mobile-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.625rem 0.875rem;
    border-bottom: 1px solid rgb(226 232 240 / 0.8);
    font-size: 0.8125rem;
}

.team-insights-mobile-row:last-child {
    border-bottom: 0;
}

.team-insights-mobile-row strong {
    flex: 0 0 auto;
    text-align: right;
}

.team-insights-mobile-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.875rem;
}

.team-insights-mobile-stats div {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    text-align: center;
}

.team-insights-mobile-stats strong {
    font-size: 1.125rem;
}

.team-insights-mobile-stats span,
.team-insights-mobile-empty {
    color: rgb(100 116 139);
    font-size: 0.75rem;
}

.team-insights-mobile-empty {
    padding: 0.875rem;
}

.team-insights-result-win {
    color: rgb(5 150 105);
}

.team-insights-result-loss {
    color: rgb(220 38 38);
}

.team-insights-result-tie {
    color: rgb(217 119 6);
}

.dark .team-insights-mobile-card {
    border-color: rgb(51 65 85);
    background: rgb(15 23 42);
}

.dark .team-insights-mobile-card h3,
.dark .team-insights-mobile-row {
    border-color: rgb(51 65 85);
}

.dark .team-insights-mobile-stats span,
.dark .team-insights-mobile-empty {
    color: rgb(148 163 184);
}

@media (max-width: 767px) {
    .team-insights-desktop {
        display: none !important;
    }

    .team-insights-mobile {
        display: block;
    }
}

.suggested-lineup-availability,
.suggested-lineup-disclaimer {
    color: rgb(100 116 139);
    font-size: 0.8125rem;
}

.suggested-lineup-grid {
    display: grid;
    gap: 0.625rem;
    margin-top: 0.75rem;
}

.suggested-lineup-row {
    display: grid;
    grid-template-columns: minmax(3rem, auto) minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 0.875rem;
    border: 1px solid rgb(226 232 240);
    border-radius: 0.75rem;
    background: rgb(248 250 252);
}

.suggested-lineup-position {
    font-weight: 700;
}

.suggested-lineup-players,
.suggested-lineup-score {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.suggested-lineup-players span,
.suggested-lineup-score span {
    color: rgb(100 116 139);
    font-size: 0.75rem;
}

.suggested-lineup-score {
    text-align: right;
}

.suggested-lineup-warning {
    margin-top: 0.75rem;
    padding: 0.75rem;
    border: 1px solid rgb(253 230 138);
    border-radius: 0.625rem;
    background: rgb(254 252 232);
    color: rgb(161 98 7);
    font-size: 0.8125rem;
}

.suggested-lineup-disclaimer {
    margin-top: 0.875rem;
}

.dark .suggested-lineup-row {
    border-color: rgb(51 65 85);
    background: rgb(15 23 42);
}

.dark .suggested-lineup-players span,
.dark .suggested-lineup-score span,
.dark .suggested-lineup-availability,
.dark .suggested-lineup-disclaimer {
    color: rgb(148 163 184);
}

.dark .suggested-lineup-warning {
    border-color: rgb(133 77 14);
    background: rgb(113 63 18 / 0.2);
    color: rgb(253 224 71);
}

@media (max-width: 640px) {
    .suggested-lineup-row {
        grid-template-columns: 3rem minmax(0, 1fr);
    }

    .suggested-lineup-score {
        grid-column: 2;
        text-align: left;
    }
}
