@charset "UTF-8";
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

body {
  font-family: "Inter", sans-serif;
  color: #222;
  line-height: 1.3;
  background: #f8faf6;
}
body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

h1 {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
}

h2 {
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 700;
}

h3 {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
}

h4 {
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 700;
}

p {
  font-size: clamp(15px, 2.5vw, 18px);
  font-weight: 400;
}

.small {
  font-size: clamp(13px, 2vw, 15px);
}

.text-muted {
  color: #6c757d;
}

.bold {
  font-weight: 700;
}

.big {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
}

a {
  text-decoration: none;
  color: #222;
}

.mb {
  margin-bottom: 20px;
}

.triangle-icon {
  width: 1rem;
}
.triangle-icon.triangle-icon-up {
  color: #088e5a;
}
.triangle-icon.triangle-icon-down {
  color: #ea3943;
}

@keyframes flyOutRight {
  0% {
    transform: translateX(0) rotate(0);
    opacity: 1;
  }
  100% {
    transform: translateX(150%) rotate(12deg);
    opacity: 0;
  }
}
.card-fly-out {
  animation: flyOutRight 0.8s ease forwards;
  will-change: transform, opacity;
}

.card-incoming {
  animation: cardIncomingStack 400ms cubic-bezier(0.25, 0.75, 0.25, 1) both;
  will-change: transform, opacity, box-shadow;
}

@keyframes cardIncomingStack {
  0% {
    transform: translateY(12px) rotate(-1.5deg) scale(0.96);
    opacity: 0.75;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  }
  50% {
    transform: translateY(-4px) rotate(0.5deg) scale(1.01);
    opacity: 0.95;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.08);
  }
  100% {
    transform: translateY(0) rotate(0) scale(1);
    opacity: 1;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
  }
}
@keyframes flyOutUp {
  0% {
    transform: translateY(0) rotate(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-140%) rotate(-6deg);
    opacity: 0;
  }
}
.card-fly-up {
  animation: flyOutUp 0.45s ease-out forwards;
  will-change: transform, opacity;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  padding: 0.75rem 1.25rem;
  border-radius: 1.5rem;
  font-size: 0.875rem;
  color: white;
  background-color: #333;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9999;
}
.toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast--success {
  background-color: #55C601;
}
.toast--error {
  background-color: #e74c3c;
}
.toast--warning {
  background-color: #f39c12;
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  border: none;
  background-color: transparent;
  cursor: pointer;
}
.btn-icon:hover {
  background-color: rgba(255, 255, 255, 0.5);
}
.btn-icon__img {
  width: 20px;
  height: auto;
}

.kpi {
  position: relative;
  display: inline-block;
  margin-bottom: 0.5rem;
  margin-top: 4px;
}

.delta {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1;
}

.delta__icon {
  width: 0.9rem;
  height: 0.9rem;
  flex: 0 0 auto;
  fill: currentColor;
}

.delta__value {
  color: black;
}

.delta--up {
  color: #088e5a;
}

.delta--down {
  color: #ea3943;
}

.quiz-runner {
  display: none;
  padding: 16px 0;
  background: #fff;
  text-align: center;
}
.quiz-runner.is-visible {
  display: block;
}
.quiz-runner__timer {
  position: relative;
  height: 10px;
  background: #f5f5f5;
  border-radius: 5px;
  margin-top: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}
.quiz-runner__timer #quizTimerBar {
  height: 100%;
  width: 100%;
  background: #55c601;
  transition: width 1s linear;
}
.quiz-runner__timer #quizTimerText {
  position: absolute;
  top: -2rem;
  right: 0;
  font-weight: 500;
}
.quiz-runner__question h3 {
  margin-bottom: 1rem;
}
.quiz-runner__answers {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.quiz-runner__answers .quiz-answer {
  background: #f5f5f5;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  padding: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}
.quiz-runner__answers .quiz-answer:hover {
  background: #e0e0e0;
  border-color: #55c601;
}
.quiz-runner__answers .quiz-answer.is-correct {
  background: #55c601;
  color: white;
}
.quiz-runner__answers .quiz-answer.is-wrong {
  background: #ea3943;
  color: white;
}
.quiz-runner__answers .quiz-answer:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

.filter-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  margin-bottom: 1rem;
}
.filter-tabs::-webkit-scrollbar {
  display: none;
}
.filter-tabs__tab {
  flex: 0 0 auto;
  scroll-snap-align: start;
  font-family: "Inter", sans-serif;
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 500;
  min-height: 44px;
  padding: 0.6rem 1rem;
  border-radius: 4px;
  border: none;
  background: #dafacd;
  white-space: nowrap;
  cursor: pointer;
}
.filter-tabs__tab.is-active {
  background: #55c601;
  color: white;
}
.filter-tabs__tab:hover:not(.is-active) {
  background: #d0ffae;
}

.polls {
  display: grid;
  gap: 8px;
}

.poll {
  overflow: hidden;
}
.poll__choices {
  display: flex;
  flex-direction: column;
}
.poll__choices--mb {
  margin-bottom: 8px;
}
.poll__choice {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background: #f5f5f5;
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-weight: bold;
  cursor: pointer;
  overflow: hidden;
}
.poll__choice:hover {
  border-color: #55c601;
}
.poll__choice.voted {
  cursor: default;
}
.poll__choice .poll__fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: #dafacd;
  width: 0;
  transition: width 1s ease;
  z-index: 0;
}
.poll__choice .poll__label {
  position: relative;
  z-index: 1;
}
.poll__choice .poll__percent {
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.poll__choice.voted .poll__percent {
  opacity: 1;
}
.poll__head {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  text-align: left;
  gap: 10px;
  padding: 12px;
  background: #fff;
  border: 0;
  cursor: pointer;
}
.poll__head .question {
  font-family: "Inter", sans-serif;
  text-align: left;
  font-weight: 800;
  font-size: 1rem;
}
.poll__head .meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6b7a8a;
  font-size: 0.85rem;
}
.poll__head .meta .chev {
  width: 24px;
  height: 24px;
  display: inline-block;
  transition: transform 0.2s ease;
}
.poll[data-open=true] .chev {
  transform: rotate(180deg);
}
.poll__panel {
  display: none;
  padding: 12px;
  border-top: 1px dashed #eef2f6;
  background: #fff;
}
.poll[data-open=true] .poll__panel {
  display: block;
}

.friend--card {
  position: relative;
}
.friend--card__link {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
}
.friend--card__name {
  position: relative;
  z-index: 2;
  pointer-events: none;
  font-size: 14px;
  text-align: center;
  letter-spacing: -0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 100%;
}
.friend--card__name--fullname {
  margin-top: 8px;
  font-weight: 700;
}
.friend--card--avatar {
  position: relative;
}
.friend--card--avatar--img {
  position: relative;
  display: block;
  z-index: 2;
  pointer-events: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  align-self: center;
}
.friend--card--avatar--img--thumb {
  width: 48px;
  height: 48px;
}
.friend--card--avatar--initials {
  position: absolute;
  align-self: center;
  text-align: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  font-size: 28px;
  font-weight: 700;
  color: blue;
}
.friend--card--avatar--initials--thumb {
  font-size: 20px;
}
.friend--card--avatar--initials--first {
  font-size: 30px;
  top: calc(50% - 6px);
}
.friend--card .button,
.friend--card .invite-sent {
  position: relative;
  z-index: 3;
  transition: opacity 0.3s ease, transform 0.3s ease;
  min-height: 44px;
  align-content: center;
  margin-top: 12px;
}

.invite-sent {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background-color: #e6f9e0;
  color: #2e7d32;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  text-align: center;
}

.friends-page {
  max-width: 1040px;
  margin: 0 auto;
}

.friends-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #fff;
  padding: 10px 0 8px;
}
.friends-header h1 {
  margin: 0 0 8px;
  font-weight: 900;
  font-size: 1.25rem;
}

.friends-toolbar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}
.friends-toolbar input[type=search] {
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  font: inherit;
  min-width: 0;
  outline: none;
}

/* Grid responsive — anti-overflow */
.friends-grid {
  display: grid;
  gap: 10px;
  margin: 12px 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 560px) {
  .friends-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 920px) {
  .friends-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Carte ami */
.friend-card-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px;
  align-items: left;
  padding: 10px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  min-width: 0;
  /* pour ellipsis interne */
  cursor: pointer;
}
.friend-card-grid:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}
.friend-card-grid__avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
  background: #f1f5f9;
  flex-shrink: 0;
}
.friend-card-grid__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.friend-card-grid__main {
  min-width: 0;
}
.friend-card-grid__name {
  white-space: normal;
  overflow: visible;
  text-overflow: initial;
  line-height: 1.2;
  max-height: 2.4em;
  /* coupe après 2 lignes */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.friends-footer {
  display: flex;
  justify-content: center;
  padding: 8px 0 16px;
}

/* Garde-fous */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.add-friends-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 12px 12px calc(84px + env(safe-area-inset-bottom));
  /* place pour la barre fixe */
}

.searchbar input[type=search] {
  width: 100%;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font: inherit;
  outline: none;
  background: #fff;
}

/* Résultats */
.af-results {
  display: grid;
  gap: 10px;
  margin: 12px 0;
}

.af-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  background-color: white;
}

.af-item__avatar {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  overflow: hidden;
  background: #f1f5f9;
  flex-shrink: 0;
}
.af-item__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.af-item__main {
  min-width: 0;
}

.af-item__name {
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.af-item__action .btn-add {
  border: 1px solid #e5e7eb;
  background: #fff;
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
}

.af-item__action .btn-add[aria-pressed=true] {
  background: #ecfdf5;
  border-color: #bbf7d0;
  color: #065f46;
}

/* Barre d’invitation fixe */
.af-invitebar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  background: #fff;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
}

.af-invitebar__inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.af-invitebar .hint {
  font-size: 0.95rem;
}

/* Modal */
.af-modal[aria-hidden=true] {
  display: none;
}

.af-modal {
  position: fixed;
  inset: 0;
  z-index: 20;
}

.af-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.af-modal__content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, 100% - 24px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.af-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
}
.af-modal__head h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 900;
}

.af-modal__close {
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
  padding: 6px;
}

.af-modal__body {
  padding: 14px;
}

.tiny {
  font-size: 0.85rem;
}

.invite-url {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin: 10px 0 12px;
}
.invite-url input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font: inherit;
}

/* Skeletons */
.skel {
  position: relative;
  overflow: hidden;
  background: #eef2f6;
  border-radius: 10px;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
.skel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 100%);
  animation: shimmer 1.2s infinite;
}

/* Toast */
.af-toast {
  position: fixed;
  left: 50%;
  bottom: calc(96px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  background: #10151f;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.af-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  justify-content: center;
  align-items: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.modal.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(21, 48, 0, 0.5);
  z-index: 1;
}
.modal__content {
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  width: 90%;
  max-width: 400px;
  animation: slideUp 0.6s ease-out;
  z-index: 1;
}
.modal__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 2;
  max-height: 90vh;
  overflow: auto;
  width: 100%;
}
.modal__body--centered {
  margin: auto;
  max-width: 400px;
  border-radius: 1rem;
  padding: 2rem;
}
.modal__title {
  font-size: 1.6rem;
  text-align: center;
}
.modal__text {
  font-size: 1rem;
  text-align: center;
  margin-bottom: 1rem;
}
.modal__close {
  position: absolute;
  top: 4px;
  right: 4px;
}

@keyframes slideUp {
  from {
    transform: translateY(60px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.popup-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(21, 48, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.popup-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.popup-overlay .popup {
  background: white;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  width: 100%;
  max-width: 500px;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.6s ease;
}
.popup-overlay .popup__title {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin: 2rem 0 1rem;
}
.popup-overlay .popup__icon {
  width: 50px;
  height: 50px;
  margin-right: 16px;
}
.popup-overlay.is-visible .popup {
  transform: translateY(0);
}

.predict-popup__teams {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-around;
}
.predict-popup__teams .team {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.predict-popup__teams .team .jersey {
  height: 60px;
  width: auto;
}
.predict-popup__teams .team .score-input {
  width: 48px;
  height: 48px;
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 700;
  text-align: center;
  border-radius: 8px;
  border: 1px solid #ccc;
  background: #fff;
  appearance: none;
}
.predict-popup__teams .date {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: clamp(13px, 2vw, 15px);
}

.predict-confirmation {
  text-align: center;
  margin-top: 2rem;
  background-color: white;
}
.predict-confirmation h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}
.predict-confirmation p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
}
.predict-confirmation .predict-confirmation__icon {
  width: 45px;
  height: 45px;
  margin: 0 auto 1.5rem;
  display: block;
}
.predict-confirmation .button {
  margin-top: 1rem;
}

.quick-picks {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  width: 80%;
}

.quick-picks-bonus {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 10px;
  width: 80%;
  margin-top: 12px;
}

.quick-pick {
  flex: 1;
  min-height: 44px;
  display: grid;
  place-items: center;
  row-gap: 2px;
  padding: 8px 10px;
  border-radius: 4px;
  background: #f8faf6;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.12s ease, box-shadow 0.18s ease;
}
.quick-pick--white {
  background-color: white;
}
.quick-pick .qp-label {
  opacity: 0.7;
}
.quick-pick .qp-score {
  font-size: 1rem;
  font-weight: 700;
}
.quick-pick .qp-score .sep {
  opacity: 0.6;
  margin: 0 2px;
}
.quick-pick:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}
.quick-pick:active {
  transform: scale(0.98);
}
.quick-pick:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.25);
}

.socerr-ai-prediction {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1rem;
  border-radius: 8px;
  padding: 1rem;
}
.socerr-ai-prediction--dark-background {
  background: #f8faf6;
}
.socerr-ai-prediction--white-background {
  background: white;
}
.socerr-ai-prediction .socerr-ai-avatar {
  width: 40px;
  height: 40px;
}
.socerr-ai-prediction__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 360px) {
  .quick-picks {
    flex-wrap: wrap;
  }
  .quick-pick {
    flex: 1 1 calc(50% - 8px);
  }
}
.button {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  padding: 0.625rem 1.25rem;
  font-weight: 700;
  min-height: 44px;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
.button--primary {
  background-color: #55c601;
  color: white;
  border: 1px solid transparent;
}
.button--primary:hover {
  background-color: #3f9301;
}
.button--primary:active {
  transform: scale(0.98);
}
.button--secondary {
  background-color: white;
  color: #55c601;
  border: 1px solid #55c601;
}
.button--secondary:hover {
  background-color: #dfe8d5;
}
.button--secondary:active {
  transform: scale(0.98);
}
.button--large {
  width: 100%;
}

.menu-slide {
  position: fixed;
  top: 50px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.menu-slide.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.menu-slide.is-visible .menu-slide__content {
  transform: translateY(0);
  opacity: 1;
}
.menu-slide__content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #55c601;
  border-radius: 0 0 14px 14px;
  padding: 2rem 1.5rem;
}
.menu-slide__profile {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  gap: 1rem;
  margin: 1.5rem 0;
}
.menu-slide__profile .menu-slide__username {
  font-weight: 500;
}
.menu-slide__profile .menu-slide__score {
  color: #666;
  font-size: 0.9rem;
}
.menu-slide__profile .menu-slide__user {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
}
.menu-slide__profile .menu-slide__user img {
  width: 75px;
  height: 75px;
  border-radius: 50%;
}
.menu-slide__profile .menu-slide__icon img {
  width: 24px;
  height: 24px;
}
.menu-slide__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.menu-slide__links li a {
  display: flex;
  gap: 4px;
  padding: 10px 0;
  align-items: center;
  color: #222;
  font-size: clamp(18px, 3vw, 24px);
  text-decoration: none;
  font-weight: 500;
}
.menu-slide__close {
  position: absolute;
  top: 4px;
  right: 4px;
}
.menu-slide__cap-dashboard {
  display: flex;
  background-color: #f8faf6;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 16px;
}
.menu-slide__cap-dashboard-icon {
  width: 40px;
  margin-right: 20px;
}
.menu-slide__cap-dashboard-items {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}
.menu-slide__cap-dashboard-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
}
.menu-slide__cap-dashboard-label {
  color: #222;
  font-size: clamp(13px, 2vw, 15px);
}
.menu-slide__cap-dashboard-value {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
}
.menu-slide__cap-dashboard-value-point {
  color: #4793ff;
}
.menu-slide__cap-dashboard-value-rank {
  color: #222;
}
.menu-slide__cap-buttons {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.menu-slide .menu-slide__badge {
  display: inline-block;
  min-width: 1.25rem;
  /* largeur mini */
  padding: 0 0.375rem;
  /* padding horizontal */
  /* espace avec le texte */
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.25rem;
  color: #fff;
  background-color: #e53935;
  /* rouge */
  border-radius: 9999px;
  /* rond */
  text-align: center;
  vertical-align: middle;
}

.search-field {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.search-field svg {
  position: absolute;
  right: 10px;
  width: 25px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

input {
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font: inherit;
  outline: none;
  background: #fff;
  width: 100%;
}

.form-disclaimer {
  font-size: 0.75rem;
  text-align: center;
  color: #666;
  margin-top: 1rem;
}
.form-disclaimer a {
  color: inherit;
  text-decoration: underline;
  font-weight: 500;
}

.podium {
  margin-bottom: 8px;
  /* 🔻 Mobile: garder 3 colonnes sur une seule rangée (compact) */
}
.podium .podium__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  align-items: end;
}
.podium .podium__item {
  padding: 14px;
  text-align: center;
  position: relative;
}
.podium .podium__item--first {
  order: 2;
  transform: translateY(-6px);
}
.podium .podium__item--first .podium__avatar {
  width: 75px;
}
.podium .podium__item--second {
  order: 1;
}
.podium .podium__item--second .podium__avatar {
  width: 60px;
}
.podium .podium__item--third {
  order: 3;
}
.podium .podium__item--third .podium__avatar {
  width: 60px;
}
.podium .podium__medal {
  position: absolute;
  width: 25px;
  height: 25px;
  left: 50%;
  transform: translateX(-50%);
  background-repeat: no-repeat;
  background-size: cover;
}
.podium .podium__medal--first {
  background-image: url(/assets/img/ui/1.svg);
  bottom: -10px;
}
.podium .podium__medal--second {
  background-image: url(/assets/img/ui/2.svg);
  bottom: 0;
}
.podium .podium__medal--third {
  background-image: url(/assets/img/ui/3.svg);
  bottom: 0;
}
.podium .podium__avatarWrap {
  position: relative;
}
.podium .podium__avatar {
  height: auto;
  border-radius: 50%;
  object-fit: cover;
}
.podium .podium__name {
  font-weight: 700;
  max-width: 180px;
  margin: 0 auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.podium .podium__points {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 640px) {
  .podium {
    padding: 12px;
  }
  .podium .podium__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .podium .podium__item {
    padding: 10px;
  }
  .podium .podium__item--first {
    transform: translateY(-4px);
  }
  .podium .podium__avatarWrap {
    width: 75px;
    height: 75px;
    margin: 8px auto 16px;
  }
  .podium .podium__name {
    max-width: 120px;
    font-size: 14px;
  }
  .podium .podium__points {
    font-size: 13px;
    font-weight: 400;
  }
}

.card {
  position: relative;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  padding: 1rem;
}
.card__info {
  position: absolute;
  top: 2px;
  right: 2px;
}
.card__row__start {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}
.card__row__between {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.card__col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.card__icon {
  width: 50px;
  height: auto;
  margin-right: 16px;
}
.card__icon svg {
  width: 50px;
}
.card__icon--small {
  width: 30px;
}
.card__icon--small svg {
  width: 30px;
}
.card--gap {
  gap: 8px;
}
.card__body button {
  margin-top: 12px;
}
.card__body h4 {
  margin-bottom: 12px;
}
.card--nopadding {
  padding: unset;
}
.card--shadow {
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.09), 0 20px 40px rgba(0, 0, 0, 0.07);
}
.card--quiz {
  background-color: #ffe469;
  color: #222;
}
.card--pronostic {
  background-color: #d5e7f6;
  color: #222;
}
.card--sticker {
  background-color: #a17dfe;
  color: white;
}
.card--mb {
  margin-bottom: 8px;
}

.lb-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: 1.5rem 0 1rem;
}

.lb-title {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.toggle__label {
  font-size: 14px;
  color: #222;
}

.switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 46px;
  height: 26px;
  background: #e5e7eb;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.switch[aria-checked=true] {
  background: #55c601;
}
.switch[aria-checked=true] .switch__thumb {
  transform: translateX(20px);
}
.switch:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.3);
}

.switch__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}

.table-wrap {
  overflow: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
}

thead th {
  position: sticky;
  top: 0;
  background: var(--card);
  text-align: left;
  font-weight: 600;
  color: #111;
  border-bottom: 1px solid var(--border);
  padding: 12px;
  z-index: 2;
}

tbody td {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

tbody tr:nth-child(even) {
  background: var(--row);
}

.col-rank {
  width: 44px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.player {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.name {
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.badge {
  font-size: 12px;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: 6px;
}

.points {
  font-size: 13px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}

tr.me {
  background: #dafacd;
  position: sticky;
  bottom: 0;
  z-index: 1;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.08);
}

.lb-actions {
  display: flex;
  justify-content: center;
  padding: 12px;
}

.btn {
  font: 600 14px/1 Inter, system-ui, sans-serif;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
}
.btn:hover {
  background: #f9fafb;
}

@media (max-width: 600px) {
  .avatar {
    width: 48px;
    height: 48px;
  }
  thead th,
  tbody td {
    padding: 10px;
  }
  .lb-header {
    flex-wrap: wrap;
  }
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.container--no-padding-right {
  padding-right: 0;
}

.section {
  padding: 16px 0;
}
.section--first {
  margin-top: 50px;
}
.section--last {
  margin-bottom: 60px;
}
.section--highlight {
  position: relative;
  background-color: #55c601;
  color: #fff;
}
.section--highlight__title {
  margin: 2rem 0;
  justify-self: center;
}
.section--subhighlight {
  padding-top: 100px;
  margin-top: -85px;
  position: relative;
  z-index: 2;
  background: #f8faf6;
  border-radius: 18px 18px 0 0;
}
.section--round {
  position: relative;
  margin-top: -15px;
  padding-top: 1.5rem;
  background: #f8faf6;
  border-radius: 18px 18px 0 0;
  z-index: 2;
}
.section__title {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 12px;
}
.section__title--space-between {
  justify-content: space-between;
}
.section__title--padding-right {
  padding-right: 16px;
}

.header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  height: 50px;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  padding: 0.8rem 1rem;
  z-index: 1000;
}
.header__item {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 50px;
  cursor: pointer;
}
.header__item--right {
  margin-left: auto;
}
.header__item .header__icon {
  height: 30px;
  width: auto;
  display: block;
}
.header__item .header__count {
  font-weight: 700;
  font-size: clamp(20px, 4vw, 28px);
}
.header__item--menu {
  position: relative;
}
.header__item--trophy .header__count {
  color: #eda800;
}
.header__item--sticker .header__count {
  color: #a17dfe;
}
.header__item--cap .header__count {
  color: #4793ff;
}
.header__logo {
  margin: auto;
}
.header__logo img {
  width: 150px;
}
.header__logo svg {
  width: 150px;
}

.notif-dot {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 16px;
  height: 16px;
  background-image: url(/assets/img/ui/dot.svg);
  display: none;
  z-index: 10;
}

.header-profile {
  background-color: #55c601;
  height: 100px;
  padding: 0.8rem 1rem;
  display: flex;
}

.header-match {
  background-color: #55c601;
  height: 100px;
  padding: 0.8rem 1rem;
}
.header-match__icons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.header-match__match {
  display: flex;
  flex-direction: column;
  color: white;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.app-footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: white;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.06);
  z-index: 999;
}
.app-footer__item {
  flex: 1;
  text-align: center;
  color: #555;
  text-decoration: none;
  position: relative;
}
.app-footer__item .app-footer__icon-wrapper {
  width: 40px;
  height: 30px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.app-footer__item .app-footer__icon-wrapper svg {
  height: 25px;
}
.app-footer__item .app-footer__icon {
  width: auto;
  height: 24px;
  transition: transform 0.3s ease;
}
.app-footer__item .app-footer__label {
  font-size: 12px;
  margin-top: 2px;
  display: block;
  font-weight: 500;
}
.app-footer__item.active .app-footer__label {
  font-weight: 500;
}

.dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  position: relative;
  z-index: 3;
}
.dashboard__card-body {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.dashboard__card-metric {
  text-align: left;
}
.dashboard__card__label {
  font-size: clamp(13px, 2vw, 15px);
}
.dashboard__card__label--black {
  color: #48463d;
}
.dashboard__card-value {
  font-size: clamp(24px, 4vw, 28px);
  font-weight: 700;
}
.dashboard__card-value--black {
  color: #48463d;
}

.jersey {
  width: 40px;
  height: auto;
}

.profile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: -70px;
}
.profile__avatar {
  width: 100px;
  height: auto;
}
.profile__avatar img {
  width: 100%;
}
.profile__info {
  text-align: center;
}
.profile__info-bio {
  font-weight: 500;
  padding-top: 0.5rem;
}

.profile-friends {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.profile-friends__item {
  display: flex;
  flex: 1;
  gap: 5px;
}
.profile-friends__item-right {
  justify-content: flex-end;
}

.palmares {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.palmares__icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
}
.palmares__icon svg {
  width: 30px;
  height: auto;
}
.palmares__title {
  font-size: 1rem;
}
.palmares__number {
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 700;
}

.profile-settings {
  position: absolute;
  top: 10px;
  right: 10px;
}

.trophies {
  padding: 1rem;
}
.trophies__grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
@media (min-width: 768px) {
  .trophies__grid {
    gap: 16px;
  }
}

.trophy-card {
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  aspect-ratio: 3/4;
  border-radius: 8px;
  outline: none;
  perspective: 1000px;
}
.trophy-card:focus-visible {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.trophy-card--locked .trophy-card__front {
  opacity: 0.55;
}
.trophy-card--locked .trophy-card__media img {
  filter: grayscale(100%) opacity(0.75) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
}
.trophy-card.is-flipped .trophy-card__inner {
  transform: rotateY(180deg);
}

.trophy-card__inner {
  position: relative;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.3s ease;
}

.trophy-card__face {
  position: absolute;
  inset: 0;
  padding: 0.8rem;
  border-radius: 8px;
  background: white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  backface-visibility: hidden;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  justify-items: center;
  text-align: center;
  transition: box-shadow 0.15s ease;
}
.trophy-card__face:hover, .trophy-card__face:focus-within {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.trophy-card__front .trophy-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 1/1;
  margin-bottom: 0.5rem;
}
.trophy-card__front .trophy-card__media img {
  height: auto;
  object-fit: contain;
  display: block;
}
.trophy-card__front .trophy-card__title {
  margin: 0 0 0.25rem;
  font-weight: 700;
  font-size: clamp(0.8rem, 2.8vw, 1rem);
  color: #111;
}
.trophy-card__front .trophy-card__desc {
  font-size: clamp(0.72rem, 2.4vw, 0.875rem);
  line-height: 1.35;
  color: #6b7280;
}

.trophy-card__back {
  transform: rotateY(180deg);
  padding: 1rem;
  background-color: #55c601;
}
.trophy-card__back .trophy-card__back-text {
  display: flex;
  flex-direction: column;
  font-size: clamp(0.72rem, 2.4vw, 0.875rem);
  line-height: 1.3;
  color: white;
}
.trophy-card__back .trophy-card__back-text--title {
  font-weight: 700;
  padding-top: 5px;
}

@media (min-width: 768px) {
  .trophy-card__face {
    justify-items: start;
    text-align: left;
  }
}
@media (prefers-reduced-motion: reduce) {
  .trophy-card__inner {
    transition: none;
  }
  .trophy-card__face {
    transition: none;
  }
}
.contest {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contest h1 {
  text-align: center;
}
.contest--jerseys {
  display: flex;
  justify-content: space-around;
}
.contest--jerseys img {
  width: 65px;
}
.contest__center {
  align-items: center;
  text-align: center;
}
.contest--icon {
  width: 45px;
}

.fan-btn {
  display: flex;
  gap: 5px;
  background-color: white;
  padding: 4px 8px;
  border-radius: 12px;
  margin-top: 8px;
}

.signup {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.signup__container {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.signup__title {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.signup__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.signup__form input {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
  background: #f9f9f9;
}
.signup__form .button {
  margin-top: 1rem;
}
.signup__divider {
  text-align: center;
  margin: 2rem 0;
  position: relative;
}
.signup__divider span {
  position: relative;
  background: #f8faf6;
  padding: 0 1rem;
  color: #999;
  font-size: 0.9rem;
  z-index: 1;
}
.signup__divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: #ddd;
  z-index: 0;
}
.signup__social {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.signup__social img {
  width: 20px;
  height: 20px;
}
.signup__social:hover {
  background: #efefef;
}
.signup__login-link {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
}
.signup__login-link a {
  color: #55c601;
  font-weight: bold;
}

:root {
  --ball-size: 60px;
  /* diamètre du ballon */
  --ground-gap: 50px;
  /* distance au “sol” */
  --move-speed: 8s;
  /* vitesse de déplacement (plus petit = plus rapide) */
  --spin-speed: 1.4s;
  /* vitesse de rotation du ballon */
}

.roll-stage {
  position: relative;
  width: 100vw;
  /* plein écran horizontal */
  height: calc(var(--ball-size) + 2 * var(--ground-gap));
  overflow: hidden;
}

.roll-track {
  position: absolute;
  bottom: var(--ground-gap);
  /* on démarre juste hors champ à gauche */
  left: calc(-1 * var(--ball-size));
  width: var(--ball-size);
  height: var(--ball-size);
  will-change: transform;
  animation: move var(--move-speed) linear infinite;
}

.roll-ball {
  width: 100%;
  height: 100%;
  display: block;
  transform-origin: 50% 50%;
  will-change: transform;
  /* rotation continue (réaliste visuellement, sans synchro math exacte) */
  animation: spin var(--spin-speed) linear infinite;
}

.loader--container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  gap: 16px;
}
.loader--container h2 {
  color: #222;
}

/* déplacement horizontal (gauche -> droite -> repart) */
@keyframes move {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(100vw + var(--ball-size) * 2));
  }
}
/* rotation du ballon */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
  /* sens horaire de la roue */
}
/* Fade-in générique pour les vues */
.view-fade-in {
  opacity: 0;
  animation: viewFade 0.6s ease-out forwards;
}

@keyframes viewFade {
  to {
    opacity: 1;
  }
}
/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
  .roll-track,
  .roll-ball {
    animation: none !important;
  }
}
.welcome {
  background: #46C100;
  min-height: 100dvh;
  color: white;
  text-align: center;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.welcome__lang {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: bold;
  font-size: 0.875rem;
}
.welcome__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.welcome__logo svg {
  width: 250px;
}
.welcome__icon img {
  width: 125px;
  margin: 0 auto;
}
.welcome .welcome-swiper {
  margin: 0 2rem;
}
.welcome .welcome-swiper h2 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.welcome .welcome-swiper p {
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 280px;
  margin: 0 auto;
}
.welcome .welcome-swiper .swiper-pagination {
  position: relative;
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.welcome .welcome-swiper .swiper-pagination .swiper-pagination-bullet {
  background: white;
  opacity: 0.4;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transition: opacity 0.3s;
}
.welcome .welcome-swiper .swiper-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}
.welcome .welcome-swiper .swiper-pagination-bullet {
  background: white;
  opacity: 0.5;
}
.welcome .welcome-swiper .swiper-pagination-bullet-active {
  opacity: 1;
}
.welcome__buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2rem;
}
.welcome__buttons .button--white {
  background: white;
  color: #46C100;
  font-weight: bold;
}
.welcome__buttons .button--outline-white {
  background: transparent;
  color: white;
  border: 2px solid white;
  font-weight: bold;
}

.swiper-wrapper {
  padding-bottom: 4px;
}

.link {
  color: #55c601;
  position: relative;
  text-decoration: none;
  cursor: pointer;
  font-weight: 700;
}
.link::before {
  content: "";
  position: absolute;
  top: -12px;
  bottom: -12px;
  left: -8px;
  right: -8px;
}
.link:hover {
  color: #55c601;
  background-size: 100% 1px;
}

.view-login {
  max-width: 400px;
  margin: 5rem auto;
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 1rem;
}

.socerr-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: transparent;
  animation: fadeIn 0.3s ease-in-out;
}
.socerr-loading .socerr-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top-color: #55C601;
  border-radius: 50%;
  animation: spin 1s cubic-bezier(0.55, 0.2, 0.3, 0.8) infinite;
  margin-bottom: 12px;
}
@media (prefers-color-scheme: dark) {
  .socerr-loading .socerr-spinner {
    border: 4px solid rgba(255, 255, 255, 0.15);
    border-top-color: #55C601;
  }
}
.socerr-loading p {
  font-size: 15px;
  font-weight: 500;
  color: #333;
  letter-spacing: 0.5px;
}
@media (prefers-color-scheme: dark) {
  .socerr-loading p {
    color: #f0f0f0;
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.05);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.prono-stats-card {
  --bg: #0f141a;
  --card: #fff;
  --muted: #93a4b5;
  --text: #e9f0f7;
  --ok: #4cc1ff;
  --draw: #CCCCCC;
  --ko: #FF0000;
  background: white;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  max-width: 640px;
}
.prono-stats-card .row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.prono-stats-card .row.is-winner .label {
  font-weight: 800;
}
.prono-stats-card .row.is-winner .label::after {
  content: "🔥";
  margin-left: 8px;
}
.prono-stats-card .label {
  font-weight: 700;
  font-size: 0.95rem;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prono-stats-card .percent {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  font-weight: 700;
}
.prono-stats-card .bar {
  grid-column: 1/-1;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}
.prono-stats-card .bar__fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  transition: width 0.5s ease;
}
.prono-stats-card .bar--teamA .bar__fill {
  background: var(--ok);
}
.prono-stats-card .bar--draw .bar__fill {
  background: var(--draw);
}
.prono-stats-card .bar--teamB .bar__fill {
  background: var(--ko);
}
.prono-stats-card .participants {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.prono-stats-card .bar__fill {
  width: 0%;
  /* point de départ */
  transition: width 0.8s ease;
  /* anim */
}
@media (prefers-reduced-motion: reduce) {
  .prono-stats-card .bar__fill {
    transition: none;
  }
}

.popular-pronos-card {
  --card: #121923;
  --text: #707070;
  --muted: #707070;
  --bar: #F8FAF6;
  --fill: #55C601;
  --up: #73e2a7;
  --down: #ff6b6b;
  --steady: #9ea7b3;
  background: white;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  max-width: 640px;
  /* Trend chip (facultatif) */
  /* Winner flair (🔥) */
}
.popular-pronos-card .title {
  font-weight: 800;
  margin: 0 0 10px;
  font-size: 1rem;
}
.popular-pronos-card .item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.04);
}
.popular-pronos-card .item:last-child {
  border-bottom: 0;
}
.popular-pronos-card .rank {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #55c601;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: white;
}
.popular-pronos-card .label {
  min-width: 0;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.popular-pronos-card .percent {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  color: var(--text);
}
.popular-pronos-card .bar {
  grid-column: 1/-1;
  height: 8px;
  background: var(--bar);
  border-radius: 999px;
  overflow: hidden;
}
.popular-pronos-card .bar__fill {
  width: 0%;
  height: 100%;
  background: var(--fill);
  border-radius: 999px;
  transition: width 0.8s ease;
}
.popular-pronos-card .meta {
  grid-column: 2/-1;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.85rem;
}
.popular-pronos-card .trend {
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 700;
}
.popular-pronos-card .trend--up {
  color: var(--up);
}
.popular-pronos-card .trend--down {
  color: var(--down);
}
.popular-pronos-card .trend--steady {
  color: var(--steady);
}
.popular-pronos-card .item:first-child .label::after {
  content: "🔥";
  margin-left: 8px;
}
.popular-pronos-card .footer {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}
@media (prefers-reduced-motion: reduce) {
  .popular-pronos-card .bar__fill {
    transition: none;
  }
}

@media (max-width: 520px) {
  .prono-stats-card .row {
    grid-template-columns: 1fr auto;
    /* pareil, mais garde le compact */
  }
}
:root {
  --bg-app: #0b0f14;
  --text: #0e1420;
  --muted: #6b7a8a;
  --primary: #1b69ff;
  --card: #ffffff;
  --line: #e8eef3;
  --radius: 16px;
  --shadow: 0 12px 30px rgba(0, 0, 0, .08);
}

.fan-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  /* tailles si tu veux différencier */
  /* état skeleton (pas d’img) */
}
.fan-card .avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 999px;
  overflow: hidden;
  background: #dfe9f3;
  /* l'image remplit le cercle sans déformer */
}
.fan-card .avatar img {
  display: block;
  width: 100%;
  height: 100%;
  /* override d’un éventuel img { height:auto } global */
  object-fit: cover;
  /* recadre au centre */
  object-position: center;
}
.fan-card .action .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  /* taille zone icône */
  height: 1rem;
  margin-right: 0.25rem;
}
.fan-card .action .icon svg {
  display: block;
  width: 100%;
  height: 100%;
}
.fan-card .composer .avatar {
  width: 40px;
  height: 40px;
}
.fan-card .item .avatar {
  width: 40px;
  height: 40px;
}
.fan-card .avatar.skeleton {
  background: #f1f5f9;
}
.fan-card__header {
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.fan-card__title {
  font-weight: 900;
  margin: 0;
  font-size: 1.05rem;
}
.fan-card__toolbar {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: space-between;
}
.fan-card__meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.seg {
  display: inline-flex;
  background: #f5f8fb;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}
.seg button {
  border: 0;
  background: transparent;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}
.seg button.is-active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

/* Composer */
.composer {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
}
.composer .avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  overflow: hidden;
  background: #dfe9f3;
}
.composer .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.composer textarea {
  width: 100%;
  min-height: 52px;
  max-height: 180px;
  resize: vertical;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font: inherit;
  background: #fff;
  outline: none;
}
.composer .composer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.composer .counter {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Liste */
.list {
  display: grid;
}

.item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.item:last-child {
  border-bottom: 0;
}
.item .avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #dfe9f3;
}
.item .item__head {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.item .name {
  font-weight: 800;
}
.item .time {
  color: var(--muted);
  font-size: 0.9rem;
}
.item .content {
  margin-top: 4px;
  white-space: pre-wrap;
  word-break: break-word;
}

.actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.actions .action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f8faf6;
  color: var(--text);
  border: none;
  cursor: pointer;
  font-weight: 700;
}
.actions .action--like[aria-pressed=true] {
  box-shadow: inset 0 0 0 1px rgba(73, 255, 27, 0.25);
  background: #ebf9dc;
}
.actions .action--dislike[aria-pressed=true] {
  box-shadow: inset 0 0 0 1px rgba(255, 107, 107, 0.25);
  background: rgba(255, 107, 107, 0.1);
}
.actions .count {
  font-variant-numeric: tabular-nums;
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--line);
  display: inline-block;
}

.empty {
  text-align: center;
  color: var(--muted);
  padding: 24px;
}

.footer {
  display: flex;
  justify-content: center;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: #fff;
}

/* Flash */
.flash {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: #10151f;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.flash.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* Skeletons */
.skeleton {
  position: relative;
  overflow: hidden;
  background: #f1f5f9;
}
.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-100%);
  animation: shimmer 1.2s infinite;
}

@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}
@media (max-width: 560px) {
  .composer {
    grid-template-columns: 1fr;
  }
  .composer .avatar {
    display: none;
  }
}
.friend-prono-card {
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 180px;
  max-width: 200px;
  margin: 0 auto;
}
.friend-prono-card__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}
.friend-prono-card__header .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.friend-prono-card__header .info .name {
  font-weight: 600;
  font-size: 0.9rem;
}
.friend-prono-card__header .info .time {
  font-size: 0.75rem;
  color: #888;
}
.friend-prono-card__match {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: space-evenly;
}
.friend-prono-card__match .team {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.friend-prono-card__match .team img {
  width: 36px;
  height: 36px;
}
.friend-prono-card__match .team .score {
  font-size: 1rem;
  font-weight: 700;
}
.friend-prono-card__match .vs {
  font-weight: bold;
  font-size: 1.2rem;
}
.friend-prono-card__footer {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-size: 0.8rem;
}
.friend-prono-card__footer .status {
  font-weight: 600;
}
.friend-prono-card__footer .status.win {
  color: #16a34a;
}
.friend-prono-card__footer .status.lose {
  color: #dc2626;
}
.friend-prono-card__footer .points {
  font-weight: 700;
  color: #2563eb;
}

.user-pronos {
  display: grid;
  gap: 12px;
}

.prono-card {
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  /* Badges */
  /* États */
}
.prono-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}
.prono-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.prono-card__head .date {
  color: #6b7a8a;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
  text-align: right;
}
.prono-card__match {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
}
.prono-card__match .team {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.prono-card__match .team .jersey {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex: 0 0 40px;
}
.prono-card__match .team .name {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prono-card__match .vs {
  font-weight: 900;
  color: #94a3b8;
  padding: 0 4px;
}
.prono-card__rows {
  margin-top: 6px;
}
.prono-card__rows .row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 6px 0;
  border-top: 1px dashed #eef2f6;
}
.prono-card__rows .row:first-child {
  border-top: 0;
}
.prono-card__rows .row__label {
  color: #6b7a8a;
  font-size: 0.85rem;
}
.prono-card__rows .row__value {
  font-weight: 700;
  font-size: 0.95rem;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.prono-card__rows .row__value strong {
  font-weight: 900;
}
.prono-card__rows .result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid #eef2f6;
}
.prono-card__rows .result .status {
  font-weight: 800;
}
.prono-card__rows .result .caps {
  font-weight: 900;
  color: #2563eb;
}
.prono-card .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 999px;
}
.prono-card .badge--upcoming {
  background: #eef2ff;
  color: #1e3a8a;
  border: 1px solid #c7d2fe;
}
.prono-card .badge--finished {
  background: #FFF9DB;
  border: 1px solid #FACC15;
  color: #ffe469;
}
.prono-card .badge__icon {
  width: 22px;
  height: 22px;
  display: block;
}
.prono-card.prono-card--finished.is-win {
  background: #fff;
  /* vert clair */
  border-color: #bbf7d0;
}
.prono-card.prono-card--finished.is-win .status {
  color: #16a34a;
}
.prono-card.prono-card--finished.is-lose {
  background: #fff;
  /* rouge clair */
  border-color: #fecaca;
}
.prono-card.prono-card--finished.is-lose .status {
  color: #dc2626;
}
.prono-card.prono-card--finished.is-lose .caps {
  color: #6b7280;
}

.match-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: -50px;
}
.match-info__jerseys {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  padding-bottom: 16px;
}
.match-info__jerseys img {
  height: 70px;
}
.match-info__comment {
  display: flex;
  gap: 5px;
  padding-top: 16px;
}

/* Responsive */
@media (max-width: 420px) {
  .prono-card__match .team .name {
    font-size: 0.95rem;
  }
  .prono-card__rows .row__value {
    font-size: 0.9rem;
  }
}
/* Layout global */
.teams-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 12px;
}

/* Header + toolbar sticky */
.teams-header {
  position: sticky;
  top: 0; /* adapte si tu as un header fixe */
  z-index: 5;
  background: #fff;
  padding: 10px 0 6px;
  border-bottom: 1px solid var(--border);
}
.teams-header h1 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--text);
}

.teams-toolbar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
}
.teams-toolbar input[type=search] {
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font: inherit;
  outline: none;
  background: #fff;
  min-width: 0; /* IMPORTANT pour éviter l’overflow */
}
.teams-toolbar select {
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  font: inherit;
}
.teams-toolbar .toggle-fans {
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}
.teams-toolbar .toggle-fans[aria-pressed=true] {
  background: #fff0f5;
  border-color: #ffc2d1;
}

/* Grid des équipes — FIX: minmax(0,1fr) pour empêcher le débordement */
.teams-grid {
  display: grid;
  gap: 10px;
  margin: 12px 0;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* FIX mobile */
  width: 100%;
}
@media (min-width: 560px) {
  .teams-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 920px) {
  .teams-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Cartes équipe */
.team-card {
  position: relative;
  background: #fff;
  border-radius: 8px;
  padding: 10px;
  display: grid;
  grid-template-columns: auto 1fr auto; /* flag | texte | cœur */
  gap: 10px;
  align-items: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  min-width: 0; /* FIX pour permettre l’ellipsis à l’intérieur */
}
.team-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.team-card__flag {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
  flex-shrink: 0; /* évite d'écraser l’image */
}

.team-card__main {
  min-width: 0; /* FIX overflow */
}

.team-card__name {
  font-weight: 800;
  min-width: 0; /* indispensable pour l’ellipsis en grid */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
}

.team-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.85rem;
  min-width: 0; /* au cas où le compteur soit long */
}

.badge-confed {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  font-size: 0.7rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  white-space: nowrap;
}

/* Bouton cœur + états */
.fan-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 4px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* ne rétrécit pas */
  line-height: 0;
}
.fan-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}
.fan-btn[data-active=true] svg {
  fill: #e11d48;
  color: #e11d48;
}
.fan-btn:not([data-active=true]) svg {
  fill: none;
  stroke: #9ca3af;
}

/* Sentinelle pour lazy load */
.sentinel {
  height: 1px;
}

/* États vides / utilitaires */
.empty {
  text-align: center;
  color: var(--muted);
  padding: 24px 12px;
}

/* Garde-fous globaux contre les débordements horizontaux */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/*# sourceMappingURL=style.css.map */
