/* 弹窗表单补充样式（m 站原始 CSS 中 .app_on / .grid-21 input / .tan-btn 缺失，此处补齐，保持与 .jm-form-btn 同款红色 CTA） */

/* 关闭按钮：定位到卡片右上角 */
.m-jiameng .app_on {
    position: absolute;
    top: 14px;
    right: 18px;
    z-index: 20;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
    color: #fff !important;
    background: rgba(0,0,0,0.25);
    border-radius: 50%;
    cursor: pointer;
}
.m-jiameng .app_on:hover { background: rgba(215,12,25,0.85); }

/* 弹窗输入框：白底圆角，与主表单风格一致 */
.m-jiameng .grid-21 input[type="text"] {
    width: 100%;
    height: 52px;
    line-height: 52px;
    padding: 0 14px;
    box-sizing: border-box;
    border: 1px solid #e3c200;
    border-radius: 6px;
    background: #fff;
    font-size: 16px;
    color: #333;
    outline: none;
}
.m-jiameng .grid-21 input[type="text"]:focus { border-color: #d70c19; }

/* 弹窗提交按钮：同主表单 .jm-form-btn 红色 CTA */
.m-jiameng .tan-btn {
    display: block;
    width: 100%;
    margin: 22px auto 0;
    line-height: 60px;
    background: #d70c19;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-family: 'myFont_M';
    font-size: 24px;
    cursor: pointer;
    transition: color .3s;
}
.m-jiameng .tan-btn:hover { color: #fbe00e; }

/* 移动端：弹窗卡片缩窄、表单改为常态流布局避免溢出 */
@media (max-width: 768px) {
    .m-jiameng .index_bj_box1 {
        width: 92%;
        max-width: 360px;
        height: auto;
        min-height: 460px;
        background-size: cover;
        background-position: center;
    }
    .m-jiameng .form-tan .tk-form {
        position: static;
        margin: 60px auto 0;
        width: 86%;
        left: auto;
        top: auto;
    }
    .m-jiameng .grid-21 { grid-template-columns: 1fr; }
    .m-jiameng .tan-btn { font-size: 20px; line-height: 52px; }
}
