/*
 * 爆玩购频道 v3 补充样式（design 决策 4）
 * 设计师切图样式在 paid2026-v3.css，本文件放兼容补充与运营配置覆盖（如标签默认色）。
 * 引用页面：Index/Polymerize_v3.php、Library/Index_v3.php、Search/Index_v3.php
 */

/* ---------- 首页品类标签颜色 ---------- */
/* 未配置使用运营默认色；小尖角继承主体背景，兼容不支持 CSS 变量的旧 WebView。 */
.disc-head .lb-menu .li .sp-tip { background-color: #E2EA3D; }
.disc-head .lb-menu .li .sp-tip::after { background-color: inherit; }

/* ---------- 双列瀑布流（Mall.UI.Waterfall，替代切图里的 masonry） ---------- */
/* 只用 float，不用 columns / grid（Android 6 WebView 兼容） */
.listArea.waterfall .wf-col { float: left; width: 3.4rem; }
.listArea.waterfall .wf-col-r { float: right; }
.listArea.waterfall .wf-clear { clear: both; height: 0; overflow: hidden; }
.listArea.waterfall .wf-col .li { width: 100%; }

/* 主图固定 1:1 占位：卡片高度在图片加载前就确定，瀑布流追加即可按高度分列 */
.listArea.waterfall .listCard .img { position: relative; height: 0; padding-top: 100%; overflow: hidden; }
.listArea.waterfall .listCard .img img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; -o-object-fit: cover; object-fit: cover; }
/* 标题最多两行 */
.listArea.waterfall .listCard .con .title { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-all; }
.listArea.waterfall .listCard { cursor: pointer; }

/* ---------- 公告（逐条图标：配置了图片用图片，未配置用默认图标） ---------- */
.disc-msg.v3-msg::before { display: none; }
.v3-msg .msg-in ul { margin: 0; padding: 0; }
.v3-msg .msg-in li a { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; height: 0.4rem; }
.v3-msg .msg-ico { display: block; width: 0.4rem; height: 0.4rem; border-radius: 0.08rem; margin-right: 0.16rem; -ms-flex-negative: 0; flex-shrink: 0; -o-object-fit: cover; object-fit: cover; }
.v3-msg .msg-ico-default { background: url(../images/ico-msg.png) no-repeat 0 0; background-size: 100% 100%; }
.v3-msg .msg-in li span { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* ---------- 分类页（Library/Index_v3.php） ---------- */
/* 筛选区直接用切图结构（.sort-item-hd / .sort-tab / .sort-item .label / .sort-fold），这里只补切图没有的状态 */
/* 所属 IP 折叠层：加载中 / 无选项 / 失败提示占满一整行，不按选项 chip 排版 */
#v3IpList .v3-ip-loading { width: 100%; background: none; -webkit-box-shadow: none; box-shadow: none; color: #a7a8a7; margin-top: 0; }
/* 底部导航中间项跟随一级 Tab（初始态由视图按 initTab 输出 is-merch 类，JS switchTab 切换）：
   PC 游戏=领券中心，实物周边=品牌 LOGO 仅展示（同 merch 首页 merch-home.css） */
#libBody .disc-foot .brand-logo { display: none; }
#libBody .disc-foot .paid-menu.is-merch .brand-logo { display: block; width: 100%; height: 0.8rem; margin: 0.1rem auto 0; }
#libBody .disc-foot .paid-menu.is-merch .brand-logo img { display: block; width: 100%; height: 100%; -o-object-fit: contain; object-fit: contain; }
#libBody .disc-foot .paid-menu.is-merch .it.spec a { display: none; }
/* ---------- 搜索页（Search/Index_v3.php）无结果 ---------- */
.v3-sch-none { text-align: center; padding: 0.8rem 0 0.4rem; }
.v3-sch-none img { width: 3.2rem; }
.v3-sch-none p { color: #a7a8a7; font-size: 0.26rem; margin: 0.16rem 0 0.32rem; }
.v3-sch-none .btns a { display: inline-block; height: 0.64rem; line-height: 0.64rem; padding: 0 0.4rem; margin: 0 0.12rem; border-radius: 0.32rem; font-size: 0.26rem; }
.v3-sch-none .btns .b1 { background: #f4f5f6; color: #3e403f; }
.v3-sch-none .btns .b2 { background: #131715; color: #fff; }
.v3-reco-tit { padding: 0.32rem 0.24rem 0; }
.v3-reco-tit img { height: 0.4rem; }
