.marketplace .account { left: 997px; }
a.mine.box { border-bottom: 1px solid #e9ecf8; background: #f7f8fe; border-radius: 5px; }
a.mine.box:hover { background: #e9edfd; }
button.outline-pill.box { border: 1px solid #c9d2f6; border-radius: 9px; background: #eef1fe; }
.store-head { border-radius: 8px 8px 0 0; background: linear-gradient(100deg, #0a1870, #123aa8); }

/* Shown to a member who has something in their cart. */
.cart-bar { position: fixed; right: 20px; bottom: 20px; z-index: 40; padding: 13px 20px; border-radius: 999px; background: #1428c8; color: #fff; font: 700 14px/1 XVF, "XChirp VF", TwitterChirp, -apple-system, system-ui, "Segoe UI", Roboto, "Geeza Pro", "Arial Hebrew", Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif; text-decoration: none; box-shadow: 0 8px 24px #0005; }
.cart-bar:hover, .cart-bar:focus-visible { background: #0a1a8f; }
.cart-bar[hidden] { display: none; }

/* A featured product opens a popup with its details. */
button.product-open.box { z-index: 4; border-radius: 9px; }
button.product-open.box:hover { box-shadow: 0 0 0 2px #1448e8, 0 6px 16px #1428c844; }
button.product-open.box:focus-visible { outline: 3px solid #ffd21e; }
.product-popup { position: fixed; inset: 0; width: min(720px, calc(100% - 32px)); max-height: calc(100% - 32px); margin: auto; padding: 0; overflow: auto; border: 0; border-radius: 20px; background: #fff; color: #0a1238; font-family: XVF, "XChirp VF", TwitterChirp, -apple-system, system-ui, "Segoe UI", Roboto, "Geeza Pro", "Arial Hebrew", Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif; box-shadow: 0 24px 70px #0007; }
.product-popup[open] { display: grid; grid-template-columns: 1fr 1.15fr; }
.product-popup::backdrop { background: #040c2ecc; backdrop-filter: blur(3px); }
.popup-close { position: absolute; z-index: 2; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #eef1fb; color: #0a1238; font-size: 17px; cursor: pointer; }
.popup-close:hover { background: #e5222c; color: #fff; }
.popup-picture { min-height: 260px; background: #eef2ff; }
.popup-picture img { display: block; width: 100%; height: 100%; object-fit: cover; }
.popup-body { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 22px; }
.popup-category { align-self: flex-start; padding: 4px 11px; border-radius: 12px; background: #e8edfd; color: #1428c8; font-size: 12px; font-weight: 800; }
.popup-body h2 { padding-right: 28px; font-size: 24px; line-height: 1.2; }
.popup-price { font-size: 30px; font-weight: 800; color: #0f8a35; }
.popup-price small { font-size: 12px; font-weight: 700; color: #5a6486; }
.popup-description { font-size: 14px; line-height: 1.55; color: #33406e; }
.popup-facts { display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 11px 13px; border-radius: 12px; background: #f6f8ff; font-size: 13px; font-weight: 600; list-style: none; }
.popup-facts i { color: #1448d8; }
.popup-form { display: flex; flex-direction: column; gap: 10px; }
.popup-form label { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; }
.popup-form input { width: 74px; height: 36px; padding: 0 10px; border: 1px solid #cfd6f0; border-radius: 10px; font: inherit; }
.popup-buttons { display: flex; gap: 10px; }
.popup-add, .popup-buy { display: flex; flex: 1; align-items: center; justify-content: center; gap: 8px; height: 46px; border: 2px solid #1448d8; border-radius: 23px; background: #fff; color: #1448d8; font: 800 14px XVF, "XChirp VF", TwitterChirp, -apple-system, system-ui, "Segoe UI", Roboto, "Geeza Pro", "Arial Hebrew", Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif; text-decoration: none; cursor: pointer; }
.popup-add:hover { background: #eef2ff; }
.popup-add:disabled { border-color: #0f8a35; background: #e6f6eb; color: #0f8a35; cursor: default; }
.popup-buy { border-color: transparent; background: linear-gradient(90deg, #0a5cf5, #6a2cf0); color: #fff; box-shadow: 0 8px 20px #3a2cd855; }
.popup-buy:hover { filter: brightness(1.12); }
.popup-status:empty { display: none; }
.popup-status { font-size: 13px; font-weight: 800; color: #0f8a35; }
.popup-note { padding: 9px 12px; border-radius: 10px; background: #fff3d6; color: #8a5300; font-size: 13px; font-weight: 700; }
.popup-cart { align-self: center; color: #1428c8; font-size: 13px; font-weight: 800; text-decoration: none; }
@media (max-width: 640px) { .product-popup[open] { display: block; } .popup-picture { height: 190px; min-height: 0; } .popup-buttons { flex-direction: column; } .popup-add, .popup-buy { flex: none; } }
/* A Register button lies above its event card's own click area, and below the word drawn on it. */
button.product-open[data-info^="event-"] { z-index: 1; }
.stage button[aria-label^="Register for"] { z-index: 2; }
.info-popup .popup-picture { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #071a5c, #1448d8 55%, #7b2ff2); color: #fff; font-size: 76px; }
.popup-related { display: flex; flex-direction: column; gap: 7px; max-height: 232px; margin: 0; padding: 0; overflow-y: auto; list-style: none; }
.popup-related button { display: flex; width: 100%; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #e3e7f6; border-radius: 12px; background: #fafbff; color: #0a1238; font: 700 13px XVF, "XChirp VF", TwitterChirp, -apple-system, system-ui, "Segoe UI", Roboto, "Geeza Pro", "Arial Hebrew", Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif; text-align: left; cursor: pointer; }
.popup-related button:hover { border-color: #1448e8; background: #eef2ff; }
.popup-related span { flex: 1; }
.popup-related b { color: #0f8a35; }
.popup-add[hidden] { display: none; }

/* One category and everything for sale under it. --accent is the category's own colour. */
.shop-path { display: flex; align-items: center; gap: 8px; font-size: 10.5px; font-weight: 800; color: #5a6486; }
.shop-path a { display: flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid #dbe0f2; border-radius: 13px; background: #fff; color: #1428c8; }
.shop-path > i { font-size: 8px; }
.shop-hero { position: relative; display: flex; min-height: 178px; overflow: hidden; border-radius: 16px; background: #061440; box-shadow: 0 10px 26px #1a2a7c40; color: #fff; }
.shop-hero > img { position: absolute; right: 0; top: 0; width: 62%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
.shop-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, #061440 30%, color-mix(in srgb, var(--accent) 80%, transparent) 62%, transparent); }
.shop-hero > img { z-index: 0; }
.shop-hero::before { z-index: 1; }
.shop-hero-text { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: 6px; max-width: 66%; padding: 16px 18px; }
.shop-hero-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--accent); font-size: 18px; }
.column .shop-hero h2 { margin: 2px 0 0; font-size: 23px; line-height: 1.15; text-shadow: 0 2px 8px #0008; }
.shop-hero p { font-size: 11px; color: #e4e9ff; }
.shop-hero ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.shop-hero li { padding: 4px 10px; border: 1px solid #ffffff4d; border-radius: 11px; background: #ffffff1f; font-size: 9.5px; font-weight: 700; }
.shop-hero li b { font-size: 11.5px; color: #ffd21e; }
.shop-tools { display: grid; grid-template-columns: 1fr 150px; gap: 8px; padding: 11px; border: 1px solid #dbe0f2; border-radius: 13px; background: #fff; box-shadow: 0 2px 9px #2a3c8c14; }
.shop-search { display: flex; align-items: center; gap: 9px; padding: 0 13px; border-radius: 17px; background: #f2f4fd; color: var(--accent); }
.column .shop-search input[type="text"] { flex: 1; min-width: 0; padding: 0; border: 0; background: transparent; font-size: 11.5px; }
.shop-search:focus-within { box-shadow: 0 0 0 2px var(--accent); }
.shop-tools select { height: 34px; padding: 0 9px; border: 1px solid #cfd6f0; border-radius: 17px; background: #fff; font: 700 10.5px XVF, "XChirp VF", TwitterChirp, -apple-system, system-ui, "Segoe UI", Roboto, "Geeza Pro", "Arial Hebrew", Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif; color: #0a1238; }
.shop-tools .chips { grid-column: 1 / -1; }
.column .shop-tools .chip-button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); }
.goods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.goods { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #dbe0f2; border-radius: 15px; background: #fff; box-shadow: 0 3px 12px #2a3c8c1c; transition: transform .18s, box-shadow .18s; }
.goods:hover { transform: translateY(-3px); box-shadow: 0 12px 26px #1a2a7c33; }
.goods-grid.single { grid-template-columns: 1fr; }
.goods-grid.single .goods { flex-direction: row; }
.goods-grid.single .goods-picture { width: 52%; height: auto; min-height: 190px; }
.column .goods-picture { position: relative; display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 100%; height: 148px; padding: 0; overflow: hidden; border: 0; background: linear-gradient(135deg, #061440, var(--accent)); color: #fff; font-size: 42px; }
.goods-picture img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.goods:hover .goods-picture img { transform: scale(1.07); }
.goods-flag { position: absolute; left: 9px; top: 9px; padding: 4px 9px; border-radius: 10px; background: #fff; color: var(--accent); font-size: 9px; font-weight: 800; box-shadow: 0 2px 8px #0003; }
.goods-flag.off { background: #fdeef0; color: #c40c18; }
.goods-peek { position: absolute; left: 50%; bottom: 10px; display: flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 13px; background: #061440e6; color: #fff; font-size: 10px; font-weight: 800; white-space: nowrap; opacity: 0; transform: translate(-50%, 8px); transition: opacity .18s, transform .18s; }
.goods:hover .goods-peek, .goods-picture:focus-visible .goods-peek { opacity: 1; transform: translate(-50%, 0); }
.goods-body { display: flex; flex: 1; flex-direction: column; gap: 5px; min-width: 0; padding: 11px 12px 12px; }
.goods-body strong { font-size: 13.5px; }
.column .goods-body small { line-height: 1.45; }
.goods-seller i { margin-right: 4px; color: var(--accent); }
.goods-price { margin-top: auto; padding-top: 4px; font-size: 19px; font-weight: 800; color: #0f8a35; }
.goods-actions { display: flex; gap: 7px; }
.goods-actions form { display: flex; flex: 1; }
.goods-details, .goods-buy { display: inline-flex; flex: 1; align-items: center; justify-content: center; gap: 6px; height: 33px; padding: 0 14px; border: 1.5px solid var(--accent); border-radius: 17px; background: #fff; color: var(--accent); font: 800 10.5px XVF, "XChirp VF", TwitterChirp, -apple-system, system-ui, "Segoe UI", Roboto, "Geeza Pro", "Arial Hebrew", Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif; white-space: nowrap; }
.column button.goods-buy, .goods-buy { border-color: transparent; background: linear-gradient(90deg, #0a5cf5, #6a2cf0); color: #fff; box-shadow: 0 4px 12px #3a2cd84d; }
.column button.goods-details { border: 1.5px solid var(--accent); background: #fff; color: var(--accent); }
.shop-empty { display: flex; flex-direction: column; align-items: center; gap: 9px; padding: 30px 18px; border: 2px dashed color-mix(in srgb, var(--accent) 40%, #fff); border-radius: 16px; background: #fff; text-align: center; }
.shop-empty > span { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 13%, #fff); color: var(--accent); font-size: 30px; }
.shop-empty h3 { font-size: 15px; font-weight: 800; }
.shop-empty p { font-size: 11px; color: #5a6486; }
.shop-empty .goods-buy, .shop-empty .goods-details { flex: none; margin: 0 3px; }
.shop-promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.shop-promises div { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; border: 1px solid #dbe0f2; border-radius: 13px; background: #fff; text-align: center; }
.shop-promises i { display: flex; align-items: center; justify-content: center; width: 33px; height: 33px; border-radius: 11px; background: color-mix(in srgb, var(--accent) 13%, #fff); color: var(--accent); font-size: 14px; }
.shop-promises strong { font-size: 11px; }
.shop-more { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.shop-more a { overflow: hidden; padding-bottom: 8px; border: 1px solid #dbe0f2; border-radius: 11px; text-align: center; transition: transform .18s; }
.shop-more a:hover { transform: translateY(-2px); border-color: var(--accent); }
.shop-more img { display: block; width: 100%; height: 58px; object-fit: cover; }
.shop-more strong { display: block; padding: 6px 4px 2px; font-size: 9.5px; line-height: 1.25; }
.shop-link { display: flex; align-items: center; gap: 8px; padding: 5px 6px; border-radius: 10px; font-size: 10.5px; font-weight: 700; }
.shop-link:hover { background: #f1f4fd; }
.shop-link-icon { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 25px; height: 25px; border-radius: 8px; background: color-mix(in srgb, var(--tone) 13%, #fff); color: var(--tone); font-size: 11px; }
.shop-link b { min-width: 20px; padding: 1px 5px; border-radius: 9px; background: #e8edfd; color: #1428c8; font-size: 10px; text-align: center; }
.shop-link.none { color: #6b7494; }
.shop-link.none b { background: #f0f1f6; color: #7d86a4; }
.shop-link.current { background: linear-gradient(90deg, #061440, var(--accent)); color: #fff; }
.shop-link.current .shop-link-icon { background: #fff; }
.shop-link.current b { background: #ffd21e; color: #0a1238; }
.shop-sell { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 15px 12px; border-radius: 13px; background: linear-gradient(135deg, #071a5c, #1448d8 55%, #7b2ff2); color: #fff; text-align: center; }
.shop-sell i { font-size: 24px; color: #ffd21e; }
.shop-sell strong { font-size: 13px; }
.shop-sell a { margin-top: 4px; padding: 7px 15px; border-radius: 15px; background: #fff; color: #1428c8; font-size: 10.5px; font-weight: 800; }
.photo-credit-link { font-size: 10px; color: #5a6486; text-align: center; }
.photo-credit-link a { color: #1428c8; font-weight: 800; text-decoration: underline; }
.photo-credit-link.below { padding: 10px; font-family: XVF, "XChirp VF", TwitterChirp, -apple-system, system-ui, "Segoe UI", Roboto, "Geeza Pro", "Arial Hebrew", Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Twemoji Mozilla", sans-serif; font-size: 12px; }
