:root{
    --sp-like-accent:#112a13;
    --sp-like-accent-dark:#0b1c0d;
    --sp-like-text:#112a13;
    --sp-like-muted:#5f6b63;
    --sp-like-border:#dfe7e1;
    --sp-like-shadow:0 10px 30px rgba(17,42,19,.08);
    --sp-like-error:#9b1c1c;
}

.sp-page-like-box{
    margin:28px 0;
    padding:22px;
    background:linear-gradient(180deg,#ffffff 0%,#f8fbf8 100%);
    border:1px solid var(--sp-like-border);
    border-radius:20px;
    box-shadow:var(--sp-like-shadow);
}

.sp-page-like-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
    flex-wrap:wrap;
}

.sp-page-like-copy{
    flex:1 1 280px;
}

.sp-page-like-title{
    margin:0 0 6px;
    font-size:1.2rem;
    line-height:1.3;
    color:var(--sp-like-text);
}

.sp-page-like-subtitle{
    margin:0;
    font-size:.97rem;
    line-height:1.6;
    color:var(--sp-like-muted);
}

.sp-page-like-count-wrap{
    min-width:110px;
    padding:14px 16px;
    border-radius:16px;
    background:rgba(17,42,19,.05);
    text-align:center;
}

.sp-page-like-count{
    display:block;
    font-size:1.5rem;
    line-height:1.1;
    font-weight:700;
    color:var(--sp-like-text);
}

.sp-page-like-count-label{
    display:block;
    margin-top:4px;
    font-size:.86rem;
    color:var(--sp-like-muted);
    text-transform:lowercase;
}

.sp-page-like-button{
    margin-top:18px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-height:48px;
    padding:0 18px;
    border:0;
    border-radius:999px;
    background:var(--sp-like-accent);
    color:#fff;
    font-size:.98rem;
    font-weight:700;
    line-height:1;
    cursor:pointer;
    transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease, background .15s ease;
    box-shadow:0 8px 20px rgba(17,42,19,.18);
}

.sp-page-like-button:hover{
    transform:translateY(-1px);
    box-shadow:0 12px 24px rgba(17,42,19,.22);
}

.sp-page-like-button:focus{
    outline:2px solid var(--sp-like-accent);
    outline-offset:2px;
}

.sp-page-like-button.is-liked{
    background:var(--sp-like-accent-dark);
}

.sp-page-like-button.is-loading{
    opacity:.82;
    pointer-events:none;
}

.sp-page-like-icon{
    font-size:1rem;
    line-height:1;
}

.sp-page-like-message{
    margin-top:12px;
    min-height:20px;
    font-size:.92rem;
    color:var(--sp-like-muted);
}

.sp-page-like-message.is-error{
    color:var(--sp-like-error);
}

@media (max-width: 640px){
    .sp-page-like-box{
        padding:18px;
        border-radius:18px;
    }

    .sp-page-like-count-wrap{
        width:100%;
    }

    .sp-page-like-button{
        width:100%;
    }
}
