/* Store styles (the viewer Store and the streamer app's store page). Stage UX13: colours are shared tokens (tokens.css). */
.reward-price{font-size:23px;font-weight:800;color:var(--gold-strong)}.reward-catalogue{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.reward-catalogue .card{margin:0;display:flex;flex-direction:column}.reward-catalogue .card button{margin-top:auto;align-self:flex-start;background:var(--gold)}.reward-catalogue .card .help{margin-bottom:18px}textarea{display:block;width:100%;resize:vertical;font:inherit;color:var(--text);background:var(--sunken);border:1px solid var(--edge-strong);border-radius:7px;padding:12px}dialog{background:var(--surface);color:var(--text);border:1px solid var(--gold-line);border-radius:15px;max-width:min(520px,90vw);padding:28px;font:inherit;line-height:1.8}dialog::backdrop{background:var(--scrim)}#claim-error{color:var(--danger-text);font-size:12px}.card article{padding:14px 0;border-bottom:1px solid var(--edge)}#products .subtle{margin-bottom:15px}#store-claims p{padding:12px 0;border-bottom:1px solid var(--edge);font-size:12px}#reward-catalogue button:disabled{color:var(--faint);background:var(--raised);opacity:1}@media(max-width:620px){.reward-catalogue{grid-template-columns:1fr}}

/* Viewer storefront: product imagery and clear shopping hierarchy. */
.storefront{margin:30px 0 36px}.storefront .reward-catalogue{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.store-product{border:1px solid var(--edge);border-radius:16px;overflow:hidden;background:var(--surface);display:flex;flex-direction:column;transition:border-color .2s,transform .2s}.store-product:hover{border-color:var(--gold);transform:translateY(-3px)}.store-product-image{position:relative;aspect-ratio:4/3;background:radial-gradient(ellipse at 50% 45%,var(--gold-glow),transparent 65%),var(--sunken);overflow:hidden;border-bottom:1px solid var(--edge)}.store-product-image svg{display:block;width:100%;height:100%}.store-product-type{position:absolute;top:14px;left:14px;color:var(--gold-text);background:var(--surface);border:1px solid var(--edge-strong);border-radius:5px;padding:6px 9px;font-size:10px;font-weight:650}.store-product-content{display:flex;flex-direction:column;padding:22px;flex:1}.store-product h3{font-size:17px;line-height:1.4;margin:0 0 10px}.store-product-description{font-size:12px;line-height:1.7;color:var(--text-muted);margin:0 0 24px}.store-product-price{display:flex;gap:8px;align-items:baseline;margin-top:auto;margin-bottom:18px;color:var(--gold-strong)}.store-product-price strong{font-size:29px;letter-spacing:-.04em}.store-product-price span{font-size:11px;font-weight:650}.store-product-stock{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:15px 0;border-top:1px solid var(--line);font-size:10px;color:var(--text-muted)}.store-product-stock .in-stock{color:var(--success-text)}.store-product-stock .sold-out{color:var(--danger-text)}.store-product-button{display:block;text-align:center;text-decoration:none;padding:13px 15px;width:100%;margin:7px 0 0;background:var(--gold-metal,var(--gold));color:var(--on-gold);border:1px solid var(--gold);border-radius:7px;font-size:12px;font-weight:750}.store-product-button:hover{background:var(--gold-text);color:var(--on-gold)}.store-product-button:disabled{background:var(--raised);border-color:var(--edge);color:var(--faint);opacity:1;cursor:default}@media(max-width:1050px){.storefront .reward-catalogue{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.storefront .reward-catalogue{grid-template-columns:1fr;gap:20px}.store-product-image{aspect-ratio:16/10}}

.store-categories{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 12px}.store-categories button{margin:0;border:1px solid var(--edge-strong);background:var(--surface);color:var(--gold-text);padding:12px 20px;border-radius:8px}.store-categories button[aria-pressed=true]{background:var(--gold-metal,var(--gold));border-color:var(--gold);color:var(--on-gold)}.store-categories button:hover{border-color:var(--gold)}.store-product[hidden]{display:none!important}#category-status{margin-bottom:20px}@media(max-width:550px){.store-categories{gap:7px}.store-categories button{flex:1;padding:11px 8px;font-size:11px}}

.store-product-image>img{display:block;width:100%;height:100%;object-fit:contain;padding:22px}#reward-image-file{margin-bottom:12px}

.store-browse{display:grid;grid-template-columns:minmax(150px,1fr) 200px auto;align-items:end;gap:16px;margin:20px 0 15px}.store-browse label{margin:0;gap:8px}.store-browse .store-stock-filter{flex-direction:row;align-items:center;padding-bottom:13px;white-space:nowrap}.store-stock-filter input{width:auto}@media(max-width:700px){.store-browse{grid-template-columns:1fr 1fr}.store-stock-filter{grid-column:1/-1}}

/* Viewer reward cards: gold on charcoal (Stage UX11; gold marks Bucks prices and the one main button), on the shared tokens. */
body:has(.viewer-header) .store-product-button{min-height:44px;font-size:14px;transition:transform .18s ease}
body:has(.viewer-header) .store-product-button:active{transform:translateY(1px) scale(.98)}
body:has(.viewer-header) .store-categories button{min-height:44px}
@media(prefers-reduced-motion:reduce){body:has(.viewer-header) .store-product,body:has(.viewer-header) .store-product-button{transition:none}body:has(.viewer-header) .store-product:hover,body:has(.viewer-header) .store-product-button:active{transform:none}}
/* SHOP COSMETICS: Admin › Shop Items cosmetics editor rows */
.cz-admin-list{display:grid;gap:8px}
.cz-admin-row{display:grid;grid-template-columns:minmax(160px,2fr) repeat(2,minmax(90px,1fr)) auto auto;align-items:end;gap:8px;padding:8px 0;border-bottom:1px solid var(--gold-line)}
.cz-admin-name{display:grid;gap:2px;min-width:0}.cz-admin-row label{display:grid;gap:2px;font-size:12px}
.cz-admin-row input[type=number]{min-height:44px}.cz-admin-check{display:flex!important;align-items:center;gap:6px;min-height:44px}
.cz-admin-row button{min-height:44px}
@media(max-width:640px){.cz-admin-row{grid-template-columns:1fr 1fr}.cz-admin-name{grid-column:1/-1}}
/* STORE UNLOCK (Aaron, 11 Nov 2026): a locked cash, gift card, merch or physical reward shows a lock and a live countdown where Redeem sits. */
.store-lock{display:grid;gap:2px;justify-items:center;text-align:center;min-height:44px;padding:8px 10px;border:1px solid var(--gold-line);border-radius:12px;background:var(--sunken);color:var(--text)}
.store-lock-count{font-weight:800;font-size:14px;color:var(--gold-text);font-variant-numeric:tabular-nums}
.store-lock-when{font-size:12px;color:var(--text-muted)}
.store-product.store-locked .store-product-image{filter:saturate(.75)}
