/* ==================== 文旅赞掌柜定制版AI文案王 ==================== */
/* 房琪风格 - 诗意、优美、文旅主题 */

:root {
    /* 主色调 - 文旅主题 */
    --primary: #2E7D32; /* 山水绿 */
    --primary-light: #4CAF50;
    --primary-dark: #1B5E20;

    /* 辅助色 */
    --accent: #FF6F00; /* 落日金 */
    --accent-light: #FF8F00;
    --accent-dark: #E65100;

    /* 文旅特色色 */
    --travel-blue: #0277BD; /* 天空蓝 */
    --travel-purple: #7B1FA2; /* 神秘紫 */
    --travel-orange: #F57C00; /* 温暖橙 */

    /* 基础色 */
    --bg: #FAFAFA;
    --surface: #FFFFFF;
    --border: #E0E0E0;
    --text-primary: #212121;
    --text-secondary: #757575;
    --text-hint: #9E9E9E;

    /* 功能色 */
    --success: #4CAF50;
    --warning: #FF9800;
    --error: #F44336;
    --info: #2196F3;

    /* 阴影 */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);

    /* 圆角 */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 100vh;
    padding: 0;
    color: var(--text-primary);
    line-height: 1.6;
    overflow: hidden;
}

/* 桌面端添加padding */
@media (min-width: 1025px) {
    body {
        padding: 20px;
    }
}

.app {
    max-width: 1600px;
    height: 100%;
    margin: 0 auto;
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* 移动端去掉圆角 */
@media (max-width: 1024px) {
    .app {
        border-radius: 0;
    }
}

/* ==================== 顶部导航 ==================== */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.logo {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.header-right {
    display: flex;
    gap: 12px;
}

/* ==================== 主内容区 ==================== */
.main {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 0;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

/* ==================== 输入面板 ==================== */
.input-panel {
    background: var(--surface);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
    flex-wrap: nowrap;
    gap: 16px;
    flex-shrink: 0;
}

.panel-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
    flex-shrink: 0;
}

.panel-header-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.panel-body {
    padding: 24px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

/* ==================== 表单组件 ==================== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.hint {
    font-size: 12px;
    color: var(--text-hint);
    font-weight: normal;
}

input[type="text"],
input[type="number"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    background: var(--surface);
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

textarea {
    resize: vertical;
    min-height: 80px;
}

/* ==================== 按钮样式 ==================== */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--bg);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover:not(:disabled) {
    background: var(--border);
}

.btn-experience {
    background: linear-gradient(135deg, var(--travel-blue) 0%, #01579B 100%);
    color: white;
}

.btn-experience:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-optimise {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
}

.btn-optimise:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-generate {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    margin-top: 10px;
}

.btn-generate:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* ==================== 文案模型选择器 ==================== */
.copy-models {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.copy-model {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 12px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.copy-model:hover {
    border-color: var(--primary);
    background: var(--surface);
}

.copy-model.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(27, 94, 32, 0.1));
}

.copy-model input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.copy-model-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.copy-model-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.copy-model-desc {
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-secondary);
}

/* ==================== 博主风格选择器 ==================== */
.blogger-styles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.blogger-style {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 14px 10px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.blogger-style:hover {
    border-color: var(--travel-purple);
    background: var(--surface);
}

.blogger-style.active {
    border-color: var(--travel-purple);
    background: linear-gradient(135deg, rgba(123, 31, 162, 0.08), rgba(123, 31, 162, 0.05));
}

.blogger-style input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.blogger-style-icon {
    font-size: 24px;
    margin-bottom: 6px;
}

.blogger-style-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.blogger-style-desc {
    font-size: 11px;
    color: var(--text-hint);
}

/* ==================== 结果面板 ==================== */
.result-panel {
    background: var(--surface);
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.panel-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.result-content {
    padding: 24px;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.empty-state {
    text-align: center;
    padding: 80px 40px;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.empty-state p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.empty-hint {
    font-size: 14px;
    color: var(--text-hint);
}

/* ==================== 版本切换标签 ==================== */
.version-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.version-tab {
    padding: 10px 18px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.version-tab:hover {
    border-color: var(--primary);
}

.version-tab.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: var(--primary);
    color: white;
}

/* ==================== 文案展示样式 ==================== */
.golden-hook {
    background: linear-gradient(135deg, rgba(255, 111, 0, 0.05), rgba(230, 81, 0, 0.05));
    border: 2px solid var(--accent-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

.golden-hook-label {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.golden-hook-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-primary);
    font-weight: 500;
}

.scene-item {
    background: var(--bg);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.scene-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.scene-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.scene-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.scene-duration {
    font-size: 12px;
    color: var(--text-hint);
}

.scene-content {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.scene-instructions {
    background: rgba(46, 125, 50, 0.05);
    border-radius: var(--radius-sm);
    padding: 12px;
}

.scene-instructions-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
}

.scene-instructions-content {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.instruction-tag {
    padding: 4px 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--text-secondary);
}

.value-strength {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.05), rgba(27, 94, 32, 0.05));
    border: 2px solid var(--primary-light);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.value-strength-label {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.value-strength-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
}

/* ==================== 分镜头脚本 ==================== */
.shots-section {
    margin-bottom: 24px;
}

.shots-title {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--travel-blue) 0%, #01579B 100%);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.shot-item {
    background: var(--bg);
    border-left: 4px solid var(--travel-blue);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.shot-item:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(2px);
}

.shot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.shot-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--travel-blue);
}

.shot-meta {
    font-size: 12px;
    color: var(--text-hint);
}

.shot-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.shot-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.shot-detail-item {
    font-size: 13px;
}

.shot-detail-label {
    font-weight: 500;
    color: var(--text-secondary);
}

.shot-detail-value {
    color: var(--text-primary);
}

/* ==================== 剪辑指南 ==================== */
.editing-guide {
    background: linear-gradient(135deg, rgba(123, 31, 162, 0.05), rgba(123, 31, 162, 0.03));
    border: 2px solid var(--travel-purple);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 24px;
}

.editing-guide-title {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--travel-purple) 0%, #6A1B9A 100%);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.editing-guide-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.guide-item {
    display: flex;
    flex-direction: column;
    padding: 12px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.guide-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--travel-purple);
    margin-bottom: 6px;
}

.guide-value {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-primary);
}

/* ==================== 弹窗样式 ==================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--surface);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
}

.modal-large {
    max-width: 800px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
}

.modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    font-size: 24px;
    color: var(--text-hint);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

/* ==================== 目的地卡片 ==================== */
.destination-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.destination-card {
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.destination-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.destination-card-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.destination-card-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.destination-card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.destination-card-info {
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.destination-card-info div {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.destination-card-info label {
    font-weight: 500;
    color: var(--text-primary);
}

/* ==================== 历史记录 ==================== */
.history-list {
    max-height: 500px;
    overflow-y: auto;
}

.history-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.history-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.history-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.history-item-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.history-item-date {
    font-size: 12px;
    color: var(--text-hint);
}

.history-item-preview {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.history-model-tag {
    display: inline-block;
    padding: 2px 8px;
    background: var(--primary-light);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 11px;
    margin-right: 6px;
}

/* ==================== 快捷操作按钮 ==================== */
.edit-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.edit-quick-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
}

.edit-quick-btn {
    padding: 6px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.edit-quick-btn:hover {
    background: var(--primary-light);
    color: white;
    border-color: var(--primary);
}

/* ==================== 图标选择器 ==================== */
.icon-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.icon-option {
    width: 44px;
    height: 44px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.icon-option:hover {
    border-color: var(--primary);
}

.icon-option.selected {
    border-color: var(--primary);
    background: rgba(46, 125, 50, 0.1);
}

/* ==================== 加载动画 ==================== */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    flex-direction: column;
}

.loading.active {
    display: flex;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading p {
    margin-top: 20px;
    color: white;
    font-size: 16px;
}

/* ==================== 页脚 ==================== */
.footer {
    text-align: center;
    padding: 12px 20px;
    background: var(--bg);
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 13px;
    flex-shrink: 0;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .main {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
    }

    .input-panel {
        border-right: none;
        border-bottom: 1px solid var(--border);
        max-height: 50vh;
    }

    .result-panel {
        max-height: 50vh;
    }

    .copy-models {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-wrap: wrap;
        padding: 12px 16px;
        gap: 10px;
    }

    .logo {
        font-size: 16px;
    }

    .header-right {
        width: 100%;
        flex-direction: column;
    }

    .header-right .btn {
        width: 100%;
        justify-content: center;
        padding: 8px 16px;
    }

    .panel-header {
        padding: 12px 16px;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .panel-header h2 {
        font-size: 15px;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .panel-header-actions {
        flex-direction: row;
        gap: 6px;
        flex-shrink: 0;
    }

    .panel-header-actions .btn {
        padding: 6px 10px;
        font-size: 12px;
        white-space: nowrap;
    }

    .panel-body {
        padding: 16px;
    }

    .copy-models {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .copy-model {
        padding: 12px 8px;
    }

    .copy-model-icon {
        font-size: 24px;
    }

    .copy-model-name {
        font-size: 12px;
    }

    .copy-model-desc {
        font-size: 11px;
    }

    .blogger-styles {
        gap: 8px;
    }

    .blogger-style {
        padding: 12px 8px;
    }

    .blogger-style-icon {
        font-size: 20px;
    }

    .blogger-style-name {
        font-size: 12px;
    }

    .blogger-style-desc {
        font-size: 10px;
    }

    .empty-state {
        padding: 40px 20px;
    }

    .empty-icon {
        font-size: 48px;
    }

    .footer {
        font-size: 11px;
        padding: 10px 16px;
    }

    .shot-item {
        padding: 12px;
    }

    .shot-description {
        font-size: 13px;
    }

    .editing-guide-content {
        grid-template-columns: 1fr;
    }

    .guide-item {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .copy-models {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .copy-model {
        padding: 10px 6px;
    }

    .copy-model-icon {
        font-size: 20px;
    }

    .copy-model-name {
        font-size: 11px;
    }

    .blogger-styles {
        gap: 6px;
    }

    .blogger-style {
        padding: 10px 6px;
    }

    .blogger-style-icon {
        font-size: 18px;
    }

    .blogger-style-name {
        font-size: 11px;
    }

    .blogger-style-desc {
        font-size: 9px;
    }

    .golden-hook-content {
        font-size: 16px;
    }

    .scene-content {
        font-size: 14px;
    }

    .value-strength-content {
        font-size: 15px;
    }

    .form-group {
        margin-bottom: 16px;
    }

    .btn-generate {
        padding: 12px 20px;
        font-size: 15px;
    }
}

/* ==================== iOS安全区域适配 ==================== */
@supports (padding: env(safe-area-inset-bottom)) {
    .modal-footer {
        padding-bottom: calc(16px + env(safe-area-inset-bottom));
    }
}
