* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', sans-serif; overflow-x: hidden; }
body.morning { background: linear-gradient(180deg, #FFF8E7 0%, #FFECD2 100%); }
body.afternoon { background: linear-gradient(180deg, #E8F4FD 0%, #D6EAF8 100%); }
body.evening { background: linear-gradient(180deg, #FDEBD0 0%, #FAD7A0 100%); }
body.night { background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%); color: #e0e0e0; }
body.night .section-title { color: #f0c040; }
body.night .game-name { color: #f0c040; }
body.night .tag { background: rgba(240,192,64,0.2); color: #f0c040; }
body.night .info-text { color: #ccc; }
body.night .desc-text { color: #bbb; }
body.night .download-btn { background: linear-gradient(90deg, #f0c040, #e8a820); }
body.night .qual-item { background: rgba(255,255,255,0.08); }
body.night .qual-label { color: #aaa; }
body.night .qual-value { color: #ddd; }
body.night .download-bar { background: rgba(26,26,46,0.95); border-top-color: rgba(255,255,255,0.05); }
.container { max-width: 480px; margin: 0 auto; padding-bottom: 80px; }
.video-section { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; overflow: hidden; }
.video-section video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-section .mute-btn { position: absolute; bottom: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; z-index: 10; }
.video-section .mute-btn svg { width: 20px; height: 20px; fill: #fff; }
.video-section .mute-btn.muted .vol-on { display: none; }
.video-section .mute-btn:not(.muted) .vol-off { display: none; }
.game-info { padding: 16px; display: flex; gap: 12px; align-items: flex-start; }
.game-logo { width: 72px; height: 72px; border-radius: 16px; flex-shrink: 0; object-fit: cover; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.game-meta { flex: 1; min-width: 0; }
.game-name { font-size: 20px; font-weight: 700; color: #1a1a1a; line-height: 1.3; margin-bottom: 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.tag { font-size: 11px; padding: 3px 10px; border-radius: 20px; background: rgba(255,140,0,0.12); color: #ff6b00; font-weight: 500; }
.info-text { font-size: 12px; color: #888; line-height: 1.6; }
.screenshots-section { padding: 0 16px 16px; }
.section-title { font-size: 16px; font-weight: 700; color: #1a1a1a; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.section-title::before { content: ''; width: 4px; height: 16px; background: linear-gradient(180deg, #ff6b00, #ff8c00); border-radius: 2px; }
.swiper-container { overflow: hidden; position: relative; }
.swiper-wrapper { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
.swiper-wrapper::-webkit-scrollbar { display: none; }
.swiper-slide { scroll-snap-align: start; flex-shrink: 0; cursor: pointer; border-radius: 12px; overflow: hidden; }
.swiper-slide img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 12px; }
.swiper-slide.landscape { width: 85%; aspect-ratio: 16/9; }
.swiper-slide.portrait { width: 45%; aspect-ratio: 9/16; }
.desc-section { padding: 0 16px 16px; }
.desc-text { font-size: 14px; color: #555; line-height: 1.8; white-space: pre-line; }
.desc-text.collapsed { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; }
.expand-btn { font-size: 13px; color: #ff6b00; margin-top: 8px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.qual-section { padding: 0 16px 16px; }
.qual-list { display: flex; flex-direction: column; gap: 8px; }
.qual-item { background: rgba(255,255,255,0.6); border-radius: 10px; padding: 10px 14px; display: flex; flex-direction: column; gap: 4px; }
.qual-label { font-size: 12px; color: #999; }
.qual-value { font-size: 13px; color: #333; word-break: break-all; }
.qual-value a { color: #ff6b00; text-decoration: none; }
.download-bar { position: fixed; bottom: 0; left: 0; right: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-top: 1px solid rgba(0,0,0,0.05); z-index: 100; }
.download-btn { width: 100%; height: 48px; border-radius: 24px; background: linear-gradient(90deg, #ff6b00, #ff8c00); color: #fff; font-size: 16px; font-weight: 600; border: none; display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; box-shadow: 0 4px 16px rgba(255,107,0,0.3); }
.lightbox { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.92); z-index: 1000; display: none; align-items: center; justify-content: center; touch-action: none; }
.lightbox.active { display: flex; }
.lightbox-img { max-width: 95%; max-height: 85%; object-fit: contain; border-radius: 8px; }
.lightbox-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; background: rgba(255,255,255,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px; cursor: pointer; border: none; }
.lightbox-counter { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 14px; background: rgba(0,0,0,0.5); padding: 4px 16px; border-radius: 20px; }
.swipe-hint { text-align: center; font-size: 11px; color: #aaa; margin-top: 6px; }

/* 语义化标签补充样式 */
article.container { max-width: 480px; margin: 0 auto; padding-bottom: 80px; }
header.game-info { padding: 16px; display: flex; gap: 12px; align-items: flex-start; }
main.desc-section { padding: 0 16px 16px; }
footer.qual-section { padding: 0 16px 16px; }
section.screenshots-section { padding: 0 16px 16px; }