* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container-5p9w {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-8j2m {
    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-8j2m .container-5p9w {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo-3k7n {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-2h8q {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.logo-3k7n h1 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-4r6t {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.desktop-nav-7w3m {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link-9k5p {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link-9k5p:hover {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.mobile-menu-btn-6x2n {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #2c3e50;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-btn-6x2n:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.mobile-nav-8h4q {
    display: none;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.mobile-link-3j7k {
    display: block;
    text-decoration: none;
    color: #2c3e50;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-link-3j7k:hover {
    color: #667eea;
    padding-left: 10px;
}

.main-content-4w8r {
    margin-top: 90px;
    background: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.1);
    min-height: calc(100vh - 90px);
}

.content-layout-7m3n {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    padding: 40px 0;
}

.article-content-9k2p {
    background: white;
    border-radius: 15px;
    overflow: hidden;
}

.hero-section-8j5q {
    margin-bottom: 40px;
}

.game-header-6x9m {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.cover-img-4h7k {
    width: 320px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.cover-img-4h7k:hover {
    transform: scale(1.05);
}

.game-info-3w8n {
    flex: 1;
}

.game-title-5k9p {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.game-title-5k9p i {
    color: #ff6b6b;
    font-size: 28px;
}

.game-tags-7j2m {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tag-4x6n {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.game-desc-8w5q {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.download-section-9m4k {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.download-btn-7x2n {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    align-self: flex-start;
}

.download-btn-7x2n:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
}

.version-info-5j8p {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.content-section-4k7m {
    margin-bottom: 50px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.section-title-6w9n {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
}

.section-title-6w9n i {
    color: #667eea;
    font-size: 24px;
}

.text-content-8j5p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.text-content-8j5p p {
    margin-bottom: 20px;
}

.content-img-3x7k {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    margin: 25px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.content-img-3x7k:hover {
    transform: scale(1.02);
}

.features-grid-7m2k {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.feature-item-9x4n {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-item-9x4n:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-item-9x4n i {
    font-size: 32px;
    color: #667eea;
    margin-bottom: 15px;
}

.feature-item-9x4n h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.feature-item-9x4n p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.update-list-5k8m {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 25px 0;
}

.update-item-7j3n {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.update-item-7j3n:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.update-item-7j3n i {
    color: #667eea;
    font-size: 18px;
    min-width: 20px;
}

.download-info-8k5m {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.info-card-6x9n {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.info-card-6x9n h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card-6x9n h4 i {
    color: #667eea;
}

.info-card-6x9n ul,
.info-card-6x9n ol {
    padding-left: 20px;
}

.info-card-6x9n li {
    margin-bottom: 8px;
    color: #555;
}

.final-download-9m7k {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    margin-top: 30px;
}

.download-desc-4j8n {
    color: white;
    font-size: 18px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.final-btn-7x2n {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #667eea;
    text-decoration: none;
    padding: 18px 35px;
    border-radius: 35px;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.final-btn-7x2n:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.sidebar-nav-5k8p {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.sidebar-content-7m3n {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-title-9x4k {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f1f3f4;
}

.sidebar-title-9x4k i {
    color: #667eea;
}

.sidebar-links-6j2m {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
}

.sidebar-link-8w5n {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #555;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.sidebar-link-8w5n:hover {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    transform: translateX(5px);
}

.sidebar-link-8w5n i {
    font-size: 16px;
    min-width: 18px;
}

.sidebar-info-4k7m {
    padding-top: 20px;
    border-top: 2px solid #f1f3f4;
}

.sidebar-info-4k7m h5 {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.info-item-3x8n {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f4;
}

.label-9j5k {
    font-weight: 500;
    color: #666;
}

.footer-8j5m {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
}

.footer-content-7k3n {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-info-9x2m {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo-4w8k {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-links-6j9p h5 {
    margin-bottom: 15px;
    color: #ecf0f1;
}

.footer-links-6j9p a {
    display: block;
    color: #bdc3c7;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.footer-links-6j9p a:hover {
    color: #667eea;
}

.footer-bottom-5m8k {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

@media (max-width: 768px) {
    .desktop-nav-7w3m {
        display: none;
    }
    
    .mobile-menu-btn-6x2n {
        display: block;
    }
    
    .mobile-nav-8h4q.active {
        display: block;
    }
    
    .content-layout-7m3n {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .sidebar-nav-5k8p {
        display: none;
    }
    
    .game-header-6x9m {
        flex-direction: column;
        text-align: center;
    }
    
    .cover-img-4h7k {
        width: 280px;
        height: 160px;
        align-self: center;
    }
    
    .game-title-5k9p {
        font-size: 24px;
        justify-content: center;
    }
    
    .features-grid-7m2k {
        grid-template-columns: 1fr;
    }
    
    .download-info-8k5m {
        grid-template-columns: 1fr;
    }
    
    .footer-content-7k3n {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .container-5p9w {
        padding: 0 15px;
    }
    
    .content-section-4k7m {
        padding: 20px;
    }
    
    .section-title-6w9n {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .logo-3k7n h1 {
        font-size: 18px;
    }
    
    .badge-4r6t {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .game-title-5k9p {
        font-size: 20px;
    }
    
    .download-btn-7x2n {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .final-btn-7x2n {
        padding: 15px 25px;
        font-size: 16px;
    }
}

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