/* 康乃馨俱乐部 - 响应式样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d63384;
    --secondary-color: #6f42c1;
    --accent-color: #fd7e14;
    --text-color: #212529;
    --text-light: #6c757d;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #dee2e6;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container_9x4m {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航 */
.nav_hdr_7y2p {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav_hdr_7y2p .container_9x4m {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo_sect_5k8n {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo_img_3w7q {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.3);
}

.title_main_8p5r {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.subtitle_4n9x {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 400;
}

.nav_menu_6t2l {
    position: relative;
}

.nav_list_9m4k {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav_link_2x8p {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav_link_2x8p:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.mobile_toggle_7k3n {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 10px;
}

/* 主要内容区域 */
.main_content_4j7x {
    min-height: calc(100vh - 200px);
}

.hero_section_8n2m {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

.hero_content_5p9k {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.game_info_6w3l {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.game_header_9m5x {
    display: flex;
    gap: 20px;
    align-items: center;
}

.game_icon_large_4k8p {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.game_title_3w9m {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 700;
}

.game_subtitle_5k7p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.game_tags_8n4x {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag_item_2m9k {
    background: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.download_section_9p3x {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.download_link_container_7k5m {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.download_url_4x8n {
    background: var(--bg-light);
    padding: 12px 20px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    flex: 1;
    min-width: 200px;
}

.copy_btn_5w2k {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.copy_btn_5w2k:hover {
    background: #b02a5b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.game_cover_section_3n7k {
    display: flex;
    justify-content: center;
}

.game_cover_8m2x {
    width: 100%;
    max-width: 300px;
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
    transition: transform 0.3s ease;
}

.game_cover_8m2x:hover {
    transform: scale(1.05);
}

/* 内容布局 */
.content_wrapper_5j8n {
    padding: 40px 0;
}

.content_layout_7k3m {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.main_article_4n9x {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.content_section_8p2k {
    padding: 30px;
    border-bottom: 1px solid var(--border-color);
}

.content_section_8p2k:last-child {
    border-bottom: none;
}

.section_title_6w5m {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.content_text_9x4p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-color);
}

.content_text_9x4p p {
    margin-bottom: 15px;
}

.features_grid_7m3k {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.feature_item_5n8x {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature_item_5n8x:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature_icon_4k2m {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature_item_5n8x h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.feature_item_5n8x p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.update_info_6k9m {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    margin-top: 15px;
}

.update_info_6k9m h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.update_list_3x7n {
    list-style: none;
}

.update_list_3x7n li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.update_list_3x7n i {
    color: var(--accent-color);
    width: 20px;
}

.download_notice_8k4m {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.download_notice_8k4m i {
    color: #0066cc;
    margin-right: 8px;
}

.download_url_display_9k2x {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

.download_url_display_9k2x code {
    flex: 1;
    background: none;
    padding: 0;
    font-size: 0.9rem;
    color: var(--text-color);
    word-break: break-all;
}

.copy_small_btn_7x3m {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.copy_small_btn_7x3m:hover {
    background: #b02a5b;
    transform: translateY(-1px);
}

/* 侧边栏 */
.sidebar_nav_9m2k {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar_content_7x5n {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.sidebar_title_3k8m {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.sidebar_list_6n4x {
    list-style: none;
}

.sidebar_list_6n4x li {
    margin-bottom: 10px;
}

.sidebar_link_2m9k {
    color: var(--text-color);
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sidebar_link_2m9k:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* 页脚 */
.footer_section_5k7m {
    background: var(--text-color);
    color: white;
    padding: 30px 0;
    margin-top: 50px;
}

.footer_content_8n3x {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright_text_4m9k {
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer_links_7x2n {
    display: flex;
    gap: 20px;
}

.footer_link_3k8m {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer_link_3k8m:hover {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav_list_9m4k {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        border-radius: 0 0 15px 15px;
    }
    
    .nav_list_9m4k.active {
        display: flex;
    }
    
    .mobile_toggle_7k3n {
        display: block;
    }
    
    .hero_content_5p9k {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .game_header_9m5x {
        flex-direction: column;
        text-align: center;
    }
    
    .game_title_3w9m {
        font-size: 1.8rem;
    }
    
    .download_link_container_7k5m {
        flex-direction: column;
    }
    
    .download_url_4x8n {
        min-width: auto;
        text-align: center;
    }
    
    .content_layout_7k3m {
        grid-template-columns: 1fr;
    }
    
    .sidebar_nav_9m2k {
        display: none;
    }
    
    .features_grid_7m3k {
        grid-template-columns: 1fr;
    }
    
    .container_9x4m {
        padding: 0 15px;
    }
    
    .content_section_8p2k {
        padding: 20px;
    }
    
    .section_title_6w5m {
        font-size: 1.5rem;
    }
    
    .footer_content_8n3x {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .title_main_8p5r {
        font-size: 1.2rem;
    }
    
    .game_title_3w9m {
        font-size: 1.5rem;
    }
    
    .logo_img_3w7q,
    .game_icon_large_4k8p {
        width: 60px;
        height: 60px;
    }
    
    .nav_hdr_7y2p .container_9x4m {
        padding: 10px 15px;
    }
    
    .hero_section_8n2m {
        padding: 20px 0;
    }
    
    .download_section_9p3x {
        padding: 20px;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content_section_8p2k {
    animation: fadeInUp 0.6s ease-out;
}

/* 复制成功提示 */
.copy_success {
    background: #28a745 !important;
}

.copy_success::after {
    content: " ✓";
}

/* 友情链接样式 - 优雅粉色主题 */
.friend_links_section_k4m7 {
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.1), rgba(255, 105, 180, 0.05));
    border-radius: 12px;
    border: 1px solid rgba(255, 105, 180, 0.2);
}

.friend_links_title_p8n2 {
    color: #ff69b4;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.friend_links_list_w6q9 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.friend_link_t5r8 {
    display: block;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 105, 180, 0.5);
    border-radius: 8px;
    color: #c21e56;
    text-decoration: none;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(255, 105, 180, 0.2);
}

.friend_link_t5r8:hover {
    background: #ff69b4;
    color: white;
    border-color: #ff69b4;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.3);
}

/* Whitehat protocol additions. Existing site styles remain unchanged. */
.my-news-home, .my-news-page { --my-news-surface: rgba(255,255,255,.94); --my-news-text: #4f2143; --my-news-muted: #8a5b79; --my-news-accent: #d63384; --my-news-line: rgba(214,51,132,.25); }
.my-news-home { width: 100%; padding: 28px 16px 44px; 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 3px; color: var(--my-news-accent); font-size: .78rem; font-weight: 800; letter-spacing: .13em; }
.my-news-heading h2, .my-news-page h1, .my-news-page h2, .my-news-card h2, .my-news-card h3 { color: var(--my-news-text); }
.my-news-heading h2 { margin: 0; font-size: clamp(1.45rem, 2.8vw, 2rem); line-height: 1.25; }
.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: 196px; padding: 20px; color: var(--my-news-text); background: var(--my-news-surface); border: 1px solid var(--my-news-line); border-radius: 12px; box-shadow: 0 14px 36px rgba(0,0,0,.14); }
.my-download-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:42px; padding:10px 18px; color:#fff; background:#d63384; border:1px solid #d63384; border-radius:8px; font:inherit; font-weight:700; line-height:1.3; text-decoration:none; cursor:pointer; }
.my-download-button:hover,.my-download-button:focus-visible { color:#fff; filter:brightness(.94); outline:2px solid #d63384; outline-offset:2px; }
.my-news-card h2, .my-news-card h3 { margin: 0; font-size: 1.08rem; line-height: 1.5; }.my-news-card time { display:block; margin:10px 0 0; 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:12px; }
.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;color:var(--my-news-muted);}.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:clamp(22px,5vw,44px);color:var(--my-news-text);background:var(--my-news-surface);border:1px solid var(--my-news-line);border-radius:12px;box-shadow:0 14px 36px rgba(0,0,0,.14);}.my-news-page .my-news-detail h1{margin:0;font-size:clamp(1.8rem,5vw,3rem);line-height:1.22;}.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;}
/* Backend friend-link template styling, kept scoped to the original friend container. */
.friend_links_list_w6q9 > .my-friend-link { position:relative; display:flex; align-items:center; min-height:64px; padding:16px 18px 16px 60px; overflow:hidden; color:#4f2143; background:rgba(255,255,255,.94); border:1px solid rgba(214,51,132,.25); border-radius:12px; box-shadow:0 5px 16px rgba(0,0,0,.11); font-weight:700; line-height:1.35; text-decoration:none; transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,color .22s ease; }
.friend_links_list_w6q9 > .my-friend-link::before { content:'✦'; position:absolute; left:18px; display:grid; width:30px; height:30px; place-items:center; color:#fff; background:#d63384; border-radius:50%; font-size:.9rem; box-shadow:0 4px 10px rgba(214,51,132,.25); }.friend_links_list_w6q9 > .my-friend-link:hover,.friend_links_list_w6q9 > .my-friend-link:focus-visible{color:#d63384;border-color:#d63384;box-shadow:0 10px 24px rgba(0,0,0,.16);outline:none;transform:translateY(-3px);}
.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:12px;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-card{min-height:0}.friend_links_list_w6q9 > .my-friend-link{min-height:58px;padding:14px 15px 14px 54px}.friend_links_list_w6q9 > .my-friend-link::before{left:15px;width:28px;height:28px}}
