.sloch-memory-share {
    margin: 44px 0 28px;
    padding: 22px 0 0;
    border: 0;
    border-top: 1px solid #e1e6e9;
    border-radius: 0;
    background: transparent;
}

.sloch-memory-share-label {
    margin: 0 0 13px;
    color: #26343d;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: none;
}

.sloch-memory-share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sloch-memory-share-button,
button.sloch-memory-share-button,
a.sloch-memory-share-button,
a.sloch-memory-share-button:link,
a.sloch-memory-share-button:visited {
    appearance: none;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 8px 14px !important;
    border: 1px solid #d4dce1;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(20, 37, 46, .04);
    color: #26343d !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
    transition:
        background-color .16s ease,
        border-color .16s ease,
        box-shadow .16s ease,
        color .16s ease,
        transform .16s ease;
}

.sloch-memory-share-button:hover,
.sloch-memory-share-button:focus-visible,
a.sloch-memory-share-button:hover,
a.sloch-memory-share-button:focus-visible {
    border-color: #8fb5ba;
    background: #f3f8f8;
    box-shadow: 0 3px 10px rgba(24, 63, 69, .08);
    color: #0f6670 !important;
    transform: translateY(-1px);
}

.sloch-memory-share-button:focus-visible {
    outline: 3px solid rgba(15, 102, 112, .18);
    outline-offset: 2px;
}

.sloch-memory-share-button:active {
    box-shadow: 0 1px 2px rgba(20, 37, 46, .04);
    transform: translateY(0);
}

.sloch-memory-share-status {
    min-height: 18px;
    margin-top: 8px;
    color: #66737b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

/* Quiz score share remains visually prominent, but uses the same cleaner system style. */
.sloch-quiz-score-share {
    margin-top: 24px;
    text-align: center;
}

.sloch-quiz-score-share-button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #0f6670;
    border-radius: 10px;
    background: #0f6670;
    box-shadow: 0 2px 6px rgba(15, 102, 112, .16);
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition:
        background-color .16s ease,
        border-color .16s ease,
        box-shadow .16s ease,
        color .16s ease,
        transform .16s ease;
}

.sloch-quiz-score-share-button:hover,
.sloch-quiz-score-share-button:focus-visible {
    border-color: #0b5962;
    background: #0b5962;
    box-shadow: 0 4px 12px rgba(15, 102, 112, .2);
    color: #fff;
    transform: translateY(-1px);
}

.sloch-quiz-score-share-button:focus-visible {
    outline: 3px solid rgba(15, 102, 112, .18);
    outline-offset: 2px;
}

.sloch-quiz-score-share-button:active {
    transform: translateY(0);
}

.sloch-quiz-score-share-status {
    min-height: 18px;
    margin-top: 8px;
    color: #66737b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .sloch-memory-share {
        margin-top: 34px;
        padding-top: 20px;
    }

    .sloch-memory-share-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .sloch-memory-share-button,
    button.sloch-memory-share-button,
    a.sloch-memory-share-button {
        width: 100%;
    }

    .sloch-quiz-score-share-button {
        width: 100%;
    }
}

@media (max-width: 390px) {
    .sloch-memory-share-actions {
        grid-template-columns: 1fr;
    }
}
