@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;line-height:1.5;font-weight:400;--bg-primary: #0f0f1a;--bg-secondary: #1a1a2e;--bg-header: rgba(0, 0, 0, .4);--text-primary: #ffffff;--text-secondary: rgba(255, 255, 255, .7);--text-muted: rgba(255, 255, 255, .4);--border-color: rgba(255, 255, 255, .1);--border-active: #00d4ff;--accent-gradient: linear-gradient(135deg, #00d4ff, #7c3aed);--accent-button-bg: linear-gradient(135deg, #7c3aed, #6366f1);--shadow-color: rgba(0, 0, 0, .4);--drop-zone-border: rgba(255, 255, 255, .15);--drop-zone-bg-hover: rgba(0, 212, 255, .05);color-scheme:dark;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}[data-theme=light]{--bg-primary: #f0f2f5;--bg-secondary: #ffffff;--bg-header: rgba(255, 255, 255, .7);--text-primary: #1a1a2e;--text-secondary: rgba(0, 0, 0, .6);--text-muted: rgba(0, 0, 0, .4);--border-color: rgba(0, 0, 0, .1);--border-active: #0070f3;--accent-gradient: linear-gradient(135deg, #0070f3, #7928ca);--accent-button-bg: linear-gradient(135deg, #7928ca, #6366f1);--shadow-color: rgba(0, 0, 0, .1);--drop-zone-border: rgba(0, 0, 0, .15);--drop-zone-bg-hover: rgba(0, 112, 243, .05);color-scheme:light}:root{--bg-gradient-start: #0f0f1a;--bg-gradient-mid: #1a1a2e;--bg-gradient-end: #16213e;--text-primary: #ffffff;--text-secondary: rgba(255, 255, 255, .7);--text-tertiary: rgba(255, 255, 255, .4);--header-bg: rgba(0, 0, 0, .4);--header-border: rgba(255, 255, 255, .1);--heading-gradient-start: #00d4ff;--heading-gradient-end: #7c3aed;--btn-gradient-start: #7c3aed;--btn-gradient-end: #6366f1;--btn-shadow: rgba(124, 58, 237, .4);--dropzone-border: rgba(255, 255, 255, .15);--dropzone-hover-bg: rgba(0, 212, 255, .05);--dropzone-hover-border: rgba(0, 212, 255, .4);--dropzone-hover-text: rgba(255, 255, 255, .6);--kbd-bg: rgba(255, 255, 255, .15);--panel-bg: rgba(0, 0, 0, .8);--scrollbar-track: rgba(255, 255, 255, .05);--scrollbar-thumb: rgba(255, 255, 255, .2);--scrollbar-thumb-hover: rgba(255, 255, 255, .3)}[data-theme=light]{--bg-gradient-start: #f0f2f5;--bg-gradient-mid: #ffffff;--bg-gradient-end: #e6e9f0;--text-primary: #1a1a2e;--text-secondary: rgba(0, 0, 0, .7);--text-tertiary: rgba(0, 0, 0, .4);--header-bg: rgba(255, 255, 255, .8);--header-border: rgba(0, 0, 0, .1);--heading-gradient-start: #0080ff;--heading-gradient-end: #6020a0;--btn-gradient-start: #6020a0;--btn-gradient-end: #4f46e5;--btn-shadow: rgba(99, 102, 241, .3);--dropzone-border: rgba(0, 0, 0, .15);--dropzone-hover-bg: rgba(0, 128, 255, .05);--dropzone-hover-border: rgba(0, 128, 255, .4);--dropzone-hover-text: rgba(0, 0, 0, .6);--kbd-bg: rgba(0, 0, 0, .1);--panel-bg: rgba(255, 255, 255, .9);--scrollbar-track: rgba(0, 0, 0, .05);--scrollbar-thumb: rgba(0, 0, 0, .2);--scrollbar-thumb-hover: rgba(0, 0, 0, .3)}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%;width:100%}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;background:linear-gradient(135deg,var(--bg-gradient-start) 0%,var(--bg-gradient-mid) 50%,var(--bg-gradient-end) 100%);color:var(--text-primary);overflow:hidden;transition:background .3s ease,color .3s ease}.app{display:flex;flex-direction:column;height:100vh;overflow:hidden}.app-header{display:flex;justify-content:space-between;align-items:center;padding:12px 20px;background:var(--header-bg);border-bottom:1px solid var(--header-border);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:background .3s ease,border-color .3s ease}.app-header h1{font-size:20px;font-weight:600;background:linear-gradient(135deg,var(--heading-gradient-start),var(--heading-gradient-end));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}.header-controls{display:flex;align-items:center;gap:16px}.header-controls button{padding:8px 16px;border:none;border-radius:6px;background:linear-gradient(135deg,var(--btn-gradient-start),var(--btn-gradient-end));color:#fff;font-weight:500;cursor:pointer;transition:all .2s ease}.header-controls button.icon-btn{padding:8px;background:transparent;color:var(--text-primary)}.header-controls button:hover{transform:translateY(-1px);box-shadow:0 4px 12px var(--btn-shadow)}.header-controls button.icon-btn:hover{box-shadow:none;background:var(--kbd-bg)}.image-count{font-size:14px;color:var(--text-secondary)}.main-area{flex:1;overflow-y:auto;overflow-x:hidden;padding:20px;display:flex;flex-direction:column;align-items:center}.drop-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;gap:12px;color:var(--text-tertiary);font-size:18px;border:3px dashed var(--dropzone-border);border-radius:16px;transition:all .3s ease}.drop-zone:hover{border-color:var(--dropzone-hover-border);background:var(--dropzone-hover-bg);color:var(--dropzone-hover-text)}.status-bar{display:flex;justify-content:space-between;align-items:center;padding:8px 20px;background:var(--header-bg);border-top:1px solid var(--header-border);font-size:12px;color:var(--text-secondary)}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:var(--scrollbar-track)}::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}.image-card{position:relative;display:flex;flex-direction:column;background:var(--bg-secondary);border-radius:8px;overflow:hidden;transition:all .2s ease;border:2px solid transparent}.image-card.focused{border-color:var(--border-active);box-shadow:0 0 0 2px #00d4ff4d;z-index:10}.image-container{position:relative;flex:1;overflow:hidden}.image-container img{width:100%;height:100%;object-fit:contain;display:block}.grid-overlay{position:absolute;inset:0;pointer-events:none}.grid-line{position:absolute;background-color:#ff0000b3;box-shadow:0 0 2px #fffc}.grid-line.vertical{top:0;bottom:0;width:1px}.grid-line.horizontal{left:0;right:0;height:1px}.card-info{padding:6px;color:#fff;font-size:11px;display:flex;justify-content:space-between;align-items:center;position:absolute;bottom:0;left:0;right:0}.file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:60%}.grid-info{font-family:monospace;background:#000c;padding:2px 4px;border-radius:4px}.status-bar{display:flex;justify-content:flex-start;align-items:center;padding:8px 16px;background:var(--bg-primary);border-top:1px solid var(--border-color);font-size:12px;min-height:40px}.status-message{color:var(--border-active);font-weight:500}
