/* ============================================================
   【8】图片资料板块（图片 + 浮动文字标签）
   对应 HTML: .img-box, .img-box-img, .img-span, .img-span-s, .img-text
   ============================================================ */

/* ============================================================
   全屏容器（占页面宽度100%）
   ============================================================ */


.list{
    margin-top:5px;
    width: 100%;

}


/* .list-title 见文件末尾（各站版本） */

@keyframes randomMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}






.img-box {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* 让标签里的 cqw 以图片块宽度为基准（1cqw = 图片宽 1%），
       标签的百分比坐标 + cqw 字号会跟着图片等比缩放 */
    container-type: inline-size;
}

.img-box-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.img-span {
    font-family: "HongLeiXingShu", "KaiTi", cursive;
    position: absolute;
    font-size: 22px;
    z-index: 10;
    font-weight: 700;
    opacity: 0.8;
}

/* ============================================================
   2026-11-29：手机浏览器会把图片上的一串数字当成电话号码，
   自动包一层 <a href="tel:...">，并按链接默认色显示成蓝色
   （电脑上不识别所以正常）。这里把这种自动生成的链接强制
   继承标签本身的颜色，并且不加下划线。
   ============================================================ */
#imgbox .img-span a,
#imgbox .img-span a:link,
#imgbox .img-span a:visited,
#imgbox .img-span a:active,
#imgbox .img-text a,
#imgbox .img-text a:link,
#imgbox .img-text a:visited {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
    text-decoration: none !important;
    border-bottom: 0 !important;
}


/* ---- 图片上的文字标签（竖向排列） ---- */
.img-span-s {
    writing-mode: vertical-rl;
    display: inline-block;
    vertical-align: top;
    font-family: "HongLeiXingShu", "KaiTi", cursive;
    position: absolute;
    font-size: 22px;
    z-index: 10;
    color: #ff4500;
    font-weight: 700;
}

/* ---- 图片上的多行文本（如六肖18码的号码区） ---- */
.img-text {
    position: absolute;
    font-size: 18px;
    z-index: 10;
    font-weight: 700;
    text-align: left;
}

/* ============================================================
   2026-11-28：img.php 里 <div class="all" id="imgbox" style="padding:0 3px">
   会让图片块比资料块两边各窄 3px；标题要和资料板块大标题同宽，去掉内边距
   ============================================================ */
#imgbox { padding-left: 0 !important; padding-right: 0 !important; }

/* .list-title —— 图片板块大标题 = 本站资料板块 .module-title-wrapper
   实测：宽 calc(100% + 24px)、左右 -12px 外扩、高 45、tit.png 绶带、
         白字 16px/700、字距 2px、双层描边 */
.list-title{
    width: calc(100% + 24px);
    margin: 10px -12px 0;
    height: 45px;
    line-height: 45px;
    padding: 0;
    /* 紫色绶带占容器宽度的 80%（原 tit.png 只占 25.8%，长标题会溢出） */
    background: url('/images/tit-img.png') center / 100% 100% no-repeat;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    letter-spacing: 2px;
    text-shadow: 0 2px 5px rgba(0,0,0,.85), 0 0 8px rgba(0,0,0,.6);
    white-space: nowrap;
    overflow: hidden;
}
