*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:#f4f5f7;color:#1a1a1a}a{color:#2563eb;text-decoration:none}a:hover{text-decoration:underline}.page{max-width:640px;margin:40px auto;padding:0 20px}.back-link{display:inline-block;margin-bottom:16px}.subtitle{color:#555}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:20px}.auth-card{background:#fff;border:1px solid #ddd;border-radius:8px;padding:32px;width:100%;max-width:360px}.auth-form{display:flex;flex-direction:column;gap:12px;margin-top:8px}.divider{text-align:center;color:#999;margin:20px 0;font-size:14px}label{display:flex;flex-direction:column;gap:4px;font-size:14px;font-weight:600}input{padding:10px;border:1px solid #ccc;border-radius:6px;font-size:15px}.profile-form{display:flex;flex-direction:column;gap:14px;margin-top:16px}.email-note{color:#666;font-size:14px}button{cursor:pointer;font-size:15px}.btn-primary{background:#2563eb;color:#fff;border:none;padding:10px 16px;border-radius:6px}.btn-primary:hover{background:#1d4ed8}.btn-secondary{background:#fff;color:#2563eb;border:1px solid #2563eb;padding:10px 16px;border-radius:6px}.btn-link{background:none;border:none;color:#2563eb;padding:0;font-size:14px}.notice{padding:10px 12px;border-radius:6px;font-size:14px;margin:12px 0}.notice.success{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}.notice.error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}.landing{max-width:720px;margin:40px auto;padding:0 20px}.landing-header{display:flex;justify-content:space-between;align-items:center}.header-actions{display:flex;gap:16px;align-items:center}.landing-subtitle{color:#555;margin-top:8px}.module-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;gap:20px;margin-top:24px}@media (max-width:500px){.module-grid{grid-template-columns:1fr}}.module-card{background:#fff;border:1px solid #ddd;border-radius:10px;padding:32px 16px;display:flex;flex-direction:column;align-items:center;gap:12px;color:#1a1a1a;font-weight:600;font-size:18px;transition:box-shadow .15s ease,transform .15s ease}.module-card:hover{text-decoration:none;box-shadow:0 4px 14px rgba(0,0,0,.08);transform:translateY(-2px)}.module-card svg{color:#2563eb}.placeholder-box{margin-top:20px;padding:20px;border:1px dashed #bbb;border-radius:8px;color:#666;background:#fff}.page:has(.marketplace){max-width:1200px}.marketplace{width:100%;margin-top:30px}.market-hero{background:linear-gradient(135deg,#ecfdf5,#f0fdf4);border-radius:24px;padding:55px;margin-bottom:25px}.eyebrow{color:#16a34a;font-size:12px;font-weight:700;letter-spacing:1.5px;margin-bottom:10px}.market-hero h2{font-size:42px;line-height:1.1;margin:0 0 18px;color:#17211b}.market-hero h2 span{color:#16a34a}.hero-description{max-width:600px;color:#64748b;font-size:16px;line-height:1.7}.market-actions{display:flex;gap:15px;margin-bottom:35px}.search-box{flex:1 1;height:52px;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:0 16px}.search-box input{width:100%;border:none;outline:none;font-size:15px;background:transparent}.sell-button{display:flex;align-items:center;justify-content:center;padding:0 25px;background:#16a34a;color:#fff;text-decoration:none;border-radius:12px;font-weight:600;white-space:nowrap}.sell-button:hover{background:#15803d}.categories-section{margin-bottom:40px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.section-heading h2{margin:0;font-size:25px;color:#17211b}.category-list{display:flex;gap:12px;flex-wrap:wrap}.category{display:flex;align-items:center;gap:8px;padding:12px 18px;border:1px solid #e2e8f0;background:#fff;border-radius:10px;cursor:pointer;font-size:14px}.category.active,.category:hover{border-color:#16a34a}.category.active{background:#16a34a;color:#fff}.listings-section{margin-top:30px}.listing-count{color:#64748b;font-size:14px}.listing-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-gap:20px;gap:20px}.listing-card{background:#fff;border:1px solid #e2e8f0;border-radius:16px;overflow:hidden;transition:.2s ease}.listing-card:hover{transform:translateY(-3px);box-shadow:0 10px 25px rgba(0,0,0,.08)}.listing-image{height:210px;position:relative;background:#f1f5f9}.listing-image img{width:100%;height:100%;object-fit:cover}.no-image{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#94a3b8;gap:5px}.no-image span{font-size:35px}.favorite-button{position:absolute;top:12px;right:12px;width:38px;height:38px;border:none;border-radius:50%;background:#fff;cursor:pointer;font-size:19px}.listing-content{padding:18px}.listing-category{color:#16a34a;font-size:12px;font-weight:700;text-transform:uppercase;margin-bottom:8px}.listing-content h3{margin:0 0 8px;font-size:18px;color:#17211b}.listing-description{color:#64748b;font-size:13px;line-height:1.5;min-height:40px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.listing-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:18px}.price-area{display:flex;flex-direction:column;gap:4px}.price-area strong{font-size:20px;color:#17211b}.price-area span{font-size:12px;color:#64748b}.view-button{text-decoration:none;background:#f0fdf4;color:#16a34a;padding:9px 14px;border-radius:8px;font-size:13px;font-weight:600}.view-button:hover{background:#dcfce7}.loading{text-align:center;padding:60px;color:#64748b}.empty-state{text-align:center;padding:70px 20px;background:#fff;border-radius:16px;border:1px solid #e2e8f0}.empty-icon{font-size:40px;margin-bottom:15px}.empty-state h3{margin-bottom:8px}.empty-state p{color:#64748b}@media (max-width:1100px){.listing-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:800px){.listing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.market-hero{padding:35px}.market-hero h2{font-size:34px}.market-actions{flex-direction:column}.sell-button{height:50px}}@media (max-width:550px){.listing-grid{grid-template-columns:1fr}.market-hero{padding:25px}.market-hero h2{font-size:29px}.category-list{overflow-x:auto;flex-wrap:nowrap;padding-bottom:5px}.category{white-space:nowrap}}