* {
    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, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container-a1b3 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-k8m2 {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container-p9x4 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand-q7w1 {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-icon-r5t8 {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.nav-title-s3u6 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
}

.nav-menu-u8w9 {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link-v2x5 {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link-v2x5:hover {
    color: #667eea;
}

.nav-link-v2x5::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #667eea;
    transition: width 0.3s ease;
}

.nav-link-v2x5:hover::after {
    width: 100%;
}

.nav-toggle-t4v7 {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle-t4v7 span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

.main-w9y1 {
    margin-top: 70px;
}

.hero-section-x4z2 {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    padding: 60px 0;
    color: white;
}

.game-header-e8f9 {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.game-icon-g2h4 {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.game-info-i6j8 {
    flex: 1;
}

.game-title-k9l1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.game-title-k9l1 i {
    color: #ff6b9d;
    font-size: 2rem;
}

.game-subtitle-m3n5 {
    font-size: 1rem;
    background: rgba(255, 107, 157, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    margin-left: 15px;
}

.game-tags-o7p9 {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.tag-q1r3 {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.game-desc-s5t7 {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
}

.download-section-u9v1 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.download-btn-w3x5 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #ff6b9d, #ff8a80);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
    width: fit-content;
}

.download-btn-w3x5:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.6);
}

.download-info-y7z9 {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.download-info-y7z9 span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.content-section-a1b2 {
    background: white;
    padding: 80px 0;
}

.game-article-c3d4 {
    margin-bottom: 80px;
}

.section-title-e5f6 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
}

.section-title-e5f6 i {
    color: #667eea;
}

.article-content-g7h8 {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.article-content-g7h8 p {
    margin-bottom: 25px;
}

.image-container-i9j1 {
    margin: 40px 0;
    text-align: center;
}

.article-image-k2l4 {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.article-image-k2l4:hover {
    transform: scale(1.02);
}

.highlight-box-m5n7 {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
}

.highlight-box-m5n7 h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-box-m5n7 ul {
    list-style: none;
    padding-left: 0;
}

.highlight-box-m5n7 li {
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.quote-box-o8p9 {
    background: #f8f9fa;
    border-left: 5px solid #667eea;
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 15px 15px 0;
}

.quote-box-o8p9 blockquote {
    font-size: 1.3rem;
    font-style: italic;
    color: #555;
    text-align: center;
}

.features-grid-q1r2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.feature-card-s3t4 {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.feature-card-s3t4:hover {
    transform: translateY(-5px);
    border-color: #667eea;
}

.feature-card-s3t4 i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.feature-card-s3t4 h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.character-showcase-u5v6 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.character-info-w7x8 {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.character-info-w7x8 h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.download-final-y9z1 {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 60px 0;
    text-align: center;
}

.download-card-a2b4 {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 20px;
    color: white;
    max-width: 600px;
    margin: 0 auto;
}

.download-title-c6d8 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.download-desc-e1f3 {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.download-btn-final-g5h7 {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(45deg, #ff6b9d, #ff8a80);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
    margin-bottom: 25px;
}

.download-btn-final-g5h7:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.6);
}

.download-features-i9j2 {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.download-features-i9j2 span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    opacity: 0.9;
}

.footer-k4l6 {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
}

.footer-content-m8n9 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.footer-info-o2p4 {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-icon-q6r8 {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-info-o2p4 h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.footer-info-o2p4 p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-links-s1t3 {
    display: flex;
    gap: 25px;
}

.footer-links-s1t3 a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links-s1t3 a:hover {
    opacity: 1;
}

.footer-bottom-u5v7 {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

@media (max-width: 768px) {
    .nav-menu-u8w9 {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
    }

    .nav-menu-u8w9.active {
        left: 0;
    }

    .nav-toggle-t4v7 {
        display: flex;
    }

    .nav-toggle-t4v7.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle-t4v7.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle-t4v7.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .game-header-e8f9 {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .game-icon-g2h4 {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }

    .game-title-k9l1 {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }

    .game-subtitle-m3n5 {
        margin-left: 0;
    }

    .section-title-e5f6 {
        font-size: 1.8rem;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .features-grid-q1r2 {
        grid-template-columns: 1fr;
    }

    .character-showcase-u5v6 {
        grid-template-columns: 1fr;
    }

    .footer-content-m8n9 {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links-s1t3 {
        flex-wrap: wrap;
        justify-content: center;
    }

    .download-features-i9j2 {
        flex-direction: column;
        gap: 15px;
    }

    .container-a1b3 {
        padding: 0 15px;
    }

    .hero-section-x4z2 {
        padding: 40px 0;
    }

    .content-section-a1b2 {
        padding: 50px 0;
    }

    .game-article-c3d4 {
        margin-bottom: 50px;
    }
}

@media (max-width: 480px) {
    .nav-title-s3u6 {
        font-size: 1.2rem;
    }

    .game-title-k9l1 {
        font-size: 1.6rem;
    }

    .section-title-e5f6 {
        font-size: 1.5rem;
    }

    .download-card-a2b4 {
        padding: 30px 20px;
    }

    .download-title-c6d8 {
        font-size: 1.8rem;
    }
}

html {
    scroll-behavior: smooth;
}

/* 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: #513558; --my-news-muted: #806b85; --my-news-accent: #ff1493; --my-news-line: rgba(255,20,147,.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. */
.footer-friends-links-p6n4 > .my-friend-link { position:relative; display:flex; align-items:center; min-height:64px; padding:16px 18px 16px 60px; overflow:hidden; color:#513558; background:rgba(255,255,255,.94); border:1px solid rgba(255,20,147,.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; }
.footer-friends-links-p6n4 > .my-friend-link::before { content:'✦'; position:absolute; left:18px; display:grid; width:30px; height:30px; place-items:center; color:#fff; background:#ff1493; border-radius:50%; font-size:.9rem; box-shadow:0 4px 10px rgba(255,20,147,.25); }.footer-friends-links-p6n4 > .my-friend-link:hover,.footer-friends-links-p6n4 > .my-friend-link:focus-visible{color:#ff1493;border-color:#ff1493;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}.footer-friends-links-p6n4 > .my-friend-link{min-height:58px;padding:14px 15px 14px 54px}.footer-friends-links-p6n4 > .my-friend-link::before{left:15px;width:28px;height:28px}}
