.dp-open-play-invitations-section {
    --dp-open-play-surface: #ffffff;
    --dp-open-play-border: #e8e5f2;
    --dp-open-play-heading: #151829;
    --dp-open-play-muted: #687286;
    --dp-open-play-purple: #7547e8;
    --dp-open-play-blue: #2878eb;

    box-sizing: border-box;
    width: 100%;
    padding: 56px clamp(18px, 5vw, 72px) 64px;
    background: #ffffff;
}

.dp-open-play-invitations-inner {
    width: min(1720px, 100%);
    margin: 0 auto;
}

.dp-open-play-invitations-heading {
    margin: 0 0 26px;
    text-align: center;
}

.dp-open-play-invitations-eyebrow {
    display: block;
    margin: 0 0 9px;
    color: var(--dp-open-play-purple);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.dp-open-play-invitations-title {
    margin: 0;
    color: var(--dp-open-play-heading);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 850;
    line-height: 1.08;
}

.dp-open-play-invitations-description {
    margin: 9px 0 0;
    color: var(--dp-open-play-muted);
    font-size: clamp(15px, 1.35vw, 18px);
    line-height: 1.5;
}

.dp-open-play-invitation-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 410px), 410px));

    gap: 18px;
    align-items: stretch;
    justify-content: center;
}

.dp-open-play-invitation-message {
    box-sizing: border-box;
    grid-column: 1 / -1;
    width: 100%;
    min-height: 80px;
    margin: 0;
    padding: 25px 28px;
    border: 1px solid var(--dp-open-play-border);
    border-radius: 17px;
    background: #ffffff;
    color: var(--dp-open-play-muted);
    font-size: 15px;
    box-shadow: 0 10px 30px rgba(30, 27, 63, 0.06);
}

.dp-open-play-invitation-card {
    display: flex;
    box-sizing: border-box;
    min-width: 0;
    min-height: 150px;
    padding: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e8e5f2;
    border-radius: 17px;
    background: #ffffff;
    color: #151829;
    box-shadow: 0 10px 30px rgba(30, 27, 63, 0.06);
}

.dp-open-play-invitation-top {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.dp-open-play-invitation-host {
    overflow: hidden;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dp-open-play-invitation-price {
    flex: 0 0 auto;
    color: #ffffff;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.2;
}

.dp-open-play-invitation-category {
    overflow: hidden;
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.dp-open-play-invitation-center {
    display: flex;
    box-sizing: border-box;
    min-height: 34px;
    padding: 5px 14px 2px;
    align-items: center;
    justify-content: flex-start;
}

.dp-open-play-invitation-header {
    display: flex;
    box-sizing: border-box;
    min-height: 58px;
    padding: 10px 14px 8px;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(
        110deg,
        #02091f 0%,
        #0d1230 58%,
        #251040 100%
    );
    color: #ffffff;
}

.dp-open-play-invitation-title {
    overflow: hidden;
    max-width: 100%;
    color: #171a2c;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.25;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dp-open-play-invitation-footer {
    display: flex;
    box-sizing: border-box;
    min-width: 0;
    margin-top: auto;
    padding: 0 14px 11px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}

.dp-open-play-invitation-meta {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 2px;
}

.dp-open-play-invitation-courts {
    overflow: hidden;
    color: #25293b;
    font-size: 10px;
    font-weight: 750;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dp-open-play-invitation-schedule {
    overflow: hidden;
    color: #586276;
    font-size: 10px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dp-open-play-invitation-players {
    color: #586276;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.2;
}

.dp-open-play-invitation-join {
    display: inline-flex;
    min-width: 62px;
    min-height: 31px;
    padding: 0 12px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(
        110deg,
        #02091f 0%,
        #0d1230 58%,
        #251040 100%
    );

    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
}



.dp-open-play-detail-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(7, 12, 28, 0.68);
}

.dp-open-play-detail-dialog {
    width: min(100%, 580px);
    max-height: min(86vh, 760px);
    overflow: auto;
    border: 1px solid rgba(217, 221, 235, 0.95);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(8, 13, 31, 0.28);
}

.dp-open-play-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 26px;
    color: #ffffff;
    background: linear-gradient(
        120deg,
        #091126 0%,
        #15142d 55%,
        #21153a 100%
    );
}

.dp-open-play-detail-heading {
    min-width: 0;
}

.dp-open-play-detail-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: #d3caff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.dp-open-play-detail-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(22px, 4vw, 30px);
    font-weight: 800;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.dp-open-play-detail-close {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    font-size: 23px;
    cursor: pointer;
}

.dp-open-play-detail-body {
    padding: 24px 26px 26px;
}

.dp-open-play-detail-grid {
    display: grid;
    grid-template-columns: repeat(
        2,
        minmax(0, 1fr)
    );
    gap: 20px 24px;
}

.dp-open-play-detail-item {
    min-width: 0;
}

.dp-open-play-detail-label {
    display: block;
    margin-bottom: 5px;
    color: #768097;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.dp-open-play-detail-value {
    display: block;
    color: #11182b;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.dp-open-play-detail-description {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #e8eaf2;
}

.dp-open-play-detail-description-text {
    margin: 7px 0 0;
    color: #49536a;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-wrap;
}

.dp-open-play-detail-footer {
    display: grid;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e8eaf2;
}

.dp-open-play-detail-status {
    margin: 0;
    color: #69738a;
    font-size: 13px;
    line-height: 1.5;
}

.dp-open-play-detail-action {
    width: 100%;
    min-height: 47px;
    padding: 12px 18px;
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(
        120deg,
        #10152d 0%,
        #25183e 100%
    );
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.15px;
    cursor: pointer;
}

.dp-open-play-detail-action:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

@media (max-width: 520px) {
    .dp-open-play-detail-header {
        padding: 20px;
    }

    .dp-open-play-detail-body {
        padding: 20px;
    }

    .dp-open-play-detail-grid {
        gap: 17px 14px;
    }

    .dp-open-play-detail-value {
        font-size: 13px;
    }
}

@media (max-width: 1100px) {
    .dp-open-play-invitation-list {
        grid-template-columns: repeat(
            2,
            minmax(0, 1fr)
        );
    }
}

@media (max-width: 640px) {
    .dp-open-play-invitations-section {
        padding: 42px 16px 50px;
    }

    .dp-open-play-invitations-heading {
        margin-bottom: 20px;
    }

    .dp-open-play-invitations-title {
        font-size: 34px;
    }

    .dp-open-play-invitation-list {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .dp-open-play-invitation-card {
        min-height: 152px;
    }
}
