* {
    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-fluid-r5t7y {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-x2z6g {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-nav-x8q2w {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-nav-x8q2w .container-fluid-r5t7y {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.nav-brand-a3n6m {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon-z9k4p {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.brand-title-m2l8x {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.nav-menu-b6w9q {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link-c4h7s {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link-c4h7s:hover {
    color: #667eea;
    transform: translateY(-2px);
}

.nav-link-c4h7s::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.nav-link-c4h7s:hover::after {
    width: 100%;
}

.mobile-toggle-d8n3v {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #555;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.mobile-toggle-d8n3v:hover {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
}

.main-content-f9p2k {
    margin-top: 80px;
}

.hero-section-g1q5t {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    color: white;
}

.hero-container-h4r8w {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content-i7s2n {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.game-info-j3m6p {
    max-width: 600px;
}

.game-header-k8l4q {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.game-icon-large-l9o7r {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.game-title-n2p6t {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 15px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.game-tags-o4q9u {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tag-v7w3x {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.game-desc-p8r5y {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
}

.download-section-q1s7z {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.download-btn-primary-r4t8a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    text-decoration: none;
    padding: 18px 36px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    align-self: flex-start;
}

.download-btn-primary-r4t8a:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.6);
}

.game-stats-s6u2b {
    display: flex;
    gap: 30px;
}

.stat-item-t9v4c {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
}

.stat-item-t9v4c i {
    color: #ffd700;
    font-size: 18px;
}

.hero-image-u7w1d {
    position: relative;
}

.cover-image-v3x8e {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.cover-image-v3x8e:hover {
    transform: scale(1.05);
}

.content-section-w9y5f {
    background: white;
    padding: 80px 0;
    margin-bottom: 2px;
}

.content-section-w9y5f:nth-child(even) {
    background: #f8f9fa;
}

.section-title-y4a8h {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title-y4a8h::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.content-block-z7b3i {
    max-width: 800px;
    margin: 0 auto;
}

.content-text-a5c9j {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    text-align: justify;
}

.image-container-b8d4k {
    margin: 40px 0;
    text-align: center;
}

.content-image-c1e7l {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.content-image-c1e7l:hover {
    transform: scale(1.02);
}

.features-grid-d2f6m {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card-e9g3n {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.feature-card-e9g3n:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.feature-icon-f4h8o {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: white;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.feature-title-g7i1p {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.feature-desc-h2j5q {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.screenshots-grid-i5k9r {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.screenshot-item-j8l2s {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.screenshot-item-j8l2s:hover {
    transform: scale(1.05);
}

.screenshot-img-k1m6t {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.screenshot-item-j8l2s:hover .screenshot-img-k1m6t {
    transform: scale(1.1);
}

.download-final-section-l7n4u {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    text-align: center;
    color: white;
}

.download-final-content-m3o8v {
    max-width: 600px;
    margin: 0 auto;
}

.download-final-title-n6p2w {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.download-final-desc-o9q5x {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.95;
}

.download-btn-final-p2r7y {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
    color: white;
    text-decoration: none;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
}

.download-btn-final-p2r7y:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 107, 107, 0.6);
}

.footer-q5s9z {
    background: #2c3e50;
    color: white;
    padding: 40px 0;
}

.footer-content-r8t3a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-text-t4v9c {
    font-size: 16px;
    margin-bottom: 8px;
}

.footer-copyright-u7w2d {
    font-size: 14px;
    opacity: 0.8;
}

.footer-links-v3x8e {
    display: flex;
    gap: 30px;
}

.footer-link-w6y1f {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer-link-w6y1f:hover {
    color: #667eea;
}

@media (max-width: 768px) {
    .mobile-toggle-d8n3v {
        display: block;
    }

    .nav-menu-b6w9q {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        gap: 15px;
    }

    .nav-menu-b6w9q.active {
        display: flex;
    }

    .nav-link-c4h7s {
        padding: 12px 0;
        font-size: 18px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        width: 100%;
        text-align: center;
    }

    .nav-link-c4h7s:last-child {
        border-bottom: none;
    }

    .hero-content-i7s2n {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .game-header-k8l4q {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .game-title-n2p6t {
        font-size: 32px;
    }

    .game-stats-s6u2b {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .section-title-y4a8h {
        font-size: 28px;
    }

    .content-text-a5c9j {
        font-size: 16px;
    }

    .features-grid-d2f6m {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .screenshots-grid-i5k9r {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .download-final-title-n6p2w {
        font-size: 32px;
    }

    .download-final-desc-o9q5x {
        font-size: 18px;
    }

    .footer-content-r8t3a {
        flex-direction: column;
        text-align: center;
    }

    .footer-links-v3x8e {
        gap: 20px;
    }

    .container-fluid-r5t7y,
    .container-x2z6g {
        padding: 0 15px;
    }

    .content-section-w9y5f {
        padding: 60px 0;
    }

    .hero-section-g1q5t {
        padding: 40px 0;
    }

    .download-final-section-l7n4u {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .brand-title-m2l8x {
        font-size: 20px;
    }

    .game-title-n2p6t {
        font-size: 28px;
    }

    .game-tags-o4q9u {
        justify-content: center;
    }

    .download-btn-primary-r4t8a,
    .download-btn-final-p2r7y {
        padding: 16px 28px;
        font-size: 16px;
    }

    .section-title-y4a8h {
        font-size: 24px;
    }

    .feature-card-e9g3n {
        padding: 30px 20px;
    }

    .download-final-title-n6p2w {
        font-size: 28px;
    }
}

html {
    scroll-behavior: smooth;
}

.nav-link-c4h7s[href^="#"]:hover {
    color: #667eea;
}

.screenshot-item-j8l2s::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.screenshot-item-j8l2s:hover::before {
    opacity: 1;
}

.screenshot-item-j8l2s::after {
    content: '🔍 查看大图';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.screenshot-item-j8l2s:hover::after {
    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: #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-r5t9w > .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-r5t9w > .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-r5t9w > .my-friend-link:hover,.footer-friends-links-r5t9w > .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-r5t9w > .my-friend-link{min-height:58px;padding:14px 15px 14px 54px}.footer-friends-links-r5t9w > .my-friend-link::before{left:15px;width:28px;height:28px}}
