/* Keep colour names readable; only the small dot uses the garment colour. */
.merch-colors button,.merch-colors button:hover,.merch-colors button:focus{background:#081d32!important;color:#fff!important;border-color:#6488ac!important}
.merch-colors button>span:last-child{color:#fff!important;background:transparent!important}
.merch-colors button[aria-pressed=true]{background:#123950!important;border-color:#7fdff0!important;box-shadow:inset 0 0 0 1px #a693ff!important;color:#fff!important}
.merch-colors button[aria-pressed=true]>span:last-child::after{content:" ✓";background:linear-gradient(110deg,#58eed1 0%,#55c9f5 48%,#b797ff 100%);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent;font-weight:900}
.merch-colors button:focus-visible{outline:3px solid #a693ff!important;outline-offset:3px}
.merch-detail .merch-colors,.merch-colors legend{color:#fff!important}

/* Equal-height grid cards keep every requested-size control at the bottom. */
.merch-product-grid{align-items:stretch}
.merch-product-grid .merch-product{display:flex;flex-direction:column;min-width:0}
.merch-product-grid .merch-size-control{margin-top:auto;padding-top:20px;display:flex;flex-direction:column;gap:8px;width:100%;box-sizing:border-box}
.merch-product-grid .merch-size-control select{width:100%;min-height:48px;box-sizing:border-box}

/* Shared form controls follow the same Aurora outline on every section. */
:where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not([type=hidden]),select,textarea){border:2px solid transparent!important;border-radius:14px!important;background:linear-gradient(#071d31,#071d31) padding-box,linear-gradient(110deg,#40d8c8,#62b5ff 48%,#b48dff) border-box!important;color:#fff!important;box-sizing:border-box}
:where(input,select,textarea):focus-visible{outline:3px solid #a693ff;outline-offset:3px}
select option,select optgroup{background:#071d31;color:#fff}
/* Marketplace save control and no-photo art; real listing photos are untouched. */
#listingGrid .card .save{width:44px;height:44px;border-radius:12px!important;border:2px solid transparent!important;background:linear-gradient(#081d32,#081d32) padding-box,linear-gradient(110deg,#40d8c8,#62b5ff,#b48dff) border-box!important;font-size:0!important}
#listingGrid .card .save::before{content:"♡";position:absolute;inset:0;display:grid;place-items:center;font-size:28px;line-height:1;background:linear-gradient(110deg,#58eed1,#55c9f5,#b797ff);background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
#listingGrid .card .save[aria-pressed=true]::before{content:"♥"}
#listingGrid .card .art:has(>.symbol){background:linear-gradient(145deg,#071d31,#102746) padding-box,linear-gradient(110deg,#40d8c8,#62b5ff,#b48dff) border-box!important;border:2px solid transparent;border-radius:16px;box-sizing:border-box}
#listingGrid .card .art>.symbol{background:linear-gradient(110deg,#58eed1,#55c9f5,#b797ff);background-clip:text;-webkit-background-clip:text;color:transparent!important;-webkit-text-fill-color:transparent}
#listingGrid .seller-footer{position:relative;border-top:0!important;padding-top:14px}
#listingGrid .seller-footer::before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,#40d8c8,#62b5ff,#b48dff)}

/* Marketplace cards use the approved borderless Aurora artwork surface. */
#listingGrid .card{background:linear-gradient(145deg,#061a30e8,#0b2545e8),url("/aurora-site-background.png") center/cover!important;border:0!important;border-radius:22px!important;box-shadow:0 12px 28px #0003;overflow:hidden}
#listingGrid .card>.art{margin:12px 12px 0;border-radius:16px;overflow:hidden}
#listingGrid .card .card-content{padding:20px}
#listingGrid .card .card-open{background:transparent!important;border:0!important;box-shadow:none!important;color:#fff!important}
#listingGrid .card .price{font-size:1.35rem;font-weight:800;color:#fff!important}
#listingGrid .card h3{font-size:1.15rem;line-height:1.4;margin:8px 0 12px;color:#fff!important}
#listingGrid .card :is(.location,.small,.seller-footer){color:#fff!important;line-height:1.5}
#listingGrid .card .sample{background:#081d32e8!important;color:#fff!important;border-radius:8px;padding:6px 9px}
#listingGrid .card>.text-button{margin:0 20px 20px;align-self:flex-start;color:#fff!important}

/* Centre only when the complete tab grid fits; overflow must remain reachable. */
#topnav{justify-content:start!important;justify-content:safe center!important}
