﻿/* web.css — 清爽金融风补充样式 v3 */

/* ══ 搜索页 ══ */
.search-bar-row {
  display: flex; gap: 10px; align-items: center;
  padding: 14px 24px;
  background: var(--bg2); border-bottom: 1px solid var(--border);
}
.search-box {
  flex: 1; display: flex; align-items: center;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0 14px; gap: 8px;
  transition: border-color .2s, box-shadow .2s;
}
.search-box:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(230,168,23,.15);
  background: var(--bg2);
}
.s-icon { color: var(--text4); font-size: 16px; flex-shrink: 0; }
.s-input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text); padding: 10px 0; font-size: 14px; font-family: inherit;
}
.s-input::placeholder { color: var(--text4); }
--radius-sm); padding: 9px 20px; font-size: 14px; font-weight: 700; cursor: pointer; flex-shrink: 0; }
.btn-cancel { color: var(--text3); font-size: 14px; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.results-info { padding: 10px 24px; font-size: 13px; color: var(--text3); background: var(--bg2); border-bottom: 1px solid var(--border); }
.results-info strong { color: var(--gold-d); font-weight: 700; }

/* 搜索结果网格 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px; padding: 20px 24px;
}
@media (max-width: 767px) { .card-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 12px; } }
@media (min-width: 1024px) { .card-grid { grid-template-columns: repeat(5, 1fr); } }

.s-card-img-wrap { position: relative; aspect-ratio: 16/9; background: var(--bg3); overflow: hidden; }
.s-card-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-card-img-ph { position: absoltent: center; font-size: 32px; background: var(--bg3); }
.s-card-platform { position: absolute; to1px; font-weight: 700; padding: 2px 7px; border-radius: 4px; }
.s-card-platform.mt5 { background: #059669; }
.s-card-platform.empty { display: none; }
.s-n { position: absolute; bottom: 7px; right: 7px; background: rgba(22,163,74,.9); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 4px; }
.s-card-return.empty { display: none; }
.s-card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
rflow: hidden; }
.s-card-row1 { display: flex; justify-content: space-between; align-items: center; gap: 4px; flex-wrap: wrap; }
.price-free { font-size: 12px; font-weight: 700; color: var(--green); }
.price-paid { font-size: 12px; font-weight: 700; color: var(--red); }
. display: flex; gap: 6px; font-size: 11px; color: var(--text4); }
.s-card-winrate { font-size: 11px; color: var(--text4); }

.s-pagination { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 20px; background: var(--bg); flex-wrap: wrap; }
.s-pagination a { padding: 7px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; color: var(--text2); transition: all .15s; background: var(--bg2); }
.s-pagination a:hover { border-color var(--gold-d); background: var(--gold-l); }

.enter; padding: 60px 20px; }
.empty-state .es-emoji { font-size: 48px; margin-bottom: 12px; display: block; }
.empty-state h3 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.empty-state p  { font-size: 13px; color: var(--text3); margin-bottom: 16px; }
.empty-state .es-btn { display: inline-block; background: var(--gold); color: #fff; border-radius: var(--radius-sm); padding: 9px 24px; font-size: 14px; font-weight: 700; }

/* ══ 详情页 ══ */
.back-bar {
  padding: 12px 24px; background: var(--bg2);
  border-bottom: 1px solid var(--border);
 r(--text3);
  display: flex; align-items: center; gap: 4px; cursor: pointer;
}
.back-bar:hover { color: var(--gold-d); }

.detail-wrap { display: flex; flex-direction: column; }
@media (min-width: 1024px) {
  .detail-wrap { flex-direction: row; align-items: flex-start; }
  .detail-main { flex: 1; min-width: 0; }
  .detail-sidebar {
    width: 300px; flex-shrink: 0;
    position: sticky; top: 64px;
    border-left: 1px solid var(--border);
    padding: 24px 20px;
    background: var(--bg2);
  }
}
@media (max-width: 1023px) { .detail-sidebar { display: none; } }


  width: 100%; aspect-ratio: 16/9;
  background: var(--bg3); position: relative; overflow: hidden;
}
.detail-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-platform {
  position: absolute; top: 12px; left: 12px;
  background: var(--blue); color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 3px 10px; border-radius: 4px;
}
.detail-platform.mt5 { background: #059669; }

.detail-info { padding: 20px 24px 0; background: var(--bg2); }
. 16px; }

.stats-row {
  display: grid; grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 18px;
  box-shadow: var(--shadow);
}
.stat-cell {
  padding: 16px 8px; text-align: center;
  border-right: 1px solid var(--border); background: var(--bg3);
}
.stat-cell:last-child { border-right: none; }
.stat-val { font-size: 22px; font-weight: 800; line-height: 1.2; }
.stat-val.green { color: var(--green); }
.stat-val.blue  { color: var(--blue); }
.stat-val.red   { color: var(--red); }
 12px; color: var(--text3); margin-bottom: 12px; }

/* ══ 通用页面 Hero ══ */
.page-hero {
  padding: 28px 24px 22px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, #fffbeb 0%, #f0fdf4 100%);
}
.page-hero h1 { font-size: 22px; font-weight: 800; color: var(--text); display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.page-hero p { font-size: 14px; color: var(--text3); }
sidebar-cta h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.sidebar-cta p { font-size:var(--text); font-weight: 700; }

.sidebar-price { font-size: 28px; font-weight: 800; color: var(--green); margin-bottom: 4px; }
.sidebar-price.paid { color: var(--red); }
.sidebar-dl { font-size: 13px; color: var(--text3); margin-bottom: 16px; }
.sidebar-cta { margin-top: 20px; background: linear-gradient(135deg, #fffbeb 0%, #f0fdf4 100%); border: 1px solid rgba(230,168,23,.3); border-radius: var(--radius); padding: 20px 16px; text-align: center; }
.sidebar-cta .cta-icon { font-size: 28px; margin-bottom: 8px; }
.esc-block ul { padding-left: 16px; }
.desc-block li { list-style: disc; margin-bottom: 4px; }
.desc-block strong { color: sm); padding: 11px;
  font-size: 14px; font-weight: 600;
  transition: all .15s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-d); background: var(--gold-l); }

.desc-block { background: var(--bg2); padding: 20px 24px; margin-bottom: 1px; }
.desc-block h3 { font-size: 14px; font-weight: 700; color: var(--gold-d); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.desc-block p, .desc-block li { font-size: 14px; color: var(--text2); line-height: 1.9; }
.dcolor: var(--text2);
  border: 1px solid var(--border);
  border-radius: var(--radius-background: var(--bg3); al.green { color: var(--green); }
.info-val.red { color: var(--red); }

.action-btns { padding: 0 24px 18px; display: flex; flex-direction: column; gap: 10px; }
.btn-dl {
  display: block; text-align: center;
  background: var(--gold); color: #fff;
  border-radius: var(--radius-sm); padding: 12px;
  font-size: 14px; font-weight: 700;
  transition: background .15s;
  box-shadow: 0 2px 8px rgba(230,168,23,.3);
}
.btn-dl:hover { background: var(--gold-d); }
.btn-outline {
  display: block; text-align: center;
  y { color: var(--text3); }
.info-val { color: var(--text); font-weight: 600; }
.info-v
.info-card { margin: 0 24px 14px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.info-card-title { padding: 10px 16px; font-size: 13px; font-weight: 700; color: var(--text2); background: var(--bg3); border-bottom: 1px solid var(--border); }
.info-row { display: flex; justify-content: space-between; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--border); font-size: 13px; }
.info-row:last-child { border-bottom: none; }
.info-ke.stat-lbl { font-size: 11px; color: var(--text4); margin-top: 4px; }
