@import url(/cartes/css/flaticon/flaticon.css);

#contenu_cartes {
  box-sizing: content-box;
}
.texte_centre {
  text-align: center;
}

/* Retours de formulaire et notifications Cartes Universe */
.section.espace .info {
  --cu-feedback-accent: #62bfff;
  --cu-feedback-accent-rgb: 98, 191, 255;
  position: relative;
  display: block;
  flex: none;
  width: min(760px, calc(100% - 24px));
  max-width: 100%;
  min-height: 54px;
  margin: 12px auto 20px;
  padding: 15px 18px 15px 58px;
  overflow: hidden;
  border: 1px solid rgba(var(--cu-feedback-accent-rgb), .58);
  border-radius: 13px;
  background:
    linear-gradient(135deg, rgba(var(--cu-feedback-accent-rgb), .18), rgba(9, 23, 52, .94) 58%),
    rgba(10, 25, 56, .96);
  box-shadow: 0 14px 34px rgba(1, 8, 27, .3), inset 3px 0 0 var(--cu-feedback-accent);
  color: #eef7ff;
  font-size: .92rem;
  line-height: 1.45;
  text-align: left;
  box-sizing: border-box;
}

.section.espace .info::before {
  content: "i";
  position: absolute;
  top: 50%;
  left: 17px;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(var(--cu-feedback-accent-rgb), .72);
  border-radius: 50%;
  background: rgba(var(--cu-feedback-accent-rgb), .18);
  color: var(--cu-feedback-accent);
  font-weight: 900;
  transform: translateY(-50%);
}

.section.espace .info p {
  margin: 0;
  padding: 0;
}

.section.espace .info p + p {
  margin-top: 5px;
}

.section.espace .info img {
  width: auto;
  max-height: 1.25em;
  margin-inline: 3px;
  vertical-align: -.22em;
}

.section.espace .info.succes,
.section.espace .info.success,
.section.espace .info[data-market-success="1"] {
  --cu-feedback-accent: #43df9a;
  --cu-feedback-accent-rgb: 67, 223, 154;
}

.section.espace .info.succes::before,
.section.espace .info.success::before,
.section.espace .info[data-market-success="1"]::before {
  content: "✓";
}

.section.espace .info.erreur,
.section.espace .info.error,
.section.espace .info[data-market-success="0"] {
  --cu-feedback-accent: #ff7185;
  --cu-feedback-accent-rgb: 255, 113, 133;
}

.section.espace .info.erreur::before,
.section.espace .info.error::before,
.section.espace .info[data-market-success="0"]::before {
  content: "!";
}

#pop_notification {
  position: fixed;
  z-index: 10050;
  top: 112px;
  right: 22px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  width: min(390px, calc(100vw - 28px));
  max-width: 100%;
  min-height: 64px;
  overflow: hidden;
  border: 1px solid rgba(112, 194, 255, .4);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(18, 48, 91, .98), rgba(12, 23, 55, .98));
  box-shadow: 0 18px 46px rgba(0, 5, 22, .5), inset 0 1px rgba(255, 255, 255, .08);
  color: #f4f8ff;
  cursor: pointer;
  opacity: 0;
  transform: translateX(calc(100% + 30px));
  transition: opacity .32s ease, transform .42s cubic-bezier(.2, .85, .25, 1);
}

#pop_notification.open {
  opacity: 1;
  transform: translateX(0);
}

#pop_notification.close {
  opacity: 0;
  transform: translateX(calc(100% + 30px));
}

#pop_notification .icon {
  position: relative;
  width: 100%;
  min-height: 64px;
  background: rgba(98, 191, 255, .13);
}

#pop_notification .icon::before {
  content: "i";
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: #62bfff;
  font-weight: 900;
  transform: translate(-50%, -50%);
}

#pop_notification .icon.vert { background: rgba(67, 223, 154, .14); }
#pop_notification .icon.vert::before { content: "✓"; color: #43df9a; }
#pop_notification .icon.rouge { background: rgba(255, 113, 133, .14); }
#pop_notification .icon.rouge::before { content: "!"; color: #ff7185; }
#pop_notification .icon.orange,
#pop_notification .icon.jaune { background: rgba(255, 191, 88, .14); }
#pop_notification .icon.orange::before,
#pop_notification .icon.jaune::before { content: "!"; color: #ffbf58; }

#pop_notification .notif {
  align-self: center;
  width: auto;
  margin: 0;
  padding: 13px 16px;
  background: none;
  color: inherit;
  font-size: .86rem;
  line-height: 1.4;
}

@media (max-width: 700px) {
  #pop_notification {
    top: 82px;
    right: 14px;
  }

  .section.espace .info {
    width: calc(100% - 12px);
    padding: 13px 14px 13px 52px;
    font-size: .84rem;
  }
}

/* Onglets Cartes Universe, modernisés à partir du design historique */
.menu_social_actu,
.barre_onglet {
  display: flex;
  align-items: stretch;
  gap: 7px;
  width: 100%;
  margin: 12px auto 22px;
  padding: 7px;
  /*border: 1px solid rgba(91, 126, 201, .38);*/
  /*border-radius: 16px;*/
  /*background: linear-gradient(145deg, rgba(20, 31, 61, .94), rgba(12, 20, 42, .96));*/
  /*box-shadow: 0 12px 30px rgba(3, 8, 24, .3), inset 0 1px rgba(255, 255, 255, .05);*/
  text-align: center;
}

.barre_onglet {
  max-width: 650px;
}

.menu_social_actu .onglet_social,
.barre_onglet .onglet,
.barre_onglet .onglet_actif {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 10px 18px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 11px;
  color: #aebbd8;
  background: rgba(27, 40, 76, .56);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: .025em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.menu_social_actu .onglet_social {
  flex: 1 1 50%;
}

.barre_onglet .onglet,
.barre_onglet .onglet_actif {
  flex: 1 1 0;
}

.menu_social_actu .onglet_social.pas_actif:hover,
.barre_onglet a.onglet:hover {
  border-color: rgba(92, 187, 255, .52);
  color: #f5f8ff;
  background: rgba(41, 66, 119, .72);
  box-shadow: 0 7px 18px rgba(4, 12, 32, .35);
  text-decoration: none;
  transform: translateY(-1px);
}

.menu_social_actu .onglet_social.actif,
.barre_onglet .onglet_actif {
  border-color: rgba(111, 211, 255, .72);
  color: #fff;
  background: linear-gradient(135deg, #168be1, #5b5ee8 62%, #744bd2);
  box-shadow: 0 9px 22px rgba(47, 105, 225, .34), inset 0 1px rgba(255, 255, 255, .22);
  cursor: default;
}

.menu_social_actu .onglet_social.actif:after,
.barre_onglet .onglet_actif:after {
  content: "";
  position: absolute;
  right: 22%;
  bottom: 4px;
  left: 22%;
  height: 2px;
  border-radius: 2px;
  background: #aaf3ff;
  box-shadow: 0 0 9px #8aeaff;
}

.menu_social_actu .onglet_social:focus-visible,
.barre_onglet .onglet:focus-visible {
  outline: 2px solid #7ee8ff;
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .menu_social_actu,
  .barre_onglet {
    gap: 5px;
    padding: 5px;
    border-radius: 13px;
  }

  .menu_social_actu .onglet_social,
  .barre_onglet .onglet,
  .barre_onglet .onglet_actif {
    min-height: 44px;
    padding: 8px 9px;
    border-radius: 9px;
    font-size: 11px;
  }
}

.cu-owned-articles {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 20px;
  width: 100%;
  margin: 14px 0 24px;
}

.cu-owned-articles > .col-20,
.cu-owned-articles > .col-30 {
  float: none;
  display: block;
  width: auto;
  margin: 0;
  padding: 0;
}

.cu-owned-boosters > .col-20 {
  flex: 0 0 220px;
}

.cu-owned-displays > .col-30 {
  flex: 0 0 330px;
}

.cu-owned-articles img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

/* Réserve des boosters et displays encore scellés. */
.cu-article-vault {
  width: 100%;
  color: #edf5ff;
}

.cu-article-vault-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 0 12px;
  padding: clamp(20px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(92, 169, 255, .38);
  border-radius: 18px;
  background:
    radial-gradient(circle at 8% 0, rgba(54, 156, 255, .26), transparent 38%),
    radial-gradient(circle at 93% 110%, rgba(137, 76, 224, .25), transparent 42%),
    linear-gradient(145deg, rgba(8, 27, 61, .96), rgba(28, 22, 68, .96));
  box-shadow: 0 22px 48px rgba(1, 7, 24, .34), inset 0 1px rgba(255, 255, 255, .06);
  box-sizing: border-box;
}

.cu-article-vault-intro {
  display: grid;
  max-width: 680px;
  gap: 7px;
}

.cu-article-vault-kicker,
.cu-article-shelf-header span {
  color: #72c5ff;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cu-article-vault-intro h1,
.cu-article-shelf-header h2,
.cu-article-empty h3 {
  margin: 0;
  color: #fff;
}

.cu-article-vault-intro h1 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.cu-article-vault-intro p {
  margin: 0;
  color: #b6c9e3;
  font-size: .9rem;
  line-height: 1.55;
}

.cu-article-vault-stats {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: repeat(3, minmax(76px, 1fr));
  gap: 8px;
}

.cu-article-vault-stats > span {
  display: grid;
  min-height: 74px;
  place-items: center;
  align-content: center;
  gap: 4px;
  padding: 9px 12px;
  border: 1px solid rgba(104, 185, 255, .3);
  border-radius: 12px;
  background: rgba(5, 20, 49, .62);
  box-shadow: inset 0 1px rgba(255, 255, 255, .05);
  box-sizing: border-box;
}

.cu-article-vault-stats strong {
  color: #79dcff;
  font-size: 1.35rem;
  line-height: 1;
}

.cu-article-vault-stats small {
  color: #9db3d1;
  font-size: .62rem;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.cu-article-vault-tip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 205, 103, .24);
  border-radius: 10px;
  color: #d7c9a8;
  background: rgba(90, 59, 12, .2);
  box-sizing: border-box;
}

.cu-article-vault-tip > span {
  color: #ffd169;
  font-size: 1.05rem;
}

.cu-article-vault-tip p {
  margin: 0;
  font-size: .78rem;
}

.cu-article-vault-sections {
  display: grid;
  gap: 24px;
}

.cu-article-shelf {
  overflow: hidden;
  border: 1px solid rgba(87, 158, 239, .32);
  border-radius: 17px;
  background:
    radial-gradient(circle at 0 0, rgba(48, 136, 225, .13), transparent 32%),
    linear-gradient(145deg, rgba(8, 23, 54, .9), rgba(23, 19, 58, .88));
  box-shadow: 0 16px 34px rgba(1, 7, 23, .27), inset 0 1px rgba(255, 255, 255, .04);
}

.cu-article-shelf-displays {
  border-color: rgba(153, 105, 245, .36);
  background:
    radial-gradient(circle at 100% 0, rgba(132, 72, 225, .16), transparent 36%),
    linear-gradient(145deg, rgba(10, 24, 55, .92), rgba(30, 19, 65, .9));
}

.cu-article-shelf-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 17px 20px;
  border-bottom: 1px solid rgba(94, 161, 239, .22);
  background: rgba(24, 57, 105, .28);
}

.cu-article-shelf-header > div {
  display: grid;
  gap: 3px;
}

.cu-article-shelf-header h2 {
  font-size: 1.28rem;
}

.cu-article-shelf-header > strong {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid rgba(101, 191, 255, .34);
  border-radius: 999px;
  color: #bfe6ff;
  background: rgba(14, 58, 103, .45);
  font-size: .68rem;
}

.cu-article-shelf .cu-owned-articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  align-items: stretch;
  gap: 15px;
  margin: 0;
  padding: 18px;
  box-sizing: border-box;
}

.cu-article-shelf .cu-owned-displays {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.cu-owned-product {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(101, 170, 248, .3);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(16, 43, 85, .86), rgba(28, 24, 67, .84)),
    rgba(6, 18, 43, .9);
  box-shadow: 0 12px 24px rgba(0, 6, 22, .27), inset 0 1px rgba(255, 255, 255, .05);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.cu-owned-product:hover {
  border-color: rgba(105, 205, 255, .72);
  box-shadow: 0 18px 30px rgba(0, 6, 22, .4), 0 0 20px rgba(58, 153, 255, .13);
  transform: translateY(-4px);
}

.cu-owned-product .article-carte {
  position: relative;
  display: grid;
  height: 100%;
  min-height: 340px;
  grid-template-rows: 1fr auto;
  padding: 13px 13px 0;
  color: #fff;
  text-decoration: none;
  box-sizing: border-box;
}

.cu-owned-displays .cu-owned-product .article-carte {
  min-height: 310px;
}

.cu-owned-product-kind {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  padding: 5px 8px;
  border: 1px solid rgba(109, 196, 255, .44);
  border-radius: 7px;
  color: #d9f2ff;
  background: rgba(6, 29, 61, .86);
  font-size: .6rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.cu-owned-product-visual {
  position: relative;
  display: grid;
  min-height: 255px;
  place-items: center;
  padding: 15px 8px 9px;
  overflow: hidden;
}

.cu-owned-product-visual:after {
  content: "";
  position: absolute;
  inset: 12% 15%;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  background: rgba(69, 160, 255, .18);
  filter: blur(28px);
}

.cu-owned-product-visual img {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 100%;
  height: 235px;
  object-fit: contain;
  filter: drop-shadow(0 14px 12px rgba(0, 0, 0, .44));
  transition: transform .22s ease, filter .22s ease;
}

.cu-owned-displays .cu-owned-product-visual img {
  width: 100%;
  height: 205px;
}

.cu-owned-product:hover .cu-owned-product-visual img {
  filter: drop-shadow(0 18px 15px rgba(0, 0, 0, .52));
  transform: scale(1.035) rotate(-1deg);
}

.cu-owned-product-meta {
  display: grid;
  gap: 3px;
  margin: 0 -13px;
  padding: 11px 13px 12px;
  border-top: 1px solid rgba(94, 163, 241, .22);
  text-align: left;
  background: rgba(4, 15, 38, .68);
}

.cu-owned-product-meta strong {
  overflow: hidden;
  color: #f4f8ff;
  font-size: .83rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cu-owned-product-meta small {
  color: #72c8ff;
  font-size: .67rem;
  font-weight: 750;
}

.cu-article-empty {
  display: grid;
  max-width: 520px;
  justify-items: center;
  gap: 7px;
  margin: 18px auto;
  padding: 28px 20px;
  color: #9fb3d0;
  text-align: center;
}

.cu-article-empty > span {
  color: #69c8ff;
  font-size: 2rem;
}

.cu-article-empty h3 {
  font-size: 1.05rem;
}

.cu-article-empty p {
  margin: 0 0 7px;
  font-size: .8rem;
}

@media (max-width: 800px) {
  .cu-article-vault-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .cu-article-vault-stats {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .cu-article-vault-hero { padding: 18px 14px; }
  .cu-article-vault-stats { gap: 5px; }
  .cu-article-vault-stats > span { min-height: 64px; padding-inline: 6px; }
  .cu-article-vault-stats strong { font-size: 1.15rem; }
  .cu-article-vault-stats small { font-size: .54rem; }
  .cu-article-shelf-header { align-items: flex-start; padding: 14px; }
  .cu-article-shelf-header > strong { white-space: nowrap; }
  .cu-article-shelf .cu-owned-articles,
  .cu-article-shelf .cu-owned-displays { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .cu-owned-product .article-carte { min-height: 320px; }
}

.cu-match-found {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .35s ease;
}

.cu-match-found[hidden] { display: none; }
.cu-match-found.is-visible { opacity: 1; }

.cu-match-found-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(46, 163, 255, .24), transparent 34%),
    rgba(4, 8, 18, .92);
  backdrop-filter: blur(12px) saturate(.8);
}

.cu-match-found-card {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100vw - 28px));
  padding: 40px 42px 36px;
  overflow: hidden;
  border: 1px solid rgba(86, 183, 255, .56);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(27, 45, 78, .98), rgba(8, 15, 31, .99));
  box-shadow: 0 32px 90px rgba(0, 0, 0, .72), 0 0 52px rgba(48, 164, 255, .2);
  color: #f7fbff;
  text-align: center;
  transform: translateY(24px) scale(.92);
  opacity: 0;
  transition: transform .55s cubic-bezier(.2, .9, .25, 1.12), opacity .35s ease;
}

.cu-match-found.is-visible .cu-match-found-card { transform: translateY(0) scale(1); opacity: 1; }
.cu-match-found-card:before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, transparent, #66d9ff, #8a7dff, transparent); box-shadow: 0 0 22px #55bfff; }
.cu-match-found-kicker { margin: 0 0 5px; color: #72dcff; font-size: 11px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.cu-match-found-card h2 { margin: 0 0 25px; color: #fff; font-size: clamp(30px, 5vw, 45px); line-height: 1.05; text-shadow: 0 0 24px rgba(82, 191, 255, .5); }

.cu-match-found-avatar {
  position: relative;
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  margin: 0 auto 17px;
}

.cu-match-found-avatar > span { position: absolute; inset: 0; border: 2px solid rgba(104, 220, 255, .72); border-radius: 50%; box-shadow: 0 0 24px rgba(77, 190, 255, .55), inset 0 0 18px rgba(100, 130, 255, .25); animation: cu-match-ring 1.7s ease-in-out infinite alternate; }
.cu-match-found-avatar > span:after { content: ""; position: absolute; inset: 7px; border: 1px dashed rgba(159, 135, 255, .75); border-radius: 50%; animation: cu-match-spin 5s linear infinite; }
.cu-match-found-avatar img { width: 104px; height: 104px; border: 3px solid #d8f5ff; border-radius: 50%; object-fit: cover; background: #101a2d; box-shadow: 0 12px 30px #0008; }
.cu-match-found-card > strong { display: block; max-width: 100%; overflow: hidden; color: #fff; font-size: 24px; text-overflow: ellipsis; white-space: nowrap; }
.cu-match-found-title { display: inline-flex; align-items: center; justify-content: center; margin-top: 7px; color: #9eb4de; font-size: 13px; font-weight: 800; }
.cu-match-found-title:before { content: ""; width: 5px; height: 5px; margin-right: 7px; border-radius: 50%; background: #6bdcff; box-shadow: 0 0 9px rgba(107,220,255,.75); }
.cu-match-found-title[hidden] { display: none; }
.cu-match-found-card > p:not(.cu-match-found-kicker) { margin: 8px 0 22px; color: #b9c8e3; }
.cu-match-found-loader { display: flex; justify-content: center; gap: 7px; height: 12px; }
.cu-match-found-loader i { width: 8px; height: 8px; border-radius: 50%; background: #6bdcff; box-shadow: 0 0 10px #6bdcff; animation: cu-match-dot .85s ease-in-out infinite alternate; }
.cu-match-found-loader i:nth-child(2) { animation-delay: .18s; }
.cu-match-found-loader i:nth-child(3) { animation-delay: .36s; }

@keyframes cu-match-ring { to { transform: scale(1.06); filter: brightness(1.25); } }
@keyframes cu-match-spin { to { transform: rotate(360deg); } }
@keyframes cu-match-dot { to { opacity: .3; transform: translateY(-5px); } }

@media (max-width: 520px) {
  .cu-match-found-card { padding: 32px 20px 28px; border-radius: 21px; }
  .cu-match-found-avatar { width: 108px; height: 108px; }
  .cu-match-found-avatar img { width: 88px; height: 88px; }
}

@media (prefers-reduced-motion: reduce) {
  .cu-match-found, .cu-match-found-card { transition: none; }
  .cu-match-found-avatar span, .cu-match-found-avatar span:after, .cu-match-found-loader i { animation: none !important; }
}
div.card div, div.card span, div.card p, div.card h1 {
  box-sizing: content-box;
}
div.card {
	width: 340px;
	height: 482px;
	margin: 10px;
	text-align: left;
	border: 5px solid #000;
	padding: 0px;
	position: relative;
	font-size: 15px;
	font-family: sans-serif;
	display: inline-block;
	color: #000;
	background-image: url('/cartes/images/fond.jpg');
    vertical-align: top;
    /*border-radius: 3px;*/
    border-radius: 14px;
  box-sizing: content-box;
}

.cu-booster-opening {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: start;
  gap: 18px;
  width: 100%;
  padding: 12px 4px 22px;
}

.cu-booster-opening > .cu-booster-card-slot {
  display: block;
  flex: 0 0 370px;
  width: 370px;
  min-height: 512px;
  margin: 0;
}

.cu-booster-card-slot > div.card,
.cu-booster-card-slot > .flip > div.card {
  width: 340px;
  margin: 10px;
}

.cu-booster-card-slot > .flip {
  position: relative;
  width: 370px;
  min-height: 512px;
}

.grande-box-jquery div.content-pane,
.grande-box-jquery div.jconfirm-content-pane {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-color: #62aaff #171717;
  scrollbar-width: thin;
}

.grande-box-jquery div.jconfirm-content {
  overflow: visible !important;
}

.jconfirm .jconfirm-box-container.grande-box-jquery {
  flex: 0 0 calc(100vw - 32px) !important;
  width: calc(100vw - 32px) !important;
  max-width: 1840px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.jconfirm .grande-box-jquery .jconfirm-box {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  max-height: calc(100vh - 24px) !important;
  max-height: calc(100dvh - 24px) !important;
  overflow: hidden !important;
}

.jconfirm .grande-box-jquery .jconfirm-title-c {
  flex: 0 0 auto;
}

.jconfirm .grande-box-jquery .jconfirm-buttons {
  position: relative;
  z-index: 5;
  flex: 0 0 auto;
  width: 100%;
  margin-top: 0 !important;
  padding: 12px 0 4px;
  border-top: 1px solid rgba(98, 170, 255, .3);
  background: #1b1b1b;
}

/* Garde toutes les fenêtres du jeu dans le viewport, y compris les cartes. */
.jconfirm .jconfirm-box-container {
  max-height: calc(100vh - 20px);
  max-height: calc(100dvh - 20px);
}

.jconfirm .jconfirm-box-container > .jconfirm-box {
  display: flex !important;
  max-height: calc(100vh - 20px) !important;
  max-height: calc(100dvh - 20px) !important;
  flex-direction: column !important;
  overflow: hidden !important;
  box-sizing: border-box;
}

.jconfirm .jconfirm-box-container > .jconfirm-box > .jconfirm-title-c,
.jconfirm .jconfirm-box-container > .jconfirm-box > .jconfirm-buttons {
  flex: 0 0 auto;
}

.jconfirm .jconfirm-box-container > .jconfirm-box > .content-pane,
.jconfirm .jconfirm-box-container > .jconfirm-box > .jconfirm-content-pane {
  flex: 1 1 auto !important;
  min-height: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  scrollbar-color: #62aaff rgba(10, 19, 42, .9);
  scrollbar-width: thin;
}

.jconfirm .jconfirm-box-container > .jconfirm-box > .jconfirm-buttons {
  position: relative;
  z-index: 4;
}

@media (max-width: 430px) {
  .jconfirm .jconfirm-box-container.grande-box-jquery {
    flex-basis: calc(100vw - 10px) !important;
    width: calc(100vw - 10px) !important;
  }

  .jconfirm .grande-box-jquery .jconfirm-box {
    max-height: calc(100dvh - 10px) !important;
  }

  .cu-booster-opening {
    justify-content: center;
  }
}
div.card.verso {
  background-image: url(/cartes/images/verso.png);
  background-size: 100% 100%;
}
div.card.verso_nu {
  background-image: url(/cartes/images/couverture/nintendo-universe.png);
  background-size: 100% 100%;
}
div.card.verso_digital {
  background-image: url(/cartes/images/couverture/verso-digital.png);
  background-size: 100% 100%;
}
div.card.verso_mario_pixel {
  background-image: url(/cartes/images/couverture/verso-mario-pixel.png);
  background-size: 100% 100%;
}
div.card.verso_pokemon_pixel {
	background-image: url(/cartes/images/couverture/verso-pokemon-pixel.png);
	background-size: 100% 100%;
}
div.card.fullart {
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
div.card.gris {
   filter: grayscale(100%);
}
div.card.bleu {
	background-image: url('/cartes/images/fond-bleu.jpg');
}
div.card.gris {
	background-image: url('/cartes/images/fond.jpg');
}
div.card.vert {
	background-image: url('/cartes/images/fond-vert.jpg');
}
div.card.marron {
	background-image: url('/cartes/images/fond-marron.jpg');
}
div.card.rouge {
	background-image: url('/cartes/images/fond-rouge.jpg');
}
div.card.jaune {
	background-image: url('/cartes/images/fond-jaune.jpg');
}
div.card.orange {
	background-image: url('/cartes/images/fond-orange.jpg');
}
div.card.rose {
	background-image: url('/cartes/images/fond-rose.jpg');
}
div.card.bleu.holographique {
	background-image: url('/cartes/images/fond-bleu-brillant.gif');
}
div.card.vert.holographique {
	background-image: url('/cartes/images/fond-vert-brillant.gif');
}
div.card.marron.holographique {
	background-image: url('/cartes/images/fond-marron-brillant.gif');
}
div.card.rouge.holographique {
	background-image: url('/cartes/images/fond-rouge.jpg');
}
div.card.jaune.holographique {
	background-image: url('/cartes/images/fond-jaune.jpg');
}
div.card.orange.holographique {
	background-image: url('/cartes/images/fond-orange.jpg');
}
div.card.rose.holographique {
	background-image: url('/cartes/images/fond-rose.jpg');
}
div.card.bleu.reverse {
	background-image: url('/cartes/images/fond-bleu-reverse.gif');
}
div.card.gris.reverse {
	background-image: url('/cartes/images/fond.jpg');
}
div.card.vert.reverse {
	background-image: url('/cartes/images/fond-vert-reverse.gif');
}
div.card.marron.reverse {
	background-image: url('/cartes/images/fond-marron-reverse.gif');
}
div.card.rouge.reverse {
	background-image: url('/cartes/images/fond-rouge.jpg');
}
div.card.jaune.reverse {
	background-image: url('/cartes/images/fond-jaune.jpg');
}
div.card.orange.reverse {
	background-image: url('/cartes/images/fond-orange.jpg');
}
div.card.rose.reverse {
	background-image: url('/cartes/images/fond-rose.jpg');
}
div.card .illustration_reverse {
	width: 100%; height: 100%; display:block; position: absolute;
	background-image: url('/cartes/images/fond-multicolore-petit.png');
	background-repeat: no-repeat;
	background-size: 100% 100%;
}
div.card .number_id {
	color: #000;
	font-size: 12px;
	position: absolute;
	z-index: 999;
	right: 10px;
	bottom: 8px;
}
div.card p.picture {
	width: 96%;
	height: 45%;
	overflow: hidden;
	margin: auto;
	border: 2px solid;
	background-color: #000;
	position: relative;
}
div.card p.picture img {
  width: 100%;
  height: 100%;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}
div.card img {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}
div.card p.fullart {
	width: 96%;
	height: 45%;
	overflow: hidden;
	border: 2px solid none;
	background-color: none;
	position: relative;
	display: block;
	margin: auto auto 16px;
}
div.card h1.nom {
	margin: 2px 3px 2px 2px;  text-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
	/*padding: 4px 4px 0px 8px;*/
  padding: 0px 0px 0px 4px;
	text-align: left;
	width: 100%;
	height: auto;
	min-height: 16px;
	font-weight: bold;
	/*border-radius: 10px;*/
	position: relative;
	font-size: 22px;
	background-image: none;
	color: rgba(255,255,255,1);
}
div.card h1.clan {
	margin: 9px 2px 0px 2px;
	padding-left: 10px;
	text-align: left;
	width: 100%;
	height: auto;
	min-height: 16px;
	border-radius: 10px;
	position: relative;
	font-size: 12px;
	background-image: none;
	color: rgba(0, 0, 0, 0.7);
	font-weight: none;
	font-style: italic;
}
div.card h1.rare {
  position: absolute;
  right: 14px;
  top: 260px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 24px;
  height: 24px;
  margin: 0;
  text-align: right;
  line-height: 24px;
  color: #000;
  font-weight: bold;
  font-size: 18px;
  color: rgba(255,255,255,1);
}
div.card h1.rare img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}
div.card span.pv {
  position: absolute;
  right: 10px;
  top: 4px;
  display: block;
  min-width: 20px;
  height: 26px;
  padding-right: 20px;
  text-align: right;
  line-height: 26px;
  color: #000;
  font-weight: bold;
  font-size: 18px;
  color: rgba(255,255,255,1);
  background-image: url('/cartes/images/pv.png');
  background-repeat: no-repeat;
  background-position: right center;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
}
div.card span.mana {
  position: absolute;
  right: 52px;
  top: 4px;
  display: block;
  min-width: 20px;
  height: 26px;
  padding-right: 15px;
  text-align: right;
  line-height: 26px;
  color: #000;
  font-weight: bold;
  font-size: 18px;
  color: rgba(255,255,255,1);
  background-image: url('/cartes/images/fiole.png');
  background-repeat: no-repeat;
  background-position: right center;
  text-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
}
div.card span.cristaux {
  position: absolute; text-shadow: 0px 0px 3px rgba(0, 0, 0, 1);
  right: 52px;
  top: 4px;
  display: block;
  min-width: 20px;
  height: 26px;
  padding-right: 20px;
  text-align: right;
  line-height: 26px;
  color: #000;
  font-weight: bold;
  font-size: 18px;
  color: rgba(255,255,255,1);
  background-image: url('/cartes/images/joyaux.png');
  background-repeat: no-repeat;
  background-position: right center;
}
div.card p.body {
  background-color: rgba(255,255,255,0.4);
  height: 120px;
  width: 94%;
  margin-top: 7px;
  margin-bottom: 0px;
  padding: 10px;
  padding-top: 24px;
  border: 2px solid;
  border-left: 0px;
  border-right: 0px;
  position: relative;
  overflow: auto;
  line-height: 16px;
  font-size: 0.8em;
}
div.card.fullart p.body {
    background-color: transparent;
    height: 120px;
    width: 94%;
    margin-top: 9px;
    margin-bottom: 0px;
    padding: 10px;
    padding-top: 24px;
    border: 0px solid;
    border-left: 0px;
    border-right: 0px;
    position: relative;
    overflow: auto;
    line-height: 16px;
}
div.card.fullart p.body span.rang {
	position: absolute;
    padding: 2px 6px 3px 6px;
    left: 0px;
    top: 0px;
    display: block;
    min-width: 20px;
    height: 14px;
    font-size: 13px;
    text-align: right;
    line-height: 15px;
    color: #000;
    border: 2px solid black;
    border-left: 0px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: rgba(255, 255, 255, 0.3);
	text-shadow: 0px 0px 1px rgba(255, 255, 255, 255)
}
div.card.fullart p.body span.attaque {
position: absolute;
    padding: 2px 6px 2px 6px;
    right: 0px;
    top: 0px;
    display: block;
    min-width: 20px;
    height: 14px;
    font-size: 15px;
    text-align: right;
    line-height: 14px;
    color: #000;
    border: 2px solid black;
    border-right: 0px;
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    background-color: rgba(255, 255, 255, 0.3);
	text-shadow: 0px 0px 1px rgba(255, 255, 255, 255)
}
div.card.fullart p.body span.attaque img {
	vertical-align: top;
}
div.card p.body span.effet {
	display: block; text-indent: 18px; margin-bottom: 4px;
	color: #b100a3; font-style: italic;
	background-image: url('/cartes/images/effet.png');
	background-repeat: no-repeat;
	background-position: left top;
}
div.card p.body span.rang {
  position: absolute;
  padding: 2px 6px 3px 6px;
  left: 0px;
  top: 0px;
  display: block;
  min-width: 20px;
  height: 14px;
  font-size: 13px;
  text-align: right;
  line-height: 15px;
  color: #000;
  border: 2px solid black;
  border-top:0px; border-left: 0px;
  border-bottom-right-radius: 5px;
  background-color: rgba(255, 255, 255, 0.3);
}
div.card p.body span.attaque img {
	vertical-align: middle;
}
div.card p.body span.attaque {
  position: absolute;
  padding: 2px 6px 2px 6px;
  right: 0px;
  top: 0px;
  display: block;
  min-width: 20px;
  height: 14px;
  font-size: 15px;
  text-align: right;
  line-height: 14px;
  color: #000;
  border: 2px solid black;
  border-top: 0px; border-right: 0px;
  border-bottom-left-radius: 5px;
  background-color: rgba(255, 255, 255, 0.3);
}
div.card p.body span.quote {
  font-style: oblique;
  font-size: 10px;
  display: block;
  width: 95%;
  border: 0;
  border-top: 1px solid #555;
  color: #555;
  position: absolute;
  bottom: 3px;
  padding: 0;
  text-align: left;
  line-height: 12px;
}
div.card div.copyrigths a {
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: all 0.2s;
}
div.card div.copyrigths a:hover {
	text-decoration: underline;
}
div.card div.copyrigths {
  margin-top: 4px;
  padding: 2px 0px 0px 10px;
  font-size: 10px;
  font-style: oblique;
  text-align: left;
  line-height: 10px;
  color: #000;
}
div.card.fullart .conteneur_effet {
    text-shadow: rgba(255, 255, 255, 1) 0px 1px, rgba(255, 255, 255, 1) -1px 0px, rgba(255, 255, 255, 1) 1px 0px, rgba(255, 255, 255, 1) 0px -1px;
}
.carte_surprise {
	width: 340px;
	height: 482px;
	margin: 10px;
	border: 5px solid black;
	position: absolute;
	z-index: 1000;
	background-image: url(/cartes/images/verso.png);
	background-size: 100% 100%;
}
.carte_surprise .texte_surprise {
	top: 10%; position: relative;
	text-align: center; color: white;
	transition: all 0.4s;
}
.scene3D:hover .texte_surprise {
	transform: scale(1.22);
}

.scene3D {
	display: inline-block; 
	perspective: 1000px;
	cursor: pointer;
}
.flip{
	transform: rotateY(0deg);
	transition:all 1s ease;
	transform-style:preserve-3d;
}
.scene3D.retourne .flip{
	cursor: auto;
	transform: rotateY(180deg);
}
.scene3D.retourne .flip .texte_surprise {
	display: none;
}
.flip .carte_surprise {
	position:absolute;
  width: 350px;
  height: 492px;
  border-radius: 14px;
  backface-visibility: hidden;
}
.flip .card{
	transform: rotateY(180deg); 
}
p.body span.carte_nom { font-weight: bold; }
p.body span.carte_monstr { font-weight: bold; }
p.body span.carte_herss { font-weight: bold; }
p.body span.carte_legende { font-weight: bold; }
p.body span.carte_oubliee { font-weight: bold; }
p.body span.carte_envir { font-weight: bold; }
p.body span.carte_obj { font-weight: bold; }
p.body span.carte_clan { font-weight: bold; font-style: italic; }


/********************************** CARTES MINI *****************************************/
.mini div.card {
    width: 120px;
    height: 180px;
    border: 1px solid #000;
    font-size: 8px;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.mini div.card .number_id {
    display: none;
}

.mini div.card .clan {
    display: none;
}

.mini div.card .rare {
    display: none;
}

.mini div.card .copyrigths {
    text-align: center; font-style: normal;
	font-size: 1.8em; line-height: 16px;
}

.mini div.card .body .rang {
    display: none;
}
.mini div.card.fullart .body .rang {
    display: none;
}

.mini div.card .body .conteneur_effet {
    display: none;
}
.mini div.card .body .quote {
    display: none;
}

.mini div.card .body {
    height: 21px;
    width: 100%;
    padding: 0;
    border: 0;
}
.mini div.card.fullart .body {
    height: 21px;
    width: 100%;
    padding: 0;
    border: 0;
}
.mini div.card h1.nom {
    font-size: 10px;
    text-align: center;
    width: 100%;
    padding: 5px 0 0 0;
    margin: 0 0 25px 0;
}
.mini div.card .mana {
    top: 20px;
    height: 20px;
    width: 15px;
    min-width: 0;
    padding-right: 10px;
    background-size: 15px 20px;
    font-size: 10px;
    right: 85px;
}
.mini div.card .cristaux {
    top: 20px;
    height: 20px;
    width: 15px;
    min-width: 0;
    padding-right: 10px;
    background-size: 15px 20px;
    font-size: 10px;
    right: 85px;
}
.mini div.card .pv {
    top: 20px;
    height: 20px;
    width: 20px;
    min-width: 0;
    padding-right: 15px;
    background-size: 20px 20px;
    font-size: 10px;
    right: 45px;
}
.mini div.card .rarete {
    top: 20px;
    display: block;
    height: 20px;
    width: 20px;
    min-width: 0;
    background-size: 20px 20px;
    font-size: 10px;
    position: absolute;
    right: 12px;
}
.mini div.card p.picture{
    width: 100%;
    border: 0;
}
.mini div.card p.fullart{
    width: 100%;
    border: 0;
    height: 43%;
	margin: auto;
}
.mini div.card p.body span.attaque{
    width: 100%;
    border: 0px;
    text-align: center;
    padding: 3px 0 3px 0;
    border-bottom-left-radius : 0;
}




/********************************** Mise en page membre *****************************************/
table.tableau_carte {
  width: 100%;
  border-collapse: collapse;
}
table.tableau_carte tr:nth-child(4n+2) { background-color: rgba(0, 0, 0, 0.2); }
table.tableau_carte tr.none:nth-child(4n+3) { background-color: rgba(86, 176, 38, 0.4); }
table.tableau_carte tr.none:hover { background-color: rgba(86, 176, 38, 0.4); }
table.tableau_carte tr:hover {
background-color: rgba(86, 176, 38, 0.4); cursor: pointer;
}
table.tableau_carte tr:hover + tr.none { background-color: rgba(86, 176, 38, 0.4); cursor: pointer; }
table.tableau_carte th, table.tableau_carte td {
  border: 0px; padding: 10px;
}
table.tableau_carte th {
  color: white; height: 50px;
  background-color: #74bb43;
}

table.tableau_carte_echange {
  width: calc(50% - 20px); text-align: center;
  border-collapse: collapse; display: inline-table;
  margin: 5px;
}
table.tableau_carte_echange.grand {
  width: calc(100% - 16px); text-align: center;
  border-collapse: collapse; display: inline-table;
  margin: 5px;
}
@media screen and (max-width: 720px) {
  table.tableau_carte_echange { width: 100%; }
}
table.tableau_carte_echange tbody { width: 100%; }
table.tableau_carte_echange tr {  width: 100%; }
table.tableau_carte_echange tr:nth-child(odd) { background-color: rgba(86, 176, 38, 0.4); }
/* table.tableau_carte_echange tr:hover {
  background-color: #dae0f2;
} */
table.tableau_carte_echange th {
  border: 1px solid #74bb43; margin: 0; padding: 0;
  font-weight: normal; height: 50px;
  color: white; background-color: #74bb43;
}
table.tableau_carte_echange th.noline {
  line-height: 0;
}
table.tableau_carte_echange td {
  width: 50%; border: 1px solid #74bb43;
  overflow-y: auto; /* height: 196px; */
}
table.tableau_carte_echange th .btn_valide {
  width: 50px; height: 50px; display: inline-block;
  line-height: 50px; background-color: #2ECC71; text-align: center;
  color: white; font-size: 1.1em; text-decoration: none; cursor: pointer;
}
table.tableau_carte_echange th .btn_supprimer {
  width: 50px; height: 50px; display: inline-block;
  line-height: 50px; background-color: #d66a4a; text-align: center;
  color: white; text-decoration: none;
}
table.tableau_carte_echange th .btn_info {
  width: 50px; height: 50px; display: inline-block;
  line-height: 50px; background-color: #457bd5; text-align: center;
  color: white; text-decoration: none; cursor: pointer;
}

/********************************** Mise en page partie classique *****************************************/
table.tableau_carte_partie_classique {
	width: calc(50% - 20px); text-align: center;
	border-collapse: collapse; display: inline-table;
	margin: 5px;
}
table.tableau_carte_partie_classique.grand {
	width: calc(100% - 16px); text-align: center;
	border-collapse: collapse; display: inline-table;
	margin: 5px;
}
@media screen and (max-width: 720px) {
	table.tableau_carte_partie_classique { width: 100%; }
}
table.tableau_carte_partie_classique tbody { width: 100%; }
table.tableau_carte_partie_classique tr {	width: 100%; }
table.tableau_carte_partie_classique tr:nth-child(odd) { background-color: rgba(86, 176, 38, 0.4); }
/* table.tableau_carte_partie_classique tr:hover {
	background-color: #dae0f2;
} */
table.tableau_carte_partie_classique th {
	border: 1px solid #1786f5; margin: 0; padding: 0;
	font-weight: normal; height: 50px;
	color: white;	background-color: #1786f5;
}
table.tableau_carte_partie_classique td {
  width: 50%; border: 1px solid #1786f5;
  overflow-y: auto; /* height: 196px; */
  padding: 8px;
}
table.tableau_carte_partie_classique .select_deck .head_bar {
  background-color: #1786f5 !important;
}


/* CSS des Decks */
.select_deck {
    display: inline-block; position: relative;
    min-width: 258px;    min-height: 258px;
    margin: 6px; padding: 0px;
    background-color: #f5f2f0;
    transition: all 0.2s;
}
.select_deck:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
input[type="radio"].radio_deck {
    display: none;
}
input[type="radio"].radio_deck:checked + label.select_deck {
    border: 6px solid #0a8ed0;
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
.select_deck .head_bar {
    background-color: #6bbb33; width: 100%;
    min-height: 32px; color: white; position: relative;
    top: 0px; left: 0px; padding-left: 8px; padding-right: 38px;
    line-height: 32px;
}
.select_deck .head_bar .btn_supprimer {
    width: 32px; height: 32px;
    display: inline-block;
    line-height: 32px;
    background-color: #d66a4a;
    text-align: center;
    color: white; font-size: 0.85em;
    text-decoration: none; right: 0px; top: 0px;
    position: absolute;
}
.select_deck .head_bar .btn_pas_supprimer {
    width: 32px; height: 32px;
    display: inline-block;
    line-height: 32px;
    background-color: #c5c5c5;
    text-align: center;
    color: white; font-size: 0.85em;
    text-decoration: none; right: 0px; top: 0px;
    position: absolute;
}
.select_deck:hover { background-color: #e9ecf0; }
.select_deck.deck-invalide {
  opacity: .58;
  filter: grayscale(.7);
  cursor: not-allowed !important;
  border: 3px solid #b94747;
}
.select_deck.deck-invalide:hover {
  transform: none;
  background-color: #f4dddd;
}
.select_deck.deck-invalide > div:last-child {
  padding: 8px;
  color: #8e2020;
}
.select_deck.deck-invalide a {
  color: #0a6ebd;
  text-decoration: underline;
  cursor: pointer;
}
.select_deck a, div.select_deck a:hover { text-decoration: none; color: black; }

/* Bibliothèque de decks, alignée sur le sélecteur sombre du matchmaking */
.cu-deck-library .select_deck {
  min-width: 258px;
  min-height: 258px;
  overflow: hidden;
  vertical-align: top;
  color: #eef4ff;
  border: 1px solid rgba(84, 157, 255, .55);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 20%, rgba(62, 105, 210, .26), transparent 48%),
    linear-gradient(145deg, rgba(16, 27, 61, .98), rgba(42, 27, 83, .96));
  box-shadow: 0 10px 24px rgba(3, 10, 31, .42), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.cu-deck-library .select_deck:hover {
  color: #fff;
  border-color: #51a7ff;
  background:
    radial-gradient(circle at 50% 20%, rgba(75, 134, 255, .34), transparent 52%),
    linear-gradient(145deg, rgba(20, 36, 80, .99), rgba(57, 33, 105, .98));
  box-shadow: 0 14px 30px rgba(3, 10, 31, .56), 0 0 18px rgba(46, 132, 255, .18);
}

.cu-deck-library .select_deck .head_bar {
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  background: linear-gradient(90deg, #147fe5, #4d47dc);
}

.cu-deck-library .select_deck .head_bar .btn_supprimer {
  background: linear-gradient(145deg, #ef7657, #c94b48);
}

.cu-deck-library .select_deck .head_bar .btn_pas_supprimer {
  background: rgba(86, 105, 151, .72);
}

.cu-deck-library .select_deck > .head_bar + a {
  display: flex;
  min-height: 226px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 12px;
  color: #eef4ff;
  background: rgba(5, 12, 32, .28);
}

.cu-deck-library-count {
  display: block;
  width: calc(100% + 24px);
  margin: 10px -12px -12px;
  padding: 8px 10px;
  border-top: 1px solid rgba(255, 255, 255, .09);
  color: #c8d7f1;
  font-weight: 800;
  line-height: 1.2;
  background: rgba(4, 12, 31, .52);
  box-sizing: border-box;
}

.cu-deck-library-count small {
  color: #8ea8cf;
  font-weight: 700;
}

.cu-deck-library-count.is-valid { color: #8de8b8; }
.cu-deck-library-count.is-valid small { color: #76cba0; }
.cu-deck-library-count.is-draft { color: #ffd295; }
.cu-deck-library-count.is-draft small { color: #d7aa70; }

/* Contenu d'un display : les modèles de boosters restent sur une même rangée. */
.cu-display-opening-boosters {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(24px, 6vw, 72px);
  margin: 20px auto;
  padding: 8px 12px 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-color: #3d82d0 rgba(5, 13, 31, .55);
  scrollbar-width: thin;
  box-sizing: border-box;
}

.cu-display-opening-booster {
  display: flex;
  flex: 0 0 auto;
  min-width: 150px;
  align-items: center;
  flex-direction: column;
  gap: 7px;
}

.cu-display-opening-quantity {
  display: inline-flex;
  min-width: 42px;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  padding: 2px 9px;
  border: 1px solid rgba(103, 180, 255, .42);
  border-radius: 999px;
  color: #eaf4ff;
  background: rgba(17, 46, 88, .72);
}

.cu-display-opening-booster img {
  display: block;
  width: auto;
  height: 250px;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .38));
}

/* Recherche et filtres de la collection personnelle. */
.cu-collection-tools {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) minmax(170px, .7fr) minmax(160px, .65fr) auto;
  align-items: end;
  gap: 11px;
  margin: 8px 0 20px;
  padding: 15px;
  border: 1px solid rgba(84, 157, 255, .38);
  border-radius: 12px;
  color: #edf5ff;
  background:
    radial-gradient(circle at 10% 0, rgba(38, 124, 232, .17), transparent 42%),
    linear-gradient(145deg, rgba(13, 29, 66, .94), rgba(31, 24, 68, .92));
  box-shadow: 0 12px 28px rgba(2, 8, 24, .25), inset 0 1px rgba(255, 255, 255, .05);
}

.cu-collection-tools label { margin: 0; text-align: left; }

.cu-collection-tools label > span {
  display: block;
  margin-bottom: 6px;
  color: #a5bce0;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cu-collection-tools input,
.cu-collection-tools select {
  width: 100%;
  min-height: 43px;
  padding: 8px 11px;
  border: 1px solid rgba(103, 176, 255, .46);
  border-radius: 8px;
  color: #f2f7ff;
  background: rgba(5, 15, 39, .84);
  outline: none;
  box-sizing: border-box;
}

.cu-collection-tools input:focus,
.cu-collection-tools select:focus {
  border-color: #6cc4ff;
  box-shadow: 0 0 0 3px rgba(67, 158, 255, .17);
}

#cu-collection-result-count {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border: 1px solid rgba(80, 216, 155, .34);
  border-radius: 8px;
  color: #99e8bd;
  background: rgba(10, 81, 55, .26);
  white-space: nowrap;
  box-sizing: border-box;
}

.cu-collection-empty {
  margin: 18px 0;
  padding: 16px;
  border: 1px dashed rgba(112, 170, 239, .4);
  border-radius: 10px;
  color: #aec3e2;
  text-align: center;
  background: rgba(8, 20, 47, .48);
}

@media (max-width: 900px) {
  .cu-collection-tools { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .cu-collection-tools { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .cu-display-opening-boosters {
    justify-content: flex-start;
    gap: 18px;
    padding-inline: 8px;
  }

  .cu-display-opening-booster { min-width: 128px; }
  .cu-display-opening-booster img { height: 220px; }
}

.cu-deck-library .select_deck > .head_bar + a:hover {
  color: #fff;
  background: rgba(15, 29, 66, .42);
}

.cu-deck-library .select_deck > .head_bar + a > img {
  display: block;
  max-width: 100%;
  max-height: 202px;
  object-fit: contain;
  filter: drop-shadow(0 10px 13px rgba(0, 0, 0, .42));
  transition: transform .2s ease, filter .2s ease;
}

.cu-deck-library .select_deck:hover > .head_bar + a > img {
  transform: translateY(-2px) scale(1.025);
  filter: drop-shadow(0 13px 16px rgba(0, 0, 0, .5));
}

/* Sélecteur de deck du matchmaking - thème sombre Cartes Universe */
table.tableau_carte_partie_classique .select_deck {
  color: #eef4ff;
  background:
    radial-gradient(circle at 50% 20%, rgba(62, 105, 210, .26), transparent 48%),
    linear-gradient(145deg, rgba(16, 27, 61, .98), rgba(42, 27, 83, .96));
  border: 1px solid rgba(84, 157, 255, .55);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(3, 10, 31, .42), inset 0 1px 0 rgba(255, 255, 255, .08);
}
table.tableau_carte_partie_classique .select_deck:hover {
  color: #fff;
  background:
    radial-gradient(circle at 50% 20%, rgba(75, 134, 255, .34), transparent 52%),
    linear-gradient(145deg, rgba(20, 36, 80, .99), rgba(57, 33, 105, .98));
  border-color: #51a7ff;
  box-shadow: 0 14px 30px rgba(3, 10, 31, .56), 0 0 18px rgba(46, 132, 255, .18);
}
table.tableau_carte_partie_classique .select_deck .head_bar {
  background: linear-gradient(90deg, #147fe5, #4d47dc) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
}
table.tableau_carte_partie_classique .select_deck > img {
  display: block;
  max-width: 100%;
  margin: 0 auto;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .35));
}
table.tableau_carte_partie_classique .select_deck > div:last-child {
  padding: 9px 8px 11px;
  color: #cbd9f5;
  background: rgba(5, 12, 32, .48);
  border-top: 1px solid rgba(255, 255, 255, .08);
}
table.tableau_carte_partie_classique input[type="radio"].radio_deck:checked + label.select_deck {
  border-color: #6bc4ff;
  background: linear-gradient(145deg, rgba(18, 48, 99, .99), rgba(68, 35, 124, .98));
  box-shadow: 0 0 0 3px rgba(36, 146, 255, .3), 0 16px 34px rgba(2, 9, 29, .58);
}
table.tableau_carte_partie_classique .select_deck.deck-invalide {
  opacity: .82;
  filter: saturate(.72);
  color: #ffe9eb;
  border-color: rgba(226, 86, 104, .72);
  background: linear-gradient(145deg, rgba(55, 24, 48, .98), rgba(45, 27, 72, .96));
}
table.tableau_carte_partie_classique .select_deck.deck-invalide:hover {
  background: linear-gradient(145deg, rgba(68, 27, 54, .99), rgba(51, 29, 80, .98));
  border-color: #ee7180;
}
table.tableau_carte_partie_classique .select_deck.deck-invalide > div:last-child {
  color: #ffb9c1;
  background: rgba(42, 8, 21, .48);
}
table.tableau_carte_partie_classique .select_deck a,
table.tableau_carte_partie_classique .select_deck a:hover,
table.tableau_carte_partie_classique div.select_deck a:hover {
  color: #75c8ff;
  text-decoration: underline;
}
.point_rouge { margin: 2px; width: 8px; height: 8px; border-radius: 50%; background-color: #d95c16; display: inline-block; }
.point_jaune { margin: 2px; width: 8px; height: 8px; border-radius: 50%; background-color: #ebe63d; display: inline-block; }
.point_bleu { margin: 2px; width: 8px; height: 8px; border-radius: 50%; background-color: #0a8ed0; display: inline-block; }



/*************** MISE EN PAGE RUBRIQUE JOUER *****************/

.cu-cards-discord-invite {
  width: min(1180px, calc(100% - 48px));
  margin: 16px auto 8px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #eaf0ff;
  background: linear-gradient(110deg, rgba(52, 39, 118, .88), rgba(73, 52, 151, .78));
  border: 1px solid rgba(168, 139, 255, .56);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(13, 10, 49, .2);
}
.cu-cards-discord-copy {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
}
.cu-cards-discord-copy p {
  margin: 0;
  line-height: 1.35;
}
.cu-cards-discord-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #5865f2;
  border-radius: 11px;
  box-shadow: 0 5px 14px rgba(49, 55, 165, .4);
  font-size: 20px;
}
.cu-cards-discord-invite > a {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background: #5865f2;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.cu-cards-discord-invite > a:hover,
.cu-cards-discord-invite > a:focus-visible {
  color: #fff;
  background: #6875f5;
  box-shadow: 0 7px 18px rgba(49, 55, 165, .42);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .cu-cards-discord-invite {
    width: calc(100% - 28px);
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }
  .cu-cards-discord-invite > a {
    width: 100%;
  }
}

.btn-normal {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.btn-normal:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

div.btn-game {
  margin: 10px 10px;
  vertical-align: top;
  display: inline-block;
  width: 100%;
  max-width: 232px;
  min-height: 322px; /* Version no bêta : 315px */
  text-align: center;
  cursor: pointer;
  border: 6px solid transparent;
  transition: all 0.3s;
}
div.btn-game:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
div.btn-game.amicale {
  background-color: rgba(0, 0, 0, 0.6);
}
div.btn-game.entrainement {
  background-color: rgba(0, 0, 0, 0.6);
}
div.btn-game.aventure {
  background-color: rgba(0, 0, 0, 0.6);
}
div.btn-game.classique {
  background-color: rgba(0, 0, 0, 0.6);
}
div.btn-game:hover.classique {
  border: 6px solid #1683fa !important;
}
div.btn-game.classique.checked {
  border: 6px solid #1683fa;
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
div.btn-game.amicale:hover {
  border: 6px solid #72ba50 !important;
}
div.btn-game.amicale.checked {
  border: 6px solid #72ba50;
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
div.btn-game:hover.entrainement {
  border: 6px solid #20bfa4 !important;
}
div.btn-game.entrainement.checked {
  border: 6px solid #20bfa4;
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
div.btn-game:hover.aventure {
  border: 6px solid #d65cf4 !important;
}
div.btn-game:hover.competitive {
  border: 6px solid #7f3cf8 !important;
}
div.btn-game.competitive.checked {
  border: 6px solid #7f3cf8;
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
div.btn-game.competitive {
  background-color: rgba(0, 0, 0, 0.6);
}
div.btn-game.spectateur {
  background-color: rgba(0, 0, 0, 0.6);
}
div.btn-game .border {
  display: block;
  width: 100%;
  height: 130px;
  float: left;
  border: 0!important;
}
div.btn-game .game-mode-icon {
  display: block;
  width: 100%;
  height: 64px;
  float: left;
  padding: 0px 12px 0px 12px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
div.btn-game .mode {
  display: block;
  width: 100%;
  float: left;
  padding: 0px 12px 4px 12px;
  font-size: 1.1em;
  text-transform: uppercase;
  font-weight: bold;
}
div.btn-game .description {
  display: block;
  width: 100%;
  float: left;
  padding: 4px 12px 20px 12px;
  font-size: .8em;
  text-transform: uppercase;
  line-height: 0.98em;
  opacity: 0.7;
  color: #ebebeb;
}
div.btn-game.amicale .border {
  background-image: url('/cartes/images/jouer/fondConstruction.png');
  background-size: cover;
  background-position: top center;
  background-color: #72ba50;
}
div.btn-game.entrainement .border {
  background-image: url('/cartes/images/jouer/fondEntrainement.png');
  background-size: cover;
  background-position: center;
  background-color: #20bfa4;
}
div.btn-game.aventure .border {
  background-image: url('/cartes/images/jouer/fondAventure.png');
  background-size: cover;
  background-position: center;
  background-color: #8f47df;
}
div.btn-game.classique .border {
  background-image: url('/cartes/images/jouer/fondClassique.png');
  background-size: cover;
  background-position: top center;
  background-color: #7f3cf8;
}
div.btn-game.spectateur .border {
  background-image: url('/cartes/images/jouer/fondSpectateur.png');
  background-size: cover;
  background-position: top center;
  background-color: #7f3cf8;
}
div.btn-game.competitive .border {
  background-image:
    url('/cartes/images/jouer/fondCompetitif.png'),
    var(--competitive-player-avatar, none);
  background-size: cover, auto 100%;
  background-position: top center, -12px center;
  background-repeat: no-repeat, no-repeat;
  background-color: #7f3cf8;
}
.btn.btn-lancer-partie {
  margin: 8px 10px;
  text-transform: uppercase;
  font-size: 1.2em;
  font-weight: bold;
  padding: 12px 56px;
  color: #9a9a9a;
  background-color: transparent;
  border-radius: 2px;
  box-shadow: 0px 0px 3px 1px #9a9a9a;
  border: 4px solid #9a9a9a;
}
.btn.btn-lancer-partie.active {
  color: white;
  background-color: #1786f5;
  box-shadow: 0px 0px 3px 1px rgba(23,134,245,1);
  border: 4px solid #1786f5;
}
.btn.btn-lancer-partie:hover.active {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.btn.btn-creer-deck {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 8px 10px;
  padding: 11px 23px;
  border: 1px solid rgba(255, 154, 147, .76);
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(135deg, #dc5a63, #a9436f);
  box-shadow: 0 10px 24px rgba(132, 36, 67, .3), inset 0 1px rgba(255, 255, 255, .16);
  font-size: .95rem;
  font-weight: 850;
  letter-spacing: .02em;
  text-transform: none;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.btn.btn-creer-deck > i {
  display: inline-block;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 18px;
  line-height: 1;
}

.btn.btn-creer-deck:hover {
  color: #fff;
  filter: brightness(1.11);
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 14px 30px rgba(132, 36, 67, .4), 0 0 18px rgba(235, 91, 116, .2);
}



/* Effet secousse des icônes de modes de jeu */
div.btn-game .game-mode-icon img {
  display: inline-block;
  transform: translate3d(0, 0, 0);
  transform-origin: center;
  backface-visibility: hidden;
  perspective: 1000px;
  will-change: transform;
}

div.btn-game:hover .game-mode-icon img {
  animation: cu-game-mode-icon-shake .92s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes cu-game-mode-icon-shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(4px, 0, 0);
  }
}

/* Effet dégradé */
div.btn-game.amicale .mode {
  color: #72ba50;
}
div.btn-game.entrainement .mode {
  color: #159b88;
}

div.btn-game.aventure .mode {
  color: #a33bd0;
  background: linear-gradient(90deg, #713ee8, #d646dc, #4e7df4);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
div.btn-game.aventure .game-mode-icon img {
  width: 112px;
  height: 64px;
}
div.btn-game.classique .mode {
  color: #1683fa;
}


div.btn-game.competitive .mode {
  color: #6f6f6f;
  color: #7f3cf8;
  background: linear-gradient(90deg, #7f3cf8, #5c23af, #b697fb, #7f3cf8, #5c23af); /*2e0071*/
  background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
div.btn-game:hover.competitive .mode {
  background: linear-gradient(90deg, #7f3cf8, #5c23af, #b697fb, #7f3cf8, #5c23af);
  background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

  -webkit-animation: DegradeAnimation 2s ease; /* infinite */
  -moz-animation: DegradeAnimation 2s ease; /* infinite */
  -o-animation: DegradeAnimation 2s ease; /* infinite */
  animation: DegradeAnimation 2s ease; /* infinite */
}

@-webkit-keyframes DegradeAnimation {
    0%{background-position:0% 50%}
    100%{background-position:100% 50%}
    
}
@-moz-keyframes DegradeAnimation {
    0%{background-position:0% 50%}
    100%{background-position:100% 50%}
    
}
@-o-keyframes DegradeAnimation {
    0%{background-position:0% 50%}
    100%{background-position:100% 50%}
    
}
@keyframes DegradeAnimation { 
    0%{background-position:0% 50%}
    100%{background-position:100% 50%}
    
}



/** Style de curseur **/
#mescartes .card, #newdeck .card {
  cursor: grab;
}
#mescartes .card:active, #newdeck .card:active {
    cursor: grabbing;
}

.deck_correct {
  text-align: left;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  position: sticky;
  top: 0;
  right: 0;
  z-index: 1;
  padding: 7px 17px;
  color: white;
  font-size: 12px;
}

.auto            { cursor: auto; }
.default         { cursor: default; }
.none            { cursor: none; }
.context-menu    { cursor: context-menu; }
.help            { cursor: help; }
.pointer         { cursor: pointer; }
.progress        { cursor: progress; }
.wait            { cursor: wait; }
.cell            { cursor: cell; }
.crosshair       { cursor: crosshair; }
.text            { cursor: text; }
.vertical-text   { cursor: vertical-text; }
.alias           { cursor: alias; }
.copy            { cursor: copy; }
.move            { cursor: move; }
.grab            { cursor: grab; }
.no-drop         { cursor: no-drop !important; }
.not-allowed     { cursor: not-allowed; }
.all-scroll      { cursor: all-scroll; }
.col-resize      { cursor: col-resize; }
.row-resize      { cursor: row-resize; }
.n-resize        { cursor: n-resize; }
.e-resize        { cursor: e-resize; }
.s-resize        { cursor: s-resize; }
.w-resize        { cursor: w-resize; }
.ns-resize       { cursor: ns-resize; }
.ew-resize       { cursor: ew-resize; }
.ne-resize       { cursor: ne-resize; }
.nw-resize       { cursor: nw-resize; }
.se-resize       { cursor: se-resize; }
.sw-resize       { cursor: sw-resize; }
.nesw-resize     { cursor: nesw-resize; }
.nwse-resize     { cursor: nwse-resize; }












/** CARTES UNIVERSE **/

.cu-quantity-tooltip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border-radius: 7px;
  cursor: help;
  outline: none;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.cu-quantity-tooltip:hover,
.cu-quantity-tooltip:focus-visible {
  background: rgba(83, 193, 255, 0.16);
  box-shadow: 0 0 0 2px rgba(83, 193, 255, 0.5), 0 0 14px rgba(46, 143, 255, 0.3);
  transform: translateY(-1px);
}

.cu-card-tooltip {
  position: fixed;
  z-index: 30000;
  width: max-content;
  max-width: min(300px, calc(100vw - 16px));
  padding: 9px 12px;
  color: #f4f8ff;
  background: linear-gradient(145deg, rgba(16, 28, 55, 0.98), rgba(24, 51, 86, 0.98));
  border: 1px solid rgba(90, 190, 255, 0.72);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38), 0 0 16px rgba(45, 151, 255, 0.2);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  pointer-events: none;
}

.cu-card-tooltip[hidden] {
  display: none;
}

@media (max-width: 600px) {
  .cu-card-tooltip {
    max-width: calc(100vw - 24px);
    font-size: 0.82rem;
  }
}

.btn.btn-action {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 8px 10px;
  padding: 11px 22px;
  border: 1px solid rgba(103, 190, 255, .72);
  border-radius: 11px;
  color: #f6f9ff;
  background: linear-gradient(135deg, #167ed9, #6250df);
  box-shadow: 0 10px 24px rgba(20, 75, 174, .3), inset 0 1px rgba(255, 255, 255, .16);
  font-size: .95rem;
  font-weight: 850;
  letter-spacing: .02em;
  line-height: 1.2;
  text-transform: none;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.btn.btn-action:after {
  content: "\203A";
  display: inline-block;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 18px;
  line-height: 1;
}

.btn.btn-action:hover {
  color: #fff;
  filter: brightness(1.12);
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 14px 30px rgba(20, 75, 174, .4), 0 0 18px rgba(77, 155, 255, .22);
}

.btn.btn-action:focus-visible {
  outline: 3px solid rgba(105, 195, 255, .42);
  outline-offset: 3px;
}

.btn.btn-action:active {
  transform: translateY(0) scale(.985);
}

.btn.btn-tutoriel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 8px 10px;
  padding: 11px 22px;
  border: 1px solid rgba(103, 190, 255, .72);
  border-radius: 11px;
  color: #f6f9ff;
  background: linear-gradient(135deg, #167ed9, #6250df);
  box-shadow: 0 10px 24px rgba(20, 75, 174, .3), inset 0 1px rgba(255, 255, 255, .16);
  font-size: .95rem;
  font-weight: 850;
  letter-spacing: .02em;
  text-transform: none;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.btn.btn-tutoriel > i {
  display: inline-block;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 16px;
  line-height: 1;
}
.btn.btn-tutoriel:hover {
  color: #fff;
  filter: brightness(1.12);
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 14px 30px rgba(20, 75, 174, .4), 0 0 18px rgba(77, 155, 255, .22);
}

/* Tutoriels Cartes Universe, habillage moderne commun à toutes les étapes */
.introjs-overlay {
  background: rgba(2, 6, 18, .84) !important;
  backdrop-filter: blur(3px) saturate(.72);
}

.introjs-helperLayer {
  border: 2px solid rgba(100, 193, 255, .92) !important;
  border-radius: 14px !important;
  background: rgba(47, 101, 210, .12) !important;
  box-shadow: 0 0 0 5px rgba(54, 134, 255, .16), 0 0 30px rgba(44, 142, 255, .5), inset 0 0 22px rgba(116, 211, 255, .11) !important;
}

.introjs-tooltip {
  box-sizing: border-box !important;
  width: min(430px, calc(100vw - 28px)) !important;
  min-width: min(330px, calc(100vw - 28px)) !important;
  max-width: min(430px, calc(100vw - 28px)) !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(112, 158, 245, .56) !important;
  border-radius: 18px !important;
  color: #edf4ff !important;
  background:
    radial-gradient(circle at 82% 0, rgba(91, 87, 221, .28), transparent 42%),
    linear-gradient(145deg, rgba(22, 34, 67, .99), rgba(8, 15, 34, .99)) !important;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .7), 0 0 28px rgba(47, 130, 255, .2), inset 0 1px rgba(255, 255, 255, .08) !important;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.introjs-tooltip:before {
  content: "GUIDE CARTES UNIVERSE";
  display: block;
  padding: 12px 46px 11px 18px;
  border-bottom: 1px solid rgba(122, 160, 232, .28);
  color: #a9cfff;
  background: linear-gradient(90deg, rgba(28, 91, 173, .34), rgba(91, 71, 207, .18));
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
}

.introjs-tooltiptext {
  box-sizing: border-box;
  max-height: min(56vh, 520px);
  padding: 20px 20px 16px !important;
  overflow-x: hidden;
  overflow-y: auto;
  color: #e7edfb !important;
  font-size: 15px;
  line-height: 1.58;
  scrollbar-color: #5c82cc #0a1229;
  scrollbar-width: thin;
}

.introjs-tooltiptext b,
.introjs-tooltiptext strong { color: #8edfff; }
.introjs-tooltiptext a { color: #83cfff; }
.introjs-tooltiptext ul { margin: 12px 0 0; padding-left: 21px; }
.introjs-tooltiptext li { margin: 7px 0; }
.introjs-tooltiptext img {
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .45);
}

.introjs-tooltiptext::-webkit-scrollbar { width: 9px; }
.introjs-tooltiptext::-webkit-scrollbar-track { background: #0a1229; }
.introjs-tooltiptext::-webkit-scrollbar-thumb {
  border: 2px solid #0a1229;
  border-radius: 8px;
  background: linear-gradient(#6da9e9, #4f5fbd);
}

.introjs-progress {
  height: 5px !important;
  margin: 0 20px 15px !important;
  overflow: hidden;
  border-radius: 999px !important;
  background: rgba(117, 144, 196, .2) !important;
}

.introjs-progressbar {
  border-radius: inherit;
  background: linear-gradient(90deg, #3cd6c3, #3f9cff, #8a62f2) !important;
  box-shadow: 0 0 10px rgba(70, 170, 255, .7);
  transition: width .3s ease;
}

.introjs-tooltipbuttons {
  display: flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 13px 16px 15px !important;
  border-top: 1px solid rgba(122, 160, 232, .2);
  background: rgba(5, 11, 27, .48);
  text-align: initial !important;
  white-space: normal !important;
}

.introjs-button {
  float: none !important;
  min-height: 38px;
  margin: 0 !important;
  padding: 9px 14px !important;
  border: 1px solid rgba(112, 151, 219, .48) !important;
  border-radius: 9px !important;
  color: #eef4ff !important;
  background: rgba(27, 42, 76, .94) !important;
  box-shadow: 0 7px 16px rgba(0, 0, 0, .28) !important;
  font-size: 13px !important;
  font-weight: 800;
  line-height: 18px;
  text-shadow: none !important;
  transition: transform .15s ease, filter .15s ease, border-color .15s ease;
}

.introjs-button:hover:not(.introjs-disabled) {
  border-color: #7ec9ff !important;
  color: #fff !important;
  filter: brightness(1.15);
  transform: translateY(-2px);
}

.introjs-prevbutton { color: #cbd6eb !important; background: rgba(38, 50, 78, .92) !important; }
.introjs-nextbutton { border-color: rgba(90, 178, 255, .72) !important; background: linear-gradient(135deg, #177fd9, #5a51dc) !important; }
.introjs-finalbutton { border-color: rgba(91, 224, 183, .7) !important; background: linear-gradient(135deg, #13856e, #1ba780) !important; }
.introjs-skipbutton { margin-right: auto !important; color: #9eabc4 !important; background: transparent !important; box-shadow: none !important; }
.introjs-disabled,
.introjs-disabled:hover,
.introjs-disabled:focus { opacity: .42; filter: grayscale(.6); cursor: default; transform: none; }

.introjs-arrow.top,
.introjs-arrow.top-right,
.introjs-arrow.top-middle { border-bottom-color: #19264a !important; }
.introjs-arrow.bottom,
.introjs-arrow.bottom-right,
.introjs-arrow.bottom-middle { border-top-color: #0c1630 !important; }
.introjs-arrow.left,
.introjs-arrow.left-bottom { border-right-color: #142142 !important; }
.introjs-arrow.right,
.introjs-arrow.right-bottom { border-left-color: #142142 !important; }

@media (max-width: 520px) {
  .introjs-tooltiptext { max-height: 50vh; padding: 17px 16px 14px !important; font-size: 14px; }
  .introjs-tooltipbuttons { flex-wrap: wrap; padding: 12px !important; }
  .introjs-skipbutton { flex-basis: 100%; margin-right: 0 !important; text-align: center; }
  .introjs-button { flex: 1 1 auto; text-align: center; }
}

.btn.btn-retour {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 8px 10px;
  padding: 11px 22px;
  border: 1px solid rgba(174, 190, 218, .45);
  border-radius: 11px;
  color: #edf3ff;
  background: linear-gradient(135deg, #4a5872, #30394f);
  box-shadow: 0 10px 24px rgba(8, 15, 31, .3), inset 0 1px rgba(255, 255, 255, .12);
  font-size: .95rem;
  font-weight: 850;
  letter-spacing: .02em;
  text-transform: none;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.btn.btn-retour:before {
  content: "←";
  display: inline-block;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 17px;
  line-height: 1;
}

.btn.btn-retour:hover {
  color: #fff;
  filter: brightness(1.13);
  transform: translateY(-2px) scale(1.025);
  box-shadow: 0 14px 30px rgba(8, 15, 31, .42), 0 0 18px rgba(143, 170, 218, .14);
}

.cu-deck-page-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
  margin: 4px 0 10px;
}

.cu-deck-page-actions .btn:focus-visible {
  outline: 3px solid rgba(105, 195, 255, .42);
  outline-offset: 3px;
}

.cu-deck-page-actions .btn:active {
  transform: translateY(0) scale(.985);
}

@media (max-width: 560px) {
  .cu-deck-page-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .cu-deck-page-actions .btn {
    width: 100%;
    margin: 4px 0;
    box-sizing: border-box;
  }
}

/* Album de la collection personnelle. */
.cu-album-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  margin: -7px 0 16px;
  padding: 10px 14px;
  border: 1px solid rgba(95, 161, 236, .25);
  border-radius: 10px;
  color: #b9cae5;
  background: rgba(6, 17, 42, .52);
  font-size: .76rem;
}

.cu-album-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.cu-album-legend img,
.cu-album-quantities img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.cu-collection-album {
  position: relative;
  width: 100%;
  margin: 0 0 28px;
  overflow: hidden;
  border: 1px solid rgba(88, 161, 244, .42);
  border-radius: 18px;
  color: #edf5ff;
  background:
    radial-gradient(circle at 50% -12%, rgba(82, 140, 255, .2), transparent 38%),
    linear-gradient(145deg, rgba(8, 20, 49, .98), rgba(20, 17, 55, .98));
  box-shadow: 0 24px 56px rgba(1, 7, 25, .38), inset 0 1px rgba(255, 255, 255, .06);
  box-sizing: border-box;
}

.cu-album-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px 17px;
  border-bottom: 1px solid rgba(112, 181, 255, .25);
  background: linear-gradient(90deg, rgba(21, 50, 99, .74), rgba(29, 25, 79, .58));
}

.cu-album-kicker {
  display: block;
  margin-bottom: 4px;
  color: #75c7ff;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cu-album-header h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  line-height: 1.1;
}

.cu-album-header p {
  margin: 0;
  color: #a9c2e5;
  font-size: .82rem;
  text-align: right;
}

.cu-album-header-stats {
  display: grid;
  width: min(420px, 48%);
  gap: 7px;
}

.cu-album-completion {
  display: grid;
  gap: 5px;
  padding: 10px 12px;
  border: 1px solid rgba(105, 187, 255, .32);
  border-radius: 11px;
  background: rgba(5, 20, 48, .56);
  box-shadow: inset 0 1px rgba(255, 255, 255, .04);
}

.cu-album-completion-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #bfd1e9;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cu-album-completion-label strong {
  color: #76dcff;
  font-size: 1.05rem;
  line-height: 1;
}

.cu-album-completion-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(2, 11, 30, .78);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .5);
}

.cu-album-completion-bar span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #238be2, #55dba7, #f0ca5c);
  box-shadow: 0 0 10px rgba(83, 218, 174, .42);
  transition: width .32s ease;
}

.cu-album-completion small {
  color: #91a9ca;
  font-size: .67rem;
  text-align: right;
}

.cu-album-book {
  position: relative;
  min-height: 570px;
  padding: 24px 28px 28px;
  overflow: hidden;
  perspective: 1600px;
  background:
    linear-gradient(90deg,
      rgba(28, 40, 78, .92) 0,
      rgba(39, 49, 88, .9) 49.35%,
      rgba(4, 9, 25, .9) 49.8%,
      rgba(4, 9, 25, .96) 50.2%,
      rgba(37, 45, 86, .9) 50.65%,
      rgba(25, 34, 72, .92) 100%);
  box-shadow: inset 0 14px 25px rgba(0, 0, 0, .24), inset 0 -12px 24px rgba(0, 0, 0, .2);
  box-sizing: border-box;
}

.cu-album-book:before,
.cu-album-book:after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.cu-album-book:before {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 28px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .55), transparent 68%);
}

.cu-album-book:after {
  inset: 10px;
  border: 1px solid rgba(143, 190, 255, .11);
  border-radius: 13px;
  box-shadow: inset 0 0 0 4px rgba(0, 0, 0, .08);
}

.cu-album-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(286px, 1fr));
  gap: 18px 34px;
  margin-inline: 34px;
  transform-style: preserve-3d;
}

.cu-album-side-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  display: flex;
  width: 46px;
  height: 82px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(103, 195, 255, .62);
  color: #f1f8ff;
  background: linear-gradient(145deg, rgba(17, 108, 184, .92), rgba(87, 67, 188, .92));
  box-shadow: 0 12px 25px rgba(0, 7, 25, .46), inset 0 1px rgba(255, 255, 255, .18), 0 0 17px rgba(71, 165, 255, .18);
  font: inherit;
  font-size: 2.25rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .18s ease, filter .18s ease, opacity .18s ease, box-shadow .18s ease;
}

.cu-album-side-previous {
  left: 7px;
  border-radius: 8px 18px 18px 8px;
}

.cu-album-side-next {
  right: 7px;
  border-radius: 18px 8px 8px 18px;
}

.cu-album-side-arrow:hover:not(:disabled) {
  filter: brightness(1.16);
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 15px 30px rgba(0, 7, 25, .52), inset 0 1px rgba(255, 255, 255, .2), 0 0 23px rgba(71, 165, 255, .3);
}

.cu-album-side-arrow:focus-visible {
  outline: 3px solid rgba(111, 219, 255, .86);
  outline-offset: 2px;
}

.cu-album-side-arrow:disabled {
  opacity: .25;
  cursor: not-allowed;
  filter: grayscale(.55);
}

.cu-album-grid[hidden],
.cu-album-entry[hidden] {
  display: none !important;
}

.cu-album-entry {
  min-width: 0;
  padding: 10px 11px 12px;
  border: 1px solid rgba(126, 179, 248, .24);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(7, 18, 44, .78), rgba(14, 16, 47, .7)),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 7px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .24), inset 0 1px rgba(255, 255, 255, .05);
}

.cu-album-entry-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 25px;
  margin-bottom: 8px;
  padding: 0 4px 7px;
  border-bottom: 1px solid rgba(118, 174, 240, .18);
}

.cu-album-entry-title strong {
  overflow: hidden;
  color: #f4f7ff;
  font-size: .82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cu-album-entry-title span {
  flex: 0 0 auto;
  color: #7797c5;
  font-size: .68rem;
}

.cu-card-mastery {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 8px;
  margin: -2px 4px 9px;
  color: #8fa9cf;
  font-size: .67rem;
}

.cu-card-mastery strong { color: #c9d8ef; }
.cu-card-mastery i {
  grid-column: 1 / -1;
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}
.cu-card-mastery i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg,#668ce8,#8d6fe8);
}
.cu-card-mastery.level-1 span { color: #c58a59; }
.cu-card-mastery.level-2 span { color: #b9c7de; }
.cu-card-mastery.level-3 span { color: #ffd66e; font-weight: 800; }
.cu-card-mastery.level-3 i b { background: linear-gradient(90deg,#f1af3f,#fff09a); }

.cu-album-variants {
  display: grid;
  grid-template-columns: repeat(2, minmax(132px, 1fr));
  gap: 10px;
}

.cu-album-variants.has-single-variant {
  grid-template-columns: minmax(132px, 1fr);
}

.cu-album-variants.has-single-variant .cu-album-variant {
  width: min(100%, 235px);
  justify-self: center;
  box-sizing: border-box;
}

.cu-album-variant {
  position: relative;
  min-width: 0;
  padding: 7px 5px 6px;
  border: 1px solid rgba(106, 157, 224, .21);
  border-radius: 11px;
  background: rgba(4, 12, 33, .54);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, .16);
}

.cu-album-variant.is-holo {
  border-color: rgba(111, 218, 255, .33);
  background:
    linear-gradient(145deg, rgba(12, 47, 75, .47), rgba(39, 24, 78, .5)),
    rgba(4, 12, 33, .56);
}

.cu-album-variant-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 20px;
  margin-bottom: 5px;
  color: #b8cbe6;
  font-size: .64rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cu-album-variant-heading img {
  width: 13px;
  height: 13px;
  object-fit: contain;
}

.cu-album-variant-heading small {
  position: absolute;
  top: 4px;
  right: 4px;
  padding: 2px 4px;
  border: 1px solid rgba(255, 196, 111, .28);
  border-radius: 999px;
  color: #d9aa70;
  background: rgba(83, 50, 16, .55);
  font-size: .48rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}

.cu-album-card-button {
  display: block;
  width: 130px;
  margin: 0 auto;
  padding: 0;
  border-radius: 11px;
  cursor: pointer;
  outline: none;
  transition: transform .18s ease, filter .18s ease;
}

.cu-album-card-button:hover {
  z-index: 3;
  transform: translateY(-4px) scale(1.025);
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .42));
}

.cu-album-card-button:focus-visible {
  outline: 2px solid #73d8ff;
  outline-offset: 3px;
}

.cu-album-mini.mini {
  position: relative;
  display: block;
  width: 130px;
  min-height: 190px;
}

.cu-album-mini.mini .card {
  display: block;
  margin: 0;
  transform-origin: center;
}

.cu-album-variant.is-missing .cu-album-mini .card {
  filter: grayscale(.88) brightness(.48) contrast(.88);
  opacity: .78;
}

.cu-album-variant.is-missing .cu-album-card-button:hover .card {
  filter: grayscale(.6) brightness(.64) contrast(.92);
  opacity: .92;
}

.cu-album-variant.is-holo .cu-album-mini .card:after {
  content: "";
  position: absolute;
  z-index: 15;
  inset: 0;
  border-radius: 9px;
  pointer-events: none;
  opacity: .24;
  background:
    linear-gradient(115deg, transparent 14%, rgba(110, 237, 255, .46) 35%, rgba(255, 132, 237, .38) 50%, rgba(255, 236, 118, .36) 64%, transparent 84%);
  background-size: 240% 240%;
  mix-blend-mode: screen;
  animation: cu-album-holographic 6s ease-in-out infinite;
}

.cu-album-variant.is-missing.is-holo .cu-album-mini .card:after {
  opacity: .1;
  animation: none;
}

@keyframes cu-album-holographic {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: 0 100%; }
}

.cu-album-quantities {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  margin-top: 7px;
}

.cu-album-quantities > span {
  display: flex;
  min-width: 0;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1px;
  padding: 3px 1px;
  border: 1px solid rgba(105, 162, 231, .2);
  border-radius: 6px;
  color: #dbe8fb;
  background: rgba(11, 27, 60, .72);
  cursor: help;
  box-sizing: border-box;
}

.cu-album-quantities b {
  font-size: .65rem;
  line-height: 1;
}

.cu-album-pagination {
  display: grid;
  grid-template-columns: 46px minmax(140px, 1fr) auto minmax(140px, 1fr) 46px;
  align-items: center;
  gap: 16px;
  padding: 15px 22px;
  border-top: 1px solid rgba(110, 180, 255, .24);
  background: rgba(5, 14, 36, .76);
}

.cu-album-pagination-top {
  border-top: 0;
  border-bottom: 1px solid rgba(110, 180, 255, .24);
}

.cu-album-page-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 15px;
  border: 1px solid rgba(90, 180, 255, .52);
  border-radius: 9px;
  color: #eaf5ff;
  background: linear-gradient(135deg, rgba(21, 104, 186, .82), rgba(88, 74, 197, .82));
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .16s ease, filter .16s ease, opacity .16s ease;
}

.cu-album-page-first,
.cu-album-page-previous { justify-self: start; }
.cu-album-page-next,
.cu-album-page-last { justify-self: end; }

.cu-album-page-jump {
  width: 44px;
  min-width: 44px;
  padding-inline: 8px;
  font-size: 1.1rem;
}

.cu-album-page-button:hover:not(:disabled) {
  filter: brightness(1.13);
  transform: translateY(-1px);
}

.cu-album-page-button:disabled {
  opacity: .42;
  cursor: not-allowed;
}

.cu-album-page-status {
  min-width: 105px;
  color: #c7d8ef;
  font-size: .78rem;
  text-align: center;
}

.cu-album-book.is-turning-next .cu-album-grid {
  animation: cu-album-turn-next .27s ease-in-out;
}

.cu-album-book.is-turning-previous .cu-album-grid {
  animation: cu-album-turn-previous .27s ease-in-out;
}

@keyframes cu-album-turn-next {
  0% { opacity: 1; transform: rotateY(0); }
  48% { opacity: .1; transform: rotateY(-8deg) translateX(-12px); }
  52% { opacity: .1; transform: rotateY(8deg) translateX(12px); }
  100% { opacity: 1; transform: rotateY(0); }
}

@keyframes cu-album-turn-previous {
  0% { opacity: 1; transform: rotateY(0); }
  48% { opacity: .1; transform: rotateY(8deg) translateX(12px); }
  52% { opacity: .1; transform: rotateY(-8deg) translateX(-12px); }
  100% { opacity: 1; transform: rotateY(0); }
}

.cu-album-book > .cu-collection-empty {
  position: relative;
  z-index: 2;
  margin: 80px auto;
  max-width: 520px;
}

@media (max-width: 900px) {
  .cu-album-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .cu-album-header-stats { width: 100%; }
  .cu-album-header p { text-align: left; }
  .cu-album-book { padding: 18px 16px 22px; }
  .cu-album-grid { gap: 14px 22px; margin-inline: 26px; }

  .cu-album-side-arrow {
    width: 38px;
    height: 70px;
    font-size: 1.95rem;
  }

  .cu-album-side-previous { left: 4px; }
  .cu-album-side-next { right: 4px; }
}

@media (max-width: 720px) {
  .cu-album-book {
    min-height: 555px;
    background: linear-gradient(145deg, rgba(31, 42, 82, .94), rgba(23, 29, 66, .94));
  }

  .cu-album-book:before { display: none; }
  .cu-album-grid { grid-template-columns: minmax(286px, 1fr); margin-inline: 20px; }
}

@media (max-width: 480px) {
  .cu-album-header { padding: 16px; }
  .cu-album-header p { font-size: .72rem; }
  .cu-album-book { padding: 12px 8px 18px; }
  .cu-album-grid { margin-inline: 0; }
  .cu-album-side-arrow { width: 31px; height: 60px; font-size: 1.7rem; opacity: .82; }
  .cu-album-side-previous { left: 2px; }
  .cu-album-side-next { right: 2px; }
  .cu-album-entry { padding-inline: 6px; }
  .cu-album-variants { gap: 5px; }
  .cu-album-variant { padding-inline: 2px; }
  .cu-album-pagination { grid-template-columns: 40px 48px 1fr 48px 40px; gap: 6px; padding-inline: 8px; }
  .cu-album-page-button { min-width: 44px; padding-inline: 10px; font-size: 1.15rem; }
  .cu-album-page-jump { width: 38px; min-width: 38px; padding-inline: 5px; }
  .cu-album-page-button span { display: none; }
  .cu-album-legend { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .cu-album-book.is-turning-next .cu-album-grid,
  .cu-album-book.is-turning-previous .cu-album-grid,
  .cu-album-variant.is-holo .cu-album-mini .card:after {
    animation: none;
  }
}

/* Préparation d'une partie et recherche d'adversaire */
body.cu-game-search-open { overflow: hidden; }
.cu-game-search-modal {
  --cu-mode: #1683fa;
  --cu-mode-bright: #6dd5ff;
  --cu-mode-deep: #174a9a;
  --cu-mode-rgb: 22, 131, 250;
  position: fixed;
  z-index: 9990;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s ease, visibility .24s ease;
}
.cu-game-search-modal[data-mode="entrainement"] {
  --cu-mode: #20bfa4;
  --cu-mode-bright: #83f4d5;
  --cu-mode-deep: #116d68;
  --cu-mode-rgb: 32, 191, 164;
}
.cu-game-search-modal[data-mode="competitive"] {
  --cu-mode: #7f3cf8;
  --cu-mode-bright: #c1a0ff;
  --cu-mode-deep: #472096;
  --cu-mode-rgb: 127, 60, 248;
}
.cu-game-search-modal[hidden] { display: none; }
.cu-game-search-modal.is-visible { opacity: 1; visibility: visible; }
.cu-game-search-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(var(--cu-mode-rgb), .24), transparent 40%),
    rgba(3, 8, 20, .88);
  backdrop-filter: blur(12px) saturate(.82);
}
.cu-game-search-dialog {
  position: relative;
  width: min(1120px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--cu-mode) 62%, transparent);
  border-radius: 24px;
  color: #edf6ff;
  background:
    radial-gradient(circle at 18% 0, rgba(var(--cu-mode-rgb), .25), transparent 38%),
    linear-gradient(145deg, rgba(10, 27, 61, .99), color-mix(in srgb, var(--cu-mode-deep) 18%, rgba(17, 20, 54, .99)));
  box-shadow: 0 32px 100px #000c, inset 0 1px rgba(255,255,255,.08), 0 0 38px rgba(var(--cu-mode-rgb), .12);
  transform: translateY(20px) scale(.97);
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
.cu-game-search-modal.is-visible .cu-game-search-dialog { transform: translateY(0) scale(1); }
.cu-game-search-dialog::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--cu-mode-bright), var(--cu-mode), transparent);
  box-shadow: 0 0 20px var(--cu-mode);
}
.cu-game-search-header {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 17px;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(var(--cu-mode-rgb), .28);
  background: linear-gradient(100deg, rgba(var(--cu-mode-rgb), .42), rgba(var(--cu-mode-rgb), .1));
}
.cu-game-search-mode-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--cu-mode-bright) 68%, transparent);
  border-radius: 16px;
  color: var(--cu-mode-bright);
  background: rgba(var(--cu-mode-rgb), .13);
  box-shadow: inset 0 0 20px rgba(var(--cu-mode-rgb), .17), 0 0 18px rgba(var(--cu-mode-rgb), .16);
  font-size: 24px;
}
.cu-game-search-mode-icon img { display:block; width:46px; height:46px; object-fit:contain; filter:drop-shadow(0 4px 7px #0007) drop-shadow(0 0 7px rgba(var(--cu-mode-rgb), .42)); }
.cu-game-search-header p { margin: 0; }
.cu-game-search-header h2 { margin: 3px 0 4px; color: #fff; font-size: clamp(21px, 2.5vw, 31px); line-height: 1.1; }
.cu-game-search-header #description-mode-partie { color: #aec2df; font-size: 13px; }
.cu-game-search-close {
  display: grid;
  width: 39px;
  height: 39px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(133, 164, 207, .38);
  border-radius: 50%;
  color: #c7d4e9;
  background: rgba(4, 13, 34, .7);
  cursor: pointer;
}
.cu-game-search-close:hover { color: #fff; border-color: var(--cu-mode-bright); transform: rotate(5deg) scale(1.04); }
.cu-game-search-body { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, .75fr); min-height: 430px; max-height: calc(100dvh - 150px); }
.cu-game-search-decks, .cu-game-search-launch { min-width: 0; padding: 20px; }
.cu-game-search-decks { border-right: 1px solid rgba(100, 169, 235, .2); }
.cu-game-search-section-title { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; text-align: left; }
.cu-game-search-section-title > span { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(145deg,var(--cu-mode),var(--cu-mode-deep)); box-shadow: 0 7px 18px rgba(var(--cu-mode-rgb),.3); font-weight: 950; }
.cu-game-search-section-title h3 { margin: 1px 0 0; color: #fff; font-size: 17px; }
.cu-game-search-deck-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, 210px);
  grid-auto-rows: 210px;
  align-content: start;
  justify-content: center;
  gap: 12px;
  max-height: calc(100dvh - 230px);
  padding: 5px 8px 16px 5px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: var(--cu-mode) #071630;
  scrollbar-width: thin;
}
.cu-game-search-deck-list::-webkit-scrollbar { width: 9px; }
.cu-game-search-deck-list::-webkit-scrollbar-track { border-radius: 10px; background: #071630; }
.cu-game-search-deck-list::-webkit-scrollbar-thumb { border: 2px solid #071630; border-radius: 10px; background: linear-gradient(var(--cu-mode-bright),var(--cu-mode)); }
.cu-game-search-modal .select_deck {
  display: grid;
  grid-template-rows: 30px minmax(0, 1fr) auto;
  min-width: 0;
  min-height: 0;
  width: 210px;
  height: 210px;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(81, 155, 238, .45);
  border-radius: 13px;
  color: #edf5ff;
  background: linear-gradient(145deg, rgba(14, 32, 71, .98), rgba(38, 26, 78, .97));
  box-shadow: 0 10px 22px rgba(0,0,0,.28), inset 0 1px rgba(255,255,255,.06);
  cursor: pointer;
  transition: border-color .18s ease, transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.cu-game-search-modal .select_deck:hover { color: #fff; border-color: var(--cu-mode-bright); background: linear-gradient(145deg, rgba(18, 45, 92, .99), rgba(var(--cu-mode-rgb), .22)); transform: translateY(-3px); box-shadow: 0 15px 27px rgba(0,0,0,.38), 0 0 18px rgba(var(--cu-mode-rgb),.18); }
.cu-game-search-modal .select_deck .head_bar { min-height: 30px; padding: 0 8px 0 31px; overflow: hidden; color: #fff; background: linear-gradient(90deg,var(--cu-mode),var(--cu-mode-deep)) !important; font-size: 11px; line-height: 30px; text-overflow: ellipsis; white-space: nowrap; }
.cu-game-search-modal .select_deck .head_bar .gauche { left: 7px; }
.cu-game-search-modal .select_deck > img { display: block; align-self: center; width: 100%; max-width: 145px; max-height: 145px; margin: auto; object-fit: contain; filter: drop-shadow(0 9px 11px rgba(0,0,0,.42)); }
.cu-game-search-modal .select_deck > .cu-game-search-deck-status { padding: 7px 8px 8px; color: #ffb9c1; border-top: 1px solid rgba(255,112,132,.18); background: rgba(42,8,21,.48); font-size: 10px; line-height: 1.35; }
.cu-game-search-modal .select_deck > .cu-game-search-deck-status a { color: #82d2ff; font-size: 10px; }
.cu-game-search-modal input.radio_deck:checked + .select_deck { border-color: var(--cu-mode-bright); transform: translateY(-3px); box-shadow: 0 0 0 3px rgba(var(--cu-mode-rgb),.27), 0 16px 28px rgba(0,0,0,.38); }
.cu-game-search-modal .select_deck.deck-invalide { opacity: .52; filter: grayscale(.65); cursor: not-allowed; transform: none; }
.cu-game-search-launch { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; background: radial-gradient(circle at 50% 43%, rgba(var(--cu-mode-rgb), .15), transparent 46%), rgba(4,13,34,.3); text-align: center; }
.cu-game-search-visual { display: grid; min-height: 215px; place-items: center; }
.cu-search-radar { position: relative; width: 174px; height: 174px; border: 1px solid rgba(var(--cu-mode-rgb),.43); border-radius: 50%; background: repeating-radial-gradient(circle, transparent 0 26px, rgba(var(--cu-mode-rgb),.13) 27px 28px), conic-gradient(from 0deg,rgba(var(--cu-mode-rgb),.02),rgba(var(--cu-mode-rgb),.22),transparent 28%); box-shadow: inset 0 0 30px rgba(var(--cu-mode-rgb),.13),0 0 25px rgba(var(--cu-mode-rgb),.11); }
.cu-search-radar::before, .cu-search-radar::after { content:""; position:absolute; background:rgba(var(--cu-mode-rgb),.2); }
.cu-search-radar::before { left:50%; top:6px; bottom:6px; width:1px; }
.cu-search-radar::after { top:50%; left:6px; right:6px; height:1px; }
.cu-search-radar > i { position:absolute; inset:0; border-radius:50%; background:conic-gradient(from 0deg,transparent 0 75%,rgba(var(--cu-mode-rgb),.4)); opacity:.28; }
.cu-search-radar > span, .cu-search-radar > b { position:absolute; z-index:2; display:grid; width:42px; height:42px; place-items:center; border:2px solid var(--cu-mode-bright); border-radius:50%; color:#fff; background:var(--cu-mode-deep); box-shadow:0 0 14px rgba(var(--cu-mode-rgb),.7); }
.cu-search-radar > span { left:66px; top:66px; }
.cu-search-radar > b { right:15px; top:24px; opacity:.2; transform:scale(.72); }
.cu-game-search-modal.is-searching .cu-search-radar > i { opacity:1; animation:cu-search-radar-spin 1.65s linear infinite; }
.cu-game-search-modal.is-searching .cu-search-radar > b { animation:cu-search-opponent 1.8s ease-in-out infinite; }
.cu-search-training { display:none; position:relative; width:150px; height:150px; place-items:center; border:1px solid rgba(84,229,174,.34); border-radius:50%; color:#75efbd; background:radial-gradient(circle,rgba(45,183,133,.18),rgba(5,24,34,.5) 65%); font-size:61px; box-shadow:inset 0 0 30px rgba(42,205,145,.12),0 0 24px rgba(42,205,145,.08); }
.cu-search-training span { position:absolute; inset:-8px; border:1px dashed rgba(105,238,188,.42); border-radius:50%; }
.cu-game-search-modal.is-training .cu-search-radar { display:none; }
.cu-game-search-modal.is-training .cu-search-training { display:grid; }
.cu-game-search-modal.is-training.is-searching .cu-search-training { animation:cu-search-robot-pulse 1.25s ease-in-out infinite alternate; }
.cu-game-search-modal.is-training.is-searching .cu-search-training span { animation:cu-match-spin 4s linear infinite; }
#statut-recherche { min-height:42px; margin:0 0 13px; color:#b8cae5; font-size:13px; line-height:1.45; }
.cu-game-search-modal.is-searching #statut-recherche { color:var(--cu-mode-bright); }
.cu-game-search-modal .btn.btn-lancer-partie { display:inline-flex; min-height:48px; align-items:center; justify-content:center; margin:0; padding:11px 20px; border:1px solid rgba(111,142,185,.45); border-radius:12px; color:#7f90a9; background:rgba(24,36,59,.78); box-shadow:none; font-size:13px; font-weight:900; text-transform:uppercase; cursor:not-allowed; }
.cu-game-search-modal .btn.btn-lancer-partie.active { color:#fff; border-color:var(--cu-mode-bright); background:linear-gradient(135deg,var(--cu-mode),var(--cu-mode-deep)); box-shadow:0 10px 24px rgba(var(--cu-mode-rgb),.3); cursor:pointer; }
.cu-game-search-modal.is-searching .btn.btn-lancer-partie { color:#ffd8de; border-color:#c45a70; background:linear-gradient(135deg,#782e48,#4d2138); }
@keyframes cu-search-radar-spin { to { transform:rotate(360deg); } }
@keyframes cu-search-opponent { 0%,100%{opacity:.18;transform:scale(.72)} 50%{opacity:.9;transform:scale(1)} }
@keyframes cu-search-robot-pulse { to { color:#b7ffe4; filter:brightness(1.2); transform:scale(1.045); box-shadow:inset 0 0 38px rgba(42,205,145,.2),0 0 30px rgba(42,205,145,.22); } }
@media (max-width:760px) {
  .cu-game-search-modal { padding:5px; }
  .cu-game-search-dialog { width:calc(100vw - 10px); max-height:calc(100dvh - 10px); border-radius:17px; overflow-y:auto; }
  .cu-game-search-header { grid-template-columns:auto minmax(0,1fr) auto; gap:10px; padding:14px; }
  .cu-game-search-mode-icon { width:42px; height:42px; border-radius:12px; font-size:19px; }
  .cu-game-search-header h2 { font-size:18px; }
  .cu-game-search-header #description-mode-partie { display:none; }
  .cu-game-search-body { grid-template-columns:1fr; max-height:none; }
  .cu-game-search-decks { border-right:0; border-bottom:1px solid rgba(100,169,235,.2); }
  .cu-game-search-deck-list { display:flex; justify-content:flex-start; max-height:200px; overflow-x:auto; overflow-y:hidden; }
  .cu-game-search-modal .select_deck { flex:0 0 170px; width:170px; height:170px; min-height:0; }
  .cu-game-search-modal .select_deck > img { max-width:118px; max-height:118px; }
  .cu-game-search-launch { min-height:330px; }
  .cu-game-search-visual { min-height:190px; }
}
@media (prefers-reduced-motion:reduce) {
  .cu-game-search-modal, .cu-game-search-dialog, .cu-search-radar > i, .cu-search-radar > b, .cu-search-training, .cu-search-training span { transition:none!important; animation:none!important; }
}
/* Profil et classement du mode compétitif */
.cu-competitive-profile {
  --rank-color: #c7d4e6;
  --rank-glow: rgba(199, 212, 230, .26);
  width: min(1180px, calc(100% - 48px));
  margin: 16px auto 20px;
  padding: 13px 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  color: #eef7ff;
  background: linear-gradient(120deg, rgba(7, 25, 57, .96), rgba(31, 30, 91, .94));
  border: 1px solid color-mix(in srgb, var(--rank-color) 60%, transparent);
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(2, 9, 30, .32), inset 0 0 45px var(--rank-glow);
  overflow: hidden;
  position: relative;
}
.cu-competitive-profile::after { content: ""; position: absolute; inset: auto -8% -80% 30%; height: 180%; background: radial-gradient(circle, var(--rank-glow), transparent 66%); pointer-events: none; }
.cu-rank-emblem { position: relative; z-index: 1; width: 62px; height: 70px; display: grid; place-items: center; filter: drop-shadow(0 0 10px var(--rank-glow)); }
.cu-rank-emblem img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cu-rank-main { min-width: 0; position: relative; z-index: 1; }
.cu-rank-main small, .cu-competitive-ranking header small { display: block; color: #73cfff; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.cu-rank-main h2 { margin: 1px 0 7px; color: var(--rank-color); font-size: clamp(21px, 2.5vw, 31px); }
.cu-rank-main h2 strong { margin-left: 8px; color: #fff; font-size: .52em; white-space: nowrap; }
.cu-rank-main p { margin: 6px 0 0; color: #b8cae4; font-size: .84rem; }
.cu-rank-progress { width: min(560px, 100%); height: 6px; background: rgba(255,255,255,.1); border-radius: 99px; overflow: hidden; }
.cu-rank-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--rank-color), #fff); box-shadow: 0 0 12px var(--rank-color); }
.cu-competitive-profile dl { display: flex; gap: 10px; margin: 0; position: relative; z-index: 1; }
.cu-competitive-profile dl div { min-width: 70px; padding: 7px 10px; text-align: center; background: rgba(2, 11, 34, .42); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; }
.cu-competitive-profile dt { color: #90a8ca; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.cu-competitive-profile dd { margin: 2px 0 0; color: #fff; font-size: 17px; font-weight: 950; }
.rank-bronze { --rank-color: #c98252; --rank-glow: rgba(201,130,82,.3); }
.rank-argent { --rank-color: #d5e1ee; --rank-glow: rgba(190,215,239,.3); }
.rank-or { --rank-color: #ffd65b; --rank-glow: rgba(255,207,61,.32); }
.rank-platine { --rank-color: #65ead0; --rank-glow: rgba(82,225,196,.3); }
.rank-diamant { --rank-color: #64c9ff; --rank-glow: rgba(77,183,255,.36); }
.rank-maitre { --rank-color: #b78cff; --rank-glow: rgba(148,92,255,.36); }
.rank-universe { --rank-color: #ff7de9; --rank-glow: rgba(134,83,255,.44); }
.rank-universe .cu-rank-main h2, .cu-rank-chip.rank-universe { background: linear-gradient(90deg,#70e7ff,#ff7de9,#ffe66b); background-clip: text; -webkit-background-clip: text; color: transparent; }
.cu-competitive-unavailable { width: min(1180px,calc(100% - 32px)); margin: 0 auto 22px; padding: 13px 18px; color: #ffd5b5; background: rgba(96,43,19,.72); border: 1px solid #d87942; border-radius: 12px; }
.cu-competitive-ranking { width: min(1220px,calc(100% - 32px)); margin: 34px auto 18px; color: #eef6ff; background: rgba(5,20,49,.94); border: 1px solid rgba(85,178,255,.38); border-radius: 20px; box-shadow: 0 22px 50px rgba(1,8,28,.35); overflow: hidden; }
.cu-competitive-ranking > header { display: flex; justify-content: space-between; align-items: end; gap: 18px; padding: 20px 24px; background: linear-gradient(100deg,rgba(20,66,129,.52),rgba(89,48,151,.42)); }
.cu-competitive-ranking h2 { margin: 3px 0 0; color: #fff; }
.cu-competitive-ranking form { display: flex; align-items: center; gap: 9px; }
.cu-competitive-ranking form label { color: #a9bddd; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.cu-competitive-ranking select { min-width: 190px; padding: 10px 34px 10px 12px; color: #fff; background: #081a3a; border: 1px solid #397ac1; border-radius: 10px; }
.cu-ranking-table-wrap { overflow-x: auto; scrollbar-color: #398fd8 #071630; }
.cu-ranking-table { width: 100%; border-collapse: collapse; color: #d9e8fa; }
.cu-ranking-table th { padding: 11px 15px; color: #7fa5d2; background: rgba(3,13,34,.7); text-align: left; font-size: 11px; text-transform: uppercase; }
.cu-ranking-table td { padding: 12px 15px; border-top: 1px solid rgba(99,154,214,.14); }
.cu-ranking-table tbody tr:hover, .cu-ranking-table tbody tr.is-me { background: rgba(53,146,224,.13); }
.cu-ranking-table tbody tr.is-me { box-shadow: inset 4px 0 #63d8ff; }
.cu-ranking-table .cu-ranking-separator td { padding: 7px 15px; color: #69d7ff; background: rgba(32,116,185,.18); text-align: center; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.cu-ranking-player { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.cu-ranking-player img.member-identity-avatar { width: 34px; height: 34px; margin: 0; object-fit: cover; border: 2px solid rgba(215,225,255,.9); border-radius: 8px; box-shadow: 0 5px 14px rgba(0,0,0,.32); }
.cu-ranking-player .support-avatar--cards-ranking {
    --support-avatar-radius: 24%;
    --support-effect-radius: 30%;
    border-radius: 9px;
}
.cu-ranking-player .support-avatar--cards-ranking::before,
.cu-ranking-player .support-avatar--cards-ranking::after,
.cu-ranking-player .support-avatar--cards-ranking .support-avatar__twitch-wave { border-radius: 12px !important; }
a.cu-ranking-player strong { transition: color .18s ease; }
a.cu-ranking-player:hover strong,
a.cu-ranking-player:focus-visible strong { color: #79ddff; }
a.cu-ranking-player:focus-visible { border-radius: 9px; outline: 2px solid rgba(105,215,255,.75); outline-offset: 4px; }
.cu-rank-chip { --rank-color: #d5e1ee; display: inline-flex; align-items: center; gap: 6px; color: var(--rank-color); font-weight: 850; }
.cu-rank-chip > img { width: 26px; height: 29px; object-fit: contain; filter: drop-shadow(0 0 5px var(--rank-glow)); }
.cu-ranking-empty { padding: 35px !important; text-align: center; color: #92a9c8; }
.cu-season-rewards { padding: 15px 20px; border-top: 1px solid rgba(99,154,214,.18); background: rgba(15,39,79,.42); }
.cu-season-rewards > strong { display: block; margin-bottom: 10px; color: #fff; text-align: center; }
.cu-season-rewards > div { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.cu-season-rewards span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; color: #bdd0e9; background: rgba(4,16,41,.68); border: 1px solid rgba(96,190,255,.25); border-radius: 10px; }
.cu-season-rewards span > b { color: #70dcff; }
.cu-season-rewards em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; }
.cu-season-rewards img { width: 17px; height: 17px; object-fit: contain; }
.cu-competitive-ranking > footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; padding: 14px 20px; color: #9fb6d5; background: rgba(2,10,28,.62); font-size: 12px; }
.cu-competitive-ranking > footer i { margin-right: 6px; color: #6bd9ff; }
.cu-match-found-rank { display: inline-flex; align-items: center; margin-top: 8px; padding: 6px 12px; color: var(--rank-color); background: rgba(8,20,48,.82); border: 1px solid var(--rank-color); border-radius: 99px; font-weight: 900; }
.cu-match-found-rank[hidden] { display: none; }
@media (max-width: 820px) {
  .cu-competitive-profile { width: calc(100% - 28px); grid-template-columns: auto 1fr; padding: 12px 14px; }
  .cu-competitive-profile dl { grid-column: 1 / -1; width: 100%; }
  .cu-competitive-profile dl div { flex: 1; min-width: 0; }
  .cu-competitive-ranking > header { align-items: stretch; flex-direction: column; }
  .cu-competitive-ranking form { justify-content: space-between; }
}
