/* Compact, Material-inspired storefront that follows the application's dark theme. */
.royale-store{container-type:inline-size;width:100%;min-width:0;max-width:520px;margin:0 auto;padding:20px;color:#e3e7ed;font-family:system-ui;background:#171b22;border-radius:16px;box-sizing:border-box}
.royale-store *{box-sizing:border-box}.store-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.store-heading h2{font:600 24px/1.3 system-ui;letter-spacing:-.5px;margin:0}.store-wallet{display:flex;align-items:center;flex-wrap:wrap;gap:5px;color:#c4d4e8;font-size:12px}.store-wallet i{font-size:12px}.store-wallet strong{font-weight:600}.store-wallet small{font-size:10px;color:#a0aaba}.store-intro{font-size:11px;line-height:1.6;color:#a0aaba;margin:7px 0 20px}
.royale-store button,.store-dialog button{cursor:pointer;font:inherit}.store-tabs{display:flex;gap:12px;border-bottom:1px solid #ffffff12;margin-bottom:16px}.store-tabs button{min-height:44px;padding:10px 8px;background:none;color:#aeb8c6;border:0;border-bottom:3px solid transparent;font-size:12px;font-weight:600}.store-tabs button[aria-pressed=true]{color:#a8c7fa;border-bottom-color:#a8c7fa}.store-tabs span{font-size:10px;margin-left:4px}.store-filters{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.store-filters button{min-height:36px;border:1px solid #566170;background:transparent;border-radius:8px;padding:7px 10px;color:#bfc8d4;font-size:11px}.store-filters button[aria-pressed=true]{background:#2b3e58;border-color:transparent;color:#d6e6ff}
.store-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;margin-top:16px}.store-card{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:14px;padding:18px;border:1px solid #ffffff12;border-radius:20px;background:#202630;min-width:0}.store-card[hidden],.store-empty[hidden],.store-owned-label[hidden]{display:none}.store-art{display:block;width:72px;height:72px;padding:0;border:0;border-radius:18px;background:#252833;overflow:hidden;box-shadow:0 3px 12px #0003}.store-art img{display:block;width:100%;height:100%;object-fit:cover}.store-card-title{min-width:0}.store-card h3{font:650 16px/1.4 system-ui;letter-spacing:.2px;color:#edf2fa;margin:5px 0 0;overflow-wrap:anywhere}.store-owned-label{display:block;font-size:10px;color:#a7d9b7;margin-top:5px}.store-card-body{grid-column:1/-1;min-width:0}.store-card-body>.store-description{font:12px/1.65 system-ui;color:#abb7c7;margin:0 0 13px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.store-features{list-style:none;margin:0 0 18px;padding:0;display:grid;gap:8px}.store-features li{display:flex;gap:8px;align-items:baseline;font:11px/1.5 system-ui;color:#c6d0dd}.store-features li>span{color:#a8c7fa;flex:none}.store-card-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding-top:14px;border-top:1px solid #ffffff10}.store-price{color:#edf2fa;font-size:18px;font-weight:650;white-space:nowrap}.store-price small{display:block;font-size:10px;font-weight:400;color:#9aa8b9;margin-top:3px}

.royale-store .store-primary,.store-dialog .store-primary{min-height:38px;border:0;background:#a8c7fa;color:#122b4e;border-radius:22px;padding:9px 17px;font-size:12px;font-weight:650;box-shadow:none}.royale-store .store-primary{background:#a8c7fa;color:#122b4e;min-height:40px;min-width:92px}.store-primary:disabled{opacity:.5;cursor:default}.store-empty{padding:26px 10px;text-align:center;color:#a0aaba;font-size:12px}.store-note{font-size:10px;color:#8e99a8;line-height:1.6;margin:18px 0 0}.royale-store button:focus-visible,.store-dialog button:focus-visible{outline:2px solid #a8c7fa;outline-offset:3px}.store-eyebrow{color:#a0aaba;font-size:11px}
.store-dialog{box-sizing:border-box;width:min(480px,calc(100% - 24px));max-height:90dvh;padding:0;border:1px solid #ffffff12;border-radius:24px;background:#1c222c;color:#e3e7ed;box-shadow:0 16px 50px #0006;overflow:auto;font-family:system-ui}.store-dialog::backdrop{background:#050a12b8}.store-dialog-body{padding:24px}.store-dialog-top{display:flex;justify-content:space-between;gap:12px;align-items:start}.store-dialog h2{font:600 22px/1.4 system-ui;color:#e3e7ed;margin:6px 0}.store-close{border:0;border-radius:50%;width:40px;height:40px;background:#ffffff08;color:#c3ccd8;font:24px system-ui!important;flex:none}.store-dialog-description{font:12px/1.7 system-ui;color:#abb6c6}.store-preview-stage{position:relative;display:grid;place-items:center;min-height:130px;margin:16px 0 12px;border-radius:16px;overflow:hidden;background:#111b2b}.store-preview-stage .photo-people-grid{max-width:100%;padding:20px}.store-preview-stage .photo-people-grid>button{min-width:155px;min-height:55px;font-size:18px;pointer-events:none}.store-preview-choices{display:flex;flex-wrap:wrap;gap:6px}.store-preview-choices button{min-height:36px;border:1px solid #566170;background:transparent;color:#c5cfdd;border-radius:8px;padding:8px 10px;font-size:11px}.store-preview-choices button[aria-pressed=true]{border-color:transparent;background:#324967;color:#d6e6ff}.store-dialog-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;padding-top:16px;border-top:1px solid #ffffff12}.store-dialog-hint{font-size:11px;line-height:1.6;color:#a0aaba}.store-dialog [role=status]{font-size:12px;line-height:1.5;color:#bad5ff}
@container(max-width:280px){.store-card{grid-template-columns:56px minmax(0,1fr);gap:12px;padding:14px}.store-card h3{font-size:14px}.store-art{width:56px;height:56px;border-radius:12px}.store-heading{align-items:start;flex-wrap:wrap}.store-heading h2{font-size:22px}}
@media(max-width:600px){.royale-store{padding:16px 12px;border-radius:12px}.store-dialog-body{padding:18px}}

/* Icon catalog grouped by category, with app-style product details. */
.royale-store{max-width:1000px;background:#111c28;border:1px solid #94a3b81c;}
.store-category-section{margin-top:24px;}
.store-category-section[hidden]{display:none;}
.store-category-title{margin:0 0 14px;font-size:17px;font-weight:650;color:#e1ece8;}
.royale-store .store-grid{grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:20px 16px;margin:0;}
.royale-store .store-card{display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:0;border:0;border-radius:0;background:none;}
.royale-store .store-card[hidden]{display:none;}
.royale-store .store-art{width:100%;height:auto;aspect-ratio:1;max-width:132px;border-radius:22px;overflow:hidden;background:#1e3040;box-shadow:inset 0 0 0 1px #ffffff0c;}
.royale-store .store-art img{width:100%;height:100%;object-fit:cover;display:block;}
.royale-store .store-card h3{font-size:12px;font-weight:600;line-height:1.4;margin:4px 0 0;overflow-wrap:anywhere;}
.store-icon-price{font-size:11px;color:#a2b6c5;}
.royale-store .store-owned-label{font-size:10px;color:#acd8bc;}
.store-filters{gap:7px;}
.store-filters button{border-radius:20px;}
.store-filters button[aria-pressed=true]{background:#294b40;color:#cbecdc;}
.store-dialog{width:min(620px,calc(100% - 24px));background:#14212c;border-color:#a8c8ba24;}
.store-detail-identity{display:flex;gap:16px;align-items:center;min-width:0;}
.store-detail-icon{width:80px;height:80px;object-fit:cover;border-radius:20px;flex:none;}
.store-dialog h2{font-size:21px;line-height:1.25;overflow-wrap:anywhere;}
.store-detail-stats{display:flex;margin:24px 0;gap:12px;padding:14px 0;border-block:1px solid #ffffff10;}
.store-detail-stats span{flex:1;text-align:center;font-size:11px;line-height:1.5;color:#a5c1b7;}
.store-detail-stats span+span{border-left:1px solid #ffffff14;padding-left:12px;}
.store-detail-subtitle{margin:0;font-size:16px;color:#e1ebe7;}
.store-dialog-description{font-size:13px;}
.store-dialog .store-primary{border-radius:24px;min-height:44px;background:#aad9c2;color:#18382c;}
.store-art:focus-visible{outline:2px solid #a8dbc3;outline-offset:4px;}
@media(max-width:600px){
 .royale-store .store-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 12px;}
 .royale-store .store-art{border-radius:18px;}
 .store-detail-icon{width:64px;height:64px;border-radius:16px;}
 .store-detail-identity{gap:12px;}
 .store-dialog h2{font-size:18px;}
 .store-dialog-foot{flex-direction:column;align-items:stretch;}
 .store-dialog-foot .store-primary{width:100%;}
}

/* Android-style app icon grid. */
.royale-store .store-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(88px,1fr));
  gap:22px 14px;
  align-items:start;
}
.royale-store .store-card{
  display:flex;flex-direction:column;align-items:center;gap:7px;
  min-width:0;text-align:center;
}
.royale-store .store-art{
  width:76px;height:76px;max-width:100%;aspect-ratio:1;
  flex:none;border-radius:21px;padding:0;
  box-shadow:0 5px 12px #0003,inset 0 1px #ffffff12;
}
.royale-store .store-art img{width:100%;height:100%;object-fit:cover;border-radius:inherit;}
.royale-store .store-card h3{
  width:100%;margin:0;font-size:12px;line-height:1.35;font-weight:500;
  color:#e1e9ef;text-align:center;overflow-wrap:anywhere;
}
.royale-store .store-icon-price{display:none;}
.royale-store .store-owned-label{margin:0;padding:0;background:none;font-size:9px;}
@media(max-width:600px){
  .royale-store .store-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 10px;}
  .royale-store .store-art{width:64px;height:auto;aspect-ratio:1;border-radius:18px;}
  .royale-store .store-card h3{font-size:11px;}
}
@media(max-width:350px){
  .royale-store .store-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}

/* App storefront, aligned with the profile palette. */
.royale-store{max-width:1060px;padding:24px;background:linear-gradient(155deg,#13232f,#0c1622 65%);border:1px solid #8baab822;border-radius:22px;box-shadow:0 15px 40px #0002;}
.store-brand{display:flex;align-items:center;gap:11px;}
.store-brand-icon{display:grid;place-items:center;width:44px;height:44px;border:1px solid #abdcca30;border-radius:14px;background:linear-gradient(145deg,#32584c,#19363a);color:#bdebd5;font-size:19px;}
.store-kicker{display:block;font-size:9px;font-weight:700;letter-spacing:.15em;color:#99bdaf;}
.store-heading h2{font-size:23px;margin-top:3px;color:#ecf6f1;}
.store-wallet{padding:9px 12px;border:1px solid #d2bd8024;border-radius:13px;background:#d8bc7809;gap:6px;}
.store-wallet i{color:#d8c289;}.store-wallet strong{font-size:15px;color:#f0e1b8;}.store-wallet small{color:#b9ac8e;}
.store-intro{display:none;}
.store-hero{position:relative;isolation:isolate;overflow:hidden;margin:22px 0 18px;padding:24px;border:1px solid #9cd1b52a;border-radius:19px;background:radial-gradient(ellipse at 95% 80%,#7cc5aa20,transparent 55%),linear-gradient(110deg,#203f3b,#192a39);}
.store-hero[hidden]{display:none;}
.store-hero::after{content:"";position:absolute;z-index:-1;right:-28px;top:-42px;width:180px;height:180px;border-radius:50%;border:1px solid #a5d9c51a;box-shadow:0 0 0 24px #a5d9c505,0 0 0 48px #a5d9c504;}
.store-hero h3{font-size:clamp(21px,3vw,29px);letter-spacing:-.7px;color:#e8f6ee;margin:9px 50px 8px 0;}
.store-hero p{font-size:12px;color:#a9c2ba;line-height:1.6;margin:0;max-width:75%;}
.store-hero>i{position:absolute;right:27px;top:50%;transform:translateY(-50%) rotate(-12deg);font-size:44px;color:#afd9c640;}
.store-search{display:flex;align-items:center;gap:10px;padding:0 14px;margin:18px 0 14px;border:1px solid #9bb7c421;border-radius:13px;background:#08141d60;color:#8eaab9;}
.store-search input{min-width:0;width:100%;height:43px;border:0;outline:none;background:transparent;color:#e2efec;font:13px system-ui;}
.store-search:focus-within{border-color:#a4d8bf80;box-shadow:0 0 0 2px #a4d8bf10;}
.store-search input::placeholder{color:#819baa;}
.store-tabs{gap:6px;margin-bottom:16px;border-bottom:1px solid #9cb6c21c;}
.store-tabs button{padding:10px 14px;font-size:13px;color:#8fa6b5;}
.store-tabs button[aria-pressed=true]{color:#b9e6ce;border-bottom-color:#99d9b8;}
.store-tabs span{display:inline-block;padding:2px 6px;border-radius:6px;background:#9ad6b915;color:#b6d9c8;}
.store-filters{gap:7px;margin:0;}
.store-filters button{min-height:33px;padding:6px 13px;border-color:#93acba26;color:#a7bdca;font-size:11px;}
.store-filters button[aria-pressed=true]{background:#a8d7bf;color:#183b30;border-color:transparent;}
.store-category-section{padding:20px;border:1px solid #94b0c018;border-radius:18px;background:linear-gradient(140deg,#1a2a373d,#101d284d);}
.store-category-title{display:flex;align-items:center;gap:8px;font-size:15px;margin-bottom:20px;}
.store-category-title::before{content:"";width:4px;height:15px;border-radius:3px;background:#92cbb3;}
.royale-store .store-grid{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:24px 16px;}
.royale-store .store-art{border:1px solid #b7d4dc24;transition:transform 180ms ease,box-shadow 180ms ease;}
.royale-store .store-card h3{font-size:12px;color:#c8dbe4;}
.royale-store .store-owned-label{padding:2px 6px;border-radius:6px;background:#8fd9ad12;color:#9ed1b2;}
.store-empty{padding:28px 16px;text-align:center;border:1px dashed #91b1bb30;border-radius:16px;font-size:13px;line-height:1.6;color:#9fb8c5;}
.store-note{margin:22px 0 0;text-align:center;font-size:11px;color:#819ba9;}
.store-dialog{background:radial-gradient(ellipse at top right,#28514640,transparent 60%),#12212d;border-radius:24px;}
.store-dialog::backdrop{background:#030b14c9;backdrop-filter:blur(6px);}
.store-dialog-body{padding:26px;}
.store-detail-icon{box-shadow:0 8px 24px #0003;border:1px solid #b5d8ca22;}
.store-preview-stage{min-height:170px;border:1px solid #91bcb921;background:radial-gradient(ellipse at center,#25453966,transparent),#0c1825;}
.store-preview-choices button{border-radius:20px;}
.store-preview-choices button[aria-pressed=true]{background:#315547;color:#d7f3e3;}
.store-dialog-foot{position:sticky;bottom:-26px;padding:16px 0;background:#12212df5;border-top-color:#a2cbb620;}
.store-dialog .store-primary:disabled{opacity:.65;cursor:default;}
@media(hover:hover){.royale-store .store-art:hover{transform:translateY(-3px);box-shadow:0 9px 20px #0005,0 0 0 2px #a2dab62a;}}
@media(max-width:600px){
 .royale-store{padding:14px 12px;border-radius:16px;}
 .store-brand-icon{width:36px;height:36px;border-radius:12px;font-size:16px;}
 .store-heading h2{font-size:20px;}.store-wallet{padding:7px 9px;}.store-wallet small{font-size:9px;}
 .store-hero{padding:19px 16px;margin-top:18px;}.store-hero>i{right:18px;font-size:35px;}
 .store-category-section{padding:16px 10px;border-radius:15px;margin-top:18px;}
 .royale-store .store-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px 8px;}
 .royale-store .store-art{width:62px;border-radius:17px;}
 .royale-store .store-card h3{font-size:10px;}
 .store-dialog-body{padding:20px 16px;}.store-dialog-foot{bottom:-20px;}
}
@media(max-width:350px){.royale-store .store-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(prefers-reduced-motion:reduce){.royale-store .store-art{transition:none;}}

/* Minimal compact storefront. */
.royale-store{padding:10px;max-width:1060px;border:0;border-radius:0;background:#101b26;box-shadow:none;}
.store-heading{gap:8px;}
.store-brand{gap:0;}
.store-brand-icon{display:none;}
.store-heading h2{margin:0;font-size:18px;letter-spacing:0;}
.store-wallet{padding:3px 0;border:0;border-radius:0;background:none;gap:5px;}
.store-wallet strong{font-size:13px;}
.store-wallet small{font-size:10px;}
.store-search{margin:8px 0 4px;padding:0 9px;border-radius:7px;background:#ffffff03;box-shadow:none;}
.store-search input{height:32px;font-size:12px;}
.store-search>i{font-size:11px;}
.store-tabs{gap:6px;margin-bottom:6px;}
.store-tabs button{min-height:32px;padding:6px 8px;font-size:12px;border-bottom-width:2px;}
.store-tabs span{padding:1px 4px;}
.store-filters{gap:4px;margin:0;}
.store-filters button{min-height:28px;padding:4px 9px;border-radius:7px;font-size:10px;}
.store-category-section{margin-top:12px;padding:0;border:0;border-radius:0;background:none;}
.store-category-title{margin:0 0 8px;font-size:12px;font-weight:600;}
.store-category-title::before{display:none;}
.royale-store .store-grid{grid-template-columns:repeat(auto-fill,minmax(66px,1fr));gap:12px 8px;}
.royale-store .store-card{gap:4px;}
.royale-store .store-art{width:56px;height:56px;border-radius:14px;box-shadow:none;transition:none;}
.royale-store .store-card h3{font-size:10px;line-height:1.25;font-weight:500;}
.royale-store .store-owned-label{padding:0;background:none;font-size:8px;}
.store-empty{margin:10px 0;padding:14px 8px;font-size:12px;}
.royale-store [data-store-message]:empty{display:none;}
.store-dialog-body{padding:16px;}
.store-dialog{border-radius:16px;background:#14212c;}
.store-detail-icon{width:56px;height:56px;border-radius:14px;box-shadow:none;}
.store-detail-identity{gap:10px;}
.store-dialog h2{font-size:18px;margin:3px 0;}
.store-detail-stats{margin:12px 0;padding:9px 0;gap:8px;}
.store-detail-subtitle{font-size:14px;}
.store-dialog-description{font-size:12px;margin:8px 0;}
.store-preview-stage{min-height:110px;margin:10px 0;background:#0e1a27;border-radius:10px;}
.store-preview-choices{gap:4px;}
.store-preview-choices button{min-height:30px;padding:5px 8px;border-radius:7px;}
.store-dialog-foot{bottom:-16px;margin-top:10px;padding:10px 0;gap:8px;}
.store-dialog-hint{font-size:10px;margin:7px 0;}
@media(hover:hover){.royale-store .store-art:hover{transform:none;box-shadow:0 0 0 1px #a2dab660;}}
@media(max-width:600px){
 .royale-store{padding:8px;}
 .royale-store .store-grid{grid-template-columns:repeat(auto-fill,minmax(60px,1fr));gap:10px 6px;}
 .royale-store .store-art{width:52px;height:52px;border-radius:13px;}
 .royale-store .store-card h3{font-size:9px;}
}

/* Shared minimal product presentation, independent of product category. */
.store-dialog{width:min(540px,calc(100% - 20px));max-height:calc(100dvh - 24px);border-radius:16px;}
.store-dialog-body{padding:16px;}
.store-dialog-top{gap:10px;}
.store-dialog .store-close{width:32px;height:32px;font-size:22px!important;}
.store-detail-identity{gap:10px;}
.store-detail-icon{width:56px;height:56px;flex-shrink:0;border-radius:14px;}
.store-dialog .store-eyebrow{font-size:10px;}
.store-dialog h2{margin:3px 0;font-size:18px;line-height:1.3;}
.store-detail-stats{margin:12px 0;padding:8px 0;}
.store-detail-stats span{font-size:10px;}
.store-presentation{margin:0 0 14px;}
.store-dialog .store-detail-subtitle{font-size:12px;font-weight:650;margin:0 0 6px;color:#dceae5;}
.store-presentation .store-preview-stage{height:150px;min-height:150px;margin:0 0 7px;border-radius:10px;background:#0c1823;border:1px solid #a4bdca18;}
.store-art-preview img{display:block;max-width:100%;max-height:136px;width:auto;height:auto;object-fit:contain;border-radius:8px;}
.store-preview-choices{gap:4px;}
.store-preview-choices button{flex:1 0 auto;min-height:30px;padding:5px 8px;font-size:10px;border-radius:7px;}
.store-dialog-description{font-size:12px;line-height:1.6;margin:0 0 12px;white-space:pre-line;overflow-wrap:anywhere;}
.store-included{font-size:11px;color:#9fb9b0;line-height:1.6;margin-bottom:12px;}
.store-dialog-foot{flex-direction:row;align-items:center;margin-top:8px;padding:10px 0;gap:8px;}
.store-dialog-foot .store-price{font-size:12px;line-height:1.5;}
.store-dialog-foot .store-primary{width:auto;min-height:38px;padding:8px 14px;border-radius:9px;font-size:12px;}
.store-dialog [role=status]:empty{display:none;}
.store-dialog-hint{margin:6px 0;font-size:10px;line-height:1.5;}
@media(max-width:360px){.store-dialog-foot{flex-wrap:wrap;}.store-dialog-foot .store-primary{flex:1;}}

/* Product details stay inside the same left-column storefront. */
.store-catalog-view[hidden]{display:none!important;}
.royale-store .store-product-page{
  display:block;position:static;width:100%;max-width:100%;height:auto;max-height:none;
  margin:0;padding:0;overflow:visible;border:0;border-radius:0;background:none;box-shadow:none;
}
.store-product-page .store-dialog-body{padding:0;}
.store-product-page .store-dialog-top{flex-direction:row-reverse;align-items:center;gap:8px;}
.store-product-page .store-detail-identity{flex:1;min-width:0;}
.store-product-page .store-close{width:30px;height:32px;background:#ffffff06;border-radius:8px;}
.store-product-page .store-detail-icon{width:46px;height:46px;border-radius:12px;}
.store-product-page h2{font-size:16px;}
.store-product-page .store-dialog-foot{position:static;flex-wrap:wrap;background:none;}
.store-product-page .store-detail-stats{gap:6px;}
.store-product-page .store-detail-stats span{font-size:9px;}
.store-product-page .store-detail-stats span+span{padding-left:6px;}

.store-product-visual{display:block;width:100%;height:auto;max-height:340px;object-fit:contain;border:1px solid #a4bdca18;border-radius:10px;background:#0c1723;}
.store-product-visual.store-mood-visual{height:160px;padding:35px;box-sizing:border-box;image-rendering:auto;background:radial-gradient(ellipse at center,#25433f 0%,#101d27 70%);}
.store-mood-collection{display:grid;grid-template-columns:repeat(auto-fit,minmax(60px,1fr));gap:8px;padding:12px;border:1px solid #a4bdca18;border-radius:10px;background:#101d27;}
.store-mood-collection img{display:block;width:100%;max-width:70px;height:70px;object-fit:contain;justify-self:center;}
