.market-form{display:flex;flex-direction:column;align-items:center;gap:12px}
.market-form .input{flex:unset}
.market-form__filters{display:flex;flex-direction:row;gap:12px;flex-wrap:wrap}
.market-form__filters label{display:flex;flex-direction:column;gap:8px}
.market-form__filters .market-form__checkbox{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:flex-start;column-gap:10px;row-gap:2px;max-width:280px;padding:8px 10px;border:1px solid var(--market-border);border-radius:10px;background:var(--market-card)}
.market-form__checkbox input{margin-top:3px;accent-color:var(--market-accent)}
.market-form__checkbox span{display:block;color:var(--text);font-weight:600;line-height:1.25}
.market-form__checkbox small{display:block;grid-column:2;color:var(--market-muted);font-size:12px;line-height:1.35}
.market-vendor{display:flex;flex-direction:column;gap:10px;max-width:420px;padding:14px 16px;margin-bottom:12px;background:var(--market-card);border:1px solid var(--market-border);border-radius:12px;color:var(--market-text)}
.market-vendor__row{margin:0;display:flex;gap:10px;font-size:15px;line-height:1.4}
.market-vendor__row .muted{color:var(--market-muted);flex-shrink:0}
.market-vendor__row:last-child{font-weight:400;color:var(--text)}
.market-vendor__row:last-child .muted{color:var(--market-muted);font-weight:400}
.market-table-wrap{width:100%;margin-left:auto;margin-right:auto;background:var(--market-card);border:1px solid var(--market-border);border-radius:12px;overflow:hidden;box-shadow:var(--shadow)}
.market-table{width:100%;border-collapse:collapse}
.market-table a{text-decoration:underline;text-underline-position:under}
.market-table a:hover{text-decoration:none}
.market-table thead{background:var(--market-card-hover)}
.market-table th,.market-table td{padding:12px 14px;text-align:left;border-bottom:1px solid var(--market-border);vertical-align:middle;font-size:14px}
.market-table th{font-weight:600;color:var(--text);text-transform:uppercase;font-size:12px;letter-spacing:.5px}
.market-table tbody tr:hover{background:var(--market-card-hover)}
.market-item__name{display:flex;align-items:center;gap:10px;font-size:16px}
.market-item__name img{width:34px;height:34px;object-fit:contain;border-radius:6px;background:rgba(255,255,255,.05);padding:3px}
.market-item__name a{color:var(--link);opacity:.9}
.market-item__name a:hover{text-decoration:none}
.market-item__price{color:var(--market-accent);font-weight:600}
.market-item__shop{color:var(--market-muted);white-space:nowrap}
.market-item__cards{display:flex;flex-direction:row;flex-wrap:wrap;gap:6px}
.market-item__card{display:flex;align-items:center;gap:6px}
.market-item__card img{width:20px;height:20px;image-rendering:pixelated}
.market-item__card a{color:var(--link);opacity:.9}
.market-item__card a:hover{text-decoration:none}
.market-item__stats{display:flex;flex-wrap:wrap;gap:8px}
.market-item__stat{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:8px;background:var(--market-pos-soft);color:var(--market-pos);font-size:14px}
.market-item__content{display:flex;flex-direction:column;gap:12px;flex-grow:1;min-width:0}
@media (max-width:768px){
.market-form{align-items:stretch}
.market-form__filters{flex-direction:column}
.input--sm{width:100%}
.market-table-wrap{background:none;border:none}
.market-table,.market-table thead,.market-table tbody,.market-table th,.market-table td,.market-table tr{display:block}
.market-table thead{display:none}
.market-table tr{background:var(--market-card);margin-bottom:12px;border:1px solid var(--market-border);border-radius:10px;overflow:hidden}
.market-table td{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-bottom:1px solid var(--market-border)}
.market-table td:last-child{border-bottom:none}
.market-table td::before{content:attr(data-label);font-weight:600;color:var(--muted);margin-right:10px;flex-shrink:0}
}
