:root {
        --rm-lila: #a73fdc;
        --rm-lila-dark: #6e4894;
        --rm-lila-soft: #f4e8fb;
    }

    .rm-link-card {
        background: #fff;
        border: 1px solid rgba(0, 0, 0, 0.06);
        border-radius: 16px;
        transition: all 0.25s cubic-bezier(.2, .8, .2, 1);
        overflow: hidden;
    }

    .rm-link-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        border-color: var(--rm-lila);
    }

    .platform-icon-wrapper {
        width: 48px;
        height: 48px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        flex-shrink: 0;
        transition: transform 0.25s ease;
    }

    .rm-link-card:hover .platform-icon-wrapper {
        transform: scale(1.05);
    }

    .platform-icon-wrapper .icon-svg,
    .platform-icon-wrapper svg {
        width: 18px !important;
        height: 18px !important;
        max-width: 18px;
        max-height: 18px;
        display: block;
     overflow: visible;
    }

    .font-weight-medium {
        font-weight: 500;
    }

    .rm-link-author-name {
        color: inherit !important;
        text-decoration: none;
    }

    .rm-link-author-name:hover {
        color: var(--rm-lila) !important;
        text-decoration: underline !important;
    }

    .link-title {
        color: #111;
        text-decoration: none !important;
        font-size: 1.1rem;
    }

    .link-title:hover {
        color: var(--rm-lila);
    }

    .rm-link-desc {
        color: #666;
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .rm-user-link {
        color: var(--rm-lila);
        font-weight: 600;
        font-size: 0.85rem;
    }

    .rm-user-link:hover {
        text-decoration: underline;
    }

    .text-divider {
        opacity: 0.2;
    }

    .bg-lila-soft {
        background-color: var(--rm-lila-soft);
    }

    .text-lila {
        color: var(--rm-lila);
    }

    .border-lila {
        border-color: #d1b1e8 !important;
    }

    .list-group-lila .list-group-item {
        border: none;
        padding: 12px 18px;
        font-size: 0.92rem;
        color: #555;
    }

    .list-group-lila .active-lila {
        background-color: var(--rm-lila-soft);
        color: var(--rm-lila-dark);
        font-weight: 700;
        border-left: 4px solid var(--rm-lila);
    }

    .badge-lila {
        background-color: var(--rm-lila);
        color: #fff;
    }

    .shadow-xs {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    }

    .last-no-border:last-child {
        border-bottom: none !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .truncate {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .rm-pager .pagination {
        gap: 5px;
        justify-content: center;
    }

    .rm-pager .page-link {
        border-radius: 8px !important;
        border: 1px solid #eee;
        color: #555;
        padding: 8px 14px;
        transition: all 0.2s;
    }

    .rm-pager .page-item.active .page-link {
        background-color: var(--rm-lila);
        border-color: var(--rm-lila);
        color: #fff;
        font-weight: 700;
    }

    /* Fix giant arrows by masking default SVG if present */
    .rm-pager svg {
        width: 1rem;
        height: 1rem;
        vertical-align: middle;
    }

    .rm-pager nav span[aria-hidden="true"] {
        display: none;
    }