/* Store is an account page. Never style the dashboard shell or gameplay. */
#cosmeticStore .store-category-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:start}
#cosmeticStore .store-category-layout>.store-sections{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;position:static;margin:0}
#cosmeticStore .store-category-layout>.store-sections button{width:100%;min-height:44px;margin:0;text-align:center;white-space:normal;transform:none;transition:none}
#cosmeticStore .store-category-layout>.store-sections button[aria-selected=true]{border-color:#8cbdc5;background:#193e4d;color:#e8f6fb}
#cosmeticStore .store-category-layout>.store-sections button:focus-visible{outline:2px solid #9ddce8;outline-offset:2px}
#cosmeticStore .store-category-content{min-width:0}
#cosmeticStore .store-group-title{margin:0 0 18px;font:600 18px/1.4 PortalOxanium,sans-serif;color:#a1d6ed}
#cosmeticStore .store-starter{max-width:760px}
#cosmeticStore .service-heading .starter-preview{width:168px;height:134px;flex:none}
#cosmeticStore .service-heading .starter-preview :is(canvas,img){width:100%;height:auto}
@media(max-width:560px){#cosmeticStore .service-heading .starter-preview{width:112px;height:90px}}
@media(max-width:1100px){#cosmeticStore .store-category-content .service-offers{grid-template-columns:1fr}}
@media(max-width:650px){#cosmeticStore .store-category-layout{grid-template-columns:1fr;gap:16px}#cosmeticStore .store-category-layout>.store-sections{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#cosmeticStore .store-category-layout>.store-sections button{text-align:center}#cosmeticStore .store-category-content .design-offers{grid-template-columns:minmax(0,1fr)}}
#cosmeticStore{--store-muted:#97b8c9;--store-line:#355766;color:#e0edf2}
#cosmeticStore .store-heading{border-bottom:1px solid #50778955;margin-bottom:16px}
#cosmeticStore .store-price-details{margin-top:20px;color:var(--store-muted);font-size:12px;line-height:1.6}
#cosmeticStore .store-price-details p{margin:8px 0;overflow-wrap:anywhere}
#cosmeticStore .store-price-details summary{font-size:12px}
#cosmeticStore .store-price-details output{font:inherit}
#cosmeticStore .exchange-rate-status{font-size:12px;line-height:1.6;color:var(--store-muted);margin:0 0 12px;overflow-wrap:anywhere}
@media(max-width:560px){#cosmeticStore .store-heading{flex-wrap:wrap;gap:12px}#cosmeticStore .store-currency{width:100%;margin-bottom:12px}}
#cosmeticStore .store-tools{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 18px;min-height:42px}
#cosmeticStore #paymentStatus{margin:0;font-size:12px;line-height:1.5;color:var(--store-muted)}
#cosmeticStore .store-heading p{margin:8px 0 0;font-size:12px;line-height:1.6;color:var(--store-muted)}
#cosmeticStore .design-offers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#cosmeticStore .design-offer{--accent:#a1d6ed;min-width:0;border:1px solid var(--store-line);background:linear-gradient(140deg,#10313b80,#00141dd9);position:relative;overflow:hidden;display:flex;flex-direction:column}
#cosmeticStore [data-design=crimson]{--accent:#e99c9e}
#cosmeticStore [data-design=amber]{--accent:#e9c987}
#cosmeticStore [data-design=jade]{--accent:#9bd6be}
#cosmeticStore [data-design=ignite],#cosmeticStore [data-design=solemn]{--accent:#d9e6eb}
#cosmeticStore .design-offer:before{content:'';position:absolute;left:0;top:0;width:48px;height:2px;background:var(--accent)}
#cosmeticStore .design-preview{height:178px;position:relative;display:grid;place-items:center;background:radial-gradient(ellipse at center,color-mix(in srgb,var(--accent) 8%,transparent),transparent 70%)}
#cosmeticStore .design-preview :is(canvas,img){width:min(210px,100%);height:auto;object-fit:contain}
#cosmeticStore [data-media-status]{position:absolute;bottom:0;text-align:center;font-size:10px;color:var(--store-muted)}
#cosmeticStore .design-info{padding:0 16px 16px;display:flex;flex-direction:column;flex:1}
#cosmeticStore [data-service=premium] .design-info{padding-top:18px}
#cosmeticStore .design-info h2{font:600 20px/1.3 PortalOxanium,sans-serif;color:var(--accent);margin:0 0 5px}
#cosmeticStore .skin-type{font-size:11px;color:var(--store-muted);line-height:1.5}
#cosmeticStore .design-info .cosmetic-label,#cosmeticStore .bundle-offer .cosmetic-label{font-size:12px;font-weight:700;line-height:1.5;color:#e7d3a5}
#cosmeticStore .design-price{font:600 24px/1.3 PortalOxanium,sans-serif;color:#e5d2a6;margin:16px 0 12px}
#cosmeticStore .design-info button{width:100%;margin-top:auto}
#cosmeticStore .service-offers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 0 24px}
#cosmeticStore .service-offer{--accent:#eac476;border-color:#776342;background:linear-gradient(135deg,#222a2e,#061b25)}
#cosmeticStore .service-offer[data-service=bonus-box-buffer]{--accent:#9ddce8;border-color:#416a77}
#cosmeticStore .service-heading{display:flex;align-items:center;gap:16px;padding:18px 20px;border-bottom:1px solid #8eafbd25}
#cosmeticStore .service-heading h2{font:600 23px/1.25 PortalOxanium,sans-serif;color:var(--accent);margin:4px 0}
#cosmeticStore .service-kicker{font:600 10px/1.4 PortalOxanium,sans-serif;letter-spacing:1.5px;color:var(--store-muted)}
#cosmeticStore .service-art{width:112px;height:100px;flex:none;display:grid;place-items:center;position:relative}
#cosmeticStore .service-art img{width:112px;height:100px;object-fit:contain}



#cosmeticStore .service-offer .design-info{padding:16px 20px 18px}
#cosmeticStore .service-benefits{list-style:none;padding:0;margin:0 0 18px;display:grid;gap:10px;font-size:13px;line-height:1.5;color:#c0d4dd}
#cosmeticStore .service-benefits li{padding-left:12px;border-left:2px solid #638a9c55}
#cosmeticStore .service-benefits strong{color:#f0ead8;font-weight:600}
#cosmeticStore .service-purchase{display:flex;align-items:center;gap:16px;justify-content:space-between;border-top:1px solid #8eafbd25;padding-top:16px;margin-top:auto}
#cosmeticStore .service-purchase .design-price{margin:0;font-size:28px}
#cosmeticStore .service-purchase button{width:auto;min-width:145px;margin:0;min-height:42px}
#cosmeticStore .buffer-purchase-hours{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 16px;margin:4px 0 14px;color:#c8e5ef;font-weight:700}
#cosmeticStore .buffer-purchase-hours select{min-width:110px;padding:8px 12px;border:1px solid #608b99;background:#071b25;color:#edfaff;font:inherit;border-radius:2px}
#cosmeticStore .buffer-purchase-hours select:focus-visible{outline:2px solid #9ddce8;outline-offset:2px}
#cosmeticStore .buffer-purchase-hours select:disabled{opacity:.65}
#cosmeticStore .buffer-purchase-hours small{grid-column:1/-1;font-size:12px;font-weight:400;color:#9cbac6}
#cosmeticStore .service-terms{font-size:11px;line-height:1.7;color:var(--store-muted);margin:12px 0 0}
#cosmeticStore .service-balance{font-size:11px;line-height:1.6;color:var(--accent);margin:10px 0 0;border-top:1px solid #8eafbd25;padding-top:10px;min-height:36px}
@media(max-width:900px){#cosmeticStore .service-offers{grid-template-columns:minmax(0,1fr)}}
@media(max-width:560px){#cosmeticStore .service-heading{padding:14px;gap:10px}#cosmeticStore .service-heading h2{font-size:20px}#cosmeticStore .service-offer .design-info{padding:14px}#cosmeticStore .service-purchase button{min-width:130px}#cosmeticStore .service-art{width:88px;height:80px}#cosmeticStore .service-art img{width:88px;height:80px}}
#cosmeticStore :is(.prerequisite,#hm7Balance){font-size:11px;line-height:1.5;color:var(--store-muted);margin:10px 0 0;min-height:17px}
#cosmeticStore .bundle-offer{margin-top:20px;border:1px solid #796e50;background:linear-gradient(110deg,#51462b35,#11293360);padding:20px;display:flex;align-items:center;justify-content:space-between;gap:24px}
#cosmeticStore .bundle-offer h2{font:600 20px/1.3 PortalOxanium,sans-serif;color:#e7d3a5;margin:0 0 8px}
#cosmeticStore .bundle-offer p{font-size:12px;line-height:1.6;color:var(--store-muted);margin:0}
#cosmeticStore .bundle-buy{min-width:180px;text-align:right}
#cosmeticStore .bundle-buy :is(.bundle-price,.test-price){font:600 28px/1.3 PortalOxanium,sans-serif;color:#e7d3a5;margin:0 0 10px}
#cosmeticStore .bundle-buy button{width:100%}
#cosmeticStore .test-offer{margin:0 0 20px;border-color:var(--store-line)}
#cosmeticStore .store-footer{margin-top:20px;display:flex;gap:20px;align-items:start;justify-content:space-between;border-top:1px solid #50778955;padding-top:16px}
#cosmeticStore .store-footer details{min-width:0;flex:1;font-size:12px;color:var(--store-muted)}
#cosmeticStore summary{cursor:pointer;color:#b8d1df;min-height:28px;line-height:1.5}
#cosmeticStore summary:focus-visible{outline:2px solid #b8e6f4;outline-offset:3px}
#cosmeticStore .store-footer p{font-size:12px;line-height:1.7;color:var(--store-muted)}
#cosmeticStore .order-panel ul{list-style:none;padding:0;max-height:280px;overflow:auto}
#cosmeticStore .order-panel li{border-top:1px solid var(--store-line);padding:12px 0;line-height:1.6;overflow-wrap:anywhere}
#cosmeticStore .order-panel li small{display:block}
#cosmeticStore .order-panel li button{margin:8px 8px 0 0}
#cosmeticStore [hidden]{display:none!important}
#accountScreen #adminMapStartPanel{margin:14px 18px;padding:12px;border:1px solid #9a7b3a;background:linear-gradient(120deg,#3b301c80,#091922);color:#f1dfb7;text-align:left;position:relative;z-index:3}
#accountScreen #adminMapStartPanel[hidden]{display:none}
#accountScreen #adminMapStartPanel button{font-size:11px;min-height:32px;width:100%;border-color:#9a7b3a;color:#f1dfb7}
/* Keep Premium in the Pilot header without changing the card's layout. */
#accountScreen .pilot-summary>header{position:relative}
#accountScreen #dashboardPremium{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:3}
#accountScreen #dashboardPremium[hidden]{display:none}
#accountScreen .pilot-summary>header .dashboard-premium-info{
  margin:0;padding:5px 10px;min-height:28px;border:1px solid #9a7b3a;background:#132630;color:#f3d58c;
  font:700 11px/1.25 PortalOxanium,sans-serif;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;
  anchor-name:--premium-details-toggle;
}
#accountScreen .dashboard-premium-info:is(:hover,:focus-visible){background:#213a45;border-color:#d7ba77}
#accountScreen .dashboard-premium-details{
  box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(360px,calc(100vw - 28px));
  max-height:min(460px,calc(100dvh - 28px));overflow:auto;padding:14px;border:1px solid #a18a52;
  background:#0c202a;color:#e5edf0;box-shadow:0 12px 36px #000b;text-align:left;font:400 13px/1.5 PortalOxanium,sans-serif;
}
@supports (position-area:bottom center){
  @media(min-width:1101px) and (min-height:820px){
    #accountScreen .dashboard-premium-details:popover-open{
      position-anchor:--premium-details-toggle;position-area:bottom center;position-try-fallbacks:flip-block;inset:auto;margin:6px 0;
    }
  }
}
#accountScreen .dashboard-premium-details header{
  display:flex;gap:8px;align-items:center;justify-content:space-between;
  margin:0 0 9px;padding:0 0 7px;border-bottom:1px solid #49616b;color:#f3d58c;
}
#accountScreen .dashboard-premium-time{display:block;margin:0;color:#fff0ca;font:600 19px/1.25 PortalOxanium,sans-serif;font-variant-numeric:tabular-nums}
#accountScreen .dashboard-premium-until{margin:8px 0 0;color:#b4c9d3;font-size:12px}
#accountScreen .dashboard-premium-details ul{margin:10px 0;padding:0 0 0 17px;list-style:disc}
#accountScreen .dashboard-premium-details li{margin:4px 0}
#accountScreen .dashboard-premium-details .dashboard-premium-close{
  width:32px;min-height:32px;padding:0;border:1px solid #4b6872;background:#122b36;color:#e5edf0;
  font:600 18px/1 PortalOxanium,sans-serif;
}
#accountScreen .dashboard-premium-details .dashboard-premium-action{
  display:block;width:100%;min-height:33px;margin:12px 0 0;border:1px solid #9a7b3a;background:#132630;color:#fff0ca;
  font:600 12px/1.25 PortalOxanium,sans-serif;
}
#accountScreen .dashboard-premium-details .dashboard-premium-action:is(:hover,:focus-visible){background:#213a45;border-color:#d7ba77}
@media(max-width:1100px){#cosmeticStore .design-offers{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){#cosmeticStore .design-offers{grid-template-columns:minmax(0,1fr)}#cosmeticStore .bundle-offer{align-items:stretch;flex-direction:column;gap:16px}#cosmeticStore .bundle-buy{text-align:left;min-width:0}#cosmeticStore .store-tools{gap:10px;align-items:start}#cosmeticStore .store-tools button{flex:none}#cosmeticStore .store-footer{flex-direction:column;gap:12px}#cosmeticStore .store-footer details{width:100%}}
