/* Boutique plein écran — same native header treatment as quick/multiplayer. */
body.is-setup.is-shop{position:relative;isolation:isolate;min-height:100vh;min-height:100dvh;background:#04111b}
body.is-setup.is-shop::before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,rgba(3,12,21,.16),rgba(3,12,21,.28) 45%,rgba(3,12,21,.58)),url('./assets/shop-background-v186.webp?v=20261029-shop-fullscreen-v186');background-position:center,center top;background-size:100% 100%,cover;background-repeat:no-repeat}
body.is-setup.is-shop #sectionHeader .setup-page-head,body.is-setup.is-shop .setup-panel .setup-page-head{background-color:rgba(5,16,23,.58);background-image:none!important}
body.is-setup.is-shop .app-shell{display:block;width:100%;max-width:none;margin:0;padding:0;min-height:0;background:transparent;border:0;border-radius:0;box-shadow:none}
body.is-setup.is-shop .board-wrap,body.is-setup.is-shop #board,body.is-setup.is-shop .setup-view-shop{width:100%;max-width:none;margin:0;padding:0;min-height:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}
body.is-setup.is-shop .setup-view-shop{min-height:calc(100vh - 196px);min-height:calc(100dvh - 196px)}
body.is-setup.is-shop .setup-view-shop .online-panel{width:100%;max-width:none;margin:0;padding:24px clamp(14px,2.5vw,44px) 36px;background:transparent;border:0;box-shadow:none}
body.is-setup.is-shop .setup-view-shop .profile-card{width:100%;max-width:none;margin:0;background:transparent;border:0;box-shadow:none}
body.is-setup.is-shop .setup-view-shop .shop-pane{width:100%;max-width:none;margin:0;padding:4px 0 24px;background:transparent;border:0;border-radius:0;box-shadow:none;clip-path:none}
body.is-setup.is-shop .setup-view-shop .shop-pane::before,body.is-setup.is-shop .setup-view-shop .shop-pane::after{content:none;display:none}
body.is-setup.is-shop .setup-view-shop .profile-preview{background:linear-gradient(100deg,#0d2225c4,#071316b8)}
@media(max-width:760px){body.is-setup.is-shop .setup-view-shop{min-height:calc(100dvh - 220px)}body.is-setup.is-shop .setup-view-shop .online-panel{padding:18px 14px 28px}}

/* Boutique atelier: quiet currencies, bounded character index, appearances first. */
body.is-setup.is-shop::before{background-image:linear-gradient(105deg,rgba(3,12,21,.86),rgba(3,12,21,.66) 60%,rgba(3,12,21,.44)),url('./assets/shop-background-v186.webp?v=20261029-shop-polish-v187')}
body.is-setup.is-shop .setup-view-shop .online-panel{padding:20px clamp(16px,2.3vw,44px) 40px;gap:0}
body.is-setup.is-shop .setup-view-shop .profile-preview{display:flex;align-items:center;gap:16px;min-height:68px;padding:12px 16px;margin:0 0 16px;background:#06141cc9;border:1px solid #ac92502e}
body.is-setup.is-shop .setup-view-shop .profile-preview>.profile-avatar.large{flex:0 0 42px;width:42px;height:42px;margin:0}
body.is-setup.is-shop .setup-view-shop .profile-preview>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:4px 12px;min-width:0;width:100%}
body.is-setup.is-shop .setup-view-shop .profile-preview>div>strong{grid-column:1/3;grid-row:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.is-setup.is-shop .setup-view-shop .profile-preview>div>small{grid-column:1;grid-row:2;font-size:11px;white-space:nowrap}
body.is-setup.is-shop .setup-view-shop .profile-preview .equipped-title{grid-column:2;grid-row:2;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
body.is-setup.is-shop .setup-view-shop .profile-preview .coin-wallet{grid-column:3;grid-row:1/3;justify-self:end;white-space:nowrap}
body.is-setup.is-shop .setup-view-shop .profile-preview .level-track,body.is-setup.is-shop .setup-view-shop .profile-preview .profile-rewards{display:none}
body.is-setup.is-shop .setup-view-shop .profile-preview>div>strong{font-size:19px}
body.is-setup.is-shop .setup-view-shop .profile-preview .coin-wallet{font-size:12px}
body.is-setup.is-shop .setup-view-shop .profile-preview .coin-wallet>b{font-size:19px}
body.is-setup.is-shop .setup-view-shop .collection-tabs{display:flex;gap:0;padding:0;background:none;margin:0 0 24px;border-bottom:1px solid #ac92503d}
body.is-setup.is-shop .setup-view-shop .collection-tabs button{flex:0 0 auto;min-height:44px;padding:10px 24px;border:0;border-bottom:2px solid transparent;background:transparent;box-shadow:none;font:500 15px/1.3 Georgia,serif;color:#aebfc2}
body.is-setup.is-shop .setup-view-shop .collection-tabs button.active{background:transparent;border-bottom-color:#d2b77b;color:#f0dfb5}
body.is-setup.is-shop .setup-view-shop .shop-pane{padding:0 0 24px}
body.is-setup.is-shop .cs98-shop{display:grid;grid-template-columns:284px minmax(0,1fr);grid-template-areas:'heading balance' 'characters wardrobe';gap:20px 28px;align-items:start}
body.is-setup.is-shop .cs98-shop .shop-collection-head{grid-area:heading;display:block;min-height:0;padding:0;margin:0;border:0;background:none}
body.is-setup.is-shop .cs98-shop .shop-collection-head>strong{display:block;color:#e9ddbf;font:500 25px/1.2 Georgia,serif;margin:0 0 6px}
body.is-setup.is-shop .cs98-shop .shop-collection-head>small{display:block;color:#a8b9bd;font:12px/1.5 Arial,sans-serif;max-width:32ch}
body.is-setup.is-shop .cs98-shop .cs100-wallet{grid-area:balance;display:grid;grid-template-columns:32px minmax(0,1fr) auto;gap:12px;align-items:center;justify-self:end;width:min(100%,570px);min-height:0;margin:0;padding:10px 14px;border:1px solid #8e9e9a30;background:#06141cc9;box-shadow:none}
body.is-setup.is-shop .cs98-shop .cs100-wallet>img{width:32px;height:32px}
body.is-setup.is-shop .cs98-shop .cs100-wallet strong{font-size:18px;line-height:1.15}
body.is-setup.is-shop .cs98-shop .cs100-wallet span{font-size:11px}
body.is-setup.is-shop .cs98-shop .cs100-wallet small{font-size:10px;line-height:1.4}
body.is-setup.is-shop .cs98-shop .cs100-wallet>button{min-height:44px;grid-column:auto;justify-self:end;padding:8px 10px;font-size:11px;background:transparent;border:1px solid #c5a56857;box-shadow:none}
body.is-setup.is-shop .cs182-characters{grid-area:characters;position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:8px;align-content:start;margin:0;padding:0;min-width:0}
body.is-setup.is-shop .cs185-character{width:100%;max-width:284px;opacity:.72;transition:opacity .16s}
body.is-setup.is-shop .cs185-character.is-selected,body.is-setup.is-shop .cs185-character:hover{opacity:1}
body.is-setup.is-shop .cs185-character.is-selected .cs182-copy>strong{color:#ffedbc}
body.is-setup.is-shop .cs98-wardrobe{grid-area:wardrobe;display:block;min-width:0;margin:0;padding:0;border:0}
body.is-setup.is-shop .cs98-skins>header{min-height:56px;margin:0 0 16px;align-items:center;border-bottom:1px solid #ac925032;padding:0 0 12px}
body.is-setup.is-shop .cs98-skins>header h3{font-size:30px;line-height:1.15;margin:4px 0 0}
body.is-setup.is-shop .cs98-skins>header>small{font-size:12px;color:#c1b48e}
body.is-setup.is-shop .cs98-shop .cs98-grid{grid-template-columns:repeat(auto-fill,minmax(180px,1fr))!important;gap:16px!important;align-items:start}
body.is-setup.is-shop .cs98-shop .cosmetic-card{background:#07151ee8;border-color:#8e9e9a40}
body.is-setup.is-shop .cs98-shop .cosmetic-card.active{border-color:#d4b66e;box-shadow:none}
body.is-setup.is-shop .cs98-shop .cosmetic-copy{padding:12px;gap:6px}
body.is-setup.is-shop .cs98-shop .cosmetic-copy>strong{font-size:15px;line-height:1.35}
@media(max-width:999px){
 body.is-setup.is-shop .cs98-shop{grid-template-columns:minmax(0,1fr);grid-template-areas:'heading' 'balance' 'characters' 'wardrobe';gap:16px}
 body.is-setup.is-shop .cs98-shop .shop-collection-head>small{max-width:none}
 body.is-setup.is-shop .cs98-shop .cs100-wallet{justify-self:stretch;width:100%}
 body.is-setup.is-shop .cs182-characters{display:grid;grid-auto-flow:column;grid-template-columns:none;grid-auto-columns:252px;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;scrollbar-color:#9b855f65 transparent;padding:4px 2px 10px;margin:0}
 body.is-setup.is-shop .cs185-character{width:252px;max-width:none;scroll-snap-align:start}
 body.is-setup.is-shop .cs98-shop .cs98-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))!important}
}
@media(max-width:600px){
 body.is-setup.is-shop .setup-view-shop .online-panel{padding:16px 14px 28px}
 body.is-setup.is-shop .setup-view-shop .profile-preview{min-height:60px;padding:10px 12px;gap:12px;margin-bottom:12px}
 body.is-setup.is-shop .setup-view-shop .profile-preview>.profile-avatar.large{flex-basis:36px;width:36px;height:36px}
 body.is-setup.is-shop .setup-view-shop .profile-preview>div>strong{font-size:17px}
 body.is-setup.is-shop .setup-view-shop .collection-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:20px}
 body.is-setup.is-shop .setup-view-shop .collection-tabs button{padding:10px 2px;font-size:12px}
 body.is-setup.is-shop .cs98-shop .cs100-wallet{gap:8px;padding:10px;grid-template-columns:28px minmax(0,1fr) auto}
 body.is-setup.is-shop .cs98-shop .cs100-wallet>img{width:28px;height:28px}
 body.is-setup.is-shop .cs98-shop .cs100-wallet small{display:none}
 body.is-setup.is-shop .cs98-shop .cs100-wallet>button{max-width:92px;white-space:normal}
 body.is-setup.is-shop .cs98-skins>header h3{font-size:26px}
 body.is-setup.is-shop .cs98-shop .cs98-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 body.is-setup.is-shop .cs98-shop .cosmetic-copy{padding:10px;gap:6px}
 body.is-setup.is-shop .cs98-shop .cosmetic-copy>strong{font-size:14px}
 body.is-setup.is-shop .cs98-shop .cosmetic-copy>small{font-size:11px}
}
@media(prefers-reduced-motion:reduce){body.is-setup.is-shop .cs185-character{transition:none}}

/* Candidate: accessible discovery, without replacing native cards/actions. */
body.is-setup.is-shop .cs98-shop{grid-template-columns:280px minmax(0,1fr);grid-template-areas:'heading balance' 'search wardrobe' 'characters wardrobe';row-gap:12px}
.cs203-search{grid-area:search;min-width:0;color:#e9ddbf}.cs203-search label{display:block;font-size:13px;margin-bottom:6px}.cs203-search>div{display:flex;gap:6px}.cs203-search input{min-width:0;width:100%;background:#07151e;color:#f0dfb5;border:1px solid #ac925080;padding:8px;border-radius:4px}.cs203-search small{display:block;margin-top:6px;color:#a8b9bd}.cs203-search p,[data-skins-empty]{color:#e9ddbf;font-size:13px;line-height:1.5}
.cs203-search input,.cs203-search button,.cs203-filters button{min-height:44px}.cs203-search button,.cs203-filters button{background:#07151e;color:#e9ddbf;border:1px solid #ac925060;padding:8px 10px;border-radius:4px}.cs203-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.cs203-filters button[aria-pressed=true]{border-color:#e8c577;background:#243332;color:#ffedbc}.cs203-search :focus-visible,.cs203-filters :focus-visible{outline:2px solid #ffdf91;outline-offset:2px}[data-shop-feedback]{font-size:12px;color:#dfceaa}[data-shop-feedback]:empty{display:none}
body.is-setup.is-shop .cs98-shop [hidden]{display:none!important}
@media(max-width:999px){body.is-setup.is-shop .cs98-shop{grid-template-columns:minmax(0,1fr);grid-template-areas:'heading' 'balance' 'search' 'characters' 'wardrobe'}}

/* Native confirmations stay in the shop instead of covering purchase/preview controls. */
body.is-setup.is-shop .setup-view-shop .collection-tabs{position:static}
body.is-setup.is-shop .shop-inline-toast{position:static;inset:auto;width:100%;margin:0 0 12px;z-index:auto}
body.is-setup.is-shop .shop-inline-toast .toast{box-shadow:none;border-color:#ac925060}
body.is-setup.is-shop .shop-inline-toast .toast button{width:44px;height:44px}
.cs203-notice:empty{display:none}
/* Preserve first-viewport skin priority on narrow screens: no duplicate heading. */
@media(max-width:999px){
 body.is-setup.is-shop .cs98-shop{grid-template-areas:'balance' 'search' 'characters' 'wardrobe'}
 body.is-setup.is-shop .cs98-shop .shop-collection-head{display:none}
 .cs203-search label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .cs203-filters{flex-wrap:nowrap;gap:6px}
 .cs203-filters button{flex:1;min-width:0;padding:8px 4px;font:500 12px/1.3 Arial,sans-serif;white-space:nowrap}
 body.is-setup.is-shop .setup-view-shop .collection-tabs{margin-bottom:12px}
}

@media(max-width:600px){
 body.is-setup.is-shop .setup-view-shop .profile-preview>div{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important}
 body.is-setup.is-shop .setup-view-shop .profile-preview>div>strong{grid-column:1!important;grid-row:1;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body.is-setup.is-shop .setup-view-shop .profile-preview>div>small{grid-column:1;grid-row:2;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 body.is-setup.is-shop .setup-view-shop .profile-preview .equipped-title{display:none}
 body.is-setup.is-shop .setup-view-shop .profile-preview .coin-wallet{grid-column:2!important;grid-row:1/3!important;min-width:0;white-space:nowrap}
}

/* Filters share the gallery heading; mobile keeps the first skins above the fold. */
@media(min-width:1000px){
 body.is-setup.is-shop .cs98-skins{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px}
 body.is-setup.is-shop .cs98-skins>header{grid-column:1;grid-row:1;min-width:0;flex-wrap:wrap;gap:4px 8px}
 body.is-setup.is-shop .cs203-filters{grid-column:2;grid-row:1;align-self:center;flex-wrap:nowrap;margin-bottom:16px}
 body.is-setup.is-shop .cs203-filters button{padding:8px;font-size:12px;white-space:nowrap}
 body.is-setup.is-shop .cs98-skins>.cs98-grid,body.is-setup.is-shop .cs98-skins>.cs203-notice,body.is-setup.is-shop .cs98-skins>[data-skins-empty],body.is-setup.is-shop .cs98-skins>.cs98-season-note{grid-column:1/-1}
}
@media(max-width:999px){
 body.is-setup.is-shop .cs98-shop{row-gap:8px}
 body.is-setup.is-shop .cs98-shop .cs100-wallet{padding:6px 10px}
 body.is-setup.is-shop .cs182-characters{padding-bottom:6px}
 body.is-setup.is-shop .cs98-skins>header{min-height:40px;margin-bottom:8px;padding-bottom:8px}
 body.is-setup.is-shop .cs98-skins>header>div>span{display:none}
 body.is-setup.is-shop .cs98-skins>header h3{margin:0}
}

/* One opaque shop container: illustration remains outside, never behind the content. */
body.is-setup.is-shop .setup-view-shop .online-panel{
 width:calc(100% - clamp(24px,3.2vw,48px));max-width:none;min-width:0;
 margin:8px auto 24px;padding:20px clamp(16px,2.3vw,32px) 28px;
 background:#07151e;border:1px solid #b79b5b52;border-radius:12px;
 box-shadow:0 12px 36px #00000024;
}
@media(max-width:600px){
 body.is-setup.is-shop .setup-view-shop .online-panel{margin:8px auto 20px;padding:14px 12px 20px;border-radius:10px}
}
