/* ============================================================================
 * common.css —— 全站通用样式（改版联合版 · refactor 整理）
 * ----------------------------------------------------------------------------
 * [SECTION 1] 线上新版样式（基底）：/ds/assets/css/common.css?v=1026 —— **冲突以此为准**
 * [SECTION 2] 本地保留规则：线上新版已移除、但本地模板/组件仍在使用的样式，按原样保留
 * 级联语义：分区顺序 = 线上在前、本地在后；两段**选择器不重叠**（已在生成时去重校验），
 *           因此先后顺序不影响既有渲染结论。
 * 回滚：Copy-Item _refit\backup\assets\css\common.css assets\css\common.css -Force
 * 生成：_refit\scripts\rf_common_css.py
 * ========================================================================== */

/* ===================== [SECTION 1] 线上新版样式（基底，冲突以此为准） =====================
 * 原样内容，未做语义改动。
 * ============================================================================ */
img.logo {
    width: 14px;
    height: 14px;
    margin: 0 5px 0 3px;
}
.onclick {
    cursor: pointer;
    touch-action: manipulation;
}
.giftlist {
    overflow: hidden;
    width: 90%;
    margin: 0 auto
}
.giftlist ul {
    height: 270px;
    overflow: hidden;
    padding: 0
}
.giftlist li {
    width: 100%;
    line-height: 35px;
    padding: 0 10px;
    overflow: hidden;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box
}
.giftlist li strong {
    margin: 0 5px 0 0;
    font-weight: 400;
    color: #1977d8
}
.border-t {
    border-top: 1px solid #e9e9e9;
}
.border-b {
    border-bottom: 1px solid #e9e9e9;
}
.layui-fixbar {
    position: fixed;
    right: 15px;
    bottom: 15px;
    z-index: 999999;
    margin: 0;
    padding: 0
}
.layui-fixbar li {
    list-style: none;
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin-bottom: 1px;
    text-align: center;
    cursor: pointer;
    font-size: 30px;
    background-color: #9F9F9F;
    color: #fff;
    border-radius: 2px;
    opacity: .95
}
.nav-counter {
    position: absolute;
    font-size: 16px;
    top: -1px;
    right: 1px;
    height: 20px;
    width: 20px;
    line-height: 20px;
    padding: 0 6px;
    color: #fff;
    text-align: center;
    background: #e23442;
    border-radius: 50%;
    background-image: -webkit-linear-gradient(top, #e8616c, #dd202f);
    background-image: -moz-linear-gradient(top, #e8616c, #dd202f);
    background-image: -o-linear-gradient(top, #e8616c, #dd202f);
    background-image: linear-gradient(to bottom, #e8616c, #dd202f);
    -webkit-box-shadow: inset 0 0 1px 1px rgba(255, 255, 255, .1), 0 1px rgba(0, 0, 0, .12);
    box-shadow: inset 0 0 1px 1px rgba(255, 255, 255, .1), 0 1px rgba(0, 0, 0, .12)
}
#audio-play #audio-btn {
    width: 44px;
    height: 44px;
    background-size: 100% 100%;
    position: fixed;
    bottom: 5%;
    right: 6px;
    z-index: 111;
}
#audio-play .on {
    background: url('../img/music_on.png') no-repeat 0 0;
    -webkit-animation: rotating 1.2s linear infinite;
    animation: rotating 1.2s linear infinite;
}
#audio-play .off {
    background: url('../img/music_off.png') no-repeat 0 0
}
@-webkit-keyframes rotating {
    from {
        -webkit-transform: rotate(0);
        -moz-transform: rotate(0);
        -ms-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0)
    }
    to {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}
@keyframes rotating {
    from {
        -webkit-transform: rotate(0);
        -moz-transform: rotate(0);
        -ms-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0)
    }
    to {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg)
    }
}
#captcha_text {
    height: 42px;
    width: 100%;
    text-align: center;
    border-radius: 2px;
    background-color: #F3F3F3;
    color: #BBBBBB;
    font-size: 14px;
    letter-spacing: 0.1px;
    line-height: 42px
}
#captcha_wait {
    display: none;
    height: 42px;
    width: 100%;
    text-align: center;
    border-radius: 2px;
    background-color: #F3F3F3
}
.loading {
    margin: auto;
    width: 70px;
    height: 20px
}
.loading-dot {
    float: left;
    width: 8px;
    height: 8px;
    margin: 18px 4px;
    background: #ccc;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    opacity: 0;
    -webkit-box-shadow: 0 0 2px black;
    -moz-box-shadow: 0 0 2px black;
    -ms-box-shadow: 0 0 2px black;
    -o-box-shadow: 0 0 2px black;
    box-shadow: 0 0 2px black;
    -webkit-animation: loadingFade 1s infinite;
    -moz-animation: loadingFade 1s infinite;
    animation: loadingFade 1s infinite
}
.loading-dot:nth-child(1) {
    -webkit-animation-delay: 0s;
    -moz-animation-delay: 0s;
    animation-delay: 0s
}
.loading-dot:nth-child(2) {
    -webkit-animation-delay: 0.1s;
    -moz-animation-delay: 0.1s;
    animation-delay: 0.1s
}
.loading-dot:nth-child(3) {
    -webkit-animation-delay: 0.2s;
    -moz-animation-delay: 0.2s;
    animation-delay: 0.2s
}
.loading-dot:nth-child(4) {
    -webkit-animation-delay: 0.3s;
    -moz-animation-delay: 0.3s;
    animation-delay: 0.3s
}
@-webkit-keyframes loadingFade {
    0% {
        opacity: 0
    }
    50% {
        opacity: 0.8
    }
    100% {
        opacity: 0
    }
}
@-moz-keyframes loadingFade {
    0% {
        opacity: 0
    }
    50% {
        opacity: 0.8
    }
    100% {
        opacity: 0
    }
}
@keyframes loadingFade {
    0% {
        opacity: 0
    }
    50% {
        opacity: 0.8
    }
    100% {
        opacity: 0
    }
}

/* ======================== [SECTION 2] 本地保留规则（线上已移除） ========================
 * 生成时已去重：本段选择器与 SECTION 1 无重叠。
 * 与本地原件的同名冲突点（线上为准，故本段不再重复声明）：
 *   - img.logo：本地 width: 20px;margin: -2px 5px 0 5px; → 线上 width: 14px; height: 14px; margin: 0 5px 0 3px;
 * 规则分组：
 *   - #list td                                                       [列表单元格截断（本地列表）]
 *   - #list2 td                                                      [列表单元格截断（本地列表）]
 *   - #orderItem .orderTitle                                         [订单条目排版（本地订单组件）]
 *   - #orderItem .orderContent                                       [订单条目排版（本地订单组件）]
 *   - #orderItem .orderContent img                                   [订单条目排版（本地订单组件）]
 *   - #alert_frame img                                               [提示框图片自适应（本地组件）]
 *   - .vaptcha-init-main                                             [vaptcha 初始化态样式（本地验证码方案）]
 *   - .vaptcha-init-loading                                          [vaptcha 初始化态样式（本地验证码方案）]
 *   - .vaptcha-init-loading>a                                        [vaptcha 初始化态样式（本地验证码方案）]
 *   - .vaptcha-init-loading>a img                                    [vaptcha 初始化态样式（本地验证码方案）]
 *   - .vaptcha-init-loading .vaptcha-text                            [vaptcha 初始化态样式（本地验证码方案）]
 * ============================================================================ */

/* ---- 列表单元格截断（本地列表） ---- */
#list td{max-width:280px;text-overflow: ellipsis;overflow: hidden;white-space: nowrap;}
#list2 td{max-width:280px;text-overflow: ellipsis;overflow: hidden;white-space: nowrap;}
/* ---- 订单条目排版（本地订单组件） ---- */
#orderItem .orderTitle{word-break:keep-all;}
#orderItem .orderContent{word-break:break-all;}
#orderItem .orderContent img{max-width:100%}
/* ---- 提示框图片自适应（本地组件） ---- */
#alert_frame img{max-width:100%}
/* ---- vaptcha 初始化态样式（本地验证码方案） ---- */
.vaptcha-init-main{display:table;width:100%;height:100%;background-color:#eee}
.vaptcha-init-loading{display:table-cell;vertical-align:middle;text-align:center}
.vaptcha-init-loading>a{display:inline-block;width:18px;height:18px;border:none}
.vaptcha-init-loading>a img{vertical-align:middle}
.vaptcha-init-loading .vaptcha-text{font-family:sans-serif;font-size:12px;color:#ccc;vertical-align:middle}
