.link-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 12px;
    margin-bottom: 40px;
    width: 100%;
}

.single-entry .link-title {
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    color: rgba(4, 4, 4, 0.80);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    margin: 0 0 0.6rem;
    padding: 20px;
    font-style: normal;
}

.subtitle {
    text-align: center;
    font-size: 1em;
    color: #666;
    font-weight: 600;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    margin: 0 0 1.2rem;
    padding: 0;
    font-style: italic;
}

.linkcat h2 {
    border-left: none !important;
    padding-left: 0 !important;
}

.linkcat h2::before {
    display: none !important;
    content: none !important;
}

.link-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.action-card {
    display: inline-block;
    padding: 1.6rem 7rem;
    background-color: #ffffff46;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 100px;
    line-height: 1.4;
    cursor: pointer;
    border: 1px solid #e0e0e0;
}

.night .action-card {
    background-color: #3334;
    color: #e0e0e0;
    border-color: #555;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    filter: brightness(1.1);
}

.link-card {
    background: #ffffff46;
    border-radius: 12px;
    padding: 18px;
    min-height: 108px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    text-decoration: none;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    width: 100%;
    position: relative;
    cursor: default;
    transition: none;
    color: #333;
}

.night .link-card {
    background: #3334;
    color: #e0e0e0;
}

.link-avatar {
    margin-right: 12px;
    flex-shrink: 0;
}

.link-avatar img {
    width: 68px;
    height: 68px;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.4s ease;
}

.link-avatar img:hover {
    transform: rotate(360deg);
}

.link-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    line-height: 1.4;
    min-width: 0;
}

.link-name {
    margin: 0 0 4px;
    font-size: 1em;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-desc {
    margin: 0;
    font-size: 0.85em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.subscribe-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.subscribe-btn:hover {
    opacity: 1;
}

#toggle-theme,
#go-to-style {
    cursor: pointer;
    user-select: none;
}

.highlight-pulse {
    animation: highlightPulse 0.6s ease-out;
}

@keyframes highlightPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.02);
        opacity: 0.92;
    }
}

.divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 16px 0;
    border: none;
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1);
}

#my-linkcat .link-name a,
#my-linkcat .link-name a:link,
#my-linkcat .link-name a:visited,
#my-linkcat .link-name a:hover,
#my-linkcat .link-name a:active {
    color: inherit !important;
    text-decoration: none;
}