/* ============ 图片缩放调整：iz-* ============ */

/* ---------- Hero 外壳 ---------- */
.iz-hero {
    margin: 18px 0 26px;
    padding: 22px;
    background: linear-gradient(135deg, #f0f4ff 0%, #f8faff 55%, #eef7ff 100%);
    border: 1px solid #e3ebf7;
    border-radius: 18px;
}
.iz-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.iz-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.iz-logo {
    width: 46px;
    height: 46px;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(64, 108, 190, .16);
}
.iz-title { font-size: 20px; font-weight: 800; color: #1f2b45; letter-spacing: .3px; }
.iz-tagline { font-size: 13px; color: #6b7a96; margin-top: 2px; }
.iz-privacy {
    font-size: 12px;
    color: #2f7d55;
    background: #e8f7ef;
    border: 1px solid #c6ead8;
    border-radius: 999px;
    padding: 6px 12px;
    white-space: nowrap;
}

/* ---------- 上传区 ---------- */
.iz-drop {
    border: 2px dashed #b9c6dc;
    border-radius: 16px;
    padding: 36px 18px;
    text-align: center;
    background: rgba(255, 255, 255, .65);
    transition: border-color .2s, background .2s;
    margin-bottom: 18px;
}
.iz-drop.is-drag {
    border-color: #2b62d9;
    background: rgba(223, 233, 255, .8);
}
.iz-drop-icon {
    font-size: 48px;
    line-height: 1;
    margin-bottom: 10px;
}
.iz-drop-title {
    margin: 4px 0 8px;
    color: #1f2b45;
    font-size: 16px;
    font-weight: 600;
}
.iz-drop-desc {
    color: #6b7a96;
    font-size: 13px;
    line-height: 1.8;
    max-width: 520px;
    margin: 0 auto 14px;
}
.iz-drop-btn {
    border: 0;
    border-radius: 10px;
    padding: 10px 26px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    background: #2b62d9;
    color: #fff;
    transition: background .15s, transform .1s;
}
.iz-drop-btn:hover { background: #1e4cb8; }

/* ---------- 工作区两栏 ---------- */

.iz-workspace { margin-top: 8px; }
.iz-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 16px;
}
@media (max-width: 900px) {
    .iz-grid { grid-template-columns: 1fr; }
}

/* ---------- 卡片 / 标题 / 信息 ---------- */

.iz-card {
    background: #fff;
    border: 1px solid #e3e8f1;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
}
.iz-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.iz-card-head b { font-size: 14px; color: #1a2b4a; }
.iz-card-info {
    color: #6b7a96;
    font-size: 12px;
    text-align: right;
    word-break: break-all;
    font-variant-numeric: tabular-nums;
}
.iz-cmp-info { display: flex; align-items: center; gap: 8px; min-width: 0; }
.iz-cmp-info > .iz-card-info { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.iz-cmp-arrow { color: #c5d1e3; font-weight: 800; font-size: 13px; }

/* ---------- 队列工具条 ---------- */

.iz-strip-tools {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}
.iz-mini-btn {
    border: 1px solid #c5d1e3;
    background: #fff;
    color: #2b62d9;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.iz-mini-btn:hover { background: #eef3fc; border-color: #2b62d9; }

/* ---------- 字段 ---------- */

.iz-field {
    margin-bottom: 12px;
}
.iz-field:last-child { margin-bottom: 0; }
.iz-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.iz-label {
    display: block;
    color: #4a587a;
    font-size: 13px;
    margin-bottom: 6px;
    font-weight: 500;
}
.iz-label b { color: #2b62d9; font-variant-numeric: tabular-nums; }
.iz-input, .iz-select {
    width: 100%;
    border: 1px solid #c5d1e3;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 14px;
    background: #fff;
    color: #1a2b4a;
}
.iz-input:focus, .iz-select:focus {
    outline: 0;
    border-color: #2b62d9;
    box-shadow: 0 0 0 3px rgba(43, 98, 217, .15);
}
.iz-range { width: 100%; accent-color: #2b62d9; }
.iz-slider {
    display: flex;
    align-items: center;
    gap: 10px;
}
.iz-slider .iz-range { flex: 1; }
.iz-slider b {
    min-width: 44px;
    text-align: right;
    color: #2b62d9;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}
.iz-color-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.iz-color-row input[type="color"] {
    width: 40px;
    height: 30px;
    border: 1px solid #c5d1e3;
    border-radius: 8px;
    background: #fff;
    padding: 2px;
    cursor: pointer;
}
.iz-note { color: #6b7a96; font-size: 12px; margin: 4px 0 0; }
.iz-check {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #4a587a;
    font-size: 13px;
    margin-top: 8px;
    cursor: pointer;
}

/* ---------- 段控件（seg） ---------- */

.iz-seg {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 4px;
    background: #eef3fc;
    border-radius: 10px;
    padding: 4px;
}
.iz-seg.col3 { grid-template-columns: repeat(3, 1fr); }
.iz-seg.col4 { grid-template-columns: repeat(4, 1fr); }
.iz-seg-btn {
    border: 0;
    background: transparent;
    padding: 7px 10px;
    font-size: 13px;
    color: #4a587a;
    border-radius: 7px;
    cursor: pointer;
    font-weight: 500;
    transition: background .15s, color .15s;
}
.iz-seg-btn:hover { color: #1a2b4a; }
.iz-seg-btn.active {
    background: #fff;
    color: #1a2b4a;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

/* ---------- 文件队列 ---------- */

.iz-rows {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 280px;
    overflow-y: auto;
}
.iz-row-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    background: #f7faff;
    border: 1px solid #e3e8f1;
    border-radius: 8px;
    transition: border-color .15s;
}
.iz-row-item:hover { border-color: #c5d1e3; }
.iz-row-item.active { border-color: #2b62d9; background: #f0f5ff; }
.iz-row-thumb {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #fff center/cover no-repeat;
    border: 1px solid #e3e8f1;
    flex-shrink: 0;
}
.iz-row-info { flex: 1; min-width: 0; }
.iz-row-name {
    font-size: 12px;
    color: #1a2b4a;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.iz-row-meta { font-size: 11px; color: #6b7a96; font-variant-numeric: tabular-nums; }
.iz-row-del {
    border: 0;
    background: transparent;
    color: #b9c6dc;
    cursor: pointer;
    padding: 4px 6px;
    font-size: 16px;
    line-height: 1;
    border-radius: 6px;
}
.iz-row-del:hover { color: #c0392b; background: rgba(192, 57, 43, .08); }

/* ---------- 对比预览 ---------- */

.iz-compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: repeating-conic-gradient(#f0f3f9 0% 25%, #fff 25% 50%) 0 0 / 16px 16px;
    border-radius: 10px;
    padding: 10px;
    min-height: 240px;
}
.iz-cmp-box {
    background: #fff;
    border: 1px solid #e3e8f1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    overflow: hidden;
}
.iz-cmp-box img, .iz-cmp-box canvas {
    display: block;
    max-width: 100%;
    max-height: 360px;
    height: auto;
}
.iz-cmp-empty { color: #b9c6dc; font-size: 13px; text-align: center; padding: 20px; }

/* ---------- 按钮 ---------- */

.iz-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.iz-btn {
    border: 1px solid #c5d1e3;
    background: #fff;
    color: #1a2b4a;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
.iz-btn:hover { background: #f7faff; border-color: #2b62d9; }
.iz-btn:disabled { opacity: .5; cursor: not-allowed; }
.iz-btn.primary { background: #2b62d9; color: #fff; border-color: #2b62d9; }
.iz-btn.primary:hover { background: #1e4cb8; border-color: #1e4cb8; }
.iz-btn.ghost { background: transparent; }

/* ---------- 进度 / 状态 ---------- */

.iz-progress {
    width: 100%;
    height: 8px;
    background: #eef3fc;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 12px;
}
.iz-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #2b62d9, #4c8af0);
    transition: width .25s;
}
.iz-status { margin-top: 10px; color: #4a587a; font-size: 13px; }
.iz-status.is-ok { color: #2b62d9; }
.iz-status.is-warn { color: #c0392b; }

/* ---------- 简介块 / 免责说明 ---------- */

.iz-info-block { margin-bottom: 26px; }

.iz-info-block .detail-icon {
    --icon-bg: linear-gradient(135deg, #34d399, #0ea5e9);
    --icon-shadow: rgba(14, 165, 233, .32);
}

.iz-disclaim {
    margin: 16px 0 0;
    padding: 12px 16px;
    border-radius: 12px;
    background: #fff8ea;
    border: 1px solid #f3e2b8;
    font-size: 12.5px;
    line-height: 1.8;
    color: #8a6516;
}