/* Galaxy interface refinements. Keep readable text and the established purple palette. */
:root { --qm-accent:#dec5f5; --qm-line:#796089; --qm-panel:#191222; }
.modal-overlay:not(.open),.custom-prompt-overlay:not(.is-open) { visibility:hidden; }
.modal-overlay.open,.custom-prompt-overlay.is-open { visibility:visible; }
header>.max-w-6xl { max-width:1220px; min-height:82px; height:auto; padding-top:16px; padding-bottom:16px; }
header { box-shadow:0 8px 30px #0003 !important; }
header button,header select,header a[title] { min-height:40px; }
header .site-brand-title { font-size:23px !important; letter-spacing:-.045em !important; }
header p { letter-spacing:.015em; }
#account-menu { width:205px; padding-top:12px; }
#account-menu>div { padding:7px; background:#21172e !important; border:1px solid #806292 !important; border-radius:15px; box-shadow:0 20px 60px #0008; }
#account-menu button { min-height:42px; font-size:13px; border-radius:9px; }
#account-menu button:hover { background:#392647 !important; }
#account-menu-button[aria-expanded="true"] { border-color:#d1b2eb !important; background:#30203f !important; }
.store-page-nav { border-bottom-color:#70508065 !important; padding-top:18px !important; padding-bottom:18px !important; gap:25px !important; }
.store-page-nav a { text-decoration:none; padding:5px 0; border-bottom:2px solid transparent; }
.store-page-nav a[aria-current="page"] { border-bottom-color:#dabaf1; }
.catalog-toolbar { align-items:center; padding:11px 0 23px; margin-bottom:25px; border-bottom-color:#70508065; }
.catalog-toolbar h2 { font-size:28px; letter-spacing:-.035em; }
.catalog-review-link { display:inline-flex; align-items:center; gap:8px; padding:10px 13px; border:1px solid #655170; border-radius:10px; color:#eadcf5; background:#17101f; font-size:12px; font-weight:650; text-decoration:none; transition:background .16s,border-color .16s,color .16s; }
.catalog-review-link:hover { color:#fff; background:#2c1d37; border-color:#b28acb; }
.catalog-section-eyebrow { font-size:10px !important; letter-spacing:.11em !important; }
.catalog-card { border-radius:20px; box-shadow:0 9px 30px #0003; transition:border-color .18s,box-shadow .18s; }
.catalog-card:hover { box-shadow:0 16px 40px #0005; transform:none; }
.catalog-card-top { padding:18px 19px 0; font-size:10px !important; }
.catalog-availability { padding:5px 8px; border:1px solid #68806d; border-radius:6px; background:#24322a; font-size:11px !important; }
.catalog-availability.is-delayed { border-color:#9c7b4b; background:#372b1d; color:#f6dfb7 !important; }
.catalog-availability.is-empty { border-color:#7d637f; background:#302234; }
.catalog-art { height:190px; margin:5px 0 8px; background:radial-gradient(ellipse at center,#4930554d,transparent 65%); }
.catalog-art img { width:103px; height:103px; }
.catalog-art-halo { width:210px; height:150px; }
.catalog-card-body { padding:4px 22px 20px; }
.catalog-name-price { gap:12px; margin-bottom:12px; }
.catalog-name-price h3 { font-size:19px !important; font-weight:680; }
.catalog-unit-price { font-size:23px !important; }
.catalog-description { margin-bottom:2px; }
.catalog-purchase { padding-top:18px; border-top-color:#6b467c75; }
.catalog-stepper { height:38px; border-radius:9px; }
.catalog-stepper button { width:34px; }
.catalog-presets { gap:8px; }
.catalog-presets button { border-radius:8px; background:#2b1c37; }
.catalog-add { border-radius:11px; min-height:48px; background:#d7b9ec !important; border:1px solid #efdbff !important; color:#24122d !important; font-weight:700; }
.catalog-add:hover { background:#e7ccf7 !important; transform:none !important; }
.catalog-detail-link { min-height:35px; padding-top:14px; }
.catalog-detail-dialog { border-radius:23px !important; border-color:#9270a3 !important; }
.catalog-detail-visual { background:radial-gradient(ellipse at center,#50315c45,transparent 67%),#100b18 !important; }
#catalog-detail-art { filter:drop-shadow(0 15px 25px #0008); }
.catalog-detail-info h2 { letter-spacing:-.035em; }
.catalog-detail-facts span { border-radius:7px; padding:6px 9px; }
#cart-sidebar { box-shadow:-25px 0 80px #0007; }
#cart-sidebar .cart-header { padding-top:30px; padding-bottom:26px; border-bottom-color:#765087 !important; }
.checkout-cart-item { border-radius:15px; box-shadow:0 5px 20px #0002; }
.checkout-cart-art { border-radius:12px; background:#32203d; }
.checkout-cart-footer { box-shadow:0 -10px 35px #0003; }
.checkout-close { transition:background .15s,border-color .15s; }
.checkout-close:hover { background:#543466 !important; border-color:#dec1f5 !important; }
#modal-overlay .checkout-dialog { border-radius:24px !important; box-shadow:0 35px 100px #000b,inset 0 1px #fff1 !important; }
#modal-overlay .checkout-heading { padding:28px 30px !important; }
.checkout-heading h2 { letter-spacing:-.04em; }
.checkout-section-title { margin-bottom:18px; }
.checkout-summary-art { width:46px; height:46px; border-radius:12px; background:#30203d; border-color:#7c598d; }
.checkout-summary-item { gap:12px; }
.checkout-summary-items { gap:19px; }
.checkout-grand-total { padding-top:22px; padding-bottom:22px; }
#modal-overlay #stripe-btn { border-radius:12px !important; box-shadow:0 3px 12px #0002 !important; }
#modal-overlay .checkout-action-footer { box-shadow:0 -8px 35px #0002; }
#auth-modal-overlay .modal-card { max-width:440px; padding:32px !important; border-radius:24px !important; }
#auth-modal-overlay h2 { font-size:27px; letter-spacing:-.035em; }
#auth-modal-overlay p { font-size:14px; color:#e2d9e9; line-height:1.8; }
#auth-modal-overlay input { min-height:47px; font-size:15px; border-radius:11px; }
#auth-submit-btn { min-height:47px; font-size:15px; border-radius:11px; }
.store-panel,.store-order-card,.review-card-premium { border-radius:20px; box-shadow:0 12px 35px #0003 !important; }
.store-page-heading h1,.store-order-hero h1 { letter-spacing:-.045em; }
.store-order-hero { border:1px solid #815e97; border-radius:24px; padding:34px; background:radial-gradient(ellipse at top right,#69447e35,transparent 70%),#1b1326 !important; }
.store-order-hero.is-delivered { background:radial-gradient(ellipse at top right,#507f5730,transparent 75%),#1a1725 !important; border-color:#81997d !important; }
.store-status { border-radius:7px; padding:6px 10px; font-size:12px; }
.store-receipt { padding:27px; }
.store-receipt-total { padding-top:20px; margin-top:20px; }
.store-delivery-steps { gap:22px; }
.store-delivery-steps li>span { width:33px; height:33px; border-radius:10px; }
.store-primary,.store-secondary { min-height:44px; padding:12px 18px; border-radius:11px !important; font-size:14px; }
.store-empty { padding:65px 25px; border-radius:23px; background:radial-gradient(ellipse at top,#43294e25,transparent 65%),#18101f; }
.ticket-card { border-radius:18px !important; padding:24px !important; }
.ticket-chat-header { padding:24px 26px !important; }
.ticket-chat-messages { background:radial-gradient(ellipse at top right,#3c224923,transparent 60%),#100b18 !important; }
.ticket-message-bubble { box-shadow:0 5px 18px #0002; border-radius:15px; }
.ticket-reaction-chip { border-radius:8px; min-height:30px; }
.void-ticket-compose-form { border-radius:13px; border-color:#8b669a; padding:7px; background:#100a18; }
#ticket-reply-btn { min-height:42px; border-radius:10px !important; }
.custom-prompt-card { background:radial-gradient(ellipse at top right,#62417630,transparent 65%),#1b1325; border-color:#9b77ad; border-radius:23px; padding:28px; }
.custom-prompt-card h2 { font-size:23px; letter-spacing:-.035em; margin-top:20px; }
.custom-prompt-card p { color:#e3d8ec; font-size:15px; line-height:1.8; }
.custom-prompt-mark { width:43px; height:43px; border-radius:13px; color:#efdcff; border-color:#a782bd; background:#40294e; }
.custom-prompt-actions { gap:10px; margin-top:25px; }
.custom-prompt-actions button { min-height:43px; font-size:14px; border-radius:10px; }
.custom-prompt-cancel { color:#f1e4fa; background:#30203d; border-color:#94709f; }
.custom-prompt-confirm { color:#24132d; background:#d6b6ee; border-color:#ebd4fc; }
.custom-prompt-confirm.is-danger { background:#a53b5a; border-color:#e7849d; color:#fff; }
footer { margin-top:35px; }
[data-owner-only][hidden] { display:none !important; }
button:focus-visible,a:focus-visible,summary:focus-visible { outline:2px solid #e1c6f5; outline-offset:4px; }
/* Animated notification stack. */
.notice-action[hidden] { display:none !important; }
#toast-container.toast-container,body.cart-open #toast-container.toast-container { position:fixed; z-index:160; top:auto; bottom:24px; left:auto; right:24px; display:flex !important; flex-direction:column; gap:10px; width:min(370px,calc(100vw - 32px)); max-height:calc(100dvh - 120px); overflow:auto; padding:4px; pointer-events:none; scrollbar-width:thin; }
body.cart-open #toast-container.toast-container { top:auto; bottom:24px; left:24px; right:auto; }
body:has(#modal-overlay.open) #toast-container.toast-container { top:120px; bottom:auto; left:auto; right:24px; }
.notice-slot { display:grid; grid-template-rows:1fr; min-height:0; margin-bottom:0; transition:grid-template-rows .26s cubic-bezier(.4,0,.2,1),margin-bottom .26s cubic-bezier(.4,0,.2,1); }
.notice-clip { min-height:0; overflow:hidden; border-radius:13px; }
.notice-slot.is-leaving { grid-template-rows:0fr; margin-bottom:-10px; pointer-events:none; }
.notice-card { --notice-colour:#d9b9f5; position:relative; display:grid; grid-template-columns:35px minmax(0,1fr) 25px; align-items:start; gap:11px; padding:16px; pointer-events:auto; border:1px solid #776388; border-radius:13px; background:#1a1325; color:#fff; box-shadow:0 12px 35px #0008; animation:notice-arrive .28s cubic-bezier(.16,1,.3,1) both; }
.notice-slot.is-leaving .notice-card { pointer-events:none; animation:notice-depart .22s cubic-bezier(.4,0,1,1) both; }
.notice-success { --notice-colour:#b8efd2; }.notice-error { --notice-colour:#ffb0c7; }.notice-warning { --notice-colour:#f6d599; }.notice-info { --notice-colour:#d9b9f5; }
.notice-icon { display:grid; place-items:center; flex-shrink:0; width:34px; height:34px; border:1px solid #ffffff22; border-radius:50%; background:#ffffff08; color:var(--notice-colour); }
.notice-copy { min-width:0; }.notice-heading[hidden] { display:none !important; }.notice-heading { display:flex; align-items:center; gap:8px; margin:1px 0 6px; }.notice-heading strong { font-size:14px; font-weight:700; line-height:1.45; color:#fff; }
.notice-card .notice-message { margin:0; color:#faf6ff; font-size:14px; line-height:1.65; font-weight:500; overflow-wrap:anywhere; }
.notice-dismiss { display:grid; place-items:center; width:25px; height:25px; margin-top:-3px; color:#e2cdeb; font:23px/1 system-ui; background:transparent; border:0; border-radius:6px; cursor:pointer; }.notice-dismiss:hover { background:#ffffff15; color:#fff; }
.notice-action { display:inline-flex; width:fit-content; margin-top:11px; padding:5px 0; border:0; background:transparent; color:#e9caff; font-size:13px; font-weight:650; text-align:left; cursor:pointer; text-decoration:underline; text-underline-offset:4px; }
.notice-action:hover { color:#fff; }
.notice-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
@keyframes notice-arrive { from { opacity:0; transform:translateY(16px) scale(.97); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes notice-depart { from { opacity:1; transform:translateY(0) scale(1); } to { opacity:0; transform:translateY(8px) scale(.97); } }
@media(max-width:1000px) { header>.max-w-6xl { flex-wrap:wrap; gap:12px; } .catalog-card-top { gap:5px; padding:16px 15px 0; font-size:9px !important; }.catalog-availability { font-size:10px !important; padding:5px 6px; } }
@media(max-width:760px) {
  .catalog-toolbar { align-items:flex-start; gap:17px; flex-direction:column; margin-bottom:18px; padding-top:3px; }
  .catalog-card-body { padding:4px 20px 19px; }.catalog-art { height:175px; }
  .catalog-card-top { padding:17px 18px 0; font-size:10px !important; }.catalog-availability { font-size:11px !important; }
  #modal-overlay .checkout-heading { padding:22px 20px !important; }.checkout-heading h2 { font-size:25px; }
  #auth-modal-overlay .modal-card { padding:27px 24px !important; }
  .store-order-hero { padding:26px 23px; }.store-receipt { padding:24px; }
  .ticket-chat-header { padding:18px !important; }
  #toast-container.toast-container,body.cart-open #toast-container.toast-container { top:auto; bottom:16px; right:12px; left:auto; width:calc(100vw - 24px); max-height:calc(100dvh - 164px); }
  body:has(#modal-overlay.open) #toast-container.toast-container { top:95px; right:12px; bottom:auto; left:auto; }
}
@media(max-width:600px) {
  header>.max-w-6xl { padding-top:12px; padding-bottom:12px; gap:12px; }
  header>.max-w-6xl>a { width:100%; }
  header>.max-w-6xl>div:last-child { width:100%; justify-content:space-between; gap:6px; }
  header .site-brand-title { font-size:21px !important; }
  #account-menu-button>span:nth-child(2),#account-menu-button>span:nth-child(3),#auth-container>button>span:nth-child(2) { display:none; }
  #account-menu-button,#auth-container>button { width:40px; height:40px; padding:8px !important; justify-content:center; }
  header #currency-select { font-size:12px; padding:6px; max-width:70px; }
  #cart-btn { min-width:88px; padding:8px 10px !important; gap:5px; }
  #cart-btn-subtotal { font-size:12px; }
  .notice-card { padding:15px 13px; gap:10px; border-radius:14px; }
}
@media(prefers-reduced-motion:reduce) { .notice-card,.notice-slot.is-leaving .notice-card { animation:none; }.notice-slot,.catalog-card,.catalog-art img,.checkout-close { transition:none; } }

/* Full-width storefront header and hero, matching the supplied reference. */
#banner-area:empty { display:none; }
body>header>.max-w-6xl { max-width:1152px; min-height:80px; padding:15px 20px; }
body>header { background:#09060fe8 !important; border-bottom-color:#48345170 !important; box-shadow:none !important; }
body>header .site-brand-title { font-size:23px !important; letter-spacing:-.04em !important; }
body>header .site-brand-domain, footer .site-brand-domain { color:#cfb3f5 !important; }
.site-brand-mark {
  flex:0 0 auto;
  width:50px;
  height:50px;
  object-fit:contain;
  filter:drop-shadow(0 3px 8px #8c3dc15c);
}
body>header button,body>header select,body>header a[title] { min-height:36px; }
body>header #cart-btn { min-height:46px; padding:10px 19px !important; }
#store-home-hero { width:100% !important; max-width:none !important; margin:0 !important; padding:60px max(36px,calc((100vw - 1200px)/2 + 36px)) 34px !important; border:0 !important; border-bottom:1px solid #48345155 !important; border-radius:0 !important; background:linear-gradient(110deg,#07040d40,#170e2745) !important; box-shadow:none !important; }
#store-home-hero>.max-w-6xl { display:block; max-width:1152px; padding:0 !important; margin:0 auto; }
#store-home-hero h1 { font-size:clamp(32px,4vw,46px) !important; line-height:1.2 !important; font-weight:780 !important; letter-spacing:-.045em !important; margin:0 0 16px !important; color:#faf7ff !important; }
#store-home-hero .void-hero-accent { color:#baa6cd !important; }
#store-home-hero p { max-width:560px !important; min-height:47px; font-size:14px !important; line-height:1.9 !important; color:#f0e8f8 !important; }
#store-home-hero>.max-w-6xl>.market-stats { display:flex; flex-wrap:wrap; align-items:stretch; gap:12px !important; margin-top:26px !important; }
#store-home-hero>.max-w-6xl>.market-stats>div { min-width:155px; min-height:61px; padding:12px 17px !important; gap:13px; border:1px solid #675170 !important; border-radius:13px !important; background:#0d0914df !important; box-shadow:none !important; }
.market-stats>div>span { width:auto; height:auto; display:inline; border:0; border-radius:0; background:transparent; font-size:16px; }
.market-stats>div>div>div:first-child { color:#c5b6d0 !important; font-size:10px; font-weight:650; letter-spacing:.055em; }
.market-stats>div>div>div:last-child { font-size:13px; margin-top:5px; }
body:not(.account-page) .store-page-nav { display:none; }
/* Muted stock states: grey disabled items, grey-purple delayed money orders. */
#products-grid .catalog-card.is-unavailable .catalog-add:disabled,#products-grid .catalog-card.is-unavailable .catalog-add:disabled:hover,#catalog-detail-add:disabled,#catalog-detail-add:disabled:hover { background:#302d38 !important; border-color:#716979 !important; color:#c8c3d0 !important; opacity:1 !important; box-shadow:none !important; cursor:not-allowed !important; }
#products-grid .catalog-card.is-delayed-order .catalog-add { background:#514858 !important; border-color:#9b8ca6 !important; color:#faf6ff !important; }
#products-grid .catalog-card.is-delayed-order .catalog-add:hover { background:#62566b !important; border-color:#c6b3d3 !important; }
.catalog-stepper button:disabled { color:#9d92aa !important; opacity:.55; cursor:not-allowed; }
.catalog-empty { grid-column:1/-1; display:flex; flex-direction:column; align-items:center; gap:13px; padding:48px 24px; border:1px solid #755383; border-radius:18px; background:#191122; text-align:center; }
.catalog-empty h3 { font-size:22px; color:#fff; }.catalog-empty p { color:#e5d8ef; font-size:14px; }
@media(max-width:760px) {
  #store-home-hero { padding:38px 22px 29px !important; }
  #store-home-hero h1 { font-size:clamp(29px,6vw,40px) !important; }
  #store-home-hero p { min-height:0; font-size:14px !important; }
  #store-home-hero>.max-w-6xl>.market-stats { gap:10px !important; }
  #store-home-hero>.max-w-6xl>.market-stats>div { min-width:0; padding:12px 14px !important; }
  body>header>.max-w-6xl { padding:12px 18px; }
  body>header .site-brand-title { font-size:21px !important; }
  .site-brand-mark { width:42px; height:42px; }
}
