/* F23 : Boutique et Pass dans la nouvelle DA. */
[data-une-boutique], [data-bande-vip], [data-grosse-recompense], .badge-article { display: none; }

/* ---------- Boutique ---------- */
html.da2 #v-boutique .cadre { display: flex; flex-direction: column; gap: 18px; }
html.da2 #v-boutique .bloc-packs { order: 5; }
html.da2 #v-boutique .note-boutique { order: 6; }
html.da2 #v-boutique .titre-articles { display: none; }
html.da2 #v-boutique .profil-tete { align-items: center; }
html.da2 .griffes-solde { display: grid; justify-items: end; gap: 4px; padding: 10px 16px; background: rgb(255 201 60 / .1); border: 1px solid rgb(255 201 60 / .35); border-radius: 13px; }
html.da2 .griffes-solde small { color: var(--gris); font: 500 12px/1 var(--f-texte); letter-spacing: 0; text-transform: none; }
html.da2 .griffes-solde br { display: none; }
html.da2 .griffes-solde .coins { color: #ffc93c; font: 800 clamp(24px, 2.400vw, 32px)/1 var(--f-chiffre); }

/* La vitrine */
html.da2 [data-une-boutique] { display: block; }
.une-boutique { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); overflow: hidden; background: var(--plaque); border: 2px solid var(--trait); border-radius: 18px; }
.une-boutique .vitrine { display: grid; place-items: center; min-height: 240px; overflow: hidden; background: radial-gradient(circle at 50% 40%, rgb(255 255 255 / .1), transparent 65%), var(--plaque-2); }
.une-boutique .vitrine .fausse-banniere { width: 100%; height: 100%; font-size: 26px; }
.une-boutique .vitrine .avatar { width: 110px; height: 110px; border-radius: 50%; font-size: 44px; }
.une-boutique .vitrine .titre-cosmetique { font-size: 26px; }
.une-boutique .vitrine .discord { width: 100%; height: 100%; font-size: 22px; }
.corps-une { display: grid; align-content: center; gap: 10px; padding: clamp(18px, 2.400vw, 32px); }
.etiquette-une { justify-self: start; padding: 3px 10px; background: var(--rouge); border-radius: 99px; color: #fff; font-size: 12px; font-weight: 700; }
.corps-une h2 { font: 800 clamp(24px, 2.800vw, 38px)/1.1 var(--f-titre); }
.corps-une > p { margin: 0; color: var(--gris); font-size: 15px; }
.pied-une { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 6px; }
.pied-une .prix { color: #ffc93c; font: 800 24px/1 var(--f-chiffre); }
.pied-une .extra-boutique { margin: 0; }

/* La bande VIP, à la couleur de la pastille */
html.da2 [data-bande-vip] { display: block; }
.bande-vip { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 18px 22px; background: rgb(60 150 255 / .1); border: 1px solid rgb(60 150 255 / .45); border-radius: 15px; }
.sceau-vip { flex: none; width: 44px; height: 44px; filter: drop-shadow(0 0 8px rgb(60 150 255 / .5)); }
.sceau-vip svg { display: block; width: 100%; height: 100%; fill: #3c96ff; }
.sceau-vip .coche-pro { fill: none; stroke: #04223f; stroke-width: 2.600; stroke-linecap: round; stroke-linejoin: round; }
.texte-vip { flex: 1 1 320px; display: grid; gap: 3px; min-width: 0; }
.texte-vip h2 { color: #7fbcff; font: 800 20px/1.2 var(--f-titre); }
.texte-vip p { margin: 0; color: var(--gris); font-size: 14px; }
.texte-vip .possede { color: var(--ok); font-size: 13px; font-weight: 600; }
.action-vip { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.action-vip .prix { color: #ffc93c; font: 800 20px/1 var(--f-chiffre); }

/* Les cartes */
html.da2 .grille-boutique { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
html.da2 .article { position: relative; overflow: hidden; border-radius: 15px; transition: transform .18s, border-color .18s; }
html.da2 .article:hover { transform: translateY(-4px); border-color: var(--trait-fort); }
html.da2 .article.equipe { border-color: var(--ok); }
html.da2 .article .vitrine { height: 150px; background: radial-gradient(circle at 50% 40%, rgb(255 255 255 / .08), transparent 65%), var(--plaque-2); border: 0; }
html.da2 .article .vitrine .avatar { border-radius: 50%; }
html.da2 .article .vitrine > * { transition: transform .25s; }
html.da2 .article:hover .vitrine > * { transform: scale(1.05); }
html.da2 .article .etiquette { color: var(--gris); font: 500 12px/1 var(--f-texte); letter-spacing: 0; text-transform: none; }
html.da2 .article h3 { font: 700 17px/1.2 var(--f-titre); }
html.da2 .article .infos p { font-size: 13px; }
html.da2 .article .pied { align-items: center; }
html.da2 .article .prix { color: #ffc93c; font-size: 20px; font-weight: 800; }
html.da2 .article .btn, html.da2 .pied-une .btn, html.da2 .action-vip .btn { border-radius: 11px; }
html.da2 .manque-boutique, .manque-prix { color: #ffc93c; font-size: 12px; }
html.da2 .badge-article { position: absolute; z-index: 1; top: 10px; left: 10px; display: block; padding: 3px 9px; background: rgb(9 14 25 / .8); border-radius: 99px; color: var(--ok); font-size: 11px; font-weight: 700; }
html.da2 .badge-article.equipe-b { background: var(--ok); color: #06291a; }
html.da2 .dialogue-essai { border-radius: 16px; }
html.da2 #v-boutique .onglets { display: inline-flex; flex-wrap: wrap; align-self: flex-start; gap: 2px; margin: 0; padding: 4px; background: var(--plaque); border: 1px solid var(--trait); border-radius: 13px; }
html.da2 #v-boutique .onglets button { min-height: 38px; padding: 0 14px; background: transparent; border: 0; border-radius: 9px; color: var(--gris); font: 600 14px/1 var(--f-texte); }
html.da2 #v-boutique .onglets button[aria-selected="true"] { background: var(--rouge); color: #fff; }
html.da2 .pack { border-radius: 15px; }

/* ---------- Pass ---------- */
html.da2 .chrono-saison { padding: 7px 13px; background: rgb(255 201 60 / .12); border: 1px solid rgb(255 201 60 / .4); border-radius: 99px; color: #ffc93c; font: 600 14px/1.2 var(--f-texte); letter-spacing: 0; text-transform: none; }
html.da2 .chrono-saison::before { background: #ffc93c; }
html.da2 .chrono-saison b { color: #fff; font-weight: 700; }
html.da2 .niveau-joueur { border-radius: 18px; }
html.da2 .niveau-joueur .hexa { display: grid; place-items: center; flex: none; width: 84px; height: 84px; background: var(--rouge); border-radius: 20px; clip-path: none; box-shadow: 0 10px 24px rgb(232 32 46 / .35); }
html.da2 .niveau-joueur .hexa.premium { background: var(--or); color: #1a1405; }
html.da2 .niveau-joueur .hexa span { font: 800 38px/1 var(--f-titre); }
html.da2 .niveau-joueur .hexa small { font: 600 11px/1 var(--f-texte); letter-spacing: 0; }
html.da2 .niveau-joueur h2 { font: 800 clamp(22px, 2.400vw, 32px)/1.1 var(--f-titre); }
html.da2 .barre-xp { height: 10px; overflow: hidden; background: rgb(255 255 255 / .1); border: 0; border-radius: 99px; }
html.da2 .barre-xp span { background: var(--rouge-vif); border-radius: 99px; }
html.da2 .barre-xp.premium span { background: var(--or); }
html.da2 .prochaine { border-radius: 11px; }
html.da2 .tout-recuperer { min-height: 54px; padding: 0 28px; border-radius: 14px; font: 800 17px/1 var(--f-titre); letter-spacing: 0; text-transform: none; }

html.da2 #v-pass .vue .cadre { display: flex; flex-direction: column; gap: 18px; }
html.da2 #v-pass [data-grosse-recompense] { order: 0; }
html.da2 #v-pass .frise-tete { order: 1; }
html.da2 #v-pass .frise { order: 2; }
html.da2 #v-pass .offre-premium { order: 3; }
html.da2 #v-pass .recompense-finale { order: 4; }
html.da2 #v-pass .vue .cadre > .titre-vue { order: 5; }
html.da2 #v-pass .sources-xp { order: 6; }
html.da2 #v-pass [data-note-pass] { order: 7; }

/* La prochaine grosse récompense */
html.da2 [data-grosse-recompense] { display: block; }
html.da2 [data-grosse-recompense]:empty { display: none; }
.grosse-recompense { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding: 18px 22px; background: linear-gradient(100deg, rgb(255 201 60 / .16), transparent 70%), var(--plaque); border: 1px solid rgb(255 201 60 / .4); border-radius: 15px; }
.grosse-recompense .mini { flex: none; width: 76px; height: 76px; }
.texte-grosse { flex: 1 1 240px; display: grid; gap: 2px; min-width: 0; }
.texte-grosse small { color: #ffc93c; font-size: 13px; font-weight: 600; }
.texte-grosse strong { font: 800 clamp(20px, 2.200vw, 28px)/1.15 var(--f-titre); }
.texte-grosse span { color: var(--gris); font-size: 14px; }

/* La frise : passé, actuel et verrouillé se voient d'un coup d'œil */
html.da2 .frise-tete h2 { font: 800 clamp(20px, 2vw, 26px)/1.2 var(--f-titre); }
html.da2 .recomp { border-radius: 12px; transition: transform .15s, opacity .15s; }
html.da2 .recomp:hover { transform: translateY(-3px); }
html.da2 .recomp.verrou { opacity: .45; }
html.da2 .recomp.verrou-premium:not(.verrou) { opacity: .7; }
html.da2 .recomp.recup { opacity: .5; border-color: var(--ok); }
html.da2 .recomp.dispo { border-color: #ffc93c; box-shadow: 0 0 0 1px #ffc93c, 0 8px 22px rgb(255 201 60 / .25); }
html.da2 .palier-num.atteint span { background: var(--ok); color: #06291a; }
html.da2 .palier-num.courant span { background: var(--rouge); color: #fff; box-shadow: 0 0 0 3px rgb(232 32 46 / .3); }
html.da2 .palier-num.jalon span { font-weight: 800; }
html.da2 .etiq-voie { font: 700 13px/1 var(--f-titre); letter-spacing: 0; text-transform: none; }
html.da2 .offre-premium, html.da2 .recompense-finale { border-radius: 16px; }

/* Comment gagner de l'XP */
html.da2 .sources-xp { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 10px; }
html.da2 .sources-xp .source { display: grid; gap: 3px; padding: 14px 16px; background: var(--plaque); border: 1px solid var(--trait); border-radius: 13px; }
html.da2 .sources-xp .source strong { color: #ffc93c; font: 800 22px/1.1 var(--f-chiffre); }
html.da2 .sources-xp .source b { font: 700 14px/1.2 var(--f-titre); }
html.da2 .sources-xp .source span { color: var(--gris); font-size: 12px; }

@media (max-width: 767px) {
  .une-boutique { grid-template-columns: minmax(0, 1fr); }
  .une-boutique .vitrine { min-height: 170px; }
}
@media (prefers-reduced-motion: reduce) { html.da2 .article, html.da2 .recomp, html.da2 .article .vitrine > * { transition: none; } html.da2 .article:hover, html.da2 .recomp:hover { transform: none; } html.da2 .article:hover .vitrine > * { transform: none; } }
