/* ShaySport Personal social profiles. */
html body .shaysport-shell-personal-social-panel {
    position: relative;
    align-content: start;
    overflow: visible;
}

html body .shaysport-shell-personal-social-panel__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
}

html body .shaysport-shell-personal-social-panel__heading h3 {
    min-width: 0;
}

html body button.shaysport-shell-personal-social-edit,
html body button.shaysport-shell-personal-social-dialog__close {
    appearance: none;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(194, 224, 255, .48);
    border-radius: 14px;
    background: linear-gradient(135deg, #0b315f, #155e95);
    color: #fff;
    -webkit-text-fill-color: #fff;
    box-shadow: 0 7px 16px rgba(5, 20, 42, .18);
    cursor: pointer;
}

html body button.shaysport-shell-personal-social-edit:hover,
html body button.shaysport-shell-personal-social-edit:focus-visible,
html body button.shaysport-shell-personal-social-dialog__close:hover,
html body button.shaysport-shell-personal-social-dialog__close:focus-visible {
    border-color: #8bdcff;
    background: linear-gradient(135deg, #06182c, #0782bd);
    outline: 3px solid rgba(7, 130, 189, .2);
    outline-offset: 2px;
}

html body button.shaysport-shell-personal-social-edit svg,
html body button.shaysport-shell-personal-social-dialog__close svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

html body .shaysport-shell-personal-social-logo-row,
html body .shaysport-shell-personal-social-grid--logos {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 10px !important;
    width: 100%;
    min-width: 0;
}

html[dir="rtl"] body .shaysport-shell-personal-social-logo-row,
html[dir="rtl"] body .shaysport-shell-personal-social-grid--logos {
    justify-content: flex-start;
}

html body .shaysport-shell-personal-social-logo-link,
html body .shaysport-shell-personal-social-grid--logos .shaysport-shell-personal-social-link {
    display: inline-grid !important;
    place-items: center;
    flex: 0 0 auto;
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    padding: 8px !important;
    overflow: hidden;
    border: 1px solid rgba(11, 49, 95, .18) !important;
    border-radius: 16px !important;
    background: #fff !important;
    color: #0b315f !important;
    box-shadow: 0 5px 14px rgba(15, 23, 42, .08) !important;
    text-decoration: none;
    transform: none !important;
}

html body .shaysport-shell-personal-social-logo-link:hover,
html body .shaysport-shell-personal-social-logo-link:focus-visible,
html body .shaysport-shell-personal-social-grid--logos .shaysport-shell-personal-social-link:hover,
html body .shaysport-shell-personal-social-grid--logos .shaysport-shell-personal-social-link:focus-visible {
    border-color: #0782bd !important;
    box-shadow: 0 9px 22px rgba(11, 58, 117, .16) !important;
    outline: 3px solid rgba(7, 130, 189, .16);
    outline-offset: 2px;
    transform: translateY(-1px) !important;
}

html body .shaysport-shell-personal-social-grid--logos .shaysport-shell-personal-social-link > span:not(.shaysport-sr-only) {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
}

html body .shaysport-shell-personal-social-logo-link img,
html body .shaysport-shell-personal-social-grid--logos .shaysport-shell-personal-social-link img,
html body .shaysport-shell-personal-social-field__logo img,
html body .shaysport-shell-personal-social-logo-link svg,
html body .shaysport-shell-personal-social-grid--logos .shaysport-shell-personal-social-link svg,
html body .shaysport-shell-personal-social-field__logo svg {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 38px;
    max-height: 38px;
    overflow: visible;
    object-fit: contain;
    transform: none;
}

html body img.shaysport-social-brand {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: 38px;
    max-height: 38px;
    margin: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    object-fit: contain;
    object-position: center;
}

html body svg.shaysport-social-brand {
    fill: currentColor !important;
    stroke: none !important;
}

html body svg.shaysport-social-brand .brand-cutout {
    fill: #fff !important;
    stroke: none !important;
}

html body svg.shaysport-social-brand--instagram {
    color: #e4405f;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.9 !important;
}

html body svg.shaysport-social-brand--instagram .brand-dot {
    fill: currentColor !important;
    stroke: none !important;
}

html body .shaysport-social-brand--facebook {
    color: #1877f2;
}

html body .shaysport-social-brand--youtube {
    color: #ff0000;
}

html body .shaysport-social-brand--tiktok {
    color: #111;
}

html body .shaysport-social-brand--whatsapp {
    color: #25d366;
}

html body .shaysport-social-brand--linkedin {
    color: #0a66c2;
}

html body .shaysport-social-brand--telegram {
    color: #229ed9;
}

html body .shaysport-social-brand--twitter {
    color: #111;
}

html body .shaysport-shell-personal-social-own-empty {
    margin: 0;
    color: #526579;
    font-weight: 700;
    line-height: 1.45;
}

html body .shaysport-shell-personal-social-modal[hidden] {
    display: none !important;
}

html body .shaysport-shell-personal-social-modal {
    position: fixed;
    z-index: 1000002;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 16px;
}

html body .shaysport-shell-personal-social-modal__backdrop {
    appearance: none;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgba(3, 16, 31, .7);
    cursor: pointer;
}

html body .shaysport-shell-personal-social-dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(720px, 100%);
    max-width: 100%;
    max-height: min(88vh, 820px);
    overflow: hidden;
    border: 1px solid rgba(139, 220, 255, .54);
    border-radius: 22px;
    background: #f7fbff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .38);
}

html body .shaysport-shell-personal-social-dialog__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 18px;
    background: linear-gradient(135deg, #0b315f, #155e95);
    color: #fff;
}

html body .shaysport-shell-personal-social-dialog__header h3 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 22px;
    line-height: 1.2;
}

html body .shaysport-shell-personal-social-dialog__header p {
    margin: 0;
    color: #e7f2ff;
    font-size: 14px;
    line-height: 1.45;
}

html body button.shaysport-shell-personal-social-dialog__close {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 28px;
    line-height: 1;
}

html body .shaysport-shell-personal-social-form {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto auto;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

html body .shaysport-shell-personal-social-fields {
    display: grid;
    gap: 10px;
    min-width: 0;
    padding: 16px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}

html body .shaysport-shell-personal-social-field {
    display: grid;
    grid-template-columns: minmax(118px, .7fr) minmax(0, 1.7fr) auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 12px;
    border: 1px solid #d6e4f1;
    border-radius: 16px;
    background: #fff;
}

html body .shaysport-shell-personal-social-field__identity {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    color: #0b315f;
}

html body .shaysport-shell-personal-social-field__identity strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html body .shaysport-shell-personal-social-field__logo {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
}

html body .shaysport-shell-personal-social-field input[type="text"] {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid #bad0e5;
    border-radius: 12px;
    background: #fff;
    color: #17324f;
    font: inherit;
    direction: ltr;
    text-align: left;
}

html body .shaysport-shell-personal-social-field input[type="text"]:focus {
    border-color: #0782bd;
    outline: 3px solid rgba(7, 130, 189, .14);
}

html body .shaysport-shell-personal-social-share {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    color: #17324f;
    font-weight: 800;
    white-space: nowrap;
}

html body .shaysport-shell-personal-social-share input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: #0b5e94;
}

html body .shaysport-shell-personal-social-status {
    min-height: 22px;
    margin: 0;
    padding: 0 18px;
    color: #526579;
    font-weight: 800;
    line-height: 1.4;
}

html body .shaysport-shell-personal-social-status[data-state="error"] {
    color: #a61b1b;
}

html body .shaysport-shell-personal-social-status[data-state="success"] {
    color: #176b3a;
}

html body .shaysport-shell-personal-social-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 18px 18px;
}

html body .shaysport-shell-personal-social-actions .shaysport-btn {
    min-width: 120px;
    justify-content: center;
}

html body.shaysport-personal-social-modal-open {
    overflow: hidden !important;
}

@media (max-width: 620px) {
    html body .shaysport-shell-personal-social-modal {
        align-items: end;
        padding: 8px;
    }

    html body .shaysport-shell-personal-social-dialog {
        width: 100%;
        max-height: 92vh;
        border-radius: 20px 20px 14px 14px;
    }

    html body .shaysport-shell-personal-social-dialog__header {
        padding: 15px;
    }

    html body .shaysport-shell-personal-social-dialog__header h3 {
        font-size: 20px;
    }

    html body .shaysport-shell-personal-social-fields {
        padding: 12px;
    }

    html body .shaysport-shell-personal-social-field {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 9px;
        padding: 10px;
    }

    html body .shaysport-shell-personal-social-field__identity {
        grid-column: 1 / 2;
    }

    html body .shaysport-shell-personal-social-field input[type="text"] {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    html body .shaysport-shell-personal-social-share {
        grid-column: 2;
        grid-row: 1;
    }

    html body .shaysport-shell-personal-social-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 12px;
    }

    html body .shaysport-shell-personal-social-actions .shaysport-btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 360px) {
    html body .shaysport-shell-personal-social-logo-link,
    html body .shaysport-shell-personal-social-grid--logos .shaysport-shell-personal-social-link {
        width: 46px !important;
        height: 46px !important;
        min-width: 46px !important;
        min-height: 46px !important;
        padding: 7px !important;
    }
}


/* 1.38.1 - keep social cards within the personal workspace on narrow screens. */
html body .shaysport-shell-personal-social-panel,
html body .shaysport-shell-personal-social-panel__heading,
html body .shaysport-shell-personal-social-logo-row,
html body .shaysport-shell-personal-social-grid--logos {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

html body .shaysport-shell-personal-social-panel__heading h3 {
    max-width: 100%;
    overflow-wrap: anywhere;
}

html body .shaysport-shell-personal-social-logo-row,
html body .shaysport-shell-personal-social-grid--logos {
    overflow-x: hidden;
    overflow-x: clip;
}

@media (max-width: 760px) {
    html body .shaysport-shell-personal-social-panel {
        overflow-x: hidden;
        overflow-x: clip;
    }

    html body .shaysport-shell-personal-social-panel__heading {
        align-items: flex-start;
        flex-wrap: wrap;
    }
}


/* 1.38.2 - keep the social editor fully scrollable with its actions visible. */
html body.shaysport-personal-social-modal-open .shaysport-shell-personal-workspace,
html body.shaysport-personal-social-modal-open .shaysport-shell-personal-workspace--standalone,
html body.shaysport-personal-social-modal-open .shaysport-shell-personal-panes,
html body.shaysport-personal-social-modal-open .shaysport-shell-personal-pane,
html body.shaysport-personal-social-modal-open .shaysport-shell-community-panels,
html body.shaysport-personal-social-modal-open .shaysport-shell-community-panel,
html body.shaysport-personal-social-modal-open .shaysport-shell-personal-social-panel {
    overflow: visible !important;
}

html body .shaysport-shell-personal-social-modal {
    z-index: 2147483000 !important;
    align-items: center !important;
    overflow: visible !important;
}

html body .shaysport-shell-personal-social-dialog {
    height: min(820px, calc(100dvh - 32px));
    max-height: calc(100dvh - 32px) !important;
}

html body .shaysport-shell-personal-social-form,
html body .shaysport-shell-personal-social-fields {
    min-height: 0 !important;
}

html body .shaysport-shell-personal-social-fields {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

html body .shaysport-shell-personal-social-status,
html body .shaysport-shell-personal-social-actions {
    flex: 0 0 auto;
    background: #f7fbff;
}

@media (max-width: 620px) {
    html body .shaysport-shell-personal-social-modal {
        align-items: stretch !important;
        padding: max(6px, env(safe-area-inset-top)) 6px max(6px, env(safe-area-inset-bottom)) !important;
    }

    html body .shaysport-shell-personal-social-dialog {
        height: calc(100dvh - max(12px, env(safe-area-inset-top)) - max(12px, env(safe-area-inset-bottom)));
        max-height: none !important;
        margin: 0;
    }

    html body .shaysport-shell-personal-social-actions {
        position: sticky;
        bottom: 0;
        z-index: 2;
    }
}

html body .shaysport-shell-personal-social-modal__backdrop {
    background: rgba(3, 16, 31, .72) !important;
    box-shadow: none !important;
    transform: none !important;
}
