/* Compact seller activity and auction clock, shared by homepage and market cards. */
.listing-activity{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px;min-height:20px}
.seller-presence{position:relative;display:inline-flex;align-items:center;gap:7px;font-size:11px;color:hsl(var(--theme-hue,217) calc(21.2% * var(--theme-saturation,1)) 80.6%);outline-offset:4px}
.seller-presence>i{width:7px;height:7px;border-radius:50%;background:hsl(var(--theme-hue,217) calc(12.9% * var(--theme-saturation,1)) 59.0%);box-shadow:0 0 0 3px hsl(var(--theme-hue,217) calc(12.9% * var(--theme-saturation,1)) 59.0% / 0.098);flex:none}
.seller-presence.is-online>i{background:#59cd8a;box-shadow:0 0 0 3px #59cd8a19}
.seller-presence.is-unknown{color:hsl(var(--theme-hue,217) calc(15.7% * var(--theme-saturation,1)) 57.6%)}.seller-presence.is-unknown>i{background:transparent;box-shadow:0 0 0 1px hsl(var(--theme-hue,217) calc(15.7% * var(--theme-saturation,1)) 57.6%)}
.presence-tooltip{position:absolute;left:-7px;bottom:calc(100% + 8px);z-index:40;width:max-content;max-width:210px;padding:7px 9px;border:1px solid hsl(var(--theme-hue,217) calc(23.0% * var(--theme-saturation,1)) 26.5%);border-radius:5px;background:hsl(var(--theme-hue,217) calc(30.6% * var(--theme-saturation,1)) 9.6%);color:hsl(var(--theme-hue,217) calc(38.1% * var(--theme-saturation,1)) 91.8%);font-size:11px;line-height:1.4;box-shadow:0 4px 14px #0005;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .12s}
.seller-presence:hover .presence-tooltip,.seller-presence:focus-visible .presence-tooltip{visibility:visible;opacity:1}
.auction-label{font-size:10px;color:hsl(var(--theme-hue,217) calc(63.3% * var(--theme-saturation,1)) 76.5%)}
.auction-clock{display:grid;grid-template-columns:1fr auto;gap:7px;margin-top:8px;color:hsl(var(--theme-hue,217) calc(24.2% * var(--theme-saturation,1)) 75.7%);font-size:11px}
.auction-clock time{color:hsl(var(--theme-hue,217) calc(100.0% * var(--theme-saturation,1)) 66.7%);font-weight:650;font-variant-numeric:tabular-nums;letter-spacing:.025em}
.auction-progress{grid-column:1/-1;height:3px;overflow:hidden;border-radius:2px}
.auction-progress progress{display:block;appearance:none;width:100%;height:3px;border:0;background:hsl(var(--theme-hue,217) calc(24.3% * var(--theme-saturation,1)) 20.2%)}
.auction-progress progress::-webkit-progress-bar{background:hsl(var(--theme-hue,217) calc(24.3% * var(--theme-saturation,1)) 20.2%)}.auction-progress progress::-webkit-progress-value{background:hsl(var(--theme-hue,217) calc(100.0% * var(--theme-saturation,1)) 60.0%);border-radius:2px}.auction-progress progress::-moz-progress-bar{background:hsl(var(--theme-hue,217) calc(100.0% * var(--theme-saturation,1)) 60.0%)}
.auction-ended time{color:hsl(var(--theme-hue,217) calc(16.3% * var(--theme-saturation,1)) 60.2%)}
.catalog-card .card-action-tray:has(.auction-bid-button){grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
.catalog-card .card-action-tray :is(.auction-auto-button,.auction-bid-button){grid-column:auto;opacity:1;cursor:pointer;min-height:40px;border:1px solid var(--theme-border);border-radius:9px;background:var(--theme-raised);color:var(--item-text);font-weight:600;transition:background .16s,border-color .16s}
.catalog-card .card-action-tray .auction-bid-button{background:var(--theme-primary);border-color:var(--theme-primary-hover);color:var(--theme-on-primary)}
.catalog-card .card-action-tray .auction-bid-button:hover:not(:disabled){background:var(--theme-primary-hover);border-color:var(--theme-primary-hover)}
.catalog-card .card-action-tray .auction-auto-button:hover{background:color-mix(in srgb,var(--theme-accent) 12%,var(--theme-raised));border-color:var(--theme-accent)}
/* Keep cards equally tall and seller activity directly below the price. */
:is(.item-grid,.home-item-grid)>.catalog-card{display:flex;flex-direction:column;height:100%;box-sizing:border-box}
:is(.item-grid,.home-item-grid)>.catalog-card .float-image{flex-shrink:0}
:is(.item-grid,.home-item-grid)>.catalog-card .float-card-info{display:flex;flex-direction:column;justify-content:center;flex:1}
:is(.item-grid,.home-item-grid)>.catalog-card .item-name{height:2.8em;min-height:2.8em;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
:is(.item-grid,.home-item-grid)>.catalog-card .listing-activity{margin-top:0;padding-top:3px}
:is(.item-grid,.home-item-grid)>.catalog-card .auction-clock{height:30px;flex-shrink:0}
.listing-kind,.auction-duration{border:0;padding:0;margin:0 0 20px;display:flex;gap:7px;flex-wrap:wrap}
.listing-kind legend,.auction-duration legend{font-size:12px;color:hsl(var(--theme-hue,217) calc(40.0% * var(--theme-saturation,1)) 84.3%);margin-bottom:10px}
.sell-listing-form .listing-kind label,.sell-listing-form .auction-duration label{position:relative;flex:1;display:block;margin:0;cursor:pointer}
.listing-kind input,.auction-duration input{position:absolute;opacity:0;width:1px;height:1px}
.listing-kind span,.auction-duration span{display:block;text-align:center;padding:11px 5px;border:1px solid hsl(var(--theme-hue,217) calc(26.8% * var(--theme-saturation,1)) 27.8%);background:hsl(var(--theme-hue,217) calc(33.3% * var(--theme-saturation,1)) 14.7%);border-radius:7px;font-size:12px;color:hsl(var(--theme-hue,217) calc(31.7% * var(--theme-saturation,1)) 75.9%)}
.listing-kind input:checked+span,.auction-duration input:checked+span{border-color:hsl(var(--theme-hue,217) calc(84.0% * var(--theme-saturation,1)) 63.3%);background:hsl(var(--theme-hue,217) calc(47.7% * var(--theme-saturation,1)) 25.5%);color:hsl(var(--theme-hue,217) calc(100.0% * var(--theme-saturation,1)) 96.5%)}
.listing-kind input:focus-visible+span,.auction-duration input:focus-visible+span{outline:2px solid hsl(var(--theme-hue,217) calc(100.0% * var(--theme-saturation,1)) 77.6%);outline-offset:3px}
.auction-composer-note{font-size:12px;color:hsl(var(--theme-hue,217) calc(30.1% * var(--theme-saturation,1)) 68.0%);line-height:1.6}
.sell-listing-form [hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){.presence-tooltip{transition:none}}

.sell-listing-form>label[for="sell-price"]{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sell-listing-form>label[for="sell-price"]>span:last-child{font-size:11px;color:hsl(var(--theme-hue,217) calc(26.0% * var(--theme-saturation,1)) 64.5%)}

.example-listing-label{font-size:9px;line-height:1.5;color:hsl(var(--theme-hue,217) calc(19.4% * var(--theme-saturation,1)) 58.6%);border:1px solid hsl(var(--theme-hue,217) calc(23.3% * var(--theme-saturation,1)) 26.1%);border-radius:4px;padding:2px 6px;white-space:nowrap}
.catalog-card .card-action-tray :is(.auction-auto-button,.auction-bid-button):disabled{opacity:.45;cursor:not-allowed}
