/* Basic styles for Optimaise Club Profile */
.ocp-wrapper {
    margin: 32px 0;
    padding: 24px 24px 28px;
    border-radius: 24px;
    background: radial-gradient(circle at 10% 0, #4b3bf6 0, #090015 55%, #05010b 100%);
    color: #f9f9ff;
    box-shadow: 0 22px 40px rgba(0,0,0,0.35);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ocp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.ocp-club-name {
    font-size: 1.6rem;
    font-weight: 700;
}

.ocp-club-abbr {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
    margin-top: 2px;
}

.ocp-club-meta {
    font-size: 0.85rem;
    opacity: 0.8;
}

.ocp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.ocp-card {
    background: rgba(6, 0, 24, 0.85);
    border-radius: 18px;
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,0.04);
}

.ocp-card-wide {
    grid-column: 1 / -1;
}

.ocp-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 10px;
}

.ocp-next-match-teams,
.ocp-last-score,
.ocp-match-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.ocp-vs {
    opacity: 0.7;
    font-size: 0.85rem;
}

.ocp-next-meta,
.ocp-last-meta,
.ocp-match-meta {
    font-size: 0.82rem;
    opacity: 0.85;
    margin-top: 4px;
}

.ocp-score {
    font-weight: 700;
    font-size: 1.1rem;
}

.ocp-form-row {
    margin-bottom: 10px;
}

.ocp-form {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    margin-right: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #05010b;
}

.ocp-form-W {
    background: #5cff9d;
}

.ocp-form-D {
    background: #ffd85c;
}

.ocp-form-L {
    background: #ff6b81;
}

.ocp-last-match {
    margin-top: 4px;
}

.ocp-lineup-row {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 0.86rem;
}

.ocp-lineup-label {
    min-width: 44px;
    font-weight: 600;
    opacity: 0.85;
}

.ocp-lineup-names {
    opacity: 0.9;
}

.ocp-match-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ocp-match-list li {
    padding: 6px 0;
    border-top: 1px solid rgba(255,255,255,0.03);
}

.ocp-match-list li:first-child {
    border-top: none;
}

.ocp-match-teams {
    font-size: 0.9rem;
}

.ocp-gw {
    font-size: 0.78rem;
    opacity: 0.75;
}

.ocp-stories {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ocp-stories li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.03);
}

.ocp-stories li:first-child {
    border-top: none;
}

.ocp-story-rank {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: linear-gradient(135deg,#ff6b81,#ffb15c);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #05010b;
    flex-shrink: 0;
}

.ocp-story-title {
    font-size: 0.95rem;
    font-weight: 600;
}

.ocp-story-desc {
    font-size: 0.82rem;
    opacity: 0.85;
}

.ocp-muted {
    font-size: 0.83rem;
    opacity: 0.8;
}

@media (max-width: 600px) {
    .ocp-wrapper {
        margin-left: -16px;
        margin-right: -16px;
        border-radius: 0;
    }
}


/* Match events timeline */
.ocp-events-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ocp-event {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    border-top: 1px solid rgba(255,255,255,0.03);
    font-size: 0.9rem;
}

.ocp-event:first-child {
    border-top: none;
}

.ocp-event-minute {
    min-width: 40px;
    font-weight: 600;
    opacity: 0.9;
}

.ocp-event-badge {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ocp-event-goal .ocp-event-badge {
    background: linear-gradient(135deg,#38ef7d,#11998e);
    color: #030209;
}

.ocp-event-card .ocp-event-badge {
    background: linear-gradient(135deg,#ff416c,#ff4b2b);
    color: #fff;
}

.ocp-event-sub .ocp-event-badge {
    background: linear-gradient(135deg,#56ccf2,#2f80ed);
    color: #030209;
}

.ocp-event-team {
    opacity: 0.9;
}
