@charset "utf-8";
/* ============================================================
   游戏专区模块 · 样式
   zaka/css/zaka.css
   ============================================================ */

.zk-wrap { max-width: 1200px; margin: 0 auto; padding: 12px 12px 40px; font-size: 14px; color: #333;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif; }
.zk-wrap * { box-sizing: border-box; }
.zk-wrap a { color: #333; text-decoration: none; }
.zk-wrap a:hover { color: #ff5b01; }
.zk-wrap em, .zk-wrap i { font-style: normal; }

/* ---------- 面包屑 + 专区导航 ---------- */
.zk-crumb { font-size: 12px; color: #999; line-height: 26px; }
.zk-crumb a { color: #999; }
.zk-crumb em { color: #666; }
.zk-nav { background: #fff; border-radius: 8px; padding: 10px 14px; margin-bottom: 12px;
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.zk-nav a { padding: 6px 14px; border-radius: 16px; font-size: 14px; color: #555; }
.zk-nav a.on, .zk-nav a:hover { background: linear-gradient(90deg,#ff8c00,#ff5b01); color: #fff; }
.zk-nav .zk-nav-tip { margin-left: auto; font-size: 12px; color: #999; }

/* ---------- 区块 ---------- */
.zk-panel { background: #fff; border-radius: 8px; padding: 14px 16px; margin-bottom: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.zk-tt { display: flex; align-items: center; margin-bottom: 12px; }
.zk-tt h3 { font-size: 17px; font-weight: 700; color: #222; }
.zk-tt h3:before { content: ""; display: inline-block; width: 4px; height: 16px; border-radius: 2px;
    background: linear-gradient(180deg,#ff8c00,#ff5b01); margin-right: 8px; vertical-align: -2px; }
.zk-tt .zk-tt-r { margin-left: auto; font-size: 12px; color: #999; }
.zk-tt .zk-tt-r a { color: #ff5b01; }

/* ---------- 游戏墙 ---------- */
.zk-games { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.zk-game { border: 1px solid #f0f0f0; border-radius: 8px; padding: 10px 6px; text-align: center;
    transition: all .18s ease; background: #fff; }
.zk-game:hover { border-color: #ffd0a8; box-shadow: 0 6px 16px rgba(255,91,1,.12); transform: translateY(-2px); }
.zk-game img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; background: #f7f7f7; }
.zk-game b { display: block; font-size: 13px; font-weight: 500; margin-top: 6px; color: #333;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zk-game span { display: block; font-size: 11px; color: #aaa; margin-top: 3px; }
.zk-game span em { color: #ff5b01; }

/* ---------- 游戏头部 ---------- */
.zk-ghead { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 8px;
    padding: 16px; margin-bottom: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.zk-ghead img { width: 72px; height: 72px; border-radius: 14px; background: #f7f7f7; object-fit: cover; }
.zk-ghead .zk-gh-info { flex: 1; min-width: 0; }
.zk-ghead h2 { font-size: 20px; font-weight: 700; color: #222; }
.zk-ghead .zk-gh-meta { font-size: 12px; color: #999; margin-top: 6px; }
.zk-ghead .zk-gh-stat { display: flex; gap: 22px; text-align: center; }
.zk-ghead .zk-gh-stat div { line-height: 1.5; }
.zk-ghead .zk-gh-stat b { display: block; font-size: 18px; color: #ff5b01; }
.zk-ghead .zk-gh-stat span { font-size: 12px; color: #999; }

/* ---------- 筛选区 ---------- */
.zk-filter { background: #fff; border-radius: 8px; padding: 6px 16px 12px; margin-bottom: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.zk-frow { display: flex; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed #f0f0f0; }
.zk-frow:last-child { border-bottom: 0; }
.zk-flab { width: 76px; flex: none; color: #999; line-height: 28px; font-size: 13px; }
.zk-fval { flex: 1; min-width: 0; line-height: 28px; }
.zk-fval a { display: inline-block; padding: 0 10px; margin: 0 6px 4px 0; border-radius: 14px;
    font-size: 13px; color: #555; border: 1px solid transparent; }
.zk-fval a:hover { color: #ff5b01; }
.zk-fval a.on { background: linear-gradient(90deg,#ff8c00,#ff5b01); color: #fff; }
.zk-fval .zk-more { color: #ff5b01; }
.zk-fprice input { width: 62px; height: 26px; line-height: 26px; border: 1px solid #e5e5e5;
    border-radius: 4px; padding: 0 6px; font-size: 12px; outline: none; }
.zk-fprice button { height: 26px; padding: 0 12px; border: 0; border-radius: 4px; color: #fff;
    background: linear-gradient(90deg,#ff8c00,#ff5b01); cursor: pointer; font-size: 12px; margin-left: 6px; }
.zk-sel { font-size: 12px; color: #666; padding: 8px 0 2px; }
.zk-sel a { display: inline-block; padding: 2px 8px; margin: 0 6px 4px 0; background: #fff5ec;
    border: 1px solid #ffd7b8; border-radius: 12px; color: #ff5b01; font-size: 12px; }
.zk-sel .zk-sel-clr { background: #f7f7f7; border-color: #eee; color: #888; }

/* ---------- 工具条 ---------- */
.zk-toolbar { display: flex; align-items: center; background: #fff; border-radius: 8px; padding: 0 16px;
    margin-bottom: 12px; height: 46px; box-shadow: 0 1px 4px rgba(0,0,0,.04); flex-wrap: wrap; }
.zk-toolbar .zk-sort a { display: inline-block; padding: 0 12px; line-height: 46px; color: #666; font-size: 14px; }
.zk-toolbar .zk-sort a.on { color: #ff5b01; font-weight: 700; }
.zk-toolbar .zk-count { margin-left: auto; font-size: 12px; color: #999; }
.zk-toolbar .zk-count em { color: #ff5b01; font-weight: 700; padding: 0 3px; }

/* ---------- 商品卡片 ---------- */
.zk-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.zk-card { background: #fff; border-radius: 8px; overflow: hidden; position: relative;
    box-shadow: 0 1px 4px rgba(0,0,0,.05); transition: all .18s ease; display: flex; flex-direction: column; }
.zk-card:hover { box-shadow: 0 8px 22px rgba(0,0,0,.12); transform: translateY(-2px); }
.zk-card .zk-pic { display: block; position: relative; width: 100%; padding-top: 74%; overflow: hidden; background: #f7f7f7; }
.zk-card .zk-pic img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.zk-card .zk-body { padding: 8px 10px 10px; flex: 1; display: flex; flex-direction: column; }
.zk-card .zk-tit { font-size: 13px; line-height: 19px; color: #333; height: 38px; overflow: hidden;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.zk-card .zk-tit:hover { color: #ff5b01; }
.zk-card .zk-price { margin-top: 6px; display: flex; align-items: baseline; }
.zk-card .zk-price em { color: #ff5b01; font-size: 12px; }
.zk-card .zk-price b { color: #ff5b01; font-size: 20px; font-weight: 700; margin-left: 2px; }
.zk-card .zk-price s { color: #bbb; font-size: 12px; margin-left: 6px; }
.zk-card .zk-prop { font-size: 11px; color: #999; margin-top: 4px; height: 16px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.zk-card .zk-tags { margin-top: 6px; min-height: 18px; }
.zk-bz { display: inline-block; padding: 1px 6px; margin: 0 4px 3px 0; border-radius: 3px;
    font-size: 11px; line-height: 16px; color: #fff; }
.zk-card .zk-foot { margin-top: 8px; padding-top: 7px; border-top: 1px solid #f5f5f5;
    display: flex; align-items: center; font-size: 11px; color: #999; }
.zk-card .zk-foot img { width: 18px; height: 18px; border-radius: 50%; margin-right: 5px; background: #eee; }
.zk-card .zk-foot .zk-sell { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zk-lv { display: inline-block; padding: 1px 5px; border-radius: 3px; color: #fff; font-size: 11px; line-height: 16px; }
.zk-lv-s { font-size: 10px; padding: 0 4px; }
.zk-bao { color: #ff5b01; font-size: 11px; margin-left: 4px; }

/* 对比勾选 */
.zk-cmp { display: flex; align-items: center; font-size: 12px; color: #888; cursor: pointer;
    user-select: none; -webkit-user-select: none; }
.zk-cmp input { margin-right: 4px; }
.zk-cmp.on { color: #ff5b01; font-weight: 700; }

/* 角标 */
.zk-corner { position: absolute; left: 0; top: 0; z-index: 2; background: rgba(0,0,0,.55); color: #fff;
    font-size: 11px; padding: 2px 8px; border-bottom-right-radius: 8px; }
.zk-corner.zk-fh { background: rgba(255,91,1,.85); }

/* ---------- 空状态 / 加载 ---------- */
.zk-empty { background: #fff; border-radius: 8px; padding: 60px 20px; text-align: center; color: #999; }
.zk-empty b { display: block; font-size: 16px; color: #666; margin-bottom: 8px; }
.zk-more-btn { display: block; width: 220px; margin: 18px auto 0; height: 42px; line-height: 42px;
    text-align: center; border-radius: 21px; color: #fff; cursor: pointer;
    background: linear-gradient(90deg,#ff8c00,#ff5b01); font-size: 15px; }

/* ---------- 分页 ---------- */
.zk-pager { text-align: center; padding: 20px 0 6px; }
.zk-pager a, .zk-pager span { display: inline-block; min-width: 34px; height: 34px; line-height: 34px;
    padding: 0 10px; margin: 0 4px; border-radius: 6px; background: #fff; color: #555; font-size: 13px;
    box-shadow: 0 1px 3px rgba(0,0,0,.05); }
.zk-pager a:hover { color: #ff5b01; }
.zk-pager .zk-pg-cur { background: linear-gradient(90deg,#ff8c00,#ff5b01); color: #fff; }
.zk-pager .zk-pg-info { background: none; box-shadow: none; color: #999; font-size: 12px; }
.zk-pager .zk-pg-info em { color: #ff5b01; font-weight: 700; }
.zk-pager .zk-pg-dot { background: none; box-shadow: none; color: #bbb; min-width: auto; }

/* ---------- 悬浮对比条 ---------- */
.zk-cmpbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; background: rgba(34,34,34,.94); }
.zk-cmpbar-in { max-width: 1200px; margin: 0 auto; padding: 0 12px; height: 62px; display: flex;
    align-items: center; color: #fff; font-size: 14px; }
.zk-cmpbar-tit { margin-right: 14px; }
.zk-cmpbar-tit em { color: #ff8c00; font-weight: 700; }
.zk-cmpbar-list { flex: 1; display: flex; gap: 8px; overflow: hidden; }
.zk-cmpbar-list .zk-ci { display: flex; align-items: center; background: #3a3a3a; border-radius: 4px;
    padding: 4px 6px; font-size: 12px; max-width: 220px; }
.zk-cmpbar-list .zk-ci img { width: 30px; height: 30px; border-radius: 3px; margin-right: 6px; object-fit: cover; }
.zk-cmpbar-list .zk-ci span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zk-cmpbar-list .zk-ci i { margin-left: 6px; cursor: pointer; color: #999; }
.zk-cmpbar-list .zk-ci i:hover { color: #fff; }
.zk-cmpbar-go { display: inline-block; height: 36px; line-height: 36px; padding: 0 26px; border-radius: 18px;
    background: linear-gradient(90deg,#ff8c00,#ff5b01); color: #fff !important; font-weight: 700; margin-left: 10px; }
.zk-cmpbar-clr { margin-left: 12px; color: #bbb; font-size: 12px; }

/* ---------- 对比表 ---------- */
.zk-cmp-wrap { overflow-x: auto; background: #fff; border-radius: 8px; padding: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,.04); }
table.zk-cmp-tb { width: 100%; border-collapse: collapse; min-width: 700px; }
table.zk-cmp-tb th, table.zk-cmp-tb td { border: 1px solid #f0f0f0; padding: 10px; font-size: 13px;
    vertical-align: top; text-align: center; }
table.zk-cmp-tb th { background: #fafafa; width: 92px; color: #888; font-weight: 400; text-align: center; }
table.zk-cmp-tb td.zk-cmp-head { padding: 12px 8px; }
table.zk-cmp-tb td.zk-cmp-head img { width: 100%; max-height: 140px; object-fit: cover; border-radius: 6px; }
table.zk-cmp-tb td.zk-cmp-head .zk-cmp-t { display: block; font-size: 12px; line-height: 18px;
    height: 36px; overflow: hidden; margin-top: 6px; }
table.zk-cmp-tb .zk-cmp-price { color: #ff5b01; font-size: 18px; font-weight: 700; }
table.zk-cmp-tb tr.zk-diff td { background: #fffaf5; }
table.zk-cmp-tb .zk-cmp-del { color: #bbb; font-size: 12px; }

/* ---------- 详情页注入块 ---------- */
.zk-detail-bz { margin: 10px 0; padding: 10px 12px; background: #fff8f2; border: 1px solid #ffe0c7;
    border-radius: 6px; font-size: 13px; }
.zk-detail-bz .zk-bz { font-size: 12px; padding: 3px 9px; margin: 0 6px 4px 0; }
.zk-detail-seller { margin-top: 10px; font-size: 12px; color: #666; line-height: 22px; }
.zk-detail-seller .zk-lv { margin-right: 6px; }
.zk-detail-cmp { display: inline-block; margin-left: 10px; padding: 5px 12px; border-radius: 4px;
    border: 1px solid #ff5b01; color: #ff5b01 !important; font-size: 12px; cursor: pointer; background: #fff; }

/* ---------- 站点原有商品卡片里补的一行（标签/等级/保证金/对比） ---------- */
.zk-extra { display: flex; align-items: center; flex-wrap: wrap; margin-top: 6px; padding-top: 6px;
    border-top: 1px dashed #f2f2f2; min-height: 22px; }
.zk-extra .zk-bz { font-size: 10px; padding: 0 5px; margin: 0 4px 2px 0; line-height: 15px; }
.zk-extra .zk-lv { font-size: 10px; padding: 0 5px; line-height: 15px; }
.zk-extra .zk-bao { font-size: 10px; margin-left: 4px; color: #ff5b01; }
.zk-extra .zk-cmp { font-size: 11px; color: #999; margin-left: auto; white-space: nowrap; }
.clistx .zk-extra { border-top: 0; padding-top: 2px; }

/* ---------- 适配 ---------- */
@media (max-width: 1100px) {
    .zk-games { grid-template-columns: repeat(6, 1fr); }
    .zk-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
    .zk-wrap { padding: 8px 8px 90px; }
    .zk-games { grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .zk-game img { width: 42px; height: 42px; }
    .zk-list { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .zk-ghead { padding: 12px; gap: 10px; }
    .zk-ghead img { width: 54px; height: 54px; }
    .zk-ghead h2 { font-size: 16px; }
    .zk-ghead .zk-gh-stat { display: none; }
    .zk-flab { width: 62px; font-size: 12px; }
    .zk-toolbar { height: auto; padding: 6px 10px; }
    .zk-toolbar .zk-sort a { line-height: 34px; padding: 0 8px; font-size: 13px; }
    .zk-toolbar .zk-count { width: 100%; margin: 0 0 6px; }
    .zk-cmpbar-in { height: 56px; padding: 0 8px; font-size: 13px; }
    .zk-cmpbar-list .zk-ci { max-width: 120px; }
    .zk-pager a, .zk-pager span { min-width: 30px; height: 30px; line-height: 30px; margin: 0 2px; padding: 0 6px; }
}
