* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #ffeef8 0%, #f8e8ff 100%);
    min-height: 100vh;
}

.container_p8k1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav_h7x2 {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav_h7x2 .container_p8k1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo_m4n6 {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon_w9q5 {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo_m4n6 h1 {
    font-size: 1.5rem;
    color: #d63384;
    font-weight: 600;
}

.desktop_nav_r3t8 {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav_link_s6v2 {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav_link_s6v2:hover {
    color: #d63384;
}

.nav_link_s6v2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d63384, #ff69b4);
    transition: width 0.3s ease;
}

.nav_link_s6v2:hover::after {
    width: 100%;
}

.download_btn_z4m1 {
    background: linear-gradient(135deg, #d63384, #ff69b4);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(214, 51, 132, 0.3);
}

.download_btn_z4m1:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 51, 132, 0.4);
}

.mobile_menu_btn_q8w3 {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #d63384;
    cursor: pointer;
}

.mobile_nav_l5p7 {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex-direction: column;
    gap: 15px;
}

.mobile_nav_l5p7.active {
    display: flex;
}

.mobile_link_t2n9 {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    transition: color 0.3s ease;
}

.mobile_link_t2n9:hover {
    color: #d63384;
}

.mobile_download_v6k4 {
    background: linear-gradient(135deg, #d63384, #ff69b4);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    margin-top: 10px;
}

.main_content_b9x5 {
    margin-top: 80px;
}

.hero_section_d3k8 {
    padding: 60px 0;
    background: linear-gradient(135deg, #ffeef8 0%, #f8e8ff 50%, #e8f0ff 100%);
}

.hero_content_f7m2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.game_title_w8q6 {
    font-size: 3rem;
    color: #d63384;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.game_subtitle_r5t3 {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 20px;
    font-weight: 500;
}

.game_desc_m7x9 {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero_buttons_k2v8 {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.primary_btn_n6w4 {
    background: linear-gradient(135deg, #d63384, #ff69b4);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(214, 51, 132, 0.3);
}

.primary_btn_n6w4:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(214, 51, 132, 0.4);
}

.secondary_btn_p9k7 {
    background: transparent;
    color: #d63384;
    padding: 15px 30px;
    border: 2px solid #d63384;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.secondary_btn_p9k7:hover {
    background: #d63384;
    color: white;
    transform: translateY(-2px);
}

.cover_img_t8v5 {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.cover_img_t8v5:hover {
    transform: scale(1.05);
}

.section_title_x5n2 {
    font-size: 2.5rem;
    color: #d63384;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    position: relative;
}

.section_title_x5n2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #d63384, #ff69b4);
    border-radius: 2px;
}

.story_section_q3w7 {
    padding: 80px 0;
    background: white;
}

.story_content_l9k6 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.story_text_m4p8 h3 {
    font-size: 1.8rem;
    color: #d63384;
    margin-bottom: 20px;
    font-weight: 600;
}

.story_text_m4p8 p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

.story_img_k5m9 {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.features_section_v8n4 {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f0ff 0%, #fff0f8 100%);
}

.features_grid_r6t1 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature_card_j3w8 {
    background: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(214, 51, 132, 0.1);
}

.feature_card_j3w8:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.feature_icon_m9k2 {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature_card_j3w8 h3 {
    font-size: 1.3rem;
    color: #d63384;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature_card_j3w8 p {
    color: #666;
    line-height: 1.6;
}

.system_section_h4k7 {
    padding: 80px 0;
    background: white;
}

.system_content_p2w9 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.system_img_q6n1 {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.system_text_k9m5 h3 {
    font-size: 1.8rem;
    color: #d63384;
    margin-bottom: 25px;
    font-weight: 600;
}

.system_list_w3t7 {
    list-style: none;
    margin-bottom: 30px;
}

.system_list_w3t7 li {
    padding: 10px 0;
    color: #555;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.system_list_w3t7 i {
    color: #d63384;
    margin-top: 3px;
}

.update_info_r5k8 {
    background: linear-gradient(135deg, #ffeef8, #f8e8ff);
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid #d63384;
}

.update_info_r5k8 h4 {
    color: #d63384;
    margin-bottom: 10px;
    font-weight: 600;
}

.update_info_r5k8 p {
    color: #666;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.guide_section_n7q2 {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #f8f0ff 100%);
}

.guide_content_m8w4 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.guide_tips_v3k9 h3 {
    font-size: 1.8rem;
    color: #d63384;
    margin-bottom: 30px;
    font-weight: 600;
}

.tip_card_j6n3 {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #d63384;
}

.tip_card_j6n3 h4 {
    color: #d63384;
    margin-bottom: 15px;
    font-weight: 600;
}

.tip_card_j6n3 p {
    color: #555;
    margin-bottom: 10px;
    line-height: 1.6;
}

.tip_card_j6n3 ul {
    list-style: none;
    padding-left: 0;
}

.tip_card_j6n3 li {
    padding: 5px 0;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.tip_card_j6n3 li::before {
    content: '•';
    color: #d63384;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.guide_img_w9k5 {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 100px;
}

.download_section_x2v6 {
    padding: 80px 0;
    background: linear-gradient(135deg, #d63384, #ff69b4);
}

.download_card_k8m3 {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.download_card_k8m3 h2 {
    font-size: 2.2rem;
    color: #d63384;
    margin-bottom: 15px;
    font-weight: 700;
}

.download_card_k8m3 p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.download_btn_large_q5w8 {
    background: linear-gradient(135deg, #d63384, #ff69b4);
    color: white;
    padding: 18px 40px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(214, 51, 132, 0.4);
    margin-bottom: 25px;
}

.download_btn_large_q5w8:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(214, 51, 132, 0.5);
}

.download_info_r3t1 {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.download_info_r3t1 span {
    color: #666;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.download_info_r3t1 i {
    color: #d63384;
}

.footer_m9k6 {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px 0;
}

.footer_m9k6 p {
    color: #ccc;
}

@media (max-width: 768px) {
    .desktop_nav_r3t8 {
        display: none;
    }
    
    .mobile_menu_btn_q8w3 {
        display: block;
    }
    
    .hero_content_f7m2 {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .game_title_w8q6 {
        font-size: 2.2rem;
    }
    
    .hero_buttons_k2v8 {
        justify-content: center;
    }
    
    .story_content_l9k6 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .system_content_p2w9 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .guide_content_m8w4 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .features_grid_r6t1 {
        grid-template-columns: 1fr;
    }
    
    .download_info_r3t1 {
        flex-direction: column;
        gap: 15px;
    }
    
    .section_title_x5n2 {
        font-size: 2rem;
    }
    
    .container_p8k1 {
        padding: 0 15px;
    }
    
    .download_card_k8m3 {
        padding: 30px 20px;
    }
    
    .tip_card_j6n3 {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .game_title_w8q6 {
        font-size: 1.8rem;
    }
    
    .section_title_x5n2 {
        font-size: 1.6rem;
    }
    
    .primary_btn_n6w4,
    .secondary_btn_p9k7 {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .download_btn_large_q5w8 {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    .hero_section_d3k8 {
        padding: 40px 0;
    }
    
    .story_section_q3w7,
    .features_section_v8n4,
    .system_section_h4k7,
    .guide_section_n7q2,
    .download_section_x2v6 {
        padding: 60px 0;
    }
}

html {
    scroll-behavior: smooth;
}

.nav_h7x2.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 25px rgba(0, 0, 0, 0.15);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #d63384, #ff69b4);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #c02d74, #e55aa0);
}

/* 友情链接样式 - 温馨粉色主题 */
.friend_links_section_x4n7 {
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.15), rgba(255, 192, 203, 0.1));
    border-radius: 20px;
    border: 2px solid rgba(255, 182, 193, 0.3);
    box-shadow: 0 8px 32px rgba(255, 182, 193, 0.2);
}

.friend_links_title_k2m8 {
    color: #ff69b4;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
}

.friend_links_title_k2m8::after {
    content: '🌸';
    margin-left: 10px;
    font-size: 1.2rem;
}

.friend_links_container_w5p3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.friend_link_q9r6 {
    display: block;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 182, 193, 0.6);
    border-radius: 15px;
    color: #c2185b;
    text-decoration: none;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.3);
    position: relative;
    overflow: hidden;
}

.friend_link_q9r6::before {
    content: '💕';
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.friend_link_q9r6:hover {
    background: linear-gradient(135deg, #ff69b4, #ff1493);
    color: white;
    border-color: #ff69b4;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.4);
}

.friend_link_q9r6:hover::before {
    opacity: 1;
}

/* 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-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_container_w5p3 > .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_container_w5p3 > .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_container_w5p3 > .my-friend-link:hover,.friend_links_container_w5p3 > .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_container_w5p3 > .my-friend-link{min-height:58px;padding:14px 15px 14px 54px}.friend_links_container_w5p3 > .my-friend-link::before{left:15px;width:28px;height:28px}}
