body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;margin:0}*,:after,:before{box-sizing:border-box;margin:0;padding:0}.app{background:#0f0f1a;color:#e2e2e2;min-height:100vh}.header{align-items:center;background:#16162a;border-bottom:1px solid #2a2a4a;display:flex;gap:18px;padding:28px 40px}.header-emoji{font-size:52px;line-height:1}.header h1{color:#ff8c42;font-size:1.8rem;margin-bottom:4px}.header p{color:#777;font-size:.875rem}.main{display:flex;flex-direction:column;gap:24px;margin:0 auto;max-width:1280px;padding:32px 24px}.top-row{grid-gap:24px;align-items:start;display:grid;gap:24px;grid-template-columns:340px 1fr}.card{background:#16162a;border:1px solid #2a2a4a;border-radius:14px;padding:24px}.card h2{color:#ff8c42;font-size:1rem;font-weight:600;letter-spacing:.05em;margin-bottom:18px;text-transform:uppercase}.upload-card{gap:14px}.upload-area,.upload-card{display:flex;flex-direction:column}.upload-area{align-items:center;border:2px dashed #3a3a6a;border-radius:10px;cursor:pointer;gap:10px;justify-content:center;min-height:200px;overflow:hidden;padding:16px;text-align:center;transition:border-color .2s,background .2s}.upload-area.drag-over,.upload-area:hover{background:#ff8c420a;border-color:#ff8c42}.upload-icon{font-size:36px}.upload-hint{color:#555;font-size:.78rem}.upload-preview{border-radius:6px;height:100%}.camera-wrap{background:#000;border-radius:10px;overflow:hidden;position:relative}.camera-video{display:block;max-height:260px;object-fit:cover;width:100%}.camera-controls{background:#00000080;display:flex;gap:10px;padding:10px}.cam-btn{border:none;border-radius:8px;cursor:pointer;flex:1 1;font-size:.9rem;font-weight:600;padding:10px;transition:opacity .2s}.cam-btn:hover{opacity:.85}.capture-btn{background:#ff8c42;color:#fff}.cancel-btn{background:#333;color:#ccc}.preview-wrap{position:relative}.upload-preview{background:#0f0f1a;border-radius:8px;display:block;max-height:260px;object-fit:contain;width:100%}.reset-btn{align-items:center;background:#0009;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;font-size:14px;height:28px;justify-content:center;position:absolute;right:8px;top:8px;width:28px}.reset-btn:hover{background:#ff3c3cb3}.upload-actions{display:flex;flex-direction:column;gap:10px}.cam-open-btn{background:#0000;border:1px solid #3a3a6a;border-radius:8px;color:#aaa;cursor:pointer;font-size:.95rem;font-weight:500;padding:11px 0;transition:border-color .2s,color .2s;width:100%}.cam-open-btn:hover{border-color:#ff8c42;color:#ff8c42}.detecting-indicator{color:#ff8c42;font-size:.95rem;font-weight:500;padding:10px 0}.detect-btn,.detecting-indicator{align-items:center;display:flex;gap:8px;justify-content:center}.detect-btn{background:#ff8c42;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:13px 0;transition:background .2s,transform .15s;width:100%}.detect-btn:hover:not(:disabled){background:#e6751a;transform:translateY(-1px)}.detect-btn:disabled{cursor:not-allowed;opacity:.5;transform:none}.spinner{animation:spin .7s linear infinite;border:2px solid #ffffff4d;border-radius:50%;border-top-color:#fff;display:inline-block;flex-shrink:0;height:16px;width:16px}@keyframes spin{to{transform:rotate(1turn)}}.error-msg{color:#f87171;font-size:.875rem}.gallery-card{min-height:200px}.gallery{grid-gap:10px;display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}.gallery-item{aspect-ratio:1;background:none;border:2px solid #0000;border-radius:10px;cursor:pointer;overflow:hidden;padding:0;position:relative;transition:border-color .2s,transform .15s,opacity .2s}.gallery-item:hover:not(:disabled){border-color:#ff8c42;transform:scale(1.03)}.gallery-item:disabled{cursor:not-allowed;opacity:.5}.gallery-item.loading{border-color:#ff8c42}.gallery-item img{display:block;height:100%;object-fit:cover;width:100%}.gallery-spinner{align-items:center;background:#00000073;display:flex;inset:0;justify-content:center;position:absolute}.gallery-spinner:after{animation:spin .7s linear infinite;border:3px solid #ffffff4d;border-radius:50%;border-top-color:#ff8c42;content:"";height:28px;width:28px}.results-layout{grid-gap:24px;align-items:start;display:grid;gap:24px;grid-template-columns:1fr 1fr}.result-img-wrap{background:#0f0f1a;border-radius:10px;overflow:hidden}.result-img{display:block;width:100%}.stats{grid-gap:12px;display:grid;gap:12px;grid-template-columns:1fr 1fr}.stat-card{background:#0f0f1a;border:1px solid #2a2a4a;border-radius:12px;padding:20px 16px;text-align:center}.stat-icon{font-size:24px;margin-bottom:8px}.stat-value{font-size:2rem;font-weight:700;margin-bottom:4px}.stat-label{color:#777;font-size:.78rem;letter-spacing:.04em;text-transform:uppercase}.stat-white .stat-value{color:#e2e2e2}.stat-green .stat-value{color:#4ade80}.stat-red .stat-value{color:#f87171}.stat-yellow .stat-value{color:#facc15}.muted{color:#555;font-size:.9rem}@media (max-width:860px){.header{gap:12px;padding:16px 14px}.header-emoji{font-size:34px}.header h1{font-size:1.15rem;margin-bottom:2px}.header p{font-size:.75rem;line-height:1.3}.main{gap:16px;padding:16px 12px}.top-row{gap:16px}.results-layout,.top-row{grid-template-columns:1fr}.stats{grid-template-columns:repeat(2,1fr)}.card{padding:16px}.card h2{font-size:.9rem;margin-bottom:12px}.upload-area{gap:6px;min-height:110px;padding:12px}.upload-icon{font-size:26px}.upload-area p{font-size:.85rem}.upload-hint{font-size:.7rem}.upload-preview{max-height:180px}}.results-modal{max-width:560px}.results-modal .result-img-wrap{margin-bottom:12px}.results-modal .result-img{max-height:50vh;object-fit:contain;width:100%}.results-modal .stats{gap:8px;grid-template-columns:repeat(2,1fr)}.results-modal .stat-card{border-radius:9px;padding:10px 8px}.results-modal .stat-icon{font-size:16px;margin-bottom:3px}.results-modal .stat-value{font-size:1.25rem;margin-bottom:2px}.results-modal .stat-label{font-size:.65rem;letter-spacing:.02em}.info-btn{-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#16162ad9;border:1px solid #ff8c4266;border-radius:20px;color:#ff8c42;cursor:pointer;font-size:.82rem;font-weight:500;padding:.4rem 1.1rem;position:fixed;right:1.25rem;top:1.25rem;transition:background .2s,border-color .2s;white-space:nowrap;z-index:50}.info-btn:hover{background:#ff8c421a;border-color:#ff8c42b3}@media (max-width:600px){.info-btn{bottom:1.5rem;right:50%;top:auto;transform:translateX(50%)}}.modal-overlay{align-items:center;animation:overlayFadeIn .2s ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000000a6;display:flex;inset:0;justify-content:center;padding:1rem;position:fixed;z-index:100}@keyframes overlayFadeIn{0%{opacity:0}to{opacity:1}}.modal{animation:modalFadeIn .2s ease;background:#16162a;border:1px solid #ff8c4240;border-radius:16px;display:flex;flex-direction:column;max-height:85vh;max-width:680px;width:100%}@keyframes modalFadeIn{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.modal-header{align-items:center;border-bottom:1px solid #2a2a4a;display:flex;flex-shrink:0;justify-content:space-between;padding:1.25rem 1.5rem}.modal-header h2{color:#ff8c42;font-size:1.15rem;margin:0}.modal-close{background:none;border:none;border-radius:6px;color:#8892b0;cursor:pointer;font-size:1.1rem;padding:.25rem .5rem;transition:color .2s,background .2s}.modal-close:hover{background:#ffffff14;color:#e8e8e8}.modal-body{display:flex;flex-direction:column;gap:1.25rem;overflow-y:auto;padding:1.25rem 1.5rem}.modal-section{align-items:flex-start;display:flex;gap:1rem}.modal-section-number{align-items:center;background:#ff8c421f;border:1px solid #ff8c4259;border-radius:50%;color:#ff8c42;display:flex;flex-shrink:0;font-size:.8rem;font-weight:700;height:1.75rem;justify-content:center;margin-top:.1rem;width:1.75rem}.modal-section-content h3{color:#e8e8e8;font-size:.95rem;font-weight:600;margin:0 0 .35rem}.modal-section-content p{color:#8892b0;font-size:.875rem;line-height:1.6;margin:0}.modal-section-content b{color:#ff8c42;font-weight:600}
/*# sourceMappingURL=main.aaad3d96.css.map*/