:root{--bg: #0a0a0b;--bg-card: #111113;--bg-elevated: #18181b;--border: #27272a;--text: #fafafa;--text-muted: #a1a1aa;--accent: #22c55e;--accent-dim: #16a34a;--danger: #ef4444;--danger-dim: #dc2626;--ebay: #e53238;--craigslist: #6c0;--font-sans: "DM Sans", system-ui, sans-serif;--font-mono: "JetBrains Mono", monospace;--radius: 12px;--radius-sm: 8px;--shadow: 0 4px 24px rgba(0, 0, 0, .4)}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:var(--bg);color:var(--text);font-family:var(--font-sans);-webkit-font-smoothing:antialiased}#root{min-height:100vh}button{font-family:inherit;cursor:pointer}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}.app{display:flex;flex-direction:column;min-height:100vh}.header{padding:2rem 1.5rem 1.5rem;border-bottom:1px solid var(--border);background:var(--bg-card)}.header-inner{max-width:900px;margin:0 auto}.logo{display:flex;align-items:center;gap:.6rem;margin-bottom:.25rem}.logo-icon{font-size:1.5rem;color:var(--accent);font-weight:700}.logo h1{margin:0;font-size:1.75rem;font-weight:700;letter-spacing:-.02em}.logo-button{background:none;border:none;padding:0;color:inherit;text-align:left;cursor:pointer}.logo-button:hover,.logo-button:hover .logo-icon{color:var(--accent)}.tagline{margin:0;color:var(--text-muted);font-size:.95rem}.main{flex:1;max-width:1200px;margin:0 auto;padding:2rem 1.5rem 4rem;width:100%}.search-bar{display:flex;gap:.75rem;margin-bottom:2rem;max-width:640px}.search-input{flex:1;padding:.9rem 1.1rem;font-size:1rem;font-family:var(--font-sans);color:var(--text);background:var(--bg-elevated);border:1px solid var(--border);border-radius:var(--radius);outline:none;transition:border-color .2s,box-shadow .2s}.search-input::placeholder{color:var(--text-muted)}.search-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #22c55e26}.search-location{padding:.9rem .75rem;font-size:.95rem;font-family:var(--font-sans);color:var(--text);background:var(--bg-elevated);border:1px solid var(--border);border-radius:var(--radius);cursor:pointer;min-width:8rem}.search-location:focus{outline:none;border-color:var(--accent)}.search-btn{padding:.9rem 1.5rem;font-size:.95rem;font-weight:600;color:var(--bg);background:var(--accent);border:none;border-radius:var(--radius);transition:background .2s,transform .1s}.search-btn:hover:not(:disabled){background:var(--accent-dim)}.search-btn:active:not(:disabled){transform:scale(.98)}.search-btn:disabled{opacity:.8;cursor:not-allowed}.btn-spinner{display:inline-block;width:1.1rem;height:1.1rem;border:2px solid rgba(0,0,0,.2);border-top-color:currentColor;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.error-banner{padding:1rem 1.25rem;margin-bottom:1.5rem;background:#ef44441f;border:1px solid rgba(239,68,68,.3);border-radius:var(--radius);color:#fca5a5;font-size:.95rem}.error-hint{color:var(--text-muted)}.loading{display:flex;flex-direction:column;align-items:center;gap:1rem;padding:3rem;color:var(--text-muted)}.spinner{width:40px;height:40px;border:3px solid var(--border);border-top-color:var(--accent);border-radius:50%;animation:spin .8s linear infinite}.potential-deals{margin-bottom:3rem}.potential-deals-intro{margin-bottom:1.75rem}.potential-deals-title{margin:0 0 .4rem;font-size:1.5rem;font-weight:700;letter-spacing:-.02em;color:var(--text)}.potential-deals-desc{margin:0;font-size:.98rem;color:var(--text-muted);line-height:1.5;max-width:540px}.potential-deals-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:1rem}.potential-deal-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;padding:1.25rem;background:linear-gradient(145deg,#22c55e0f,#16a34a05);border:1px solid rgba(34,197,94,.2);border-radius:var(--radius);cursor:pointer;transition:border-color .2s,box-shadow .2s,transform .15s ease;font-family:inherit;color:inherit}.potential-deal-card:hover{border-color:var(--accent);box-shadow:0 6px 24px #22c55e26;transform:translateY(-2px)}.potential-deal-card:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px #22c55e40}.potential-deal-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.potential-deal-badge{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--accent);opacity:.95}.potential-deal-profit{font-family:var(--font-mono);font-size:1.1rem;font-weight:600;color:var(--accent)}.potential-deal-pct{font-size:.85rem;font-weight:500;color:var(--text-muted)}.potential-deal-body{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.potential-deal-side{flex:1;display:flex;flex-direction:column;align-items:center;gap:.35rem;padding:.5rem;background:var(--bg-elevated);border-radius:var(--radius-sm);min-width:0}.potential-deal-thumb-wrap{width:100%;aspect-ratio:1;border-radius:var(--radius-sm);overflow:hidden;background:var(--bg)}.potential-deal-thumb{width:100%;height:100%;object-fit:cover;display:block}.potential-deal-label{font-size:.7rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted)}.potential-deal-price{font-family:var(--font-mono);font-size:.95rem;font-weight:600;color:var(--text)}.potential-deal-arrow{color:var(--accent);font-weight:700;font-size:1.1rem;flex-shrink:0}.potential-deal-title{margin:0 0 .5rem;font-size:.95rem;font-weight:500;line-height:1.35;color:var(--text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.potential-deal-cta{font-size:.8rem;font-weight:500;color:var(--accent);margin-top:auto}.potential-deal-card:hover .potential-deal-cta{text-decoration:underline}.empty-state{text-align:center;padding:4rem 2rem;max-width:420px;margin:0 auto}.empty-icon{font-size:3rem;margin-bottom:1rem;opacity:.8}.empty-state h2{margin:0 0 .5rem;font-size:1.35rem;font-weight:600}.empty-state p{margin:0;color:var(--text-muted);font-size:.95rem;line-height:1.55}.compare-results{margin-top:.5rem}.results-header{display:flex;align-items:center;gap:.75rem;margin-bottom:2rem;flex-wrap:wrap}.results-header h2{margin:0;font-size:1.25rem;font-weight:600}.back-to-home{margin-left:auto;padding:.4rem .75rem;font-size:.9rem;color:var(--text-muted);background:none;border:1px solid var(--border);border-radius:var(--radius-sm);cursor:pointer}.back-to-home:hover{color:var(--accent);border-color:var(--accent)}.results-badges{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.badge{padding:.25rem .6rem;font-size:.75rem;font-weight:500;border-radius:999px;background:var(--bg-elevated);color:var(--text-muted);border:1px solid var(--border)}.badge-mock{background:#1877f21f;border-color:#1877f24d;color:#93c5fd}.badge-location{background:#22c55e1f;border-color:#22c55e4d;color:var(--accent)}.craigslist-hint{margin:-1rem 0 1.5rem;padding:1rem 1.25rem;background:#eab3081a;border:1px solid rgba(234,179,8,.3);border-radius:var(--radius);font-size:.9rem;color:var(--text)}.craigslist-hint p{margin:0;line-height:1.5}.craigslist-hint code{padding:.15rem .4rem;font-size:.85em;background:var(--bg-elevated);border-radius:4px}.section{margin-bottom:2.5rem}.section-title{display:flex;align-items:center;gap:.5rem;margin:0 0 .25rem;font-size:1.1rem;font-weight:600}.section-icon{color:var(--accent);font-size:1.25rem}.section-desc{margin:0 0 1rem;font-size:.9rem;color:var(--text-muted)}.section-empty{padding:1.5rem;margin-bottom:1rem;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius)}.section-empty-text{margin:0;font-size:.95rem;color:var(--text-muted);line-height:1.5}.section-empty-text .error-detail{display:block;margin-top:.5rem;color:var(--error, #e57373);font-size:.85rem}.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem}.card-grid.opportunities{grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}.item-card{display:flex;flex-direction:column;background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;transition:border-color .2s,box-shadow .2s;text-decoration:none;color:inherit}.item-card:hover{border-color:var(--accent);box-shadow:var(--shadow)}.card-image-wrap{position:relative;aspect-ratio:1;background:var(--bg-elevated)}.card-image{width:100%;height:100%;object-fit:cover}.card-image-placeholder{width:100%;height:100%;display:flex;align-items:center;justify-content:center;font-size:2rem;color:var(--text-muted);font-weight:600}.card-ebay .card-image-placeholder{background:#e5323826;color:var(--ebay)}.card-craigslist .card-image-placeholder{background:#66cc0026;color:var(--craigslist)}.card-platform{position:absolute;top:.5rem;left:.5rem;padding:.2rem .5rem;font-size:.7rem;font-weight:600;border-radius:var(--radius-sm);text-transform:uppercase;letter-spacing:.03em}.card-ebay .card-platform{background:var(--ebay);color:#fff}.card-craigslist .card-platform{background:var(--craigslist);color:#111}.card-body{padding:1rem}.card-title{margin:0 0 .5rem;font-size:.95rem;font-weight:500;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-price{margin:0;font-family:var(--font-mono);font-size:1.1rem;font-weight:600;color:var(--accent)}.card-view-link{display:inline-block;margin-top:.5rem;font-size:.8rem;color:var(--text-muted);font-weight:500}.item-card:hover .card-view-link{color:var(--accent)}.price-currency{margin-right:.25rem;font-size:.85rem;color:var(--text-muted);font-weight:500}.price-value.price-unavailable{font-size:.9rem;font-weight:500;color:var(--text-muted);font-style:italic}.opportunity-card{background:linear-gradient(135deg,#22c55e14,#16a34a0a);border:1px solid rgba(34,197,94,.25);border-radius:var(--radius);padding:1.25rem;transition:border-color .2s,box-shadow .2s}.opportunity-card.potential-deal-card-style{display:flex;flex-direction:column;align-items:stretch;text-align:left;background:linear-gradient(145deg,#22c55e0f,#16a34a05);border:1px solid rgba(34,197,94,.2);transition:border-color .2s,box-shadow .2s,transform .15s ease}.opportunity-card:hover{border-color:var(--accent);box-shadow:0 4px 20px #22c55e1f}.opportunity-card.potential-deal-card-style:hover{border-color:var(--accent);box-shadow:0 6px 24px #22c55e26;transform:translateY(-2px)}.opp-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem;flex-wrap:wrap;gap:.5rem}.opp-badge{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--accent)}.opp-profit{font-family:var(--font-mono);font-size:1.15rem;font-weight:600;color:var(--accent)}.opp-profit-unavailable{font-size:.9rem;font-weight:500;color:var(--text-muted);font-style:italic}.opp-pct{font-size:.9rem;font-weight:500;color:var(--text-muted)}.opp-body{display:flex;align-items:center;gap:1rem;margin-bottom:.75rem}.opp-side{flex:1;padding:.75rem;background:var(--bg);border-radius:var(--radius-sm);border:1px solid var(--border);display:flex;flex-direction:column;align-items:center;text-align:center}.opp-thumb-wrap{width:64px;height:64px;border-radius:var(--radius-sm);overflow:hidden;background:var(--bg-elevated);margin-bottom:.5rem;flex-shrink:0}.opp-thumb{width:100%;height:100%;object-fit:cover}.opp-label{display:block;font-size:.7rem;text-transform:uppercase;letter-spacing:.04em;color:var(--text-muted);margin-bottom:.25rem}.opp-price{font-family:var(--font-mono);font-size:1.1rem;font-weight:600;display:block;margin-bottom:.35rem}.opp-link{font-size:.8rem;color:var(--accent)}.opp-arrow{color:var(--text-muted);font-size:1.25rem;flex-shrink:0}.opp-title{margin:0;font-size:.85rem;color:var(--text-muted);line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.footer{padding:1rem 1.5rem;border-top:1px solid var(--border);background:var(--bg-card);font-size:.8rem;color:var(--text-muted);display:flex;align-items:center;justify-content:center;gap:.5rem;flex-wrap:wrap}
