/* ========================================
   如浩传世 - 移动端完整样式（弹窗美化+功能增强版）
   适配：手机端全页面 / 暗黑金复古风格 / 大尺寸交互友好
======================================== */
/* 1. 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background: #0d0907;
    color: #c2b49c;
    font-family: "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    transition: transform 0.3s ease;
}
/* 2. 通用装饰组件 */
.diamond {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #b88646;
    transform: rotate(45deg);
    margin: 0 8px;
    vertical-align: middle;
}
.section {
    padding: 20px 15px;
}
.section-title {
    text-align: center;
    font-size: 18px;
    color: #d4af67;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-weight: 500;
    position: relative;
}
.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: linear-gradient(to right, transparent, #b88646);
}
.section-title::before { left: 10px; }
.section-title::after {
    right: 10px;
    background: linear-gradient(to right, #b88646, transparent);
}
/* 3. 顶部Logo导航栏 */
.site-header {
    background: #120c08;
    border-bottom: 2px solid #2a1f15;
    padding: 12px 0;
    text-align: center;
}
.main-logo {
    height: 36px;
    margin: 0 auto;
}
.header-slogan {
    color: #e8c987;
    font-size: 13px;
    line-height: 1.5;
    margin: 8px 15px;
    font-style: italic;
    text-shadow: 0 0 8px rgba(232, 201, 135, 0.3);
}
.header-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
    padding: 0 10px;
}
.nav-btn {
    display: inline-block;
    padding: 8px 16px;
    border: 2px solid #b88646;
    background: #261a10;
    color: #d4af67;
    font-size: 13px;
    border-radius: 3px;
    transition: all 0.2s;
}
/* ★ 2026-09-27：本块原有的两个 `!important` 已撤掉（原来分别写在 color 和
   border-color 上）。原因：

   本块是**移动端早期"红色药丸"选中态**的遗留（背景就是下面这条红渐变）。
   legend.css 后来把选中态改成了传世牌匾——金渐变 + 深字 `color:#2a1c07`，
   但那条选择器是 `.header-nav .nav-btn-active`，**特异(0,2,0) 且没有 !important**。
   而 `!important` 之间只比特异性、不比书写顺序，非 !important 的声明更会被
   无差别压掉、无论特异性多高 —— 于是本块的 `color:#ffe8b0 !important`
   把 legend 的深字压成了**淡金字压金底**：实测对比度 1.63，
   移动端 6 个导航里"当前页"那颗按钮的字几乎看不见。

   撤掉 `!important` 之后：legend.css 的 (0,2,0) 压过本块的 (0,1,0)，
   选中态回到"深字压金底"；本块只剩"某页万一没加载 legend.css"时的兜底色
   —— 目前 5 个手机页（md / m_down / m_news / m_news_detail / home_m）都加载它。

   ★ 修这个问题的位置**只能在这里**，不要在 polish.css 之类的全站层补一条
     `!important`：桌面端选中态是**另一套设计**（透明底 + 金字，没有金底），
     全站层的 `!important` 会顺着层叠漏到桌面端，把桌面端压成"深字压深底"、
     同样是 1.x 的对比度。判据见 .workbuddy/tools/probe_style.py 的溯源输出。 */
.nav-btn-active {
    background: linear-gradient(180deg, #d94242 0%, #b82020 45%, #8b1010 100%);
    color: #ffe8b0;
    border-color: #b82020;
}
/* 4. 招募Banner区 */
.banner {
    padding: 25px 15px;
    text-align: center;
    background: linear-gradient(180deg, #1a120a 0%, #0d0907 100%);
}
.banner-title {
    font-size: 22px;
    color: #d4af67;
    letter-spacing: 3px;
    margin-bottom: 12px;
    text-shadow: 0 0 10px rgba(212, 175, 103, 0.3);
    font-weight: 500;
}
.banner-subtitle {
    font-size: 14px;
    color: #e6c880;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}
.banner-desc {
    font-size: 13px;
    color: #c2b49c;
}
/* 5. 福利领取页专属样式（放大优化核心） */
.reward-section {
    padding: 20px 14px;
    max-width: 560px;
    margin: 0 auto;
}
.reward-panel {
    display: block;
    margin-bottom: 26px;
}
.reward-panel:last-child {
    margin-bottom: 0;
}
/* 卡片主体：内边距加大，更宽松 */
.reward-card {
    position: relative;
    background: #1a1410;
    border: 2px solid #b88646;
    padding: 28px 22px 24px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    border-radius: 4px;
    transition: all 0.25s ease;
}
.reward-card::before,
.reward-card::after,
.reward-card .corner-bl,
.reward-card .corner-br {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #b88646;
}
.reward-card::before { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.reward-card::after { top: -2px; right: -2px; border-left: none; border-bottom: none; }
.reward-card .corner-bl { bottom: -2px; left: -2px; border-right: none; border-top: none; }
.reward-card .corner-br { bottom: -2px; right: -2px; border-left: none; border-top: none; }
.reward-card:active {
    transform: scale(0.98);
    border-color: #e6c070;
}
/* 二维码区域：尺寸放大，更清晰 */
.reward-qrcode {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px dashed #2a1f15;
}
.reward-qrcode img {
    width: 140px;
    height: 140px;
    margin: 0 auto 10px;
    border: 2px solid #b88646;
    padding: 5px;
    background: #fff;
    border-radius: 3px;
}
.reward-qrcode p {
    color: #d4af67;
    font-size: 14px;
    margin-bottom: 2px;
    line-height: 1.5;
}
.reward-qrcode .group-num {
    color: #ffe8b0;
    font-weight: bold;
    font-size: 15px !important;
}
/* 礼包标题：字号加大 */
.reward-info h3 {
    color: #ffe8b0;
    font-size: 20px;
    text-align: center;
    margin-bottom: 18px;
    letter-spacing: 2px;
    font-weight: 500;
    position: relative;
    padding-bottom: 12px;
}
.reward-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #b88646, transparent);
}
/* 奖励列表：字号加大，行高更松 */
.reward-desc {
    margin-bottom: 20px;
    padding: 0 4px;
}
.reward-desc p {
    position: relative;
    padding-left: 14px;
    margin-bottom: 10px;
    color: #c2b49c;
    font-size: 16px;
    line-height: 1.8;
}
.reward-desc p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 3px;
    height: 16px;
    background: #b88646;
    border-radius: 2px;
}
/* 表单区域：输入框整体加高加大 */
.form-item {
    margin-bottom: 16px;
}
.form-item label {
    display: block;
    color: #d4af67;
    font-size: 15px;
    margin-bottom: 8px;
    padding-left: 2px;
}
.input-wrap {
    position: relative;
}
.input-wrap .input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #887755;
}
.input-wrap input {
    width: 100%;
    height: 56px;
    padding: 0 16px 0 48px;
    border: 2px solid #b88646;
    background: #0c0906;
    color: #fff;
    font-size: 16px;
    outline: none;
    border-radius: 3px;
    box-sizing: border-box;
    transition: all 0.25s ease;
}
.input-wrap input:focus {
    border-color: #ffe8b0;
    box-shadow: 0 0 10px rgba(212, 175, 103, 0.4);
}
.error-tip {
    color: #ff6666;
    font-size: 13px;
    margin: 8px 0;
    text-align: center;
    min-height: 18px;
}
/* 领取按钮：加高加宽，触屏更易点击 */
.submit-btn {
    width: 100%;
    height: 58px;
    margin: 8px 0 12px;
    background: linear-gradient(180deg, #d94242 0%, #b82020 45%, #8b1010 100%);
    color: #ffe8b0;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 3px;
    border: none;
    cursor: pointer;
    clip-path: polygon(6% 0, 94% 0, 100% 50%, 94% 100%, 6% 100%, 0 50%);
    box-shadow: 0 0 12px rgba(200, 46, 46, 0.4);
    transition: all 0.2s;
}
.submit-btn:active {
    filter: brightness(0.9);
    transform: scale(0.98);
}
.submit-btn:disabled {
    filter: grayscale(0.5);
    cursor: not-allowed;
}
.tip {
    text-align: center;
    color: #887755;
    font-size: 13px;
    line-height: 1.6;
}
/* 领取成功结果框：同步放大 */
.result-box {
    margin-top: 22px;
    padding: 22px 20px;
    background: #0f0a06;
    border: 1px solid #b88646;
    border-radius: 3px;
    text-align: center;
}
.result-box h4 {
    color: #ffe8b0;
    font-size: 19px;
    margin-bottom: 12px;
    font-weight: 500;
}
.result-box p {
    color: #c2b49c;
    margin-bottom: 8px;
    font-size: 15px;
}
.code-text {
    color: #ffe8b0;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 22px;
    font-family: Consolas, monospace;
    margin: 12px 0;
    padding: 14px;
    background: #1a1410;
    border: 1px dashed #b88646;
    border-radius: 3px;
    user-select: all;
    -webkit-user-select: all;
}
/* ========== 6. 通用弹窗美化（核心新增） ========== */
.modal-mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #1a1410;
    border: 2px solid #b88646;
    padding: 28px 24px 24px;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    animation: slideUp 0.25s ease;
}
@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.modal-card::before,
.modal-card::after,
.modal-card .modal-corner-bl,
.modal-card .modal-corner-br {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #b88646;
}
.modal-card::before { top: -2px; left: -2px; border-right: none; border-bottom: none; }
.modal-card::after { top: -2px; right: -2px; border-left: none; border-bottom: none; }
.modal-card .modal-corner-bl { bottom: -2px; left: -2px; border-right: none; border-top: none; }
.modal-card .modal-corner-br { bottom: -2px; right: -2px; border-left: none; border-top: none; }
.modal-title {
    color: #ffe8b0;
    font-size: 20px;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 16px;
    font-weight: 500;
    padding-bottom: 12px;
    border-bottom: 1px dashed #2a1f15;
}
.modal-content {
    color: #c2b49c;
    font-size: 15px;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 20px;
}
.modal-code {
    color: #ffe8b0;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 3px;
    text-align: center;
    padding: 16px;
    margin: 10px 0 20px;
    background: #0c0906;
    border: 1px dashed #b88646;
    border-radius: 3px;
    font-family: Consolas, monospace;
    user-select: all;
    -webkit-user-select: all;
}
.modal-btn-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.modal-btn-primary,
.modal-btn-secondary {
    width: 100%;
    height: 52px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s;
}
.modal-btn-primary {
    background: linear-gradient(180deg, #d94242 0%, #b82020 45%, #8b1010 100%);
    color: #ffe8b0;
    box-shadow: 0 0 10px rgba(200, 46, 46, 0.3);
}
.modal-btn-primary:active {
    filter: brightness(0.9);
    transform: scale(0.98);
}
.modal-btn-secondary {
    background: transparent;
    color: #d4af67;
    border: 2px solid #b88646;
}
.modal-btn-secondary:active {
    background: rgba(184, 134, 70, 0.1);
    transform: scale(0.98);
}
/* 引导弹窗专属优化 */
#wxGuideModal .reward-card {
    margin: 0 auto;
    max-width: 400px;
}
/* 7. 底部页脚 */
.site-footer {
    background: #0d0907;
    border-top: 1px solid #2a1f15;
    padding: 20px 15px;
    margin-top: 10px;
}
.footer-inner {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}
.footer-qrcodes {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.qrcode-item {
    text-align: center;
}
.qrcode-item img {
    width: 56px;
    height: 56px;
    margin: 0 auto 5px;
    border: 1px solid #3a2b1e;
    padding: 3px;
    background: #fff;
}
.qrcode-item p {
    font-size: 12px;
    color: #887755;
}
.kf-link {
    display: block;
    color: #d4af67;
}
.kf-icon {
    width: 56px;
    height: 56px;
    border: 1px solid #3a2b1e;
    padding: 3px;
    background: #1a1410;
    margin: 0 auto 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.footer-logo {
    margin: 10px 0;
}
.footer-logo img {
    height: 28px;
    margin: 0 auto;
}
.footer-switch {
    margin: 10px 0;
}
.footer-switch a {
    color: #d4af67;
    font-size: 13px;
}
.footer-icp {
    margin: 10px 0;
}
.footer-icp a {
    color: #887755;
    font-size: 12px;
    text-decoration: none;
}
.footer-notice {
    color: #665544;
    font-size: 11px;
    line-height: 1.5;
    margin-top: 10px;
}
/* 8. 全局金色选中效果 */
::selection {
    background: #d4af67;
    color: #120d09;
    text-shadow: none;
}
::-moz-selection {
    background: #d4af67;
    color: #120d09;
    text-shadow: none;
}
/* 图片点击轻微缩放 */
.qrcode-item:active img,
.reward-qrcode:active img,
.footer-logo:active img,
.main-logo:active {
    transform: scale(1.04);
}
/* 按钮/链接聚焦金色边框 */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #d4af67;
    outline-offset: 2px;
}

/* ========================================
   以下为本次改版新增
======================================== */

/* 1. 输入框错误态（此前移动端缺失，校验不通过时没有任何视觉反馈） */
.input-wrap input.error,
.form-item input.error {
    border-color: #c82e2e !important;
    box-shadow: 0 0 10px rgba(200, 46, 46, 0.45);
}

/* 2. 滚动进场动画 */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* 3. 回到顶部（触屏尺寸加大） */
.back-to-top {
    position: fixed;
    right: 14px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #b88646;
    background: rgba(26, 20, 16, 0.94);
    color: #d4af67;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.55);
    z-index: 900;
}
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.back-to-top:active {
    background: #d4af67;
    color: #120d09;
}

/* 4. 兑换步骤 */
.reward-steps {
    margin-top: 24px;
    padding: 20px 16px;
    background: #1a1410;
    border: 2px solid #b88646;
    border-radius: 4px;
}
.reward-steps h4 {
    text-align: center;
    color: #ffe8b0;
    font-size: 16px;
    letter-spacing: 2px;
    font-weight: 500;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #2a1f15;
}
.reward-steps-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.reward-step {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #c2b49c;
    font-size: 15px;
    line-height: 1.6;
}
.reward-step .step-index {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #b88646;
    color: #d4af67;
    font-weight: bold;
    font-size: 13px;
}

/* 5. 结果区操作按钮 */
.result-actions {
    margin: 14px 0 6px;
}
.result-actions .modal-btn-primary {
    height: 50px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}
.result-note {
    color: #887755 !important;
    font-size: 13px !important;
    line-height: 1.8 !important;
    margin-bottom: 0 !important;
}

/* 6. 轻量 Toast */
.reward-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80vw;
    background: rgba(0, 0, 0, 0.88);
    color: #ffe8b0;
    padding: 14px 20px;
    border: 1px solid #b88646;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.7;
    text-align: center;
    white-space: pre-line;
    z-index: 10000;
}

/* 7. 页脚快捷链接 */
.footer-links {
    margin-bottom: 8px;
    font-size: 13px;
}
.footer-links a {
    color: #d4af67;
}
.footer-link-divider {
    margin: 0 6px;
    color: #3a2b1e;
}

/* 8. iPhone 底部安全区 */
.site-footer {
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
}

/* 9. 成功弹窗（移动站） */
.success-icon {
    font-size: 40px;
    line-height: 1;
    margin-bottom: 10px;
}
.success-hint {
    color: #887755;
    font-size: 13px;
    line-height: 1.7;
}
.modal-btn-inline {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.modal-btn-ghost {
    background: transparent;
    color: #d4af67;
    border: 2px solid #b88646;
}



/* ==========================================================================
   推广任务（转发截图得开区奖励）
   与福利页其余板块同色系；槽位默认 5 列，窄屏自动降为 2 列。
   ========================================================================== */
.promo-panel {
    border: 1px solid #2a1f15;
    background: linear-gradient(180deg, #1a1410 0%, #0f0a06 100%);
    padding: 22px 26px 26px;
    margin-bottom: 26px;
    border-radius: 4px;
    box-shadow: 0 0 24px rgba(0, 0, 0, .6);
}
.promo-head h3 { margin: 0 0 8px; color: #ffe8b0; font-size: 20px; letter-spacing: 1px; }
.promo-sub { color: #c2b49c; font-size: 14px; line-height: 1.9; margin: 0 0 14px; }
.promo-sub b { color: #d4af67; }

/* ---- 上传说明（mobile 版：标签行改为上下堆叠，避免窄屏挤压正文） ---- */
.promo-guide {
    border: 1px solid #2f2416;
    border-left: 3px solid #b88646;
    background: rgba(255, 255, 255, .025);
    border-radius: 3px;
    padding: 11px 12px 8px;
    margin: 0 0 16px;
}
.promo-guide-title {
    margin: 0 0 8px; font-size: 14px; color: #ffe8b0; letter-spacing: 1px;
    display: flex; align-items: center; gap: 6px;
}
.promo-guide-title::before { content: '\1F4CB'; font-size: 15px; }
.promo-guide-row { padding: 6px 0; }
.promo-guide-row + .promo-guide-row { border-top: 1px dashed #241b12; }
.promo-guide-k {
    display: inline-block; margin-bottom: 4px;
    font-size: 12px; line-height: 1.7; color: #d4af67;
    background: rgba(212, 175, 103, .10);
    border: 1px solid #3a2c1a; border-radius: 2px;
    padding: 1px 8px;
}
.promo-guide-v { font-size: 13px; line-height: 1.85; color: #c2b49c; }
.promo-guide-v b { color: #ffe8b0; font-weight: bold; }
.promo-guide-v.is-bad { color: #ffbdbd; }
.promo-guide-v.is-bad b { color: #ff9b9b; }
.promo-guide-v.is-ok { color: #b6e3a4; }
.promo-guide-v.is-ok b { color: #7dff9f; }
.promo-guide-row.is-bad .promo-guide-k { color: #ff9b9b; background: rgba(192, 57, 43, .14); border-color: #7a2b2b; }
.promo-guide-row.is-ok  .promo-guide-k { color: #7dff9f; background: rgba(47, 157, 85, .14); border-color: #2f6b47; }

.promo-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 20px; }
.promo-step {
    display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px;
    background: rgba(255, 255, 255, .02); border: 1px solid #2a1f15; border-radius: 3px;
}
.promo-step .step-index {
    flex: 0 0 auto; width: 20px; height: 20px; line-height: 20px; text-align: center;
    border-radius: 50%; background: #d4af67; color: #120d09; font-size: 12px; font-weight: bold;
}
.promo-step p { margin: 0; font-size: 13px; color: #c2b49c; line-height: 1.6; }

.promo-upload-block { margin: 16px 0 6px; }
.promo-upload-title { color: #ffe8b0; font-size: 15px; font-weight: bold; margin-bottom: 4px; }
.promo-progress { float: right; color: #d4af67; font-size: 13px; font-weight: normal; }
.promo-upload-hint { color: #887755; font-size: 12px; line-height: 1.8; margin: 0 0 8px; }

.promo-slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 8px; }
.promo-slot {
    position: relative; height: 104px; border: 1px dashed #3a2c1c; border-radius: 3px;
    background: #0d0907; display: flex; flex-direction: column; align-items: center;
    justify-content: center; cursor: pointer; overflow: hidden;
    transition: border-color .2s, background .2s;
}
.promo-slot:hover { border-color: #d4af67; background: #14100b; }
.promo-slot:focus-visible { outline: 2px solid #d4af67; outline-offset: 2px; }
.promo-slot.is-empty .promo-slot-plus { color: #b88646; font-size: 20px; line-height: 1; }
.promo-slot-label { color: #887755; font-size: 12px; margin-top: 4px; }
.promo-slot.is-loading { border-style: solid; border-color: #b88646; }
.promo-slot.is-ok { border: 1px solid #4a6b3a; }
.promo-slot.is-warn { border: 1px solid #7a5c22; }
.promo-slot.is-bad { border: 1px solid #7a2b2b; }
.promo-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.promo-slot-chip {
    position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, .78);
    color: #ffe8b0; font-size: 11px; line-height: 1.7; text-align: center;
}

.promo-submit-result {
    margin: 16px 0 0; padding: 16px 18px; border: 1px solid #2a1f15;
    border-radius: 4px; background: rgba(212, 175, 103, .06);
}
.promo-submit-result h4 { margin: 0 0 8px; color: #ffe8b0; font-size: 16px; }
.promo-result-label { color: #d4af67; font-size: 13px; margin: 10px 0 4px; }
.promo-result-note { color: #c2b49c; font-size: 13px; line-height: 1.9; margin: 4px 0; }
.promo-result-note.is-bad { color: #ff8888; }

.promo-code-row { display: flex; align-items: center; gap: 10px; margin: 4px 0 6px; }
.promo-code {
    flex: 1 1 auto; font-family: Consolas, Menlo, monospace; font-size: 20px; letter-spacing: 3px;
    color: #ffe8b0; background: #0d0907; border: 1px dashed #b88646; border-radius: 3px;
    padding: 8px 12px; text-align: center; word-break: break-all;
}
.promo-code.is-invite { border-style: solid; border-color: #d4af67; }
.promo-code.is-dead { color: #887755; border-color: #4a3a28; }
.promo-copy-btn {
    flex: 0 0 auto; padding: 9px 16px; background: #d4af67; color: #120d09;
    border: none; border-radius: 3px; font-size: 13px; font-weight: bold; cursor: pointer;
}
.promo-copy-btn:active { background: #b88646; }
.promo-link-btn {
    margin-top: 10px; padding: 8px 18px; background: transparent; color: #d4af67;
    border: 1px solid #b88646; border-radius: 3px; font-size: 13px; cursor: pointer;
}
.promo-link-btn:hover { background: rgba(212, 175, 103, .12); }

.promo-query { margin-top: 20px; padding-top: 18px; border-top: 1px dashed #2a1f15; }
.promo-query h4 { margin: 0 0 6px; color: #ffe8b0; font-size: 15px; }
.promo-query-row { display: flex; gap: 10px; align-items: stretch; }
/* ★ 2026-10-08（第 255 轮）：font-size 15px → **16px**。
   iOS Safari 在 < 16px 的输入框获得焦点时会**自动放大整页**（点一下页面就变大）。
   本表（mobile.css）**只有手机版加载** ⇒ 改在这里只影响手机版；
   PC 福利页那颗同名输入框走的是别的表，不受影响。 */
.promo-query-row input {
    flex: 1 1 auto; height: 44px; padding: 0 14px; background: #0d0907; color: #ffe8b0;
    border: 1px solid #2a1f15; border-radius: 3px; font-size: 16px; letter-spacing: 2px;
}
.promo-query-row input:focus { outline: none; border-color: #d4af67; }
.promo-query-btn {
    flex: 0 0 120px; width: 120px; height: 44px; margin: 0; font-size: 15px; clip-path: none;
}
.promo-query-result { margin-top: 12px; }
.promo-query-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.promo-query-time { color: #887755; font-size: 12px; }
.promo-status-chip {
    display: inline-block; padding: 2px 10px; border-radius: 10px;
    font-size: 12px; border: 1px solid #3a2c1c; color: #887755;
}
.promo-status-chip.is-ok { color: #9fd98a; border-color: #4a6b3a; }
.promo-status-chip.is-warn { color: #e8c46a; border-color: #7a5c22; }
.promo-status-chip.is-bad { color: #ff8888; border-color: #7a2b2b; }

.promo-query-list {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 10px; margin-top: 10px;
}
.promo-query-item {
    display: flex; gap: 10px; padding: 8px; border: 1px solid #2a1f15;
    border-radius: 3px; background: #0f0a06;
}
.promo-query-item.is-ok { border-color: #4a6b3a; }
.promo-query-item.is-warn { border-color: #7a5c22; }
.promo-query-item.is-bad { border-color: #7a2b2b; }
.promo-query-thumb {
    flex: 0 0 62px; height: 62px; background: #0d0907; border-radius: 3px;
    overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.promo-query-thumb img { width: 100%; height: 100%; object-fit: cover; }
.promo-query-noimg { color: #4a3a28; font-size: 11px; }
.promo-query-info { font-size: 12px; color: #c2b49c; line-height: 1.8; min-width: 0; }
.promo-query-info b { color: #ffe8b0; }
.promo-query-why { color: #d7b98a; word-break: break-all; }

@media (max-width: 640px) {
    .promo-panel { padding: 16px 14px 18px; }
    .promo-steps { grid-template-columns: repeat(2, 1fr); }
    .promo-slots { grid-template-columns: repeat(2, 1fr); }
    .promo-slot { height: 112px; }
    .promo-query-row { flex-direction: column; }
    .promo-query-btn { width: 100%; flex: 0 0 auto; }
    .promo-code { font-size: 17px; letter-spacing: 2px; }
    .promo-query-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   推广任务 · 上传截图对话框（选图 → 自动验真 → 绿=符合 / 红=不符合）
   --------------------------------------------------------------------------
   配色语义统一为：绿=通过、红=不通过、黄=待人工、灰=仅供参考。
   放在文件末尾是为了能覆盖前面较暗的旧状态色（旧值几乎看不出绿/红差别）。
   ========================================================================== */

.promo-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.promo-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}
.promo-modal-box {
    position: relative;
    width: 100%;
    max-width: 460px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    background: #17120d;
    border: 1px solid #b88646;
    border-radius: 6px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.6);
}
.promo-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(184, 134, 70, 0.28);
}
.promo-modal-title { margin: 0; font-size: 16px; color: #ffe8b0; font-weight: 600; }
.promo-modal-x {
    flex: none;
    width: 28px;
    height: 28px;
    line-height: 1;
    font-size: 20px;
    color: #b88646;
    background: transparent;
    border: 1px solid rgba(184, 134, 70, 0.4);
    border-radius: 4px;
    cursor: pointer;
}
.promo-modal-x:hover { color: #ffe8b0; border-color: #d4af67; }
.promo-modal-body { padding: 14px 16px 4px; }
.promo-modal-foot { display: flex; gap: 10px; padding: 12px 16px 16px; }
.promo-modal-foot > * { flex: 1; }
.promo-modal-ok {
    padding: 10px 16px;
    font-size: 15px;
    color: #1a1410;
    background: linear-gradient(180deg, #ffe8b0, #d4af67);
    border: 1px solid #b88646;
    border-radius: 4px;
    cursor: pointer;
}
.promo-modal-ok:disabled { opacity: .5; cursor: not-allowed; }

/* ---- 选图 / 拖拽区 ---- */
.promo-drop {
    padding: 26px 16px;
    text-align: center;
    border: 1px dashed #8a6a38;
    border-radius: 6px;
    background: #14100b;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.promo-drop:hover, .promo-drop.is-drag { border-color: #d4af67; background: #1c1610; }
.promo-drop:focus-visible { outline: 2px solid #d4af67; outline-offset: 2px; }
.promo-drop-icon { font-size: 30px; display: block; margin-bottom: 8px; }
.promo-drop-main { margin: 0 0 6px; color: #e8dcc0; font-size: 14px; }
.promo-drop-sub { margin: 0; color: #887755; font-size: 12px; line-height: 1.6; }

/* ---- 预览 + 上传进度 ---- */
.promo-preview { text-align: center; }
.promo-preview img {
    max-width: 100%;
    max-height: 32vh;
    display: block;
    margin: 0 auto 10px;
    border: 1px solid #b88646;
    border-radius: 4px;
}
.promo-preview-bar { height: 6px; background: #2a2118; border-radius: 3px; overflow: hidden; }
.promo-preview-fill {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #b88646, #ffe8b0);
    transition: width .2s;
}
.promo-preview-state { margin: 8px 0 0; font-size: 13px; color: #cbb98f; }

/* ---- 整体结论横幅 ---- */
.promo-verdict {
    padding: 10px 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #cbb98f;
    background: #1d1810;
    border: 1px solid #6b5a3a;
    border-radius: 4px;
}
.promo-verdict.is-ok   { color: #7dff9f; border-color: #2f9d55; background: rgba(47, 157, 85, 0.14); }
.promo-verdict.is-bad  { color: #ff9b9b; border-color: #c0392b; background: rgba(192, 57, 43, 0.16); }
.promo-verdict.is-warn { color: #ffd970; border-color: #a8842c; background: rgba(168, 132, 44, 0.16); }

/* ---- 逐项结论：是否重复 / 是否P图 / 人数是否达标 / 原图特征 ---- */
.promo-check-list { list-style: none; margin: 12px 0 0; padding: 0; }
.promo-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 10px;
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.6;
    background: #1a1510;
    border-left: 3px solid #6b5a3a;
    border-radius: 4px;
}
.promo-check-mark { flex: none; width: 14px; font-weight: 700; }
.promo-check-name { flex: none; color: #e8dcc0; }
.promo-check-desc { color: #a99a7c; }

.promo-check-list li.is-ok { background: rgba(47, 157, 85, 0.10); border-left-color: #2f9d55; }
.promo-check-list li.is-ok .promo-check-mark { color: #7dff9f; }
.promo-check-list li.is-ok .promo-check-mark::before { content: '\2713'; }

.promo-check-list li.is-bad { background: rgba(192, 57, 43, 0.12); border-left-color: #c0392b; }
.promo-check-list li.is-bad .promo-check-mark { color: #ff9b9b; }
.promo-check-list li.is-bad .promo-check-mark::before { content: '\2717'; }
.promo-check-list li.is-bad .promo-check-desc { color: #ffbdbd; }

.promo-check-list li.is-warn { background: rgba(168, 132, 44, 0.12); border-left-color: #a8842c; }
.promo-check-list li.is-warn .promo-check-mark { color: #ffd970; }
.promo-check-list li.is-warn .promo-check-mark::before { content: '!'; }

.promo-check-list li.is-mute { border-left-color: #4a4034; }
.promo-check-list li.is-mute .promo-check-mark { color: #887755; }
.promo-check-list li.is-mute .promo-check-mark::before { content: '\00B7'; }

.promo-check-reason { margin: 8px 0 0; font-size: 12px; line-height: 1.7; color: #c9a86a; }

/* 提交按钮上方的提示：空的时候不占位 */
.promo-submit-hint { color: #ffbdbd !important; }
.promo-submit-hint:empty { display: none; }

/* ---- 槽位状态色：调亮，确保"绿/红"一眼可辨（覆盖前面的暗色旧值） ---- */
.promo-slot.is-ok   { border: 2px solid #2f9d55; box-shadow: 0 0 0 1px rgba(47, 157, 85, .28); }
.promo-slot.is-warn { border: 2px solid #a8842c; box-shadow: 0 0 0 1px rgba(168, 132, 44, .28); }
.promo-slot.is-bad  { border: 2px solid #c0392b; box-shadow: 0 0 0 1px rgba(192, 57, 43, .28); }
.promo-slot.is-ok .promo-slot-chip   { color: #7dff9f; background: rgba(47, 157, 85, .22); border-color: #2f9d55; }
.promo-slot.is-warn .promo-slot-chip { color: #ffd970; background: rgba(168, 132, 44, .22); border-color: #a8842c; }
.promo-slot.is-bad .promo-slot-chip  { color: #ff9b9b; background: rgba(192, 57, 43, .22); border-color: #c0392b; }
.promo-status-chip.is-ok  { color: #7dff9f; border-color: #2f9d55; }
.promo-status-chip.is-bad { color: #ff9b9b; border-color: #c0392b; }
.promo-query-item.is-ok   { border-color: #2f9d55; }
.promo-query-item.is-bad  { border-color: #c0392b; }
.promo-result-note.is-bad { color: #ff9b9b; }

@media (max-width: 640px) {
    /* 手机上让对话框从底部顶起来，拇指好够到按钮 */
    .promo-modal { padding: 0; align-items: flex-end; }
    .promo-modal-box {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 10px 10px 0 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
    }
    .promo-preview img { max-height: 26vh; }
    .promo-modal-foot { position: sticky; bottom: 0; background: #17120d; }
}

/* ============================================================
   全站页脚 v2 · 移动版（与 official.css 的 PC 版同一套 ftv-* 类名）
   ============================================================================
   移动模板只在本文件取页脚样式。手机天然窄屏 → 不做 PC 的三栏，
   直接品牌 / 链接 / 二维码三段堆叠居中，行高压紧。
   ★ 兼容约束与 official.css 相同：不用 var()/gap/grid/clamp()。
   ============================================================================ */
.ftv {
    background: linear-gradient(to bottom, #14100a, #0c0805);
    border-top: 1px solid rgba(212, 175, 55, .32);
    margin-top: 40px;
    padding: 20px 0 22px;
}
.ftv-inner {
    padding: 0 14px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
/* 品牌块（顶部居中） */
.ftv-brand { text-align: center; margin-bottom: 12px; }
/* 页脚 LOGO：40 → **56px**（用户 2026-09-27「顶部和底部继续放大」）。
   2:1 → 56px 高 = 112px 宽，在 480 宽的手机页里居中，占不到 1/4。
   ★ 桌面版不吃本文件，它那条在 redesign.css（70px）。 */
.ftv-logo img { display: block; height: 56px; width: auto; margin: 0 auto 6px; }
.ftv-name { font-size: 15px; font-weight: bold; letter-spacing: 3px; color: #f0d695; }
.ftv-slogan { margin-top: 3px; font-size: 11px; letter-spacing: 1px; color: #8a7a5c; }
/* 链接与法务行（居中换行） */
.ftv-main { width: 100%; text-align: center; }
.ftv-row { font-size: 13px; line-height: 2.0; }
.ftv-row a { color: #c9b285; text-decoration: none; }
.ftv-row a:hover { color: #ffd98c; }
.ftv-nav { font-size: 14px; }
.ftv-nav a { color: #e0c288; }
.ftv-corp { font-size: 12px; }
.ftv-corp a { color: #8a7a5c; }
.ftv-legal { font-size: 11px; line-height: 1.9; color: #7a6a52; }
.ftv-legal a { color: #7a6a52; }
.ftv-legal span { color: #7a6a52; }
.ftv-dot { margin: 0 6px; color: rgba(201, 162, 77, .4); }
.ftv-pipe { margin: 0 6px; color: rgba(201, 162, 77, .26); }
.ftv-notice { margin-top: 8px; font-size: 10px; line-height: 1.7; color: #6a5a44; }
/* 二维码（底部居中一排） */
.ftv-qrs {
    margin-top: 14px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.ftv-qr { display: block; width: 58px; margin-left: 14px; text-align: center; }
.ftv-qr:first-child { margin-left: 0; }
.ftv-qr img { display: block; width: 58px; height: 58px; border-radius: 4px; border: 1px solid rgba(212, 175, 55, .25); }
.ftv-qr span { display: block; margin-top: 5px; font-size: 10px; color: #8a7a5c; }
.ftv-qr-nopic {
    display: block; width: 58px; height: 58px; line-height: 58px;
    font-size: 24px; border: 1px dashed rgba(212, 175, 55, .35); border-radius: 4px;
}

/* ==========================================================================
   10. 手机版页眉：汉堡折叠（第 257 轮）
   --------------------------------------------------------------------
   动机（实测）：手机版页眉常态高 315px = **视口 44.6%**（视口 492×705），
   6 项菜单折成 3 行、每项只有 37px 高（还够不着 44px 的最小可点尺寸）。
   收成一个汉堡按钮后，页眉常态回到约 110px（≈17%），首屏一下子多出 200px。

   ★★★ 作用域为什么是 .nav-collapsible 这个**由 JS 加上**的类：
     这份文件 100% 只在手机版页面加载（手机版模板的样式链第一张），
     但"只在手机版加载"还不够 —— 收起规则必须**只在 JS 真的注入了按钮之后**
     才生效。若把它写成无条件的 `.header-nav{display:none}`，
     一旦 JS 没跑（禁用 / 报错 / 老内核），菜单就**永远打不开**，
     而那是最坏的失败模式（页面看着完好、功能全废）。
     写成 `.site-header.nav-collapsible > .header-nav` 之后：JS 没跑 ⇒ 没有这个类
     ⇒ 这一段整段不命中 ⇒ .header-nav 退回上面第 3 节的 display:flex 全展开。
     —— 折叠是纯增强，不是页面能不能用的前提。

   ★ 为什么只认 .site-header 与它的**直接子代** .header-nav / .nav-toggle：
     手机版是扁平结构 .site-header > (.main-logo + .header-slogan + nav.header-nav)，
     桌面版是 .site-header > .header-inner > (.header-left + nav)。
     用"直接子代"这条就天然把桌面版排在外（桌面版的 nav 埋在 .header-inner 里），
     与 legend-layout.css 第 1b 节、「polish.css 第 348 行」同一套判据。
     ★ 本文件若加了桌面页眉规则，那是 bug —— 桌面页眉不加载本文件。

   ★ 特异性：下面每条都带 .site-header.nav-collapsible（(0,2,0) 起），
     展开态再叠 .is-nav-open（(0,3,0) 起）→ 压得住 legend.css /
     legend-layout.css / legend-motion.css 里那些 .header-nav .nav-sub 之类的
     (0,2,0)/(0,3,0) 规则（那三张表在本文件**之后**加载，同特异性时后写的赢，
     所以这里必须靠**更高的特异性**取胜，不能靠顺序）。
   ========================================================================== */
.site-header.nav-collapsible {
    position: relative;
    /* 展开时整条页眉（含抽屉、遮罩层之下）要压在正文之上；
       实测页面里最高的装饰层是 .lg-hero 那串 z-index ≤ 3。 */
    z-index: 60;
}
/* 汉堡按钮：44×44（移动端最小可点目标），贴页眉右上角。
   ★ 用 absolute 而不是参与文档流：logo / 口号是 text-align:center 居中的，
     插一个块级按钮会把它们挤偏。 */
.site-header.nav-collapsible > .nav-toggle {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 2px solid #b88646;
    border-radius: 3px;
    background: #261a10;
    cursor: pointer;
    z-index: 3;
    -webkit-tap-highlight-color: transparent;
}
.site-header.nav-collapsible > .nav-toggle .nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: #d4af67;
    border-radius: 1px;
    -webkit-transition: -webkit-transform .2s ease, opacity .2s ease;
    transition: transform .2s ease, opacity .2s ease;
}
/* 展开时三横线变 X（只动 transform / opacity，不碰布局属性） */
.site-header.nav-collapsible.is-nav-open > .nav-toggle .nav-toggle-bar:nth-child(1) {
    -webkit-transform: translateY(6px) rotate(45deg);
    transform: translateY(6px) rotate(45deg);
}
.site-header.nav-collapsible.is-nav-open > .nav-toggle .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.site-header.nav-collapsible.is-nav-open > .nav-toggle .nav-toggle-bar:nth-child(3) {
    -webkit-transform: translateY(-6px) rotate(-45deg);
    transform: translateY(-6px) rotate(-45deg);
}
/* 收起态：菜单整条不显示（**只在这个类存在时**，见上面渐进增强说明） */
.site-header.nav-collapsible > .header-nav { display: none; }
/* 展开态：覆盖式抽屉，从页眉下沿铺开，不推挤正文（不产生布局跳动） */
.site-header.nav-collapsible.is-nav-open > .header-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px 10px 12px;
    z-index: 2;
    background: #120c08;
    border-bottom: 2px solid #2a1f15;
    text-align: left;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
/* 展开态：菜单项竖排、整行可点、44px 高（顺手把 37px 提到达标尺寸） */
.site-header.nav-collapsible.is-nav-open > .header-nav .nav-item {
    display: block;
    margin: 0 0 6px;
}
.site-header.nav-collapsible.is-nav-open > .header-nav .nav-btn {
    display: block;
    min-height: 44px;
    margin: 0;
    padding: 0 14px;
    line-height: 40px;     /* 44 - 上下各 2px 边框 = 40，文字正好居中 */
    text-align: left;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
/* 子菜单（「游戏介绍」下面那条）：展开态改竖排、缩进一级。
   ★ 必须连 position / display / background 一起覆盖：
     legend.css 第 4b 节在 ≤1120px 把它摊平成"一排小按钮"（position:static +
     display:inline-block），而 >1120px 时它又是 absolute + display:none 的
     hover 面板 —— 手机版页眉在任何宽度下都该是竖排，两种都得压掉。 */
.site-header.nav-collapsible.is-nav-open > .header-nav .nav-sub {
    position: static;
    display: block;
    min-width: 0;
    margin: 6px 0 0;
    padding: 0 0 0 10px;
    background-color: transparent;
    background-image: none;
    border: 0;
    box-shadow: none;
    z-index: auto;
}
.site-header.nav-collapsible.is-nav-open > .header-nav .nav-sub-btn {
    display: block;
    min-height: 44px;
    margin: 0 0 4px;
    padding: 0 14px;
    line-height: 42px;     /* 44 - 上下各 1px 边框 */
    text-align: left;
    background-color: rgba(30, 21, 11, .72);
    background-image: none;
    border: 1px solid rgba(109, 84, 32, .85);
    border-radius: 3px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
/* 登录 / 注册入口：它在 nav 内部（renderSiteMenu 末尾追加），收起后会被一起藏起来
   ⇒ 展开态给它单独一行、同样 44px 高（原来只有 24px，也够不着）。 */
.site-header.nav-collapsible.is-nav-open > .header-nav .nav-user {
    display: block;
    min-height: 44px;
    margin: 0;
    padding: 0 14px;
    line-height: 44px;
    text-align: left;
}
/* 遮罩：由 legend.js 注入到 <body>（页眉之外）。
   ★ 放在 body 下而不是页眉里：页眉内还有 logo / 口号，遮罩 fixed 全屏会盖住它们；
     header 的 z-index:60 高于这里的 50，于是"页眉 > 遮罩 > 正文"顺序成立。 */
body > .nav-scrim {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    background: rgba(6, 4, 2, .58);
}
body.nav-scrim-on > .nav-scrim { display: block; }

/* ==========================================================================
   11. 手机版页脚：可点目标补到 44×44（第 258 轮）
   --------------------------------------------------------------------
   动机（实测，视口 492×705，5 个手机页）：
   页眉收好之后（第 257 轮），页脚成为手机版 tapBad 的**唯一**来源 ——
   14 个 <44×44，5 页一模一样（同一段页脚）。逐个实测：
     .ftv-nav   福利领取/游戏下载/最新资讯 = 56×14、.ftv-switch 电脑版 = 42×14
     .ftv-corp  关于我们…自律公约 = 48×12
     .ftv-legal 蜀ICP备… = 105×11、文化市场举报平台 = 88×11、
                互联网文化经营单位 = 99×11、996传奇盒子引擎 = 83×11
   —— 全是"字有多宽、可点区就只有多宽"的行内文字链，高只有 11~14px。

   ★★★ 作用域＝"只改本文件"：css/mobile.css **只有手机版模板加载**
     （home_m / down_m / list_m / detail_m / forum_m 等，见各模板 <head>），
     PC 模板的样式链里没有它 ⇒ PC 页脚**一行都不受影响**（不需要媒体查询、
     也不需要 :not()/body 类那类"猜页面结构"的作用域）。
     实测确认：--pc 三页 .ftv-row a 逐项与改前一致。

   ★ 为什么不用 !important：全站给 .ftv-row a 定 display/line-height 的
     只有本文件这一处（polish.css 的 .ftv-legal a/.ftv-corp a 只写 color，
     redesign.css 那套 PC 页脚本文件之后加载但手机版根本不加载）
     ⇒ 没有竞争者，按"顺序＋同特异性"就够。

   ★ 只动"盒子"，不动配色/字号：颜色由 polish.css 第 2 节那套对比度修正
     统一管（#9c8c6e / #a8997e / #8a7a5e），本轮一个字不碰
     —— 页脚小字对比度是另一条线，混进来会把两条线搅在一起。

   ★ 代价（实测，不是估算）：页脚 508 → **622px**，文档高 +114px。
     .ftv-nav 28→52、.ftv-corp 24→52、.ftv-legal 42→104（仍是 2 行，
     只是每行由 21px 抬到 44px，行间各留 4px）。**折行数没变**，
     多出来的全是行高与行距。页脚在页面最尾部，长高不会把上面任何
     东西挤动（与 polish.css 3a 节放大二维码时同一性质）。

   ★★ 为什么每条链接还要 margin: 4px 0（而不是只把盒子做到 44 就完事）：
     只做 44px 的话，**上下两行的链接盒子直接贴在一起（纵向间距 0）**，
     实测 home 页有 **11 对**链接"横向有交集 且 纵向 gap=0"
     （福利领取/关于我们、游戏下载/商务合作…）—— 拇指点在交界线上会点错，
     是**新引入**的误触风险（改前每行只有 21px 行盒、天然有间隙）。
     上下各 4px ⇒ 相邻链接隔 8px。实测 11 → **0**。
     ★ 注意 r255 探针的 `tight` 指标**不查横向交集**，会把上下两行里
       根本不同列的链接也配成一对（噪声）⇒ 本轮改用**真矩形相交**复核
       （见 `_tmp/r258_probe_footer.py` 的 `ADJ` 段）。
   ========================================================================== */
.ftv-row a {
    display: inline-block;
    min-height: 44px;
    min-width: 44px;
    /* 行高＝高度 ⇒ 文字在这 44px 盒子里垂直居中；overflow 不裁字。 */
    line-height: 44px;
    text-align: center;
    /* 与旁边的 · / | 对齐到同一条中线（否则分隔符会浮到行顶）。 */
    vertical-align: middle;
    /* 上下各 4px：让相邻行 / 折行之间的可点盒子隔开 8px（理由见上）。 */
    margin: 4px 0;
}
.ftv-row .ftv-dot,
.ftv-row .ftv-pipe,
.ftv-legal span { vertical-align: middle; }
