/* 友情链接样式 - 康乃馨俱乐部主题 */
.friend-links-section-fly {
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 105, 180, 0.1), rgba(255, 20, 147, 0.05));
    border-radius: 15px;
    border: 2px solid rgba(255, 105, 180, 0.3);
    box-shadow: 0 8px 32px rgba(255, 105, 180, 0.15);
}

.friend-links-title-fly {
    color: #ff69b4;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 18px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(255, 105, 180, 0.3);
    position: relative;
}

.friend-links-title-fly::before {
    content: '🌸';
    margin-right: 8px;
}

.friend-links-container-fly {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.friend-link-fly {
    display: inline-block;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 105, 180, 0.6);
    border-radius: 12px;
    color: #e91e63;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.2);
}

.friend-link-fly:hover {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    border-color: #ff69b4;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.4);
}

/* Whitehat protocol additions. Existing site styles remain unchanged. */
.my-news-home, .my-news-page { --my-news-surface: rgba(255,255,255,.95); --my-news-text: #4f2143; --my-news-muted: #8a5b79; --my-news-accent: #e91e63; --my-news-line: rgba(233,30,99,.24); }
.my-news-home { width: 100%; padding: 32px 16px 48px; color: var(--my-news-text); }
.my-news-home .my-news-shell, .my-news-page .my-news-shell { width: min(1180px, 100%); margin: 0 auto; }
.my-news-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--my-news-line); }
.my-news-kicker { margin: 0 0 4px; color: var(--my-news-accent); font-size: .78rem; font-weight: 700; letter-spacing: .1em; }
.my-news-heading h2, .my-news-page h1, .my-news-page h2, .my-news-card h2, .my-news-card h3 { margin-top: 0; color: var(--my-news-text); }
.my-news-heading h2 { margin-bottom: 0; font-size: 1.55rem; line-height: 1.3; }
.my-news-all-link, .my-news-card a, .my-news-back { display: inline-flex; width: fit-content; align-items: center; color: var(--my-news-text); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--my-news-accent); }
.my-news-all-link:hover, .my-news-card a:hover, .my-news-back:hover { color: var(--my-news-accent); }
.my-news-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.my-news-card { display: flex; flex-direction: column; min-width: 0; min-height: 190px; padding: 20px; color: var(--my-news-text); background: var(--my-news-surface); border: 1px solid var(--my-news-line); border-radius: 8px; box-shadow: 0 10px 26px rgba(0, 0, 0, .12); }
.my-news-card h2, .my-news-card h3 { margin-bottom: 0; font-size: 1.08rem; line-height: 1.5; }
.my-news-card time { display: block; margin-top: 10px; color: var(--my-news-muted); font-size: .86rem; }
.my-news-card p { margin: 10px 0 16px; color: var(--my-news-muted); }
.my-news-card a { margin-top: auto; }
.my-news-empty { grid-column: 1 / -1; margin: 0; padding: 20px; color: var(--my-news-muted); background: var(--my-news-surface); border: 1px dashed var(--my-news-line); border-radius: 8px; }
.my-news-page { min-height: 100vh; padding: 44px 16px 64px; color: var(--my-news-text); }
.my-news-page .my-news-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.my-news-page .my-news-brand { margin: 0; color: var(--my-news-muted); font-size: .93rem; }
.my-news-page .my-news-intro { max-width: 760px; margin: 0 0 24px; color: var(--my-news-muted); }
.my-news-page .my-news-detail { max-width: 820px; padding: 32px; color: var(--my-news-text); background: var(--my-news-surface); border: 1px solid var(--my-news-line); border-radius: 8px; box-shadow: 0 14px 36px rgba(0, 0, 0, .16); }
.my-news-page .my-news-detail h1 { margin: 0; font-size: 2rem; line-height: 1.3; }
.my-news-page .my-news-detail time { display: block; margin: 16px 0 24px; color: var(--my-news-muted); }
.my-news-summary { margin: 0 0 20px; color: var(--my-news-muted); font-size: 1.05rem; }
.my-news-content { margin: 0; color: var(--my-news-text); white-space: pre-wrap; }
.my-news-page .my-news-footer { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
[data-seo-managed="download-link"] { text-decoration: none; }
/* The container selector also styles backend-rendered anchors when their class attribute is removed. */
.friend-links-container-fly { display: flex; flex-wrap: wrap; gap: 7px 0; }
.friend-links-container-fly > a { display: inline-flex; align-items: center; color: #bdc3c7 !important; font-size: .9rem; line-height: 1.45; text-decoration: none !important; transition: color .2s ease; }
.friend-links-container-fly > a:not(:last-of-type)::after { content: ''; width: 1px; height: 12px; margin: 0 10px; background: color-mix(in srgb, #bdc3c7 35%, transparent); }
.friend-links-container-fly > a:hover, .friend-links-container-fly > a:focus-visible { color: #f06292 !important; outline: none; }
.download-confirm-backdrop { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 18px; background: rgba(0, 0, 0, .64); }
.download-confirm-panel { width: min(460px, 100%); padding: 24px; color: var(--my-news-text); background: var(--my-news-surface); border: 1px solid var(--my-news-line); border-radius: 8px; box-shadow: 0 24px 70px rgba(0, 0, 0, .35); }
.download-confirm-panel h2 { margin: 0 0 10px; color: var(--my-news-text); font-size: 1.3rem; }.download-confirm-panel p { margin: 0; color: var(--my-news-muted); }
.download-confirm-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.download-confirm-actions button { min-height: 40px; padding: 0 16px; font: inherit; font-weight: 700; color: var(--my-news-text); background: transparent; border: 1px solid var(--my-news-line); border-radius: 6px; cursor: pointer; }
.download-confirm-actions .download-confirm-primary { color: #fff; background: var(--my-news-accent); border-color: var(--my-news-accent); }
@media (max-width: 640px) { .my-news-home { padding-inline: 12px; }.my-news-heading, .my-news-page .my-news-topbar { align-items: flex-start; flex-direction: column; }.my-news-page { padding: 26px 12px 44px; }.my-news-page .my-news-detail { padding: 22px; }.friend-links-container-fly { justify-content: center; }.friend-links-container-fly > a:not(:last-of-type)::after { margin-inline: 8px; } }
