/* 朋友圈营销卡片生成器 - 复刻自参考站结构，收敛到 .mkt-scope 作用域，避免与主题通用类名冲突 */

.mkt-scope .tool-content {
    box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.01);
    border: 1px solid #e5e5e5;
    border-radius: .6em;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

/* 左侧操作栏 */
.mkt-scope .market-operate {
    flex: 2 1 460px;
    min-width: 0;
    background-color: #f8f9ff;
    border-left: solid 1px #e5e5e5;
}

.mkt-scope .market-operate > label {
    font-weight: bold;
    display: block;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    text-align: center;
    font-size: 15px;
    line-height: 50px;
}

.mkt-scope .menu-operate {
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding: 1em;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.mkt-scope .menu-operate .input-group {
    display: flex;
    align-items: center;
    justify-content: start;
    flex-wrap: nowrap;
    width: 100%;
    gap: 0 12px;
}

.mkt-scope .menu-operate .input-group > label {
    min-width: 70px;
    text-align: right;
    color: #333;
}

/* 发布日期 + 发布时间 同一行 */
.mkt-scope .menu-operate .mkt-row { gap: 0 16px; }
.mkt-scope .menu-operate .mkt-row .mkt-field {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    gap: 0 12px;
}
.mkt-scope .menu-operate .mkt-row .mkt-field > label {
    min-width: 70px;
    text-align: right;
    color: #333;
    flex-shrink: 0;
}
.mkt-scope .menu-operate .mkt-row .mkt-field .input-text {
    flex: 1;
    min-width: 0;
}

.mkt-scope .menu-operate .card-group {
    display: flex;
    align-items: center;
    justify-content: start;
    flex-wrap: nowrap;
    gap: 0.7em;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
}

.mkt-scope .menu-operate .card-group .card-item {
    position: relative;
    flex: 0 0 calc(25% - 0.525em);
    width: calc(25% - 0.525em);
    cursor: pointer;
    border-radius: 7px;
    overflow: hidden;
}

.mkt-scope .menu-operate .card-group .card-item img {
    display: block;
    width: 100%;
    height: auto;
}

.mkt-scope .menu-operate .card-group .card-item:hover::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(90, 77, 248, 0.3);
    border-radius: 7px;
    pointer-events: none;
    z-index: 1;
}

/* 选中：蒙版 + 中间对勾图标 */
.mkt-scope .menu-operate .card-group .card-active::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(90, 77, 248, 0.3);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath d='M512 0a512 512 0 1 0 512 512A512 512 0 0 0 512 0z' fill='%236558f8'/%3E%3Cpath d='M477 685l-56 57-183-184 57-56 126 126 263-263 56 56z' fill='%23ffffff'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 28% 28%;
    border-radius: 7px;
    pointer-events: none;
    z-index: 1;
}

/* 按钮 */
.mkt-scope .btn {
    outline: none;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 12px;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
}

.mkt-scope .btn-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.mkt-scope .btn-red {
    color: #fff;
    background-color: rgb(242 55 55 / 95%);
    border-color: rgb(242 55 55 / 95%);
}

.mkt-scope .btn-red svg {
    fill: #fff;
}

/* 下拉框 */
.mkt-scope .menu-operate .input-group .mkt-select {
    position: relative;
    flex: 1;
    min-width: 0;
}

.mkt-scope .menu-operate .input-group .mkt-select button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 10px;
    gap: 0 6px;
    width: 100%;
    height: 38px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 7px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.mkt-scope .menu-operate .input-group .select-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: max-content;
    min-width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 7px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    list-style: none;
    margin: 0;
    padding: 2px 0;
    white-space: nowrap;
}

.mkt-scope .select-dropdown li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin: 3px 5px;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    color: #333;
    font-size: 13.7px;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.mkt-scope .select-dropdown li:hover,
.mkt-scope .select-dropdown li[aria-selected="true"] {
    background-color: #f5f5f5;
}

.mkt-scope .select-dropdown li .check-icon {
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    opacity: 0;
    display: block !important;
}

.mkt-scope .select-dropdown li[aria-selected="true"] .check-icon {
    opacity: 1;
}

/* 星期中英文切换勾选框 */
.mkt-scope .menu-operate .mkt-week-toggle {
    position: relative;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin: 0 2px 0 -2px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mkt-scope .menu-operate .mkt-week-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #5a4df8;
}

.mkt-scope .menu-operate .mkt-week-toggle .mkt-tooltip {
    position: absolute;
    bottom: calc(100% + 6px);
    right: 0;
    background-color: #333;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12.3px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

.mkt-scope .menu-operate .mkt-week-toggle:hover .mkt-tooltip {
    opacity: 1;
}

/* 范围框 */
.mkt-scope .menu-operate .input-group .input-range {
    width: 100%;
    height: 5px;
    background-color: #d6d1ff;
    border-radius: 2px;
    -webkit-appearance: none;
    appearance: none;
}

.mkt-scope .menu-operate .input-group .input-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #f5f4ff;
    cursor: pointer;
    border: 3px solid #887eff;
    box-shadow: 0 0 3px 3px rgb(226 223 255 / 20%);
}

/* 输入框 */
.mkt-scope .menu-operate .input-group .input-text {
    display: flex;
    flex: 1;
    height: 40px;
    border: solid 1px #ddd;
    background-color: #fff;
    padding: 0 12px;
    border-radius: 7px;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    outline: none;
    font-size: 14px;
    color: #333;
    box-shadow: inset 0 1px 4px rgb(211 198 255 / 20%), 0 0 0 2px rgba(224, 224, 224, 0.1);
}

.mkt-scope .menu-operate .input-group .input-text:focus {
    border-color: #5a4df8;
    background-color: #f8f7fd;
    box-shadow: inset 0 1px 4px rgba(90, 77, 248, 0.2), 0 0 0 2px rgba(90, 77, 248, 0.1);
}

/* 用户头像 */
.mkt-scope .menu-operate .input-group .avatar-options {
    display: flex;
    align-items: center;
    justify-content: start;
    flex-wrap: wrap;
    gap: 7px;
}

.mkt-scope .menu-operate .input-group .avatar-options .avatar-option {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    object-fit: cover;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.mkt-scope .menu-operate .input-group .avatar-options .avatar-option:hover img {
    border: solid 2px #8278ff;
}

.mkt-scope .menu-operate .input-group .avatar-options .avatar-option input[type="radio"] {
    display: none;
}

.mkt-scope .menu-operate .input-group .avatar-options .avatar-option input[type="radio"]:checked + img {
    border: solid 2px #8278ff;
}

.mkt-scope .menu-operate .input-group .avatar-options .avatar-option img {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 0 5px 0 rgb(0 0 0 / 20%);
    transition: border-color 0.2s;
}

.mkt-scope .menu-operate .input-group .avatar-options .avatar-upload {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: solid 2px #fff;
    background-color: #ccd3ff;
    box-shadow: 0 0 5px 0 rgb(0 0 0 / 20%);
    transition: border-color 0.2s ease;
}

.mkt-scope .menu-operate .input-group .avatar-options .avatar-upload:hover {
    background-color: #bac3fc;
}

.mkt-scope .menu-operate .market-label {
    margin-top: 1em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
    position: relative;
    color: #333;
}

/* 富文本框 */
.mkt-scope .menu-operate .input-textarea {
    border: solid 1px #ddd;
    background-color: #fff;
    box-shadow: inset 0 1px 4px rgb(211 198 255 / 20%), 0 0 0 2px rgba(224, 224, 224, 0.1);
    width: 100%;
    min-height: 50px;
    line-height: 25px;
    padding: 6px 12px;
    border-radius: 7px;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    outline: none;
    font-size: 15px;
    color: #333;
    resize: vertical;
    display: block;
}

.mkt-scope .menu-operate .input-textarea:focus {
    border-color: #5a4df8;
    background-color: #f8f7fd;
    box-shadow: inset 0 1px 4px rgba(90, 77, 248, 0.2), 0 0 0 2px rgba(90, 77, 248, 0.1);
}

.mkt-scope .market-preview > label {
    font-weight: bold;
    display: block;
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    text-align: center;
    font-size: 15px;
    line-height: 50px;
}

.mkt-scope .market-preview {
    flex: 1 1 440px;
    margin-bottom: 1em;
}

.mkt-scope .market-wrapper {
    width: 100%;
    max-width: 520px;
    height: auto;
    margin: 0 auto;
}

.mkt-scope .market-container {
    width: 500px;
    height: 650px;
    margin: auto;
    overflow: hidden;
    position: relative;
}

.mkt-scope .market-container .image-preview {
    width: 500px;
    height: 650px;
    position: relative;
}

/* 卡片1 */
.mkt-scope .market-container .card-1 {
    background-color: #fdb4c7;
    padding: 27px;
}
.mkt-scope .market-container .card-1 .card-main {
    width: 100%;
    height: 100%;
    background-color: #000;
    border-radius: 30px;
    padding: 25px 30px;
}
.mkt-scope .market-container .card-1 .card-main .card-user { width: 100%; overflow: hidden; }
.mkt-scope .market-container .card-1 .card-main .card-user .card-avatar { float: left; margin-right: 10px; }
.mkt-scope .market-container .card-1 .card-main .card-user .card-avatar img { display: block; width: 55px; height: 55px; border-radius: 50%; }
.mkt-scope .market-container .card-1 .card-main .card-user .card-userinfo { float: left; }
.mkt-scope .market-container .card-1 .card-main .card-user .card-userinfo .card-nickname { color: #fff; font-size: 17px; height: 30px; }
.mkt-scope .market-container .card-1 .card-main .card-content {
    font-size: 38px; color: #fff; height: 415px;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif;
    font-weight: 600; margin: 20px 0;
}
.mkt-scope .market-container .card-1 .card-main .card-content span { color: #ff83a3; }
.mkt-scope .market-container .card-1 .card-main .card-user .card-userinfo .card-date { color: #999; }
.mkt-scope .market-container .card-1 .card-main .card-other .card-time,
.mkt-scope .market-container .card-1 .card-main .card-other .card-week { font-size: 13px; color: #777; font-weight: 600; }
.mkt-scope .market-container .card-1 .card-main .card-qrcode {
    width: 72px; height: 72px; background-color: #fff; padding: 6px;
    position: absolute; right: 55px; bottom: 55px;
}

/* 卡片2 */
.mkt-scope .market-container .card-2 {
    background: #fff url("/assets/img/marketing_card/bg-card-2.jpeg") no-repeat center;
    background-size: 100%;
}
.mkt-scope .market-container .card-2 .card-main { width: 100%; height: 100%; padding: 25px 55px; }
.mkt-scope .market-container .card-2 .card-main .card-user { width: 100%; overflow: hidden; }
.mkt-scope .market-container .card-2 .card-main .card-user .card-avatar { float: left; margin-right: 10px; }
.mkt-scope .market-container .card-2 .card-main .card-user .card-avatar img { display: block; width: 55px; height: 55px; border-radius: 50%; }
.mkt-scope .market-container .card-2 .card-main .card-user .card-userinfo { float: left; }
.mkt-scope .market-container .card-2 .card-main .card-user .card-userinfo .card-nickname { font-size: 17px; height: 28px; font-weight: 600; margin-top: 3px; }
.mkt-scope .market-container .card-2 .card-main .card-content {
    font-size: 38px; height: 430px;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif;
    font-weight: 600; margin: 40px 20px 45px;
}
.mkt-scope .market-container .card-2 .card-main .card-content span { color: #0c9e52; }
.mkt-scope .market-container .card-2 .card-main .card-user .card-userinfo .card-date { font-weight: 600; }
.mkt-scope .market-container .card-2 .card-main .card-other .card-time { font-size: 13px; font-weight: 600; float: left; margin-left: 135px; }
.mkt-scope .market-container .card-2 .card-main .card-other .card-week { font-size: 13px; font-weight: 600; float: left; margin-left: 20px; }
.mkt-scope .market-container .card-2 .card-main .card-qrcode {
    width: 72px; height: 72px; background-color: #fff; padding: 6px;
    position: absolute; right: 60px; bottom: 80px;
}

/* 卡片3 */
.mkt-scope .market-container .card-3 {
    background: #fff url("/assets/img/marketing_card/bg-card-3.png") no-repeat center;
    background-size: 100%;
}
.mkt-scope .market-container .card-3 .card-main { width: 100%; height: 100%; padding: 25px 55px; }
.mkt-scope .market-container .card-3 .card-main .card-user { width: 100%; overflow: hidden; }
.mkt-scope .market-container .card-3 .card-main .card-user .card-avatar { float: left; margin-right: 10px; }
.mkt-scope .market-container .card-3 .card-main .card-user .card-avatar img { display: block; width: 55px; height: 55px; border-radius: 50%; }
.mkt-scope .market-container .card-3 .card-main .card-user .card-userinfo { float: left; }
.mkt-scope .market-container .card-3 .card-main .card-user .card-userinfo .card-nickname { font-size: 17px; height: 28px; font-weight: 600; margin-top: 3px; }
.mkt-scope .market-container .card-3 .card-main .card-content {
    font-size: 38px; height: 430px;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif;
    font-weight: 600; margin: 40px 20px 45px;
}
.mkt-scope .market-container .card-3 .card-main .card-content span { color: rgb(93 79 248 / 95%); }
.mkt-scope .market-container .card-3 .card-main .card-user .card-userinfo .card-date { font-weight: 600; }
.mkt-scope .market-container .card-3 .card-main .card-other .card-time { font-size: 13px; font-weight: 600; float: left; margin-left: 135px; }
.mkt-scope .market-container .card-3 .card-main .card-other .card-week { font-size: 13px; font-weight: 600; float: left; margin-left: 20px; }
.mkt-scope .market-container .card-3 .card-main .card-qrcode {
    width: 72px; height: 72px; background-color: #fff; padding: 6px;
    position: absolute; right: 60px; bottom: 80px;
}

/* 卡片4 */
.mkt-scope .market-container .card-4 {
    background: #fff url("/assets/img/marketing_card/bg-card-4.jpeg") no-repeat center;
    background-size: 100%;
}
.mkt-scope .market-container .card-4 .card-main { width: 100%; height: 100%; padding: 25px 55px; }
.mkt-scope .market-container .card-4 .card-main .card-user { width: 100%; overflow: hidden; }
.mkt-scope .market-container .card-4 .card-main .card-user .card-avatar { float: left; margin-right: 10px; }
.mkt-scope .market-container .card-4 .card-main .card-user .card-avatar img { display: block; width: 55px; height: 55px; border-radius: 50%; }
.mkt-scope .market-container .card-4 .card-main .card-user .card-userinfo { float: left; }
.mkt-scope .market-container .card-4 .card-main .card-user .card-userinfo .card-nickname { font-size: 17px; height: 28px; font-weight: 600; margin-top: 3px; }
.mkt-scope .market-container .card-4 .card-main .card-content {
    font-size: 38px; height: 430px;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif;
    font-weight: 600; margin: 45px 20px;
}
.mkt-scope .market-container .card-4 .card-main .card-content span { color: rgb(33 112 240); }
.mkt-scope .market-container .card-4 .card-main .card-user .card-userinfo .card-date { font-weight: 600; }
.mkt-scope .market-container .card-4 .card-main .card-other .card-time { font-size: 13px; font-weight: 600; float: left; margin-left: 135px; }
.mkt-scope .market-container .card-4 .card-main .card-other .card-week { font-size: 13px; font-weight: 600; float: left; margin-left: 20px; }
.mkt-scope .market-container .card-4 .card-main .card-qrcode {
    width: 72px; height: 72px; background-color: #fff; padding: 6px;
    position: absolute; right: 60px; bottom: 80px;
}

/* 卡片5 */
.mkt-scope .market-container .card-5 { background-color: #c2f5b2; }
.mkt-scope .market-container .card-5 .card-main { width: 100%; height: 100%; }
.mkt-scope .market-container .card-5 .card-main .card-week {
    color: #e3fadd; font-size: 80px; font-weight: 900; text-align: center; line-height: 150px;
}
.mkt-scope .market-container .card-5 .card-main .card-user { width: 100%; overflow: hidden; margin-left: 40px; }
.mkt-scope .market-container .card-5 .card-main .card-user .card-avatar { float: left; margin-right: 10px; }
.mkt-scope .market-container .card-5 .card-main .card-user .card-avatar img { display: block; width: 55px; height: 55px; border-radius: 50%; }
.mkt-scope .market-container .card-5 .card-main .card-user .card-userinfo { float: left; }
.mkt-scope .market-container .card-5 .card-main .card-user .card-userinfo .card-nickname { font-size: 17px; height: 28px; font-weight: 600; margin-top: 3px; }
.mkt-scope .market-container .card-5 .card-main .card-user .card-userinfo .card-date-time .card-date,
.mkt-scope .market-container .card-5 .card-main .card-user .card-userinfo .card-date-time .card-time { float: left; margin-right: 10px; }
.mkt-scope .market-container .card-5 .card-main .card-content {
    font-size: 38px; height: 430px;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif;
    font-weight: 600; margin: 10px 70px;
}
.mkt-scope .market-container .card-5 .card-main .card-content span { color: rgb(0 192 109); }
.mkt-scope .market-container .card-5 .card-main .card-qrcode {
    width: 72px; height: 72px; background-color: #fff; padding: 6px;
    position: absolute; right: 40px; bottom: 40px;
}

/* 卡片6 */
.mkt-scope .market-container .card-6 {
    background: #fff url("/assets/img/marketing_card/bg-card-7.png") no-repeat center;
    background-size: 100%;
}
.mkt-scope .market-container .card-6 .card-main { width: 100%; height: 100%; padding: 30px 55px; }
.mkt-scope .market-container .card-6 .card-main .card-user { width: 100%; overflow: hidden; }
.mkt-scope .market-container .card-6 .card-main .card-user .card-avatar { float: left; margin-right: 10px; }
.mkt-scope .market-container .card-6 .card-main .card-user .card-avatar img { display: block; width: 55px; height: 55px; border-radius: 50%; }
.mkt-scope .market-container .card-6 .card-main .card-user .card-userinfo { float: left; }
.mkt-scope .market-container .card-6 .card-main .card-user .card-userinfo .card-nickname { font-size: 17px; height: 28px; font-weight: 600; margin-top: 3px; }
.mkt-scope .market-container .card-6 .card-main .card-content {
    font-size: 38px; height: 440px;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif;
    font-weight: 600; margin: 40px 20px 45px;
}
.mkt-scope .market-container .card-6 .card-main .card-content span { color: #ea9d00; }
.mkt-scope .market-container .card-6 .card-main .card-user .card-userinfo .card-date { font-weight: 600; }
.mkt-scope .market-container .card-6 .card-main .card-other .card-time { font-size: 13px; font-weight: 600; float: left; margin-left: 135px; }
.mkt-scope .market-container .card-6 .card-main .card-other .card-week { font-size: 13px; font-weight: 600; float: left; margin-left: 20px; }
.mkt-scope .market-container .card-6 .card-main .card-qrcode {
    width: 72px; height: 72px; background-color: #fff; padding: 6px;
    position: absolute; right: 37px; bottom: 80px;
}

/* 卡片7 */
.mkt-scope .market-container .card-7 {
    background: #fff url("/assets/img/marketing_card/bg-card-6.png") no-repeat center;
    background-size: 100%;
}
.mkt-scope .market-container .card-7 .card-main { width: 100%; height: 100%; padding: 25px 55px; }
.mkt-scope .market-container .card-7 .card-main .card-user { width: 100%; overflow: hidden; margin: 40px 0 0 80px; }
.mkt-scope .market-container .card-7 .card-main .card-user .card-avatar { float: left; margin-right: 10px; }
.mkt-scope .market-container .card-7 .card-main .card-user .card-avatar img { display: block; width: 55px; height: 55px; border-radius: 50%; }
.mkt-scope .market-container .card-7 .card-main .card-user .card-userinfo { float: left; }
.mkt-scope .market-container .card-7 .card-main .card-user .card-userinfo .card-nickname { font-size: 17px; height: 28px; font-weight: 600; margin-top: 3px; }
.mkt-scope .market-container .card-7 .card-main .card-content {
    font-size: 38px; height: 360px;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif;
    font-weight: 600; margin: 40px 20px;
}
.mkt-scope .market-container .card-7 .card-main .card-content span { color: rgb(7 150 87); }
.mkt-scope .market-container .card-7 .card-main .card-user .card-userinfo .card-date { font-weight: 600; }
.mkt-scope .market-container .card-7 .card-main .card-other { position: absolute; bottom: 4px; right: 15px; }
.mkt-scope .market-container .card-7 .card-main .card-other .card-time { font-size: 13px; font-weight: 600; float: left; margin-left: 135px; }
.mkt-scope .market-container .card-7 .card-main .card-other .card-week { font-size: 13px; font-weight: 600; float: left; margin-left: 20px; }
.mkt-scope .market-container .card-7 .card-main .card-qrcode {
    width: 72px; height: 72px; background-color: #fff; padding: 6px;
    position: absolute; right: 55px; bottom: 60px;
}

/* 卡片8 */
.mkt-scope .market-container .card-8 {
    background: #fff url("/assets/img/marketing_card/bg-card-8.png") no-repeat center;
    background-size: 100%;
}
.mkt-scope .market-container .card-8 .card-main { width: 100%; height: 100%; padding: 70px 55px; }
.mkt-scope .market-container .card-8 .card-main .card-user { width: 100%; overflow: hidden; }
.mkt-scope .market-container .card-8 .card-main .card-user .card-avatar { float: left; margin-right: 10px; }
.mkt-scope .market-container .card-8 .card-main .card-user .card-avatar img { display: block; width: 55px; height: 55px; border-radius: 50%; }
.mkt-scope .market-container .card-8 .card-main .card-user .card-userinfo { float: left; }
.mkt-scope .market-container .card-8 .card-main .card-user .card-userinfo .card-nickname { font-size: 17px; height: 28px; font-weight: 600; margin-top: 3px; }
.mkt-scope .market-container .card-8 .card-main .card-content {
    font-size: 38px; height: 415px;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif;
    font-weight: 600; margin: 10px 0 0;
}
.mkt-scope .market-container .card-8 .card-main .card-content span { color: #ea9d00; }
.mkt-scope .market-container .card-8 .card-main .card-user .card-userinfo .card-date { font-weight: 600; }
.mkt-scope .market-container .card-8 .card-main .card-other .card-time { font-size: 13px; font-weight: 600; float: left; margin-left: 135px; }
.mkt-scope .market-container .card-8 .card-main .card-other .card-week { font-size: 13px; font-weight: 600; float: left; margin-left: 20px; }
.mkt-scope .market-container .card-8 .card-main .card-qrcode {
    width: 72px; height: 72px; background-color: #fff; padding: 6px;
    position: absolute; right: 15px; bottom: 12px;
    transform: rotate(-13deg);
}

/* 使用说明 / 常见问题 */
.mkt-help { margin-top: 24px; }
.mkt-help .help-section { margin-bottom: 22px; }
.mkt-help .help-section h2 {
    font-size: 18px; font-weight: 700; color: #333;
    display: flex; align-items: center; gap: 6px; margin-bottom: 10px;
}
.mkt-help .help-section > p { color: #444; line-height: 1.9; margin: 6px 0; }
.mkt-help .faq-item { margin-bottom: 14px; }
.mkt-help .faq-item h3 { font-size: 15px; font-weight: 600; color: #333; margin-bottom: 4px; }
.mkt-help .faq-item p { color: #555; line-height: 1.9; margin: 0; }

/* ============ 纯 CSS 渐变卡片（9~14，不依赖图片资源） ============ */
/* 通用结构：与普通模板一致 */
.mkt-scope .market-container .card-9 .card-main,
.mkt-scope .market-container .card-10 .card-main,
.mkt-scope .market-container .card-11 .card-main,
.mkt-scope .market-container .card-12 .card-main,
.mkt-scope .market-container .card-13 .card-main,
.mkt-scope .market-container .card-14 .card-main {
    width: 100%; height: 100%; padding: 40px 45px; position: relative;
}
.mkt-scope .market-container .card-9 .card-user,
.mkt-scope .market-container .card-10 .card-user,
.mkt-scope .market-container .card-11 .card-user,
.mkt-scope .market-container .card-12 .card-user,
.mkt-scope .market-container .card-13 .card-user,
.mkt-scope .market-container .card-14 .card-user { width: 100%; overflow: hidden; }
.mkt-scope .market-container .card-9 .card-avatar,
.mkt-scope .market-container .card-10 .card-avatar,
.mkt-scope .market-container .card-11 .card-avatar,
.mkt-scope .market-container .card-12 .card-avatar,
.mkt-scope .market-container .card-13 .card-avatar,
.mkt-scope .market-container .card-14 .card-avatar { float: left; margin-right: 12px; }
.mkt-scope .market-container .card-9 .card-avatar img,
.mkt-scope .market-container .card-10 .card-avatar img,
.mkt-scope .market-container .card-11 .card-avatar img,
.mkt-scope .market-container .card-12 .card-avatar img,
.mkt-scope .market-container .card-13 .card-avatar img,
.mkt-scope .market-container .card-14 .card-avatar img {
    display: block; width: 56px; height: 56px; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
}
.mkt-scope .market-container .card-9 .card-userinfo,
.mkt-scope .market-container .card-10 .card-userinfo,
.mkt-scope .market-container .card-11 .card-userinfo,
.mkt-scope .market-container .card-12 .card-userinfo,
.mkt-scope .market-container .card-13 .card-userinfo,
.mkt-scope .market-container .card-14 .card-userinfo { float: left; }
.mkt-scope .market-container .card-9 .card-nickname,
.mkt-scope .market-container .card-10 .card-nickname,
.mkt-scope .market-container .card-11 .card-nickname,
.mkt-scope .market-container .card-12 .card-nickname,
.mkt-scope .market-container .card-13 .card-nickname,
.mkt-scope .market-container .card-14 .card-nickname { font-size: 18px; height: 30px; font-weight: 700; }
.mkt-scope .market-container .card-9 .card-content,
.mkt-scope .market-container .card-10 .card-content,
.mkt-scope .market-container .card-11 .card-content,
.mkt-scope .market-container .card-12 .card-content,
.mkt-scope .market-container .card-13 .card-content,
.mkt-scope .market-container .card-14 .card-content {
    font-size: 38px; height: 420px; margin: 30px 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", sans-serif;
    font-weight: 600; line-height: 1.5;
}
.mkt-scope .market-container .card-9 .card-other .card-time,
.mkt-scope .market-container .card-9 .card-other .card-week,
.mkt-scope .market-container .card-10 .card-other .card-time,
.mkt-scope .market-container .card-10 .card-other .card-week,
.mkt-scope .market-container .card-11 .card-other .card-time,
.mkt-scope .market-container .card-11 .card-other .card-week,
.mkt-scope .market-container .card-12 .card-other .card-time,
.mkt-scope .market-container .card-12 .card-other .card-week,
.mkt-scope .market-container .card-13 .card-other .card-time,
.mkt-scope .market-container .card-13 .card-other .card-week,
.mkt-scope .market-container .card-14 .card-other .card-time,
.mkt-scope .market-container .card-14 .card-other .card-week {
    font-size: 13px; font-weight: 600; float: left; opacity: 0.85;
}
.mkt-scope .market-container .card-9 .card-other .card-week,
.mkt-scope .market-container .card-10 .card-other .card-week,
.mkt-scope .market-container .card-11 .card-other .card-week,
.mkt-scope .market-container .card-12 .card-other .card-week,
.mkt-scope .market-container .card-13 .card-other .card-week,
.mkt-scope .market-container .card-14 .card-other .card-week { margin-left: 16px; }
.mkt-scope .market-container .card-9 .card-qrcode,
.mkt-scope .market-container .card-10 .card-qrcode,
.mkt-scope .market-container .card-11 .card-qrcode,
.mkt-scope .market-container .card-12 .card-qrcode,
.mkt-scope .market-container .card-13 .card-qrcode,
.mkt-scope .market-container .card-14 .card-qrcode {
    width: 72px; height: 72px; background-color: #fff; padding: 6px; border-radius: 8px;
    position: absolute; right: 45px; bottom: 45px;
}

/* 卡片9：深空紫渐变 */
.mkt-scope .market-container .card-9 { background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%); }
.mkt-scope .market-container .card-9 .card-nickname { color: #fff; }
.mkt-scope .market-container .card-9 .card-date { color: rgba(255, 255, 255, 0.7); }
.mkt-scope .market-container .card-9 .card-content { color: #fff; }
.mkt-scope .market-container .card-9 .card-content span { color: #ffe14d; }
.mkt-scope .market-container .card-9 .card-other { color: #fff; }

/* 卡片10：极光青渐变 */
.mkt-scope .market-container .card-10 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.mkt-scope .market-container .card-10 .card-nickname { color: #063d2f; }
.mkt-scope .market-container .card-10 .card-date { color: rgba(6, 61, 47, 0.6); }
.mkt-scope .market-container .card-10 .card-content { color: #06342a; }
.mkt-scope .market-container .card-10 .card-content span { color: #ff5470; }
.mkt-scope .market-container .card-10 .card-other { color: #06342a; }

/* 卡片11：暗夜霓虹 */
.mkt-scope .market-container .card-11 { background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%); }
.mkt-scope .market-container .card-11 .card-nickname { color: #fff; }
.mkt-scope .market-container .card-11 .card-date { color: rgba(255, 255, 255, 0.55); }
.mkt-scope .market-container .card-11 .card-content { color: #f0f0f5; }
.mkt-scope .market-container .card-11 .card-content span { color: #00f2ea; text-shadow: 0 0 8px rgba(0, 242, 234, 0.6); }
.mkt-scope .market-container .card-11 .card-other { color: #cfcfe6; }

/* 卡片12：莫兰迪灰 */
.mkt-scope .market-container .card-12 { background: linear-gradient(135deg, #d3cce3 0%, #e9e4f0 100%); }
.mkt-scope .market-container .card-12 .card-avatar img { border-color: rgba(90, 77, 120, 0.4); }
.mkt-scope .market-container .card-12 .card-nickname { color: #4a4458; }
.mkt-scope .market-container .card-12 .card-date { color: #8a839c; }
.mkt-scope .market-container .card-12 .card-content { color: #3f3a4d; }
.mkt-scope .market-container .card-12 .card-content span { color: #9d7cd8; }
.mkt-scope .market-container .card-12 .card-other { color: #6d6680; }

/* 卡片13：日落橙粉 */
.mkt-scope .market-container .card-13 { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #ffc3a0 100%); }
.mkt-scope .market-container .card-13 .card-avatar img { border-color: rgba(255, 255, 255, 0.9); }
.mkt-scope .market-container .card-13 .card-nickname { color: #7a3b2e; }
.mkt-scope .market-container .card-13 .card-date { color: rgba(122, 59, 46, 0.6); }
.mkt-scope .market-container .card-13 .card-content { color: #6b2f24; }
.mkt-scope .market-container .card-13 .card-content span { color: #e0245e; }
.mkt-scope .market-container .card-13 .card-other { color: #7a3b2e; }

/* 卡片14：薄荷清新 */
.mkt-scope .market-container .card-14 { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }
.mkt-scope .market-container .card-14 .card-avatar img { border-color: rgba(255, 255, 255, 0.9); }
.mkt-scope .market-container .card-14 .card-nickname { color: #1f6b63; }
.mkt-scope .market-container .card-14 .card-date { color: rgba(31, 107, 99, 0.6); }
.mkt-scope .market-container .card-14 .card-content { color: #17564f; }
.mkt-scope .market-container .card-14 .card-content span { color: #e0559c; }
.mkt-scope .market-container .card-14 .card-other { color: #1f6b63; }

/* 纯 CSS 缩略图（与图片缩略图等比呈现） */
.mkt-scope .menu-operate .card-group .card-item .litpic-css {
    display: block; width: 100%; aspect-ratio: 500 / 650; border-radius: 7px;
}
.mkt-scope .litpic-9 { background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%); }
.mkt-scope .litpic-10 { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.mkt-scope .litpic-11 { background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%); }
.mkt-scope .litpic-12 { background: linear-gradient(135deg, #d3cce3 0%, #e9e4f0 100%); }
.mkt-scope .litpic-13 { background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #ffc3a0 100%); }
.mkt-scope .litpic-14 { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); }

/* 生成按钮 loading 状态 */
.mkt-scope .btn-loading {
    opacity: 0.75;
    cursor: not-allowed;
}
.mkt-scope .btn-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: mkt-spin 0.6s linear infinite;
    vertical-align: middle;
}
@keyframes mkt-spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .mkt-scope .tool-content {
        border-width: 0;
        flex-direction: column;
        box-shadow: none;
    }
    .mkt-scope .market-preview { margin-bottom: 0; }
    .mkt-scope .market-wrapper { width: 100%; padding: 12px; }
    .mkt-scope .market-container { width: 100%; max-width: 500px; }
    .mkt-scope .market-operate {
        width: 100%;
        border: solid 1px #e5e5e5;
        border-radius: 8px;
    }
}
