
.ifc-wrap{width:100%;padding:28px;background:#ffffff;border-radius:16px;box-shadow:0 4px 20px rgba(0,0,0,0.08);box-sizing:border-box;font-size:15px;color:#333;}
.ifc-wrap *{box-sizing:border-box;margin:0;padding:0;}
.ifc-title{font-size:22px;font-weight:600;color:#222;margin-bottom:8px;display:flex;align-items:center;gap:10px;}
.ifc-desc{font-size:14px;color:#666;line-height:1.7;margin-bottom:22px;}
.ifc-upload-box{border:1px dashed #dcdfe6;border-radius:10px;padding:26px 16px;text-align:center;cursor:pointer;transition:border-color .2s,background .2s;background:#fafbfc;}
.ifc-upload-box:hover,.ifc-upload-box.drag{border-color:#409eff;background:#f0f7ff;}
.ifc-upload-icon{font-size:44px;color:#909399;margin-bottom:8px;}
.ifc-upload-tip{font-size:16px;color:#555;margin-bottom:4px;}
.ifc-upload-sub{font-size:12px;color:#999;line-height:1.6;}
.ifc-preview{display:none;margin-top:20px;}
.ifc-origin-info{display:flex;align-items:center;gap:14px;background:#fafbfc;border:1px solid #ebeef5;border-radius:10px;padding:10px 12px;margin-bottom:18px;}
.ifc-origin-info img{width:76px;height:76px;object-fit:contain;border-radius:6px;background:#fff;border:1px solid #ebeef5;flex-shrink:0;}
.ifc-origin-meta{min-width:0;flex:1;}
.ifc-origin-name{font-size:14px;font-weight:500;color:#222;word-break:break-all;margin-bottom:4px;}
.ifc-origin-dim{font-size:12px;color:#888;}
.ifc-row{margin-bottom:16px;}
.ifc-row label{display:block;margin-bottom:8px;font-weight:500;color:#333;font-size:14px;}
.ifc-row select{width:100%;max-width:320px;padding:10px 12px;border:1px solid #dcdfe6;border-radius:8px;font-size:14px;outline:none;background:#fff;transition:border .2s;}
.ifc-row select:focus{border-color:#409eff;}
.ifc-row input[type=range]{width:100%;max-width:320px;height:6px;accent-color:#409eff;cursor:pointer;}
.ifc-quality-val{color:#409eff;font-weight:600;}
.ifc-btn-group{display:flex;flex-wrap:wrap;gap:12px;}
.ifc-btn{display:inline-flex;align-items:center;justify-content:center;padding:11px 26px;border-radius:8px;border:none;font-size:15px;cursor:pointer;transition:.2s;text-decoration:none;}
.ifc-btn-primary{background:#409eff;color:#fff;}
.ifc-btn-primary:hover{background:#2f8cf2;}
.ifc-btn-primary:disabled{background:#a0cfff;cursor:not-allowed;}
.ifc-btn-plain{background:#f5f7fa;color:#333;border:1px solid #dcdfe6;}
.ifc-btn-plain:hover{background:#eceef1;}
.ifc-result{display:none;margin-top:20px;border:1px solid #e8f4ff;background:#f0f8ff;border-radius:12px;padding:18px;text-align:center;}
.ifc-result-title{font-size:16px;font-weight:600;color:#409eff;margin-bottom:12px;}
.ifc-result img{max-width:100%;max-height:280px;object-fit:contain;border-radius:8px;background:#fff;border:1px solid #e0e6ec;margin-bottom:10px;}
.ifc-result-meta{font-size:12px;color:#888;margin-bottom:14px;}
.ifc-btn-download{display:inline-block;padding:10px 30px;border-radius:999px;background:linear-gradient(135deg,#409eff,#36cfc9);color:#fff;font-size:15px;text-decoration:none;box-shadow:0 2px 8px rgba(64,158,255,.35);transition:.2s;}
.ifc-btn-download:hover{transform:translateY(-1px);box-shadow:0 4px 14px rgba(64,158,255,.45);}
.ifc-feature{margin-top:24px;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
.ifc-feature-item{background:#fafbfc;border:1px solid #f0f2f5;border-radius:10px;padding:14px 10px;text-align:center;font-size:13px;color:#555;}
@media (max-width:768px){
    .ifc-wrap{padding:18px;}
    .ifc-feature{grid-template-columns:1fr;}
    .ifc-title{font-size:19px;}
    .ifc-btn{width:100%;}
}

.night .ifc-wrap{background:#1a1d24;color:#e6e8eb;box-shadow:0 4px 20px rgba(0,0,0,.4);}
.night .ifc-title{color:#e6e8eb;}
.night .ifc-desc{color:#9aa2ad;}
.night .ifc-upload-box{background:#1a1d24;border-color:#3a3f48;}
.night .ifc-upload-box:hover,.night .ifc-upload-box.drag{border-color:#5aa9ff;background:#222630;}
.night .ifc-upload-icon{color:#6b7280;}
.night .ifc-upload-tip{color:#c9cdd4;}
.night .ifc-upload-sub{color:#7c8494;}
.night .ifc-origin-info{background:#222630;border-color:#3a3f48;}
.night .ifc-origin-info img{background:#1a1d24;border-color:#3a3f48;}
.night .ifc-origin-name{color:#e6e8eb;}
.night .ifc-origin-dim{color:#9aa2ad;}
.night .ifc-row label{color:#e6e8eb;}
.night .ifc-row select{background:#1a1d24;color:#e6e8eb;border-color:#3a3f48;}
.night .ifc-row input[type=range]{accent-color:#5aa9ff;}
.night .ifc-quality-val{color:#5aa9ff;}
.night .ifc-btn-plain{background:#222630;color:#e6e8eb;border-color:#3a3f48;}
.night .ifc-btn-plain:hover{background:#2a2f38;}
.night .ifc-result{background:#222630;border-color:#3a3f48;}
.night .ifc-result-title{color:#5aa9ff;}
.night .ifc-result img{background:#1a1d24;border-color:#3a3f48;}
.night .ifc-result-meta{color:#9aa2ad;}
.night .ifc-feature-item{background:#222630;border-color:#3a3f48;color:#9aa2ad;}
