/* ============================================================
 * wk_mobiletag.css  (2026-10-29 v2)
 * 可米手机版 · 分类信息列表：标题弹性高度(26~52px) + 分类标签行
 *   + 底部作者/时间行(wzlist_bottom)始终钉在卡片底边
 * 配套模板：data/template/94_touch_338aa2fce3cbdd39_mobile.tpls.php
 *   （列表行 wzlist_info 上带 wk_st 标记类，h2 后插入 .wk_sorttag）
 * 回滚：还原同目录 .bak_20261029_flex 备份
 * ============================================================ */

/* 标题弹性高度：1 行占 26px，2 行自适应到 52px，超出裁剪 */
.comiis_wzlists .wk_st h2 {
	height: auto;
	min-height: 30px;
	max-height: 52px;
	line-height: 26px;
	margin: 6px 0 0;
}

/* 无图行：a 改纵向 flex，底部行 margin-top:auto 钉底 */
.comiis_wzlists .wzlist_noimg > a {
	display: flex;
	flex-direction: column;
}

/* 单图/双图行：改两列 grid（浮动在 grid 内失效，图片占左列跨两行），
   标题/标签行在上(1fr)，底部行在下(auto) → 始终与图片底边对齐
   列间距用 column-gap（图片固定宽 90px 占满轨道，其自身 margin-right 会被
   挤出轨道失效，不能靠它撑间距） */
.comiis_wzlists .wzlist_one > a {
	display: grid;
	grid-template-columns: 90px 1fr;
	column-gap: 12px;
	grid-template-rows: 1fr auto;
}
.comiis_wzlists .wzlist_one .wzlist_imga {
	grid-row: 1 / span 2;
	grid-column: 1;
	float: none;
	margin: 4px 0 0;
	align-self: start;
}

/* 取消旧的固定最小高：行高完全由内容决定，不再留空白行 */
.comiis_wzlists .wk_st {
	min-height: 0;
}

/* 信息区（标题+分类标签行）纵向 flex：配合单/双图行的 grid 1fr 行高，
   标签行被 margin-top:auto 推到信息区底部 → 紧贴底部阅读/作者行正上方，
   而不是靠上挨着标题（无图行信息区不富余高度，auto=0 视觉不变） */
.comiis_wzlists .wzlist_info.wk_st {
	display: flex;
	flex-direction: column;
}

/* 底部行钉底：flex/grid 容器内推到底边；块状容器中 auto=0 无副作用 */
.comiis_wzlists .wzlist_bottom {
	margin-top: auto;
	padding-top: 0px;
}

/* 兜底：标题内旧版分类信息前缀 span 不再显示 */
.comiis_wzlists .wk_st h2 span.bg_0.f_f {
	display: none;
}
/* 第三行：分类信息标签（淡粉底、圆角矩形，多选时多个标签并排）
   margin-top:auto 钉在信息区底部（紧贴底行上方），padding-top 保最小 12px 间隔 */
.wk_sorttag {
	margin: auto 0 0;
	padding-top: 10px;
	min-height: 22px;
	box-sizing: content-box;
}
/* 无分类标签行的评分徽标（.wk-brate-solo，JS 追加在信息区尾部）同样钉底 */
.comiis_wzlists .wzlist_info.wk_st .wk-brate-solo {
	margin-top: auto;
	padding-top: 4px;
}
.wk_sorttag span {
	display: inline-block;
	height: 20px;
	line-height: 20px;
	padding: 0 6px;
	margin: 0 8px 2px 0;
	max-width: 100%;
	box-sizing: border-box;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 12px;
	color: #444;
	background: #eee;
	border-radius: 4px;
}
