*{box-sizing:border-box;margin:0;padding:0}:root{--bg:#f6f7f9;--surface:#ffffff;--text:#1a1d21;--muted:#61666d;--border:#e2e5e9;--accent:#1d4ed8;--accent-contrast:#ffffff}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:var(--bg);color:var(--text);line-height:1.5}a{color:inherit;text-decoration:none}.nav{background:var(--surface);border-bottom:1px solid var(--border);padding:.75rem 1.5rem;display:flex;align-items:center;gap:1.25rem}.nav .brand{font-weight:700;font-size:1.05rem;margin-right:auto}.nav a:hover{color:var(--accent)}.nav .user{color:var(--muted);font-size:.9rem}.container{max-width:960px;margin:0 auto;padding:1.5rem}h1{font-size:1.5rem;margin-bottom:1rem}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));grid-gap:1rem;gap:1rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:1rem;display:flex;flex-direction:column;gap:.35rem;transition:border-color .15s}.card:hover{border-color:var(--accent)}.card .title{font-weight:600}.card .price{font-size:1.1rem;font-weight:700}.card .meta{color:var(--muted);font-size:.85rem}.badge{display:inline-block;font-size:.75rem;font-weight:600;padding:.1rem .5rem;border-radius:999px;background:var(--border);color:var(--muted);width:-moz-fit-content;width:fit-content}.badge.published{background:#dcfce7;color:#166534}.panel,form.panel{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:1.5rem;max-width:480px;gap:1rem}.panel,form.panel,label{display:flex;flex-direction:column}label{gap:.3rem;font-weight:600;font-size:.9rem}input,select,textarea{font:inherit;padding:.5rem .65rem;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text)}input:focus,select:focus,textarea:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:transparent}button{font:inherit;font-weight:600;padding:.55rem 1.1rem;border:none;border-radius:6px;background:var(--accent);color:var(--accent-contrast);cursor:pointer;width:-moz-fit-content;width:fit-content}button:hover{filter:brightness(1.1)}button.link{background:none;color:var(--text);padding:0;font-weight:400}button.link:hover{color:var(--accent);filter:none}.error{color:#b91c1c;font-size:.9rem}.success{color:#166534;font-size:.9rem}fieldset.attributes{border:1px solid var(--border);border-radius:8px;padding:1rem;display:flex;flex-direction:column;gap:1rem}fieldset.attributes legend{font-weight:600;font-size:.9rem;padding:0 .4rem}.checkbox-group{display:flex;flex-wrap:wrap;gap:.75rem}label.checkbox{flex-direction:row;align-items:center;gap:.4rem;font-weight:400}.attribute-list{display:grid;grid-template-columns:max-content 1fr;grid-gap:.35rem 1.5rem;gap:.35rem 1.5rem;background:var(--bg);border-radius:8px;padding:.9rem 1.1rem}.attribute-row{display:contents}.attribute-list dt{color:var(--muted);font-size:.9rem}.attribute-list dd{font-size:.9rem;font-weight:600}.admin{display:flex;flex-direction:column;gap:1.5rem}.admin .panel{max-width:720px}.admin form{display:flex;flex-direction:column;gap:1rem}.attribute-editor{border:1px solid var(--border);border-radius:8px;padding:.6rem .9rem}.attribute-editor summary{cursor:pointer;font-weight:600;font-size:.9rem}.attribute-editor-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));grid-gap:.75rem;gap:.75rem;margin-top:.75rem}.attribute-editor-grid .wide{grid-column:1/-1}.actions{display:flex;gap:1rem;align-items:center}button.danger{color:#b91c1c}.badge.sold{background:#fee2e2;color:#991b1b}.badge.expired{background:#fef3c7;color:#92400e}.plans .plan ul{list-style:none;display:flex;flex-direction:column;gap:.25rem;font-size:.9rem}.plan.current{border-color:var(--accent);border-width:2px}.subscription-card{max-width:none;flex-direction:row;align-items:center;gap:2rem;margin-bottom:1.5rem;flex-wrap:wrap}.subscription-card .slots{display:flex;align-items:center;gap:.6rem}.subscription-card progress{width:140px;accent-color:var(--accent)}.listing-actions{display:flex;gap:.75rem;align-items:center}.badge.auction-badge{background:#ede9fe;color:#5b21b6}.auction{max-width:none}.auction-head{display:flex;justify-content:space-between;align-items:flex-start;gap:2rem;flex-wrap:wrap}.auction-head .price{font-size:1.8rem;font-weight:700}.countdown{text-align:right}.countdown .time{font-size:1.3rem;font-weight:700;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.bid-form{display:flex;align-items:flex-end;gap:.75rem}.bid-form label{flex:1 1;max-width:220px}button.bin{background:#166534;width:-moz-fit-content;width:fit-content}.bid-history table{border:none}.bid-history h3{font-size:1rem;margin-bottom:.5rem}.rules{font-size:.85rem;color:var(--muted)}.rules summary{cursor:pointer;font-weight:600}.rules ul{margin:.5rem 0 0 1.2rem}.browse{display:grid;grid-template-columns:240px 1fr;grid-gap:1.5rem;gap:1.5rem;align-items:start}@media (max-width:720px){.browse{grid-template-columns:1fr}}.filters{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:1rem;display:flex;flex-direction:column;gap:.9rem;position:-webkit-sticky;position:sticky;top:1rem}.filters .range{display:grid;grid-template-columns:1fr 1fr;grid-gap:.5rem;gap:.5rem}.filters fieldset.attributes{gap:.9rem}.filters legend{text-transform:capitalize}.card-photo{width:calc(100% + 2rem);margin:-1rem -1rem .5rem;border-radius:10px 10px 0 0;aspect-ratio:4/3;object-fit:cover}.photo-grid{display:flex;flex-wrap:wrap;gap:.75rem}.photo-tile{display:flex;flex-direction:column;gap:.25rem;align-items:center}.photo-tile img{width:96px;height:96px;object-fit:cover;border-radius:8px;border:1px solid var(--border)}.photo-add{width:96px;height:96px;border:2px dashed var(--border);border-radius:8px;display:flex;align-items:center;justify-content:center;text-align:center;cursor:pointer;color:var(--muted);font-size:.85rem;font-weight:600}.photo-add:hover{border-color:var(--accent);color:var(--accent)}.gallery-main{width:100%;max-height:420px;object-fit:contain;background:var(--bg);border-radius:10px}.gallery-thumbs{display:flex;gap:.5rem;margin-top:.5rem;flex-wrap:wrap}.gallery-thumbs img{width:72px;height:72px;object-fit:cover;border-radius:6px;border:1px solid var(--border)}.ai-draft{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;padding:.6rem .9rem;background:#f5f3ff;border:1px dashed #c4b5fd;border-radius:8px}.ai-draft button{color:#5b21b6;font-weight:600}.bell{position:relative}.bell-badge{position:absolute;top:-6px;right:-10px;background:#dc2626;color:white;font-size:.65rem;font-weight:700;border-radius:999px;padding:0 5px;line-height:1.4}.conversation-list,.notification-list{display:flex;flex-direction:column;gap:.75rem;max-width:720px}.conversation-head{display:flex;justify-content:space-between;align-items:center}.badge.unread{background:#dc2626;color:white}.notification.unread-row{border-left:3px solid var(--accent)}.page-head{display:flex;align-items:baseline;gap:1.5rem}.thread{max-width:720px;gap:1rem}.thread,.thread-messages{display:flex;flex-direction:column}.thread-messages{gap:.6rem;max-height:55vh;overflow-y:auto;padding:1rem;background:var(--surface);border:1px solid var(--border);border-radius:10px}.bubble{max-width:75%;background:var(--bg);border-radius:10px;padding:.5rem .8rem;align-self:flex-start}.bubble.mine{align-self:flex-end;background:#dbeafe}.bubble-meta{display:block;font-size:.72rem;color:var(--muted);margin-bottom:.15rem}.thread-form{display:flex;gap:.6rem}.thread-form input{flex:1 1}.report-form{display:inline-flex;gap:.5rem;align-items:center;flex-wrap:wrap}.admin-tabs{display:flex;gap:1rem;border-bottom:1px solid var(--border);padding-bottom:.5rem}.admin-tabs button.active{background:var(--accent);color:white;padding:.3rem .9rem;border-radius:6px}.admin-section{max-width:900px}.plan-edit{display:flex;gap:.9rem;align-items:flex-end;flex-wrap:wrap;border-bottom:1px solid var(--border);padding-bottom:.9rem}.plan-edit label{font-size:.78rem}.plan-edit input[type=number]{width:90px}.term-list{display:flex;gap:.5rem;flex-wrap:wrap}.metric-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));grid-gap:1rem;gap:1rem}.metric{display:flex;flex-direction:column;background:var(--bg);border-radius:8px;padding:.9rem}.metric-value{font-size:1.3rem;font-weight:700}.muted{color:var(--muted)}.detail{background:var(--surface);border:1px solid var(--border);border-radius:10px;padding:2rem;max-width:680px;display:flex;flex-direction:column;gap:.75rem}.detail .price{font-size:1.6rem;font-weight:700}.detail .description{white-space:pre-wrap;margin-top:.5rem}table{width:100%;border-collapse:collapse;background:var(--surface);border:1px solid var(--border);border-radius:10px;overflow:hidden}td,th{text-align:left;padding:.6rem .9rem;border-bottom:1px solid var(--border);font-size:.92rem}th{background:var(--bg);font-weight:600}tr:last-child td{border-bottom:none}