

@font-face { font-family: 'Chakra Petch'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/chakra-petch-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Chakra Petch'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/chakra-petch-latin-ext-600.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Chakra Petch'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/chakra-petch-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Chakra Petch'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/chakra-petch-latin-ext-700.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --k-titre: 'Chakra Petch', Nunito, system-ui, sans-serif;
  --k-coin: #73edffd0;
  --k-or: #ffd34d; --k-argent: #d9e6f2; --k-bronze: #e59a5b;
  --k-verre: linear-gradient(160deg, #183747eb 0%, #0b1d2aee 45%, #06121bf2 100%);
  --k-reflet: radial-gradient(120% 70% at 50% -25%, #73edff1f, transparent 62%);
  --k-coins:
    linear-gradient(var(--k-coin), var(--k-coin)) left top / 14px 2px no-repeat,
    linear-gradient(var(--k-coin), var(--k-coin)) left top / 2px 14px no-repeat,
    linear-gradient(var(--k-coin), var(--k-coin)) right top / 14px 2px no-repeat,
    linear-gradient(var(--k-coin), var(--k-coin)) right top / 2px 14px no-repeat,
    linear-gradient(var(--k-coin), var(--k-coin)) left bottom / 14px 2px no-repeat,
    linear-gradient(var(--k-coin), var(--k-coin)) left bottom / 2px 14px no-repeat,
    linear-gradient(var(--k-coin), var(--k-coin)) right bottom / 14px 2px no-repeat,
    linear-gradient(var(--k-coin), var(--k-coin)) right bottom / 2px 14px no-repeat;
  --k-ombre: inset 0 1px 0 #ffffff14, inset 0 0 34px #73edff0f, 0 16px 34px #000a;
}


.c-panel {
  background: var(--k-coins), var(--k-reflet), var(--k-verre) !important;
  border: 1px solid #73edff33 !important;
  box-shadow: var(--k-ombre) !important;
}

.screen.dim > .card, .screen.dim > div > .card, .card {
  background: var(--k-coins), var(--k-reflet), linear-gradient(150deg, #213a49f7, #0a1720f8) !important;
  box-shadow: inset 0 1px 0 #ffffff18, 0 0 0 1px #73edff22, 0 30px 90px #000c, 0 0 60px #73edff14 !important;
}


.screen-title, .card h2, .c-screen h3, .chest-title, #ann-titre {
  font-family: var(--k-titre) !important; font-weight: 700;
}
.screen-title {
  text-transform: uppercase !important; letter-spacing: 2px !important;
  background: linear-gradient(180deg, #ffffff 10%, #a8f3ff 95%); -webkit-background-clip: text; background-clip: text; color: transparent !important;
  filter: drop-shadow(0 0 12px #73edff40);
}
.c-screen h3 { letter-spacing: .6px; }
:is(.rank-list .lv, .rank-list .rk, .rank-me span, .clan-score, .clan-stats b, .profile-stats b, .fiche-stats b, .tile-sub, .daily-day b, #hub-bal, #hub-cles) {
  font-family: var(--k-titre); font-variant-numeric: tabular-nums;
}

.c-screen > :first-child:is([class*="-head"], .play-head, .skins-head) {
  background: linear-gradient(90deg, transparent, #73edff88 50%, transparent) bottom / 100% 1px no-repeat, linear-gradient(180deg, #0f2531f2, #0a1a24e8) !important;
  border-bottom-color: transparent !important; box-shadow: 0 10px 26px -14px #73edff55;
}


.c-btn { transition: transform .12s ease, filter .15s ease, border-color .15s ease, box-shadow .2s ease !important; }
.c-btn:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.08); box-shadow: 0 6px 18px -6px #73edff66 !important; }
.c-btn:active:not(:disabled) { transform: translateY(1px) scale(.98); }
.c-btn.c-primary:not(:disabled) { position: relative; overflow: hidden; }
.c-btn.c-primary:not(:disabled)::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, #ffffff8c, transparent); transform: skewX(-18deg); animation: k-eclat 4.5s ease-in-out infinite;
}
.screen:not(#hub) :is(.selected, [aria-selected="true"]):is(.mode-btn, .skin-tab) { box-shadow: inset 0 -2px 0 var(--g-cyan), inset 0 0 16px #65dbff26 !important; }
.c-field:focus, .screen:not(#hub) input:focus, .screen:not(#hub) textarea:focus { outline: none; border-color: var(--g-cyan) !important; box-shadow: 0 0 0 3px #73edff26, 0 0 18px #73edff33 !important; }


.rank-screen .rank-list li { position: relative; transition: background .15s ease; }
.rank-screen .rank-list li.cliquable:hover { background: linear-gradient(90deg, #73edff1c, transparent 70%) !important; }
.rank-screen .rank-list li.me { background: linear-gradient(90deg, #73edff2e, #73edff08 70%) !important; box-shadow: inset 3px 0 0 var(--g-cyan); }
.rank-screen .rank-list:not(.clan-membres) li:nth-child(-n+3) .rk {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50% !important; font-weight: 700; color: #1b1205;
  background: radial-gradient(circle at 35% 30%, #fff8, transparent 45%), var(--k-medaille); box-shadow: 0 0 14px var(--k-lueur), inset 0 -2px 0 #0004;
}
.rank-screen .rank-list:not(.clan-membres) li:nth-child(1) { --k-medaille: var(--k-or); --k-lueur: #ffd34d88; background: linear-gradient(90deg, #ffd34d24, transparent 65%); }
.rank-screen .rank-list:not(.clan-membres) li:nth-child(2) { --k-medaille: var(--k-argent); --k-lueur: #d9e6f266; background: linear-gradient(90deg, #d9e6f218, transparent 65%); }
.rank-screen .rank-list:not(.clan-membres) li:nth-child(3) { --k-medaille: var(--k-bronze); --k-lueur: #e59a5b77; background: linear-gradient(90deg, #e59a5b1c, transparent 65%); }
.rank-screen .rank-list:not(.clan-membres) li:nth-child(1) .nm b { color: #ffe59a; text-shadow: 0 0 12px #ffd34d55; }
.rank-screen .rank-list:not(.clan-membres) li:nth-child(-n+3) { padding-top: 11px !important; padding-bottom: 11px !important; }
.rank-screen .rank-list:not(.clan-membres) li:nth-child(1) .lv { color: #ffe59a; }


@keyframes k-monte { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes k-ligne { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
@keyframes k-pop { from { opacity: 0; transform: scale(.92) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes k-eclat { 0%, 70% { left: -60%; } 100% { left: 130%; } }
@keyframes k-pulse { 0% { transform: scale(1); } 40% { transform: scale(1.18); text-shadow: 0 0 16px #73edff; } 100% { transform: scale(1); } }
.c-screen:not([hidden]) > :not(:first-child) { animation: k-monte .38s cubic-bezier(.2, .8, .2, 1) both; }
.c-screen:not([hidden]) > :nth-child(3) { animation-delay: .04s; }
.c-screen:not([hidden]) > :nth-child(4) { animation-delay: .08s; }
.c-screen:not([hidden]) > :nth-child(5) { animation-delay: .12s; }
.c-screen:not([hidden]) > :nth-child(n+6) { animation-delay: .16s; }
.screen.dim:not([hidden]) > .card, .screen.dim:not([hidden]) > div > .card, .screen.dim:not([hidden]) > .c-panel { animation: k-pop .3s cubic-bezier(.2, .9, .3, 1.2) both; }
.rank-list > li { animation: k-ligne .32s ease-out both; }
.rank-list > li:nth-child(2) { animation-delay: .03s; } .rank-list > li:nth-child(3) { animation-delay: .06s; } .rank-list > li:nth-child(4) { animation-delay: .09s; }
.rank-list > li:nth-child(5) { animation-delay: .12s; } .rank-list > li:nth-child(6) { animation-delay: .15s; } .rank-list > li:nth-child(7) { animation-delay: .18s; }
.rank-list > li:nth-child(8) { animation-delay: .21s; } .rank-list > li:nth-child(9) { animation-delay: .24s; } .rank-list > li:nth-child(n+10) { animation-delay: .27s; }
.k-pulse { animation: k-pulse .6s ease-out; display: inline-block; }

@media (prefers-reduced-motion: reduce) {
  .c-screen:not([hidden]) > *, .screen.dim:not([hidden]) > *, .rank-list > li, .k-pulse, .c-btn.c-primary::after { animation: none !important; }
}


@keyframes k-piece { 0% { transform: rotateY(0) scale(.6); opacity: 0; } 40% { opacity: 1; } 70% { transform: rotateY(540deg) scale(1.1); } 100% { transform: rotateY(720deg) scale(1); } }
@keyframes k-lueur-barre { 0%, 100% { box-shadow: 0 0 6px #73edff66; } 50% { box-shadow: 0 0 16px #73edffcc; } }
@keyframes k-niveau { 0% { transform: scale(1); } 30% { transform: scale(1.25); color: #ffd34d; text-shadow: 0 0 18px #ffd34d; } 100% { transform: scale(1); } }
#dead:not([hidden]) .bilan-piece { animation: k-piece 1.1s cubic-bezier(.2, .8, .3, 1) .2s both; }
#dead .dead-xp-bar i { animation: k-lueur-barre 1.6s ease-in-out 2; }
#dead .dead-level.niveau-gagne #dead-level-txt { display: inline-block; animation: k-niveau .9s ease-out 1s both; color: #ffd34d; }
#dead .bilan-xp b, #dead .bilan-argent-total span { font-family: var(--k-titre); }
@media (prefers-reduced-motion: reduce) { #dead .bilan-piece, #dead .dead-xp-bar i, #dead .dead-level.niveau-gagne #dead-level-txt { animation: none !important; } }


.shop-screen .shop-grid .skin-card {
  background: var(--k-reflet), linear-gradient(170deg, #173445f2, #081620f6) !important;
  border: 1px solid #73edff30 !important; box-shadow: inset 0 1px 0 #ffffff14, 0 10px 24px #0009 !important;
  transition: transform .2s cubic-bezier(.2, .8, .3, 1.2), box-shadow .2s ease, border-color .2s ease !important;
}
.shop-screen .shop-grid .skin-card:not(.argent-possede):hover { transform: translateY(-5px); border-color: #73edffa0 !important; box-shadow: 0 18px 34px #000b, 0 0 24px #73edff40 !important; }
.shop-screen .shop-grid .skin-card.previewing { border-color: #ffd34d !important; box-shadow: 0 0 0 1px #ffd34d, 0 0 26px #ffd34d55, 0 18px 34px #000b !important; }
.shop-screen .shop-grid .skin-card :is(canvas, img.store-art, .store-art) { transition: transform .3s cubic-bezier(.2, .8, .3, 1.3); }
.shop-screen .shop-grid .skin-card:hover :is(canvas, img.store-art, .store-art) { transform: scale(1.08) rotate(-3deg); }
.shop-screen .shop-grid .skin-card::after {
  content: ''; position: absolute; top: -20%; bottom: -20%; left: -70%; width: 45%; pointer-events: none; z-index: 2;
  background: linear-gradient(100deg, transparent, #ffffff26, transparent); transform: skewX(-18deg); transition: left .6s ease;
}
.shop-screen .shop-grid .skin-card:hover::after { left: 130%; }
.shop-screen .shop-grid .skin-card { animation: k-pop .35s ease-out both; }
.shop-screen .shop-grid .skin-card:nth-child(2) { animation-delay: .04s; } .shop-screen .shop-grid .skin-card:nth-child(3) { animation-delay: .08s; }
.shop-screen .shop-grid .skin-card:nth-child(4) { animation-delay: .12s; } .shop-screen .shop-grid .skin-card:nth-child(5) { animation-delay: .16s; }
.shop-screen .shop-grid .skin-card:nth-child(n+6) { animation-delay: .2s; }

.quest-bar i, .dead-xp-bar i { background: linear-gradient(90deg, #2fa0c6, #73edff, #b4f7ff) !important; box-shadow: 0 0 10px #73edff88; }
@media (prefers-reduced-motion: reduce) { .shop-screen .shop-grid .skin-card, .shop-screen .shop-grid .skin-card::after { animation: none !important; transition: none !important; } }
.shop-screen .shop-grid .skin-card {
  background: radial-gradient(circle at 50% 36%, #73edff2e, transparent 42%), var(--k-reflet), linear-gradient(170deg, #173445f2, #081620f6) !important;
}
.shop-screen .shop-grid .skin-card canvas { filter: drop-shadow(0 8px 14px #000a); }
.shop-screen .shop-grid .skin-card .store-price, .shop-screen .shop-grid .skin-card .skin-state {
  padding: 2px 10px; border-radius: 999px !important; background: #02121d99; border: 1px solid #73edff2e; font-family: var(--k-titre); font-weight: 700;
}


#achat-recu:not([hidden])::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 1000px; height: 1000px; margin: -500px 0 0 -500px; pointer-events: none; opacity: .5;
  background: repeating-conic-gradient(from 0deg, #ffd34d38 0deg 8deg, transparent 8deg 22deg); -webkit-mask: radial-gradient(circle, #000 0, #0000 60%); mask: radial-gradient(circle, #000 0, #0000 60%);
  animation: fete-tourne 16s linear infinite;
}
#achat-recu:not([hidden]) #achat-recu-img { animation: fete-objet .9s cubic-bezier(.2, 1.4, .4, 1) .1s both; filter: drop-shadow(0 10px 24px #000a) drop-shadow(0 0 18px #ffd34d55); }
#achat-recu > * { position: relative; }
@media (prefers-reduced-motion: reduce) { #achat-recu::before, #achat-recu #achat-recu-img { animation: none !important; } }
#achat-recu { overflow: hidden; }


.clan-blason { display: inline-block; flex: none; filter: drop-shadow(0 4px 10px #0008); }
.clan-blason svg { width: 100%; height: 100%; display: block; }
.clan-tete .clan-blason { position: absolute; top: 14px; right: 16px; animation: fete-objet .7s cubic-bezier(.2, 1.4, .4, 1) .1s both; }
.clan-tete { position: relative; }
.nm.avec-blason { display: grid !important; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; }
.nm.avec-blason .clan-blason { grid-row: 1 / 3; }

@keyframes k-respire { 0%, 100% { box-shadow: inset 0 2px 0 #fff8, inset 0 -4px 0 #14536b70, 0 0 0 #73edff00; } 50% { box-shadow: inset 0 2px 0 #fff8, inset 0 -4px 0 #14536b70, 0 0 26px #73edff99; } }
#hub .g-jouer { animation: k-respire 2.8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { #hub .g-jouer, .clan-tete .clan-blason { animation: none !important; } }


.br-horaire { width: 100%; margin: 0; padding: 8px 14px; text-align: center; font-family: var(--k-titre); font-weight: 700; letter-spacing: .5px; border: 1px solid #ff8a8a55; background: linear-gradient(90deg, transparent, #ff6b6b1f, transparent); color: #ffb3b3; }
.br-horaire.ouvert { border-color: #6dffa866; background: linear-gradient(90deg, transparent, #6dffa81f, transparent); color: #9dffc4; }
.br-horaire[hidden] { display: none; }
