:root {
  --bg: #f7f8fa; --surface: #fff; --surface-2: #f2f4f7; --border: #e5e7eb;
  --text: #1f2937; --text-2: #4b5563; --text-3: #9ca3af;
  --primary: #1e3a8a; --primary-2: #1e40af; --primary-light: #dbeafe;
  --accent: #06b6d4; --accent-2: #0891b2; --danger: #ef4444; --warning: #f59e0b;
  --radius: 10px; --radius-sm: 6px; --shadow: 0 2px 8px rgba(0,0,0,.06); --shadow-lg: 0 8px 24px rgba(0,0,0,.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif; background: var(--bg); color: var(--text); font-size: 14px; line-height: 1.6; }
a { color: inherit; text-decoration: none; } img { display: block; max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 100; background: var(--surface); border-bottom: 1px solid var(--border); height: 64px; }
.nav-inner { display: flex; align-items: center; height: 100%; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--primary); flex-shrink: 0; }
.logo-mark { width: 34px; height: 34px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 14px; }
.search-box { flex: 1; max-width: 420px; position: relative; }
.search-box input { width: 100%; height: 40px; padding: 0 16px 0 42px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-2); font-size: 14px; outline: none; transition: all .2s; }
.search-box input:focus { border-color: var(--primary); background: var(--surface); box-shadow: 0 0 0 3px var(--primary-light); }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-3); width: 18px; height: 18px; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--text-2); font-size: 14px; font-weight: 500; transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* CAROUSEL */
.hero { margin-top: 20px; }
.carousel { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1200/400; }
.carousel-track { display: flex; height: 100%; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.carousel-slide { flex: 0 0 100%; height: 100%; position: relative; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 50%, transparent 100%); display: flex; align-items: center; }
.carousel-content { padding: 0 48px; color: #fff; max-width: 500px; }
.carousel-tag { display: inline-block; padding: 4px 12px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; border-radius: 4px; margin-bottom: 14px; }
.carousel-title { font-size: 30px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.carousel-desc { font-size: 14px; opacity: .85; margin-bottom: 20px; }
.carousel-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 24px; background: #fff; color: var(--primary); border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; transition: all .2s; }
.carousel-btn:hover { background: var(--accent); color: #fff; }
.carousel-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.4); transition: all .3s; cursor: pointer; }
.carousel-dot.active { width: 24px; border-radius: 4px; background: #fff; }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.2); backdrop-filter: blur(8px); color: #fff; display: flex; align-items: center; justify-content: center; z-index: 2; opacity: 0; transition: opacity .2s; cursor: pointer; border: none; }
.carousel:hover .carousel-arrow { opacity: 1; }
.carousel-arrow.prev { left: 16px; } .carousel-arrow.next { right: 16px; }

/* NOTICE */
.notice-bar { margin-top: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 16px; height: 44px; display: flex; align-items: center; gap: 14px; overflow: hidden; }
.notice-label { flex-shrink: 0; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--accent-2); padding-right: 14px; border-right: 1px solid var(--border); height: 22px; }
.notice-track-wrap { flex: 1; overflow: hidden; position: relative; height: 20px; }
.notice-track { display: flex; gap: 48px; white-space: nowrap; animation: scrollNotice 30s linear infinite; position: absolute; left: 0; top: 0; }
.notice-track:hover { animation-play-state: paused; }
.notice-item { font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.notice-item .dot { width: 4px; height: 4px; background: var(--text-3); border-radius: 50%; }
.notice-item span { color: var(--text); font-weight: 500; }
@keyframes scrollNotice { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* TABS */
.category-section { margin-top: 24px; }
.tabs { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 6px; }
.tab { padding: 8px 18px; font-size: 13px; font-weight: 500; color: var(--text-2); border-radius: var(--radius-sm); cursor: pointer; transition: all .2s; white-space: nowrap; }
.tab:hover { background: var(--surface-2); color: var(--text); }
.tab.active { background: var(--primary); color: #fff; }

/* GAME LIST */
.game-section { margin-top: 20px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.section-title { font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.section-title::before { content: ''; width: 4px; height: 18px; background: var(--primary); border-radius: 2px; }
.game-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.game-card { display: flex; gap: 16px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: all .25s; }
.game-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.game-thumb { flex-shrink: 0; width: 96px; height: 96px; border-radius: var(--radius-sm); overflow: hidden; background: var(--surface-2); }
.game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.game-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.game-top { display: flex; align-items: center; gap: 8px; }
.badge { display: inline-flex; align-items: center; padding: 2px 8px; font-size: 11px; font-weight: 600; border-radius: 4px; flex-shrink: 0; }
.badge-pin { background: #fef2f2; color: var(--danger); }
.badge-hot { background: #fff7ed; color: #ea580c; }
.badge-new { background: #f0fdf4; color: #16a34a; }
.game-title { font-size: 15px; font-weight: 600; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color .2s; }
.game-card:hover .game-title { color: var(--primary); }
.game-desc { font-size: 13px; color: var(--text-2); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.game-meta { display: flex; align-items: center; gap: 14px; margin-top: auto; font-size: 12px; color: var(--text-3); }
.game-meta-item { display: flex; align-items: center; gap: 4px; }
.game-meta-item svg { width: 14px; height: 14px; }

/* DETAIL PAGE */
.detail-hero { margin-top: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; gap: 28px; }
.detail-thumb { flex-shrink: 0; width: 160px; height: 160px; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-info { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.detail-title { font-size: 24px; font-weight: 700; }
.detail-desc { font-size: 14px; color: var(--text-2); line-height: 1.8; }
.detail-meta { display: flex; gap: 24px; font-size: 13px; color: var(--text-3); flex-wrap: wrap; }
.detail-meta span { display: flex; align-items: center; gap: 4px; }
.detail-btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 32px; background: var(--primary); color: #fff; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; transition: all .2s; margin-top: 8px; width: fit-content; }
.detail-btn:hover { background: var(--primary-2); }
.detail-content { margin-top: 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.detail-content h2 { font-size: 18px; font-weight: 700; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.detail-content .content-body { font-size: 15px; line-height: 2; color: var(--text-2); }
.detail-content .content-body img { max-width: 100%; border-radius: var(--radius-sm); margin: 16px 0; }
.detail-content .content-body p { margin-bottom: 16px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 14px; margin-top: 20px; transition: color .2s; }
.back-link:hover { color: var(--primary); }

/* GAME ACTION BUTTONS */
.game-buttons-section { margin-top: 16px; }
.game-buttons-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.game-action-btn { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); transition: all .25s; }
.game-action-btn:hover { border-color: #f97316; box-shadow: 0 4px 12px rgba(249,115,22,.15); transform: translateY(-2px); }
.game-action-icon { width: 44px; height: 44px; background: linear-gradient(135deg, #f97316, #ea580c); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; overflow: hidden; }
.game-action-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.game-action-text { font-size: 15px; font-weight: 600; color: var(--text); }

/* DOWNLOAD POPUP */
.dl-popup-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; }
.dl-popup-overlay.show { display: flex; }
.dl-popup { background: #fff; border-radius: 16px; width: 100%; max-width: 400px; max-height: 85vh; overflow-y: auto; position: relative; animation: popupIn .25s ease; }
@keyframes popupIn { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.dl-popup-close { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border-radius: 50%; border: none; background: rgba(0,0,0,.4); color: #fff; font-size: 20px; cursor: pointer; z-index: 2; display: flex; align-items: center; justify-content: center; line-height: 1; }
.dl-popup-close:hover { background: rgba(0,0,0,.6); }
.dl-popup-banner { width: 100%; aspect-ratio: 16/7; overflow: hidden; border-radius: 16px 16px 0 0; background: var(--surface-2); }
.dl-popup-banner img { width: 100%; height: 100%; object-fit: cover; }
.dl-popup-title { text-align: center; font-size: 18px; font-weight: 700; padding: 20px 20px 12px; }
.dl-popup-list { padding: 0 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.dl-option { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; transition: all .2s; }
.dl-option:hover { border-color: var(--primary); background: var(--primary-light); }
.dl-option-icon { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; overflow: hidden; }
.dl-option-icon img { width: 100%; height: 100%; object-fit: cover; }
.dl-option-text { flex: 1; font-size: 15px; font-weight: 600; }
.dl-option-arrow { font-size: 22px; color: var(--text-3); }

/* FOOTER */
.footer { margin-top: 48px; background: var(--surface); border-top: 1px solid var(--border); padding: 36px 0 24px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--border); }
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: var(--text-3); line-height: 1.7; max-width: 320px; }
.footer-col h4 { font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: var(--text-3); transition: color .2s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { padding-top: 20px; text-align: center; font-size: 12px; color: var(--text-3); line-height: 1.8; }
.admin-login-link { color: var(--text-3); font-size: 11px; opacity: .5; }
.admin-login-link:hover { opacity: 1; color: var(--primary); }

/* FLASH */
.flash { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: 14px; }
.flash-success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.flash-error { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .game-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .carousel-content { padding: 0 24px; max-width: 360px; }
  .carousel-title { font-size: 22px; }
  .detail-hero { flex-direction: column; align-items: center; text-align: center; }
  .detail-info { align-items: center; }
  .detail-meta { justify-content: center; }
}
@media (max-width: 720px) {
  .container { padding: 0 14px; }
  .nav-inner { gap: 12px; }
  .search-box { display: none; }
  .nav-links a:not(.active) { display: none; }
  .logo span { display: none; }
  .carousel-content { padding: 0 16px; max-width: 100%; }
  .carousel-title { font-size: 18px; }
  .carousel-desc { display: none; }
  .game-thumb { width: 72px; height: 72px; }
  .game-card { padding: 14px; gap: 12px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .tabs { overflow-x: auto; flex-wrap: nowrap; }
  .tab { flex-shrink: 0; }
  .detail-thumb { width: 120px; height: 120px; }
  .detail-title { font-size: 20px; }
  .detail-content, .detail-hero { padding: 18px; }
}

/* ========================================
   GAME DETAIL PAGE v2 (orange theme)
   ======================================== */

/* 顶部轮播图 */
.game-swiper { position: relative; width: 100%; max-width: 750px; margin: 0 auto; overflow: hidden; background: #000; }
.game-swiper-track { display: flex; transition: transform .4s ease; }
.game-swiper-slide { flex: 0 0 100%; position: relative; }
.game-swiper-slide img { width: 100%; aspect-ratio: 750/350; object-fit: cover; display: block; }
.game-swiper-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
.game-swiper-dots .dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.5); cursor: pointer; transition: all .2s; }
.game-swiper-dots .dot.active { background: #fff; width: 20px; border-radius: 4px; }

/* 详情页主体 */
.game-detail-main { max-width: 750px; padding: 0 16px; margin-top: -20px; position: relative; z-index: 2; }

/* 游戏信息卡片 */
.game-info-card { background: #fff; border-radius: 14px; padding: 18px 16px; display: flex; align-items: center; gap: 14px; box-shadow: 0 2px 12px rgba(0,0,0,.06); margin-bottom: 14px; }
.game-info-icon { width: 72px; height: 72px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
.game-info-center { flex: 1; min-width: 0; }
.game-info-title { font-size: 19px; font-weight: 700; color: #1f2937; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-info-meta { font-size: 13px; color: #9ca3af; display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.game-info-meta .meta-sep { color: #d1d5db; }
.game-info-rating { display: flex; align-items: center; gap: 6px; }
.game-info-rating .stars { color: #f97316; font-size: 15px; letter-spacing: 1px; }
.game-info-rating .rating-num { font-size: 16px; font-weight: 700; color: #f97316; }
.game-info-right { flex-shrink: 0; }
.game-download-btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 28px; background: linear-gradient(135deg, #fb923c, #f97316); color: #fff; border: none; border-radius: 25px; font-size: 16px; font-weight: 700; cursor: pointer; text-decoration: none; box-shadow: 0 4px 14px rgba(249,115,22,.35); transition: transform .15s, box-shadow .15s; white-space: nowrap; }
.game-download-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(249,115,22,.45); }
.game-download-btn:active { transform: translateY(0); }

/* 标签 */
.game-tags-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; padding: 0 2px; }
.game-tag { padding: 5px 14px; border: 1.5px solid #fdba74; border-radius: 20px; font-size: 13px; color: #f97316; background: #fff7ed; font-weight: 500; }

/* 功能按钮网格（覆盖旧样式） */
.game-buttons-section { margin-bottom: 14px; }
.game-buttons-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.game-action-btn { display: flex; align-items: center; gap: 12px; padding: 16px; background: #fff; border: 1.5px solid #fed7aa; border-radius: 14px; transition: all .2s; }
.game-action-btn:hover { border-color: #f97316; background: #fff7ed; transform: translateY(-1px); }
.game-action-icon { width: 44px; height: 44px; background: linear-gradient(135deg, #fb923c, #f97316); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; overflow: hidden; color: #fff; }
.game-action-icon svg { width: 22px; height: 22px; stroke: #fff; }
.game-action-icon img { width: 100%; height: 100%; object-fit: cover; }
.game-action-text { font-size: 15px; font-weight: 600; color: #1f2937; }

/* 区块标题 */
.section-title { font-size: 18px; font-weight: 700; color: #f97316; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.section-title::before { content: ''; width: 4px; height: 18px; background: linear-gradient(180deg, #fb923c, #f97316); border-radius: 2px; }

/* 游戏介绍内容 */
.detail-content { background: #fff; border-radius: 14px; padding: 18px 16px; margin-bottom: 14px; box-shadow: 0 2px 12px rgba(0,0,0,.04); }
.detail-content .content-body { font-size: 15px; line-height: 1.8; color: #374151; }
.detail-content .content-body img { border-radius: 8px; margin: 10px 0; max-width: 100%; }
.detail-content .content-body p { margin-bottom: 10px; }

/* 游戏推荐 */
.game-recommend { background: #fff; border-radius: 14px; padding: 18px 16px; margin-bottom: 14px; box-shadow: 0 2px 12px rgba(0,0,0,.04); }
.recommend-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.recommend-header .section-title { margin-bottom: 0; }
.recommend-count { font-size: 13px; color: #9ca3af; }
.recommend-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 10px; }
.recommend-item { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.recommend-icon { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.recommend-name { font-size: 12px; color: #4b5563; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 底部固定注册按钮 */
.fixed-bottom-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; padding: 10px 16px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 30%); pointer-events: none; }
.register-fixed-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; max-width: 750px; margin: 0 auto; padding: 15px; background: linear-gradient(135deg, #fb923c, #f97316); color: #fff; border: none; border-radius: 30px; font-size: 17px; font-weight: 700; cursor: pointer; text-decoration: none; box-shadow: 0 6px 20px rgba(249,115,22,.4); pointer-events: auto; transition: transform .15s; }
.register-fixed-btn:hover { transform: translateY(-1px); }
.register-fixed-btn:active { transform: translateY(0); }

/* 返回浮动按钮 */
.back-fab { position: fixed; top: 14px; left: 14px; z-index: 150; width: 38px; height: 38px; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); transition: background .2s; }
.back-fab:hover { background: rgba(0,0,0,.55); }

/* 下载弹窗（保持已有样式，微调） */
.dl-popup-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; }
.dl-popup-overlay.show { display: flex; }
.dl-popup { background: #fff; border-radius: 16px; width: 100%; max-width: 400px; max-height: 85vh; overflow-y: auto; position: relative; animation: popupIn .25s ease; }
@keyframes popupIn { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.dl-popup-close { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border-radius: 50%; border: none; background: rgba(0,0,0,.4); color: #fff; font-size: 20px; cursor: pointer; z-index: 2; display: flex; align-items: center; justify-content: center; line-height: 1; }
.dl-popup-close:hover { background: rgba(0,0,0,.6); }
.dl-popup-banner { width: 100%; aspect-ratio: 16/7; overflow: hidden; border-radius: 16px 16px 0 0; background: #f2f4f7; }
.dl-popup-banner img { width: 100%; height: 100%; object-fit: cover; }
.dl-popup-title { text-align: center; font-size: 18px; font-weight: 700; padding: 20px 20px 12px; }
.dl-popup-list { padding: 0 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.dl-option { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #e5e7eb; border-radius: 12px; transition: all .2s; }
.dl-option:hover { border-color: #f97316; background: #fff7ed; }
.dl-option-icon { width: 40px; height: 40px; border-radius: 10px; background: linear-gradient(135deg, #fb923c, #f97316); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; overflow: hidden; }
.dl-option-icon img { width: 100%; height: 100%; object-fit: cover; }
.dl-option-text { flex: 1; font-size: 15px; font-weight: 600; }
.dl-option-arrow { font-size: 22px; color: #9ca3af; }

/* 移动端适配 */
@media (max-width: 480px) {
  .game-info-card { padding: 14px 12px; gap: 10px; }
  .game-info-icon { width: 60px; height: 60px; border-radius: 12px; }
  .game-info-title { font-size: 17px; }
  .game-download-btn { padding: 10px 20px; font-size: 15px; }
  .game-action-btn { padding: 12px; gap: 10px; }
  .game-action-icon { width: 38px; height: 38px; font-size: 18px; border-radius: 10px; }
  .game-action-text { font-size: 14px; }
  .recommend-icon { width: 48px; height: 48px; }
  .recommend-name { font-size: 11px; }
}

/* ========================================
   MOBILE SEARCH BAR
   ======================================== */
.mobile-search-bar { display: none; align-items: center; gap: 10px; padding: 10px 16px; background: #fff; border-bottom: 1px solid #f0f0f0; position: sticky; top: 0; z-index: 9999; overflow: visible; }
.mobile-search-form { display: flex; align-items: center; gap: 8px; background: #f5f5f5; border-radius: 20px; padding: 8px 14px; }
.mobile-search-form svg { width: 16px; height: 16px; color: #999; flex-shrink: 0; }
.mobile-search-form input { flex: 1; border: none; background: none; outline: none; font-size: 14px; min-width: 0; }
.mobile-search-form button { border: none; background: linear-gradient(135deg, #fb923c, #f97316); color: #fff; padding: 6px 16px; border-radius: 16px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.mobile-search-logo { flex-shrink: 0; display: flex; align-items: center; }

@media (max-width: 768px) {
  .nav { display: none; }
  .mobile-search-bar { display: flex; }
  body { padding-top: 0; }
}

/* SEARCH SUGGESTIONS */
.search-suggestions { display: none; position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: #fff; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.15); z-index: 99999; overflow: hidden; max-height: 320px; overflow-y: auto; }
.search-suggestions.show { display: block; }
.ss-item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; cursor: pointer; transition: background .15s; text-decoration: none; color: #333; }
.ss-item:hover { background: #fff7ed; }
.ss-item img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.ss-item span { flex: 1; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ss-item svg { width: 16px; height: 16px; color: #ccc; flex-shrink: 0; }
.ss-empty { text-align: center; color: #999; font-size: 13px; padding: 20px; cursor: default; }
.ss-empty:hover { background: none; }
