*{box-sizing:border-box;margin:0;padding:0}:root{font-family:Segoe UI,system-ui,-apple-system,sans-serif;background-color:#f0f4f0;color:#212121;font-size:16px}body{min-height:100vh;display:block}#root{min-height:100vh}button{cursor:pointer;font-family:inherit;font-size:.95rem;border:none;border-radius:8px;padding:10px 18px;transition:background .2s,opacity .2s}button:disabled{opacity:.6;cursor:not-allowed}input,textarea,select{font-family:inherit;font-size:.95rem;border:1.5px solid #c8d8c8;border-radius:8px;padding:10px 12px;width:100%;background:#fff;color:#212121;transition:border-color .2s}input:focus,textarea:focus,select:focus{outline:none;border-color:#2e7d32}textarea{resize:vertical;min-height:80px}.app{min-height:100vh;display:flex;flex-direction:column;background:#fff0f8}.auth-page{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:20px;background:linear-gradient(160deg,#880e4f,#e91e8c,#f06292)}.auth-logo{text-align:center;margin-bottom:30px;color:#fff}.auth-logo h1{font-size:2.6rem;font-weight:800;letter-spacing:-1px}.auth-logo p{font-size:1rem;opacity:.85;margin-top:6px}.auth-card{background:#fff;border-radius:16px;padding:32px;width:100%;max-width:420px;box-shadow:0 8px 32px #00000026}.auth-card h2{font-size:1.4rem;color:#880e4f;margin-bottom:20px}.auth-tabs{display:flex;gap:0;margin-bottom:24px;border-bottom:2px solid #fce4ec}.auth-tabs button{flex:1;background:none;border:none;border-bottom:3px solid transparent;border-radius:0;padding:10px;color:#888;font-weight:600;margin-bottom:-2px}.auth-tabs button.active{color:#e91e8c;border-bottom-color:#e91e8c}.form-group{display:flex;flex-direction:column;gap:14px;margin-bottom:16px}.btn-primary{background:#e91e8c;color:#fff;width:100%;padding:13px;font-size:1rem;font-weight:600;border-radius:10px}.btn-primary:hover{background:#880e4f}.btn-secondary{background:#e1f5fe;color:#0277bd;font-weight:600}.btn-secondary:hover{background:#b3e5fc}.btn-danger{background:#ffebee;color:#c62828;font-weight:600}.btn-danger:hover{background:#ffcdd2}.btn-accent{background:#29b6f6;color:#fff;font-weight:600}.btn-accent:hover{background:#0277bd}.disclaimer-box{background:#fce4ec;border:1px solid #f48fb1;border-radius:8px;padding:14px;font-size:.85rem;color:#880e4f;line-height:1.5}.disclaimer-check{display:flex;align-items:flex-start;gap:10px;margin-top:12px;font-size:.9rem;color:#333;cursor:pointer}.disclaimer-check input[type=checkbox]{width:18px;min-width:18px;height:18px;margin-top:2px;cursor:pointer}header{background:linear-gradient(135deg,#880e4f,#e91e8c);color:#fff;padding:14px 20px;display:flex;justify-content:space-between;align-items:center;position:sticky;top:0;z-index:100;box-shadow:0 2px 8px #e91e8c4d}.header-logo{font-size:1.4rem;font-weight:800;letter-spacing:-.5px}.header-logo span{color:#b3e5fc}.header-right{display:flex;align-items:center;gap:14px}.credits-badge{background:#fff3;border-radius:20px;padding:5px 12px;font-size:.85rem;font-weight:600;display:flex;align-items:center;gap:5px}.credits-badge:before{content:"⭐";font-size:.8rem}.btn-logout{background:#fff3;color:#fff;padding:7px 14px;font-size:.85rem;border-radius:8px}.btn-logout:hover{background:#ffffff4d}nav{background:#fff;display:flex;overflow-x:auto;border-bottom:2px solid #fce4ec;scrollbar-width:none}nav::-webkit-scrollbar{display:none}.nav-btn{background:none;border:none;border-bottom:3px solid transparent;border-radius:0;padding:14px 18px;white-space:nowrap;color:#666;font-size:.9rem;font-weight:500;position:relative}.nav-btn.active{color:#e91e8c;border-bottom-color:#e91e8c;font-weight:600}.unread-dot{position:absolute;top:8px;right:8px;background:#e53935;color:#fff;border-radius:10px;font-size:.65rem;font-weight:700;padding:1px 5px;min-width:16px;text-align:center}main{flex:1;padding:20px;max-width:900px;margin:0 auto;width:100%}.page-title{font-size:1.4rem;font-weight:700;color:#880e4f;margin-bottom:18px}.filters{background:#fff;border-radius:12px;padding:16px;margin-bottom:20px;display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;box-shadow:0 1px 4px #00000014}.filter-group{display:flex;flex-direction:column;gap:5px;flex:1;min-width:130px}.filter-group label{font-size:.8rem;font-weight:600;color:#555;text-transform:uppercase;letter-spacing:.5px}.listings-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}.listing-card{background:#fff;border-radius:12px;padding:18px;box-shadow:0 1px 6px #00000014;border:1px solid #fce4ec;display:flex;flex-direction:column;gap:10px;transition:transform .15s,box-shadow .15s}.listing-card:hover{transform:translateY(-2px);box-shadow:0 4px 16px #e91e8c1f}.card-header{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.card-header h3{font-size:1.05rem;font-weight:700;color:#880e4f;flex:1}.type-badge{font-size:.72rem;font-weight:700;padding:3px 9px;border-radius:20px;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap}.type-badge.skill{background:#fce4ec;color:#e91e8c}.type-badge.resource{background:#e1f5fe;color:#0277bd}.card-description{color:#444;font-size:.9rem;line-height:1.5}.card-need{background:#e1f5fe;border-left:3px solid #29b6f6;padding:8px 10px;border-radius:0 6px 6px 0;font-size:.85rem;color:#01579b}.card-need strong{color:#0277bd}.card-meta{display:flex;flex-wrap:wrap;gap:8px;font-size:.8rem;color:#666}.meta-chip{background:#f5f5f5;padding:3px 9px;border-radius:20px;display:flex;align-items:center;gap:3px}.card-owner{font-size:.82rem;color:#555;display:flex;align-items:center;gap:6px}.star-rating{color:#e91e8c;font-size:.8rem}.card-actions{margin-top:4px}.offer-form{display:flex;flex-direction:column;gap:8px;margin-top:6px}.offer-form-buttons{display:flex;gap:8px}.form-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 6px #00000014}.form-field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}.form-field label{font-weight:600;font-size:.9rem;color:#333}.form-field .hint{font-size:.78rem;color:#888;margin-top:-4px}.type-toggle{display:flex;gap:10px}.type-toggle button{flex:1;padding:10px;font-weight:600;background:#f5f5f5;color:#555;border:2px solid transparent;border-radius:8px}.type-toggle button.active{background:#fce4ec;color:#e91e8c;border-color:#e91e8c}.trades-list{display:flex;flex-direction:column;gap:14px}.trade-card{background:#fff;border-radius:12px;padding:18px;box-shadow:0 1px 6px #00000014;border-left:4px solid #ccc}.trade-card.pending{border-left-color:#29b6f6}.trade-card.accepted{border-left-color:#e91e8c}.trade-card.rejected{border-left-color:#e53935}.trade-card.completed{border-left-color:#880e4f}.trade-card h3{font-size:1rem;color:#880e4f;margin-bottom:6px}.status-badge{display:inline-block;font-size:.75rem;font-weight:700;padding:2px 9px;border-radius:20px;text-transform:uppercase;letter-spacing:.5px;margin-top:8px}.status-badge.pending{background:#e1f5fe;color:#0277bd}.status-badge.accepted{background:#fce4ec;color:#e91e8c}.status-badge.rejected{background:#ffebee;color:#c62828}.status-badge.completed{background:#f8bbd0;color:#880e4f}.trade-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.messages-layout{display:grid;grid-template-columns:260px 1fr;gap:16px;height:calc(100vh - 200px);min-height:400px}.conversations-list{background:#fff;border-radius:12px;overflow-y:auto;box-shadow:0 1px 6px #00000014}.conversation-item{padding:14px 16px;border-bottom:1px solid #f0f0f0;cursor:pointer;transition:background .15s}.conversation-item:hover{background:#fff0f8}.conversation-item.active{background:#fce4ec}.conversation-item .conv-name{font-weight:600;color:#880e4f;font-size:.95rem}.conversation-item .conv-preview{font-size:.8rem;color:#888;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.conversation-item .conv-unread{display:inline-block;background:#e91e8c;color:#fff;border-radius:10px;font-size:.7rem;padding:1px 6px;margin-left:6px}.message-pane{background:#fff;border-radius:12px;display:flex;flex-direction:column;box-shadow:0 1px 6px #00000014;overflow:hidden}.message-pane-header{padding:14px 18px;border-bottom:1px solid #fce4ec;font-weight:700;color:#880e4f;background:#fff0f8}.messages-scroll{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px}.message-bubble{max-width:75%;padding:10px 14px;border-radius:14px;font-size:.9rem;line-height:1.4}.message-bubble.sent{background:#e91e8c;color:#fff;align-self:flex-end;border-bottom-right-radius:4px}.message-bubble.received{background:#e1f5fe;color:#212121;align-self:flex-start;border-bottom-left-radius:4px}.message-bubble .msg-time{font-size:.7rem;opacity:.7;margin-top:4px;text-align:right}.message-input-row{padding:12px 16px;border-top:1px solid #fce4ec;display:flex;gap:10px}.message-input-row textarea{min-height:unset;height:42px;resize:none;padding:10px 12px}.message-input-row button{white-space:nowrap;background:#e91e8c;color:#fff;padding:10px 18px}.no-conversation{display:flex;align-items:center;justify-content:center;flex:1;color:#aaa;font-size:.95rem}.profile-card{background:#fff;border-radius:12px;padding:24px;box-shadow:0 1px 6px #00000014;margin-bottom:20px}.profile-header{display:flex;align-items:center;gap:20px;margin-bottom:20px}.avatar{width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,#e91e8c,#29b6f6);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.6rem;font-weight:700;flex-shrink:0}.profile-info h2{font-size:1.3rem;color:#880e4f}.profile-stats{display:flex;gap:20px;flex-wrap:wrap;margin-top:16px;padding-top:16px;border-top:1px solid #fce4ec}.stat-item{text-align:center}.stat-item .stat-value{font-size:1.5rem;font-weight:700;color:#e91e8c}.stat-item .stat-label{font-size:.75rem;color:#888;text-transform:uppercase;letter-spacing:.5px}.reviews-list{display:flex;flex-direction:column;gap:12px}.review-item{background:#fff;border-radius:10px;padding:14px;box-shadow:0 1px 4px #0000000f}.review-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px}.review-header .reviewer{font-weight:600;font-size:.9rem}.review-form{background:#fff0f8;border:1px solid #f48fb1;border-radius:10px;padding:14px;margin-top:12px}.star-select{display:flex;gap:6px;margin:8px 0}.star-btn{background:none;padding:2px;font-size:1.5rem;border-radius:4px}.empty-state{text-align:center;padding:50px 20px;color:#aaa}.empty-state .empty-icon{font-size:2.5rem;margin-bottom:12px}.empty-state p{font-size:1rem}.fund-banner{background:linear-gradient(135deg,#e91e8c,#29b6f6);color:#fff;border-radius:12px;padding:20px;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}.fund-banner h3{font-size:1.1rem;margin-bottom:4px}.fund-banner p{font-size:.85rem;opacity:.85}.fund-banner .fund-amount{font-size:1.8rem;font-weight:800;color:#b3e5fc}@media (max-width: 640px){main{padding:14px}.messages-layout{grid-template-columns:1fr;height:auto}.conversations-list{max-height:200px}header{padding:12px 14px}.header-logo{font-size:1.2rem}.credits-badge{display:none}.listings-grid{grid-template-columns:1fr}}
