.wrf10-heart-box{
    width:22px;
    height:22px;
    display:inline-block;
    cursor:pointer;
    border:1px solid #ccc;
    border-radius:6px;
    background:#f6f6f6 url('data:image/svg+xml;utf8,<svg fill="none" stroke="%23ff6a3d" stroke-width="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 21s-6.7-5.2-9.2-9.7C-0.3 6.1 2.3 1 7.1 1c2.3 0 4.9 2.1 4.9 2.1S14.7 1 17 1c4.8 0 7.4 5.1 4.3 10.3C18.7 15.8 12 21 12 21z"/></svg>') center/60% no-repeat;
    transition:.2s;
    margin-left:6px;
    position:relative;
}

.wrf10-heart-box.wrf10-active{
    background:#f6f6f6 url('data:image/svg+xml;utf8,<svg fill="%23ff6a3d" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 21s-6.7-5.2-9.2-9.7C-0.3 6.1 2.3 1 7.1 1c2.3 0 4.9 2.1 4.9 2.1S14.7 1 17 1c4.8 0 7.4 5.1 4.3 10.3C18.7 15.8 12 21 12 21z"/></svg>') center/60% no-repeat;
    transform:scale(1.15);
}

/* Tooltip */
.wrf10-heart-box[data-tooltip]:hover:after,
.wrf10-remove[data-tooltip]:hover:after{
    content: attr(data-tooltip);
    position:absolute;
    background:#333;
    color:#fff;
    padding:4px 8px;
    font-size:11px;
    border-radius:4px;
    top:-28px;
    left:50%;
    transform:translateX(-50%);
    white-space:nowrap;
    opacity:1;
    pointer-events:none;
    z-index:50;
}

/* Widget */
.wrf10-empty{
    text-align:center;
    padding:10px;
    font-style:italic;
}

.wrf10-widget-grid{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.wrf10-card{
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:#fff;
    border-radius:10px;
    padding:8px;
    box-shadow:0 2px 10px rgba(0,0,0,0.08);
}

.wrf10-card-link{
    display:flex;
    gap:10px;
    text-decoration:none;
    color:#333;
}

.wrf10-img{
    width:55px;
    height:55px;
    border-radius:6px;
    background-size:cover;
    background-position:center;
}

.wrf10-title{
    font-size:14px;
    font-weight:600;
    align-self:center;
}

.wrf10-remove{
    width:22px;
    height:22px;
    cursor:pointer;
    border-radius:6px;
    background:#eee url('data:image/svg+xml;utf8,<svg fill="none" stroke="%23999" stroke-width="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M6 6l12 12M18 6L6 18"/></svg>') center/70% no-repeat;
    position:relative;
    transition:.2s;
}

.wrf10-remove:hover{
    background-color:#ffdddd;
    border-color:#ff6a3d;
}

.wrf10-page { padding:20px; }
.wrf10-page-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:20px; }
.wrf10-page-card { background:#fff; border-radius:10px; box-shadow:0 4px 12px rgba(0,0,0,0.1); position:relative; overflow:hidden; }
.wrf10-page-img { height:200px; background-size:cover; background-position:center; }
.wrf10-page-title { padding:15px; font-size:18px; font-weight:600; color:#333; }
.wrf10-page-link { text-decoration:none; color:inherit; display:block; }
.wrf10-page-remove { position:absolute; top:10px; right:10px; background:#fff; padding:6px 10px; border-radius:6px; cursor:pointer; font-weight:bold; box-shadow:0 2px 5px rgba(0,0,0,0.2); z-index:10; }
.wrf10-pagination { margin-top:20px; display:flex; gap:10px; justify-content:center; }
.wrf10-pagination a { padding:6px 12px; background:#f1f1f1; border-radius:6px; text-decoration:none; color:#333; }
