.cdfb-hub-hero,
.cdfb-hub-cta,
.cdfb-hub-retest,
.cdfb-hub-thanks,
.cdfb-hub-podium,
.cdfb-hub-badges,
.cdfb-hub-welcome,
.cdfb-hub-contrib {
--cdfb-night: var(--cd-brand-night, #0b1f4d);
--cdfb-violet: var(--cd-brand-violet, #6a3fb5);
--cdfb-prune: #5c2d6b;
--cdfb-ivory: #faf7f2;
--cdfb-bg: #f7f5fb;
--cdfb-card: #ffffff;
--cdfb-border: rgba(11, 31, 77, 0.14);
--cdfb-muted: #4a5568;
}
.cdfb-hub-hero {
margin: 0 0 1.25rem;
text-align: left;
}
.cdfb-hub-hero__kicker {
margin: 0 0 0.35rem;
font-size: 0.82rem;
letter-spacing: 0.06em;
text-transform: uppercase;
color: var(--cdfb-violet);
font-weight: 700;
}
.cdfb-hub-hero__title {
margin: 0 0 0.5rem;
font-size: clamp(1.7rem, 4vw, 2.15rem);
line-height: 1.2;
color: var(--cdfb-night);
}
.cdfb-hub-hero__lead {
margin: 0 0 0.75rem;
font-size: 1.08rem;
color: var(--cdfb-muted);
}
.cdfb-hub-hero__invite {
margin: 0 0 1rem;
font-size: 1.02rem;
color: var(--cdfb-night);
font-weight: 600;
}
.cdfb-hub-hero__context {
margin: 0 0 0.75rem;
padding: 0.75rem 1rem;
border-radius: 12px;
background: #efe8fb;
color: var(--cdfb-night);
font-weight: 600;
}
.cdfb-hub-cta {
margin: 0 0 1.25rem;
}
.cdfb-hub-cta__title {
margin: 0 0 0.4rem;
font-size: 1.35rem;
color: var(--cdfb-night);
}
.cdfb-hub-cta__lead {
margin: 0 0 1rem;
color: var(--cdfb-muted);
}
.cdfb-hub-cta__grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0.85rem;
}
.cdfb-hub-cta__card,
.cdfb-hub-retest,
.cdfb-hub-thanks,
.cdfb-hub-podium,
.cdfb-hub-badges,
.cdfb-mr__contrib.cdfb-hub-contrib {
background: var(--cdfb-card);
border: 1px solid var(--cdfb-border);
border-radius: 16px;
padding: 1.1rem 1.15rem;
box-shadow: 0 10px 28px rgba(11, 31, 77, 0.06);
}
.cdfb-hub-cta__name {
margin: 0 0 0.35rem;
font-size: 1.05rem;
}
.cdfb-hub-cta__text {
margin: 0 0 0.85rem;
color: var(--cdfb-muted);
font-size: 0.95rem;
}
.cdfb-hub-cta__btn,
.cdfb-hub-retest__btn,
.cdfb-hub-thanks__btn {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 44px;
padding: 0.55rem 1.1rem;
border-radius: 999px;
background: var(--cdfb-violet);
color: #fff;
text-decoration: none;
font-weight: 700;
border: 2px solid transparent;
}
.cdfb-hub-cta__btn:hover,
.cdfb-hub-retest__btn:hover,
.cdfb-hub-thanks__btn:hover {
filter: brightness(1.05);
}
.cdfb-hub-cta__btn:focus-visible,
.cdfb-hub-retest__btn:focus-visible,
.cdfb-hub-thanks__btn:focus-visible,
.cdfb-hub-footer:focus-visible {
outline: 3px solid var(--cdfb-violet);
outline-offset: 3px;
}
.cdfb-hub-cta__btn--ghost {
background: #fff;
color: var(--cdfb-night);
border-color: rgba(106, 63, 181, 0.35);
}
.cdfb-hub-retest {
margin: 0 0 1.25rem;
border-color: rgba(106, 63, 181, 0.35);
background: linear-gradient(180deg, #f4eefc 0%, #fff 70%);
}
.cdfb-hub-retest__title,
.cdfb-hub-thanks__title,
.cdfb-hub-podium__title,
.cdfb-hub-badges__title,
.cdfb-hub-welcome__title {
margin: 0 0 0.4rem;
font-size: 1.25rem;
color: var(--cdfb-night);
}
.cdfb-hub-retest__text,
.cdfb-hub-thanks__text,
.cdfb-hub-welcome__text {
margin: 0 0 0.85rem;
color: var(--cdfb-muted);
}
.cdfb-hub-contrib__status {
margin: 0.65rem 0 0.5rem;
font-weight: 700;
color: var(--cdfb-violet);
}
.cdfb-hub-contrib__grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0.75rem;
margin: 1rem 0 0.35rem;
}
@media (min-width: 900px) {
.cdfb-hub-contrib__grid {
grid-template-columns: repeat(4, 1fr);
}
}
.cdfb-hub-stat {
padding: 0.85rem 0.9rem;
border-radius: 14px;
background: var(--cdfb-ivory);
border: 1px solid var(--cdfb-border);
min-width: 0;
}
.cdfb-hub-stat__value {
display: block;
font-size: clamp(1.45rem, 4vw, 1.9rem);
font-weight: 800;
line-height: 1.1;
color: var(--cdfb-prune);
}
.cdfb-hub-stat--rank .cdfb-hub-stat__value {
font-size: clamp(1.15rem, 3.4vw, 1.45rem);
letter-spacing: 0.04em;
}
.cdfb-hub-stat__label {
display: block;
margin-top: 0.3rem;
font-size: 0.82rem;
color: var(--cdfb-muted);
}
.cdfb-hub-contrib__pref {
margin: 0.75rem 0 0;
font-size: 0.86rem;
color: var(--cdfb-muted);
display: flex;
flex-wrap: wrap;
gap: 0.35rem 0.6rem;
align-items: center;
}
.cdfb-hub-contrib__pref-btn {
border: 0;
background: none;
color: var(--cdfb-violet);
font: inherit;
font-weight: 700;
cursor: pointer;
min-height: 44px;
padding: 0;
text-decoration: underline;
}
.cdfb-hub-contrib__pref-btn:focus-visible {
outline: 3px solid var(--cdfb-violet);
outline-offset: 3px;
}
.cdfb-hub-contrib__pref-panel {
margin: 0.35rem 0 0;
font-size: 0.88rem;
}
.cdfb-hub-contrib__pref-label {
display: flex;
gap: 0.45rem;
align-items: flex-start;
}
.cdfb-hub-elans {
margin: 0.75rem 0 0;
padding: 0.65rem 0.85rem;
border-radius: 12px;
background: #f7f2fc;
border: 1px solid rgba(106, 63, 181, 0.16);
display: flex;
gap: 0.65rem;
align-items: flex-start;
font-size: 0.92rem;
color: var(--cdfb-night);
}
.cdfb-hub-elans__icon {
width: 1.6rem;
height: 1.6rem;
flex: 0 0 1.6rem;
color: var(--cdfb-violet);
}
.cdfb-hub-elans__icon svg {
width: 1.6rem;
height: 1.6rem;
display: block;
}
.cdfb-hub-elans__copy {
display: flex;
flex-direction: column;
gap: 0.15rem;
}
.cdfb-hub-elans__sub,
.cdfb-hub-badge__attach {
margin: 0;
font-size: 0.8rem;
color: var(--cdfb-muted);
}
.cdfb-hub-elans__wait {
margin: 0.2rem 0 0;
color: var(--cdfb-muted);
font-size: 0.95rem;
}
.cdfb-hub-badges {
margin: 0 0 1.25rem;
}
.cdfb-hub-badges--earned .cdfb-hub-badge.is-earned {
background: linear-gradient(180deg, #f4ecfb 0%, #fff 72%);
border-color: rgba(92, 45, 107, 0.28);
box-shadow: 0 10px 24px rgba(92, 45, 107, 0.08);
}
.cdfb-hub-badges--locked {
background: transparent;
border: 0;
padding: 0;
box-shadow: none;
}
.cdfb-hub-badges__more {
border-radius: 16px;
border: 1px solid var(--cdfb-border);
background: #fff;
padding: 0.7rem 1rem;
}
.cdfb-hub-badges__more summary {
cursor: pointer;
font-weight: 700;
color: var(--cdfb-night);
list-style: none;
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.75rem;
min-height: 44px;
}
.cdfb-hub-badges__more summary::after {
content: '';
width: 0.55rem;
height: 0.55rem;
border-right: 2px solid currentColor;
border-bottom: 2px solid currentColor;
transform: rotate(45deg);
flex: 0 0 auto;
}
.cdfb-hub-badges__more[open] summary::after {
transform: rotate(225deg);
margin-top: 0.35rem;
}
.cdfb-hub-badges__more summary:focus-visible {
outline: 3px solid var(--cdfb-violet);
outline-offset: 3px;
}
.cdfb-hub-badges__more summary::-webkit-details-marker {
display: none;
}
.cdfb-hub-badges__list {
list-style: none;
margin: 0;
padding: 0;
display: grid;
gap: 0.75rem;
}
.cdfb-hub-badges--earned .cdfb-hub-badges__list {
grid-template-columns: 1fr;
}
@media (min-width: 720px) {
.cdfb-hub-badges--earned .cdfb-hub-badges__list {
grid-template-columns: 1fr 1fr;
}
}
.cdfb-hub-badges__list--locked {
margin-top: 0.75rem;
grid-template-columns: 1fr 1fr;
}
.cdfb-hub-badge {
display: grid;
grid-template-columns: 3.4rem 1fr;
gap: 0.85rem;
align-items: start;
padding: 0.9rem 0.95rem;
border-radius: 16px;
border: 1px solid var(--cdfb-border);
background: var(--cdfb-card);
}
.cdfb-hub-badge.is-earned {
border-color: rgba(106, 63, 181, 0.35);
background: linear-gradient(180deg, #f7f2fc 0%, #fff 70%);
box-shadow: 0 8px 20px rgba(11, 31, 77, 0.06);
}
.cdfb-hub-badge.is-locked {
opacity: 0.72;
padding: 0.65rem 0.7rem;
grid-template-columns: 2.4rem 1fr;
}
.cdfb-hub-badge__icon {
width: 3.4rem;
height: 3.4rem;
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
background: #efe8fb;
color: var(--cdfb-violet);
}
.cdfb-hub-badge.is-locked .cdfb-hub-badge__icon {
width: 2.4rem;
height: 2.4rem;
background: #f0eef5;
color: var(--cdfb-muted);
}
.cdfb-hub-badge.is-earned .cdfb-hub-badge__icon {
background: var(--cdfb-violet);
color: #fff;
box-shadow: 0 0 0 4px rgba(106, 63, 181, 0.12);
}
.cdfb-hub-badge--voix.is-earned .cdfb-hub-badge__icon {
background: linear-gradient(160deg, #8b5fd6 0%, #5c2d6b 100%);
}
.cdfb-hub-badge--oeil.is-earned .cdfb-hub-badge__icon {
background: linear-gradient(160deg, #3d8b8a 0%, #215c5b 100%);
}
.cdfb-hub-badge--verif.is-earned .cdfb-hub-badge__icon {
background: linear-gradient(160deg, #3f7d62 0%, #215c45 100%);
}
.cdfb-hub-badge--eclaireur.is-earned .cdfb-hub-badge__icon {
background: linear-gradient(160deg, #c9a227 0%, #8a6d14 100%);
}
.cdfb-hub-badge--pilier.is-earned .cdfb-hub-badge__icon {
background: linear-gradient(160deg, #0b1f4d 0%, #3a2a6b 100%);
}
.cdfb-hub-badge__lock {
position: absolute;
right: -0.15rem;
bottom: -0.15rem;
width: 0.95rem;
height: 0.95rem;
color: var(--cdfb-muted);
}
.cdfb-hub-badge.is-locked .cdfb-hub-badge__icon {
position: relative;
}
.cdfb-hub-badge__icon svg {
width: 1.45rem;
height: 1.45rem;
}
.cdfb-hub-badge__name {
display: block;
margin: 0 0 0.15rem;
color: var(--cdfb-night);
}
.cdfb-hub-badge__state {
display: inline-block;
margin: 0 0 0.35rem;
font-size: 0.75rem;
letter-spacing: 0.04em;
text-transform: uppercase;
font-weight: 700;
color: var(--cdfb-violet);
}
.cdfb-hub-badge.is-locked .cdfb-hub-badge__state {
color: var(--cdfb-muted);
}
.cdfb-hub-badge__desc,
.cdfb-hub-badge__date {
margin: 0;
font-size: 0.9rem;
color: var(--cdfb-muted);
}
.cdfb-hub-badge__date {
margin-top: 0.3rem;
font-size: 0.8rem;
}
.cdfb-hub-podium,
.cdfb-hub-thanks {
margin: 0 0 1.25rem;
}
.cdfb-hub-thanks {
padding: 1.15rem 1.2rem;
}
.cdfb-hub-thanks--open {
text-align: left;
background: linear-gradient(180deg, #faf7f2 0%, #fff 70%);
}
.cdfb-hub-podium {
background: linear-gradient(180deg, #faf7f2 0%, #f4eefc 48%, #fff 100%);
border-color: rgba(106, 63, 181, 0.16);
}
.cdfb-hub-podium__title {
letter-spacing: 0.08em;
text-transform: uppercase;
font-size: 0.92rem;
}
.cdfb-hub-podium--solo .cdfb-hub-podium__item {
padding: 1.45rem 1.15rem 1.3rem;
border: 1px solid rgba(201, 162, 39, 0.28);
}
.cdfb-hub-podium--solo .cdfb-hub-podium__name {
font-size: 1.55rem;
}
.cdfb-hub-podium__period {
margin: 0 0 1rem;
color: var(--cdfb-muted);
text-transform: capitalize;
}
.cdfb-hub-podium__list {
list-style: none;
margin: 0;
padding: 0;
display: grid;
grid-template-columns: 1fr;
gap: 0.75rem;
}
.cdfb-hub-podium__list[data-layout="solo"] {
max-width: 26rem;
margin-inline: auto;
}
.cdfb-hub-podium__item {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 1.1rem 1rem 1.15rem;
border-radius: 18px;
background: rgba(255, 255, 255, 0.78);
min-width: 0;
}
.cdfb-hub-podium__item--1 {
background: linear-gradient(180deg, rgba(248, 241, 216, 0.9) 0%, #fff 72%);
box-shadow: 0 12px 28px rgba(201, 162, 39, 0.12);
}
.cdfb-hub-podium__medal {
width: 3.4rem;
height: 3.4rem;
border-radius: 50%;
background: var(--cdfb-violet);
color: #fff;
font-weight: 800;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 0.55rem;
box-shadow: 0 0 0 6px rgba(106, 63, 181, 0.1);
}
.cdfb-hub-podium--solo .cdfb-hub-podium__medal {
width: 4.4rem;
height: 4.4rem;
background: linear-gradient(160deg, #d4b24a 0%, #c9a227 100%);
box-shadow: 0 0 0 8px rgba(201, 162, 39, 0.16);
}
.cdfb-hub-podium__crown,
.cdfb-hub-podium__ranknum {
width: 1.7rem;
height: 1.7rem;
}
.cdfb-hub-podium--solo .cdfb-hub-podium__crown {
width: 2.2rem;
height: 2.2rem;
}
.cdfb-hub-podium__item--1 .cdfb-hub-podium__medal {
background: linear-gradient(160deg, #d4b24a 0%, #c9a227 100%);
}
.cdfb-hub-podium__item--2 .cdfb-hub-podium__medal {
background: #8a93a6;
}
.cdfb-hub-podium__item--3 .cdfb-hub-podium__medal {
background: #b08d6a;
}
.cdfb-hub-podium__avatar {
width: 76px;
height: 76px;
border-radius: 50%;
object-fit: cover;
margin-bottom: 0.45rem;
}
.cdfb-hub-podium--solo .cdfb-hub-podium__avatar {
width: 88px;
height: 88px;
}
.cdfb-hub-podium__avatar--fallback {
display: flex;
align-items: center;
justify-content: center;
background: #e4d8f7;
color: var(--cdfb-night);
font-weight: 800;
font-size: 1.4rem;
}
.cdfb-hub-podium__name {
margin: 0;
font-weight: 800;
font-size: 1.35rem;
color: var(--cdfb-night);
}
.cdfb-hub-podium__place {
margin: 0.35rem 0 0;
font-size: 0.78rem;
letter-spacing: 0.08em;
text-transform: uppercase;
font-weight: 800;
color: var(--cdfb-violet);
}
.cdfb-hub-podium__badge {
margin: 0.35rem 0 0;
font-size: 0.9rem;
color: var(--cdfb-night);
font-weight: 600;
}
.cdfb-hub-podium__thanks {
margin: 0.7rem 0 0;
font-size: 0.95rem;
color: var(--cdfb-muted);
max-width: 22rem;
}
.cdfb-hub-podium__thanks--section {
text-align: center;
margin: 0.9rem auto 0;
}
.cdfb-mr__badge--contrib {
background: #efe8fb;
color: var(--cdfb-night);
}
.cdfb-mr__badge--elans {
background: #ecfdf5;
color: #166534;
}
.cdfb-mr__badge--elans-pending {
background: #fff7ed;
color: #9a3412;
}
.cdfb-hub-member__mini {
margin: 0.35rem 0 0;
font-weight: 600;
color: var(--cdfb-violet, #6a3fb5);
}
.cdfb-hub-account__check {
display: flex;
gap: 0.5rem;
align-items: flex-start;
margin: 0.75rem 0;
}
.cdfb-hub-welcome__actions {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
@media (min-width: 720px) {
.cdfb-hub-podium__list[data-layout="duo"] {
grid-template-columns: 1fr 1fr;
}
.cdfb-hub-podium__list[data-layout="podium"] {
grid-template-columns: 1fr 1.2fr 1fr;
align-items: end;
}
.cdfb-hub-podium__list[data-layout="podium"] .cdfb-hub-podium__item--2 {
order: 0;
}
.cdfb-hub-podium__list[data-layout="podium"] .cdfb-hub-podium__item--1 {
order: 1;
margin-top: -0.85rem;
padding-bottom: 1.4rem;
}
.cdfb-hub-podium__list[data-layout="podium"] .cdfb-hub-podium__item--3 {
order: 2;
}
}
@media (max-width: 719px) {
.cdfb-hub-cta__grid {
grid-template-columns: 1fr;
}
.cdfb-hub-cta__btn,
.cdfb-hub-retest__btn {
width: 100%;
}
.cdfb-hub-podium__list[data-layout="podium"] .cdfb-hub-podium__item--1 {
order: 0;
}
.cdfb-hub-podium__list[data-layout="podium"] .cdfb-hub-podium__item--2 {
order: 1;
}
.cdfb-hub-podium__list[data-layout="podium"] .cdfb-hub-podium__item--3 {
order: 2;
}
.cdfb-hub-badges__list--locked {
grid-template-columns: 1fr;
}
}
@media (prefers-reduced-motion: reduce) {
.cdfb-hub-podium__item,
.cdfb-hub-podium__medal,
.cdfb-hub-badge {
animation: none !important;
transition: none !important;
}
.cdfb-hub-podium__item:hover {
transform: none;
}
.cdfb-hub-badges__more summary::after,
.cdfb-hub-badges__more[open] summary::after {
transition: none;
}
}
@media (prefers-reduced-motion: no-preference) {
.cdfb-hub-podium__item,
.cdfb-hub-badge.is-earned {
animation: cdfb-hub-fade 0.55s ease-out;
}
.cdfb-hub-podium__item:hover {
transform: translateY(-3px);
}
}
@keyframes cdfb-hub-fade {
from {
opacity: 0;
transform: translateY(8px);
}
to {
opacity: 1;
transform: none;
}
}
.cdfb-mr--hub,
.cdfb-hub-cta,
.cdfb-hub-podium,
.cdfb-hub-badges,
.cdfb-hub-contrib {
max-width: 100%;
overflow-x: clip;
}