/* Link nei post - copre tutti i tipi */
.status__content a,
.status__content a.unhandled-link,
.status__content a.mention,
.status__content a.hashtag,
.status__content a.status-link {
    background-color: #eff1f5 !important;
    padding: 1px 4px !important;
    border-radius: 3px !important;
    text-decoration: none !important;
    color: #d20f39 !important;
    transition: all 0.3s ease;
}

.status__content a:hover,
.status__content a.unhandled-link:hover,
.status__content a.mention:hover,
.status__content a.hashtag:hover,
.status__content a.status-link:hover {
    background-color: #dce0e8 !important;
    color: #b80e2a !important;
}

/* Hashtag con span interno */
.status__content a.hashtag span,
.status__content a[data-menu-hashtag] span,
.status__content a[href^="/tags/"] span {
    color: #d20f39 !important;
    background: transparent !important;
}

.status__content a.hashtag:hover span,
.status__content a[data-menu-hashtag]:hover span,
.status__content a[href^="/tags/"]:hover span {
    color: #b80e2a !important;
}

/* Barra hashtag */
.hashtag-bar a,
.status-meta__bar--hashtags a {
    background-color: #eff1f5 !important;
    color: #d20f39 !important;
    padding: 1px 4px !important;
    border-radius: 3px !important;
    transition: all 0.3s ease;
}

.hashtag-bar a:hover,
.status-meta__bar--hashtags a:hover {
    background-color: #dce0e8 !important;
    color: #b80e2a !important;
}

.hashtag-bar a span,
.status-meta__bar--hashtags a span {
    color: #d20f39 !important;
    background: transparent !important;
}

.hashtag-bar a:hover span,
.status-meta__bar--hashtags a:hover span {
    color: #b80e2a !important;
}

/* Link nelle notifiche */
.notification a.status-link,
.notification a.mention,
.notification a.hashtag,
.notification a.unhandled-link {
    background-color: #eff1f5 !important;
    padding: 1px 4px !important;
    border-radius: 3px !important;
    color: #d20f39 !important;
    transition: all 0.3s ease;
}

.notification a.status-link:hover,
.notification a.mention:hover,
.notification a.hashtag:hover,
.notification a.unhandled-link:hover {
    background-color: #dce0e8 !important;
    color: #b80e2a !important;
}

/* ========== DARK MODE ========== */

@media (prefers-color-scheme: dark) {

    .status__content a,
    .status__content a.unhandled-link,
    .status__content a.mention,
    .status__content a.hashtag,
    .status__content a.status-link {
        background-color: #2b2e41 !important;
        color: #ffa5ba !important;
    }

    .status__content a:hover,
    .status__content a.unhandled-link:hover,
    .status__content a.mention:hover,
    .status__content a.hashtag:hover,
    .status__content a.status-link:hover {
        background-color: #393d54 !important;
        color: #ffc1d3 !important;
    }

    .status__content a.hashtag span,
    .status__content a[data-menu-hashtag] span,
    .status__content a[href^="/tags/"] span {
        color: #ffa5ba !important;
        background: transparent !important;
    }

    .status__content a.hashtag:hover span,
    .status__content a[data-menu-hashtag]:hover span,
    .status__content a[href^="/tags/"]:hover span {
        color: #ffc1d3 !important;
    }

    .hashtag-bar a,
    .status-meta__bar--hashtags a {
        background-color: #2b2e41 !important;
        color: #ffa5ba !important;
    }

    .hashtag-bar a:hover,
    .status-meta__bar--hashtags a:hover {
        background-color: #393d54 !important;
        color: #ffc1d3 !important;
    }

    .hashtag-bar a span,
    .status-meta__bar--hashtags a span {
        color: #ffa5ba !important;
        background: transparent !important;
    }

    .hashtag-bar a:hover span,
    .status-meta__bar--hashtags a:hover span {
        color: #ffc1d3 !important;
    }

    .notification a.status-link,
    .notification a.mention,
    .notification a.hashtag,
    .notification a.unhandled-link {
        background-color: #2b2e41 !important;
        color: #ffa5ba !important;
    }

    .notification a.status-link:hover,
    .notification a.mention:hover,
    .notification a.hashtag:hover,
    .notification a.unhandled-link:hover {
        background-color: #393d54 !important;
        color: #ffc1d3 !important;
    }

}

