.market-home .card-compare{position:absolute;left:9px;top:9px;min-height:31px;padding:0 10px;border:1px solid #e4e8ec;border-radius:18px;background:#fffffff0;color:#51606a;font-size:10px;font-weight:700;box-shadow:0 2px 9px #1d2e3f18}
.market-home .card-compare:hover,.market-home .card-compare.is-active{border-color:#afc1f9;background:#eaf0ff;color:#3d59d6}
.compare-tray[hidden]{display:none}
.compare-tray{position:fixed;z-index:45;left:16px;right:16px;bottom:max(16px,env(safe-area-inset-bottom));pointer-events:none}
.compare-tray-inner{width:min(980px,100%);margin:auto;display:flex;align-items:center;gap:17px;padding:13px 16px;background:#f4f6f9f5;border:1px solid #dce3ee;border-radius:13px;box-shadow:0 14px 45px #1b2e4566;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);pointer-events:auto}
.compare-tray-heading{min-width:112px;display:grid;gap:3px}.compare-tray-heading strong{font-size:12px;color:#1d2b39}.compare-tray-heading strong span{color:#4765ed}.compare-tray-heading>span{font-size:10px;color:#bd4550;max-width:165px}
.compare-tray-items{flex:1;min-width:0;display:flex;flex-wrap:wrap;gap:6px}
.compare-tray-item{display:inline-flex;align-items:center;gap:5px;max-width:180px;padding:5px 6px 5px 10px;border-radius:6px;background:#fff;border:1px solid #e0e6ee;color:#344451;font-size:10px}.compare-tray-item>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.compare-tray-item button{border:0;background:none;color:#71818b;font-size:17px;line-height:1;padding:0 2px}
.compare-tray-inner>a{flex:none;padding:9px 12px;border-radius:7px;background:#4765ed;color:#fff;font-size:11px;font-weight:700}
.compare-wrap{margin-top:14px}.compare-intro{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:17px}.compare-intro h2{margin:6px 0;font-size:22px}.compare-intro p{margin:0;color:#73818c;font-size:11px;line-height:1.65}.compare-intro #compareActionStatus{color:#4b7b68;font-size:11px;min-height:1em}
.compare-scroller{border:1px solid #e1e7ed;border-radius:10px;overflow:auto;scrollbar-color:#b6c5d7 #f2f5f9}.compare-table{width:100%;min-width:calc(150px + 250px * var(--compare-columns, 2));table-layout:fixed;border-collapse:separate;border-spacing:0;font-size:11px;line-height:1.65}.compare-table th,.compare-table td{min-width:0;padding:17px;border:0;border-bottom:1px solid #e7edf2;border-right:1px solid #e7edf2;vertical-align:top}.compare-table thead th{background:#f5f7fb}.compare-table thead th:first-child,.compare-table tbody th{width:150px;position:sticky;left:0;z-index:2;background:#f8fafc;color:#617180;font-weight:700}.compare-table tbody td{width:250px;background:#fff;color:#344451}.compare-table tbody tr:nth-child(even) td{background:#fcfdff}.compare-table tbody p{margin:6px 0 0;color:#657680;font-weight:400}.compare-table tbody td>a{display:block;margin-top:10px;color:#4765ed;font-weight:700}.compare-table tbody td>b{font-size:12px}.compare-table tr>*:last-child{border-right:0}.compare-table tbody tr:last-child>*{border-bottom:0}
.compare-product-head{text-align:left}.compare-product-art{width:124px;height:124px;display:block;overflow:hidden;background:#f5f5f1;border-radius:7px}.compare-product-art span{display:block;width:100%;height:100%;background-size:400% 400%;background-position:var(--x) var(--y)}.compare-product-head small{display:block;margin-top:10px;color:#78928c;font-size:10px}.compare-product-title{display:block;margin:5px 0 9px;font-size:15px;font-weight:700;color:#1e2b38}.compare-product-actions{display:flex;flex-wrap:wrap;gap:7px}.compare-product-actions button{border:1px solid #cdd7f6;border-radius:6px;background:#eef2ff;color:#3d59d6;padding:6px 8px;font-size:10px;font-weight:700}.compare-product-actions button:last-child{background:#fff;border-color:#e1e6e9;color:#74828b}
.compare-detail-list{list-style:none;padding:0;margin:0}.compare-detail-list li{padding:0 0 11px;margin:0 0 11px;border-bottom:1px solid #edf1f4}.compare-detail-list li:last-child{margin:0;padding:0;border-bottom:0}.compare-detail-list b{font-size:11px;color:#253645}.compare-detail-list p{font-size:10px}.compare-muted{color:#7b8992}
.buy-compare-link{display:block;margin-top:10px;color:#4765ed;font-size:10px;font-weight:700}.buy-compare-status{display:block;min-height:1em;margin-top:4px;color:#bc4a56;font-size:10px}
@media(max-width:700px){.compare-tray{left:8px;right:8px;bottom:max(8px,env(safe-area-inset-bottom))}.compare-tray-inner{flex-wrap:wrap;gap:8px;padding:10px}.compare-tray-heading{width:100%;display:flex;gap:10px;align-items:center}.compare-tray-items{flex-basis:calc(100% - 115px)}.compare-tray-item{max-width:135px}.compare-tray-inner>a{padding:9px}.compare-intro{display:block}.compare-intro #compareActionStatus{display:block;margin-top:8px}.compare-table thead th:first-child,.compare-table tbody th{width:105px}.compare-table thead th,.compare-table tbody td{width:220px}.compare-product-art{width:105px;height:105px}}
