/* Style visuel homogène avec EuroMillions */
.header {
  text-align: center;
  margin-bottom: 40px;
  color: #002f7d;
  width: 100%;
  margin-left: 0;
}
.logo {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: 0.5px;
  color: #002f7d;
}
.date {
  opacity: 0.85;
  color: #002f7d;
}
.numbers-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 12px;
}

.ball-loto {
  display: inline-block;
  width: 42px;
  height: 42px;
  line-height: 36px;
  text-align: center;
  margin: 3px;
  border-radius: 50%;
  background-color: #0053a0;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
}
.ball-chance {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  color: white;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.35);
  font-size: 18px;
}
.section-title {
  font-weight: 700;
  margin: 8px 0 4px;
}
.jackpot {
  background: hsl(195.21deg 100% 42.55%);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 35px;
  border: 2px solid #667eea;
  margin-left: 10%;
  margin-right: 10%;
}
.jackpot-label {
  color: white;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
}
.jackpot-annonce {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin: 4px 0;
}
.jackpot-amount {
  color: white;
  font-size: 2.5rem;
  font-weight: 800;
  margin: 4px 0;
}
.gains-table {
  margin: 14px 0;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px;
}
.gains-title {
  font-weight: 800;
  margin-bottom: 8px;
}
.gains-entete {
  display: flex;
  gap: 10px;
  border-bottom: 2px solid #eee;
  padding: 6px 0;
  font-weight: 700;
}
.entete-col {
  flex: 1;
  text-align: center;
}
.infogains {
  margin: 2%;
  border: solid 2px black;
  border-radius: 10px;
  padding: 2%;
}
.gains-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gain-row {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid #f2f2f2;
  padding: 6px 0;
}
.gain-combination,
.gain-winners,
.gain-amount {
  flex: 1;
  text-align: right;
}
.codes-section {
  display: flex;
  flex-wrap: wrap;
  margin-left: 2%;
  margin-right: 2%;
  justify-content: center;
}
.code-box {
  padding: 0.3em 0.6em;
  border: 2px solid #0053a0;
  border-radius: 1em;
  background-color: #f4f8ff;
  font-size: 0.95em;
  font-weight: 600;
  white-space: nowrap;
}
.code-label {
  background-color: #f4f8ff;
  border: solid 3px #002f7d;
  border-radius: 10px;
  font-weight: 700;
  font-size: 18px;
  width: 100%;
  text-align: center;
  margin-bottom: 12px;
}
.joker-section {
  color: #002f7d;
  font: 700 17px / 62px inter, sans-serif;
  text-align: center;
  border: solid 4px #01175e;
  border-radius: 13px;
  margin-bottom: 5%;
  margin-left: 20%;
  margin-right: 20%;
}
#gd-loto-container .joker-code {
  margin: 5px 5px 15px 5px;
  padding: 10px 15px 10px 15px;
  text-align: center;
  width: max-content;
  border: solid #01175d;
  font: 700 1.6em / 44px inter, sans-serif;
  border-radius: 10px;
  display: inline-block;
  color: #01175d;
}
.joker-label {
  font-weight: 700;
  font-size: 14px;
  color: #002f7d;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.results-section {
  margin-bottom: 35px;
}
.section-title {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
  font-weight: 600;
  text-align: center;
}
.numbers-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.lmj-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.lmj-ball {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(30, 64, 175, 0.35);
}

.next-jackpot {
  background: #01175e;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 35px;
  border: 2px solid #667eea;
  margin-left: 20%;
  margin-right: 20%;
}
.next-jackpot-title {
  font-size: 14px;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.next-jackpot-amount {
  font-size: 45px;
  font-weight: bold;
  color: #ffd13a;
}
.next-jackpot-date {
  font-size: 18px;
  color: white;
  margin-top: 8px;
}
.gains-table {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.gains-title {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 20px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}
.gains-content {
  padding: 20px;
}
.gain-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.3s ease;
  transition: background 0.3s ease;
}
.gain-row:last-child {
  border-bottom: none;
}
.gain-row:hover {
  background: #f8f9fa;
}
.gain-rank {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  flex: 1;
}
.gain-combination {
  font-size: 14px;
  color: #666;
  flex: 2;
  display: flex;
  align-items: center;
  gap: 6px;
}
.gain-winners {
  font-size: 14px;
  color: #666;
  flex: 0.8;
  text-align: right;
  margin-right: 20px;
}
.gain-amount {
  font-size: 16px;
  font-weight: bold;
  color: #667eea;
  flex: 1;
  text-align: right;
}
.gain-row.rang-1 {
  background: linear-gradient(90deg, #fff9e6, white);
}
.gain-row.rang-1 .gain-amount {
  color: #ffa500;
  font-size: 18px;
}
.ball:nth-child(1) {
  animation-delay: 0.1s;
}
.ball:nth-child(2) {
  animation-delay: 0.2s;
}
.ball:nth-child(3) {
  animation-delay: 0.3s;
}
.ball:nth-child(4) {
  animation-delay: 0.4s;
}
.ball:nth-child(5) {
  animation-delay: 0.5s;
}

.gains-entete {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 4px;
  border-bottom: 2px solid #ddd;
  margin-bottom: 4px;
  background: #f9f9f9;
}
.gains-entete .entete-col {
  text-align: center;
  flex-shrink: 0;
  min-width: 150px;
  text-align: left;
  margin-bottom: 5px;
  margin-top: -15px;
}
.gains-entete .combinaison {
  min-width: 120px;
  text-align: left;
  margin-left: 15px;
}
.gains-entete .stars-plus {
  min-width: 110px;
  text-align: right;
  margin-right: 15px;
}
.gains-entete .gains {
  min-width: 110px;
  text-align: right;
}

@media (max-width: 600px) {
  .gain-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .gain-combination,
  .gain-winners,
  .gain-amount {
    margin-top: 8px;
    text-align: right;
  }
  .gains-entete {
    flex-direction: column;
    align-items: flex-start;
  }
  .gains-entete .entete-col {
    margin-top: 8px;
    text-align: left;
  }
  .jackpot {
    margin-left: 0%;
    margin-right: 0%;
  }
}

.header {
  text-align: center;
  margin-bottom: 40px;
}
.logo {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: 0.5px;
  color: #002f7d;
}
.date {
  color: #002f7d;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}

.ball-loto {
  background: #ef4444;
} /* rouge */

.ball::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 20%;
  width: 25%;
  height: 25%;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  filter: blur(3px);
  display: none !important;
  background: none !important;
  content: none !important;
}
.ball-loto {
  background: #ef4444;
  color: #fff;
}

.gain-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 8px;
  border-bottom: 1px solid #eee;
}
.gain-combination {
  font-size: 14px;
  color: #666;
  flex: 1;
  text-align: center;
}
.infogains {
  margin: 2%;
  border: solid 2px black;
  border-radius: 10px;
  padding: 2%;
}
.gain-stars,
.gain-amount {
  flex: 0.4;
  text-align: right;
  width: 180px;
  margin: 0px 35px -4px 0px;
}
.gains-entete .entete-col {
  text-align: left !important;
  min-width: 33%;
  min-width: 130px;
  text-align: left;
  padding-bottom: 0px;
  padding-top: 14px;
  margin-left: 0px;
}
.my-million {
  color: #002f7d;
  font: 700 17px / 62px inter, sans-serif;
  text-align: center;
  border: solid 4px #01175e;
  border-radius: 13px;
  margin-bottom: 5%;
}
.my-million-code {
  margin: 5px 5px 15px 5px;
  padding: 10px 15px 10px 15px;
  text-align: center;
  width: max-content;
  border: solid #01175d;
  font: 700 1.6em / 44px inter, sans-serif;
  border-radius: 10px;
  display: inline-block;
  color: #01175d;
}
.lmj-wrap {
  font-family: system-ui, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
}
.lmj-section {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 16px;
  margin: 14px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.lmj-title {
  font-size: 1.25rem;
  margin: 0 0 10px 0;
}
.lmj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.lmj-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
}
.lmj-cta {
  margin-top: 6px;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #fff;
  text-decoration: none;
  color: var(--downtown-accent);
}
.lmj-cta:hover {
  background: #f3f4f6;
}
.lmj-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.lmj-ball {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(30, 64, 175, 0.35);
}

.lmj-note {
  font-size: 0.92rem;
  color: white;
  margin-top: 8px;
}
.lmj-next-jackpot {
  background-color: #fff8e1;
  padding: 12px 16px;
  border-left: 4px solid #f4b400;
  margin: 20px 0;
  font-size: 1.1em;
}
.lmj-cagnotte {
  margin-top: 50px;
  border: solid 2px #f4b400;
  border-radius: 99px;
  padding: 12px 16px;
  width: 300px;
}

.lmj-codes-loto {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-top: 0.5em;
}

.lmj-code {
  padding: 0.3em 0.6em;
  border: 2px solid #0053a0;
  border-radius: 1.5em;
  background-color: #f4f8ff;
  font-size: 0.95em;
  font-weight: 600;
  white-space: nowrap;
}

.lmj-joker {
  display: inline-block;
  margin-top: 0.3em;
  padding: 0.4em 0.8em;
  border: 2px dashed #e1a200;
  background-color: #fffdf2;
  color: #222;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 1.4em;
}
.lmj-ball {
  display: inline-block;
  width: 42px;
  height: 42px;
  line-height: 36px;
  text-align: center;
  margin: 3px;
  border-radius: 50%;
  background-color: #0053a0;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
}
.lmj-chance {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  color: #111;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.35);
}
/* Container général */
.lf-container {
  background: #f9f9f9;
  border: 2px solid #eee;
  padding: 20px;
  border-radius: 8px;
  font-family: "Segoe UI", sans-serif;
  margin-bottom: 30px;
}

/* Chaque match */
.lf-match {
  border-bottom: 1px dashed #ccc;
  padding: 15px 0;
}

.lf-match:last-child {
  border-bottom: none;
}

/* Equipes */
.lf-equipes {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 8px;
}

/* Cotes */
.lf-cotes {
  display: flex;
  gap: 15px;
  margin-bottom: 8px;
  font-size: 14px;
}

.lf-cote1,
.lf-coteN,
.lf-cote2 {
  background: #e0e0e0;
  padding: 4px 8px;
  border-radius: 4px;
}

/* Analyse */
.lf-analyse {
  font-style: italic;
  color: #555;
}

/*nouveau design euromillion*/
.td-page-content {
  padding-bottom: 10px;
  width: 100% !important;
}
.container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 30px;
  padding: 50px 40px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  max-width: 1000px;
  width: 100%;
  backdrop-filter: blur(10px);
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.jackpot {
  background: hsl(195.21deg 100% 42.55%);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  margin: 35pxauto;
  border: 2pxsolid#667eea;
  width: 90%;
  max-width: 500px;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.jackpot-label {
  font-size: 14px;
  color: #856404;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.jackpot-amount {
  font-size: 48px;
  font-weight: bold;
  color: #1a1a1a;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.ball-big {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  font-weight: bold;
  color: white;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: bounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.ball:nth-child(1) {
  animation-delay: 0.1s;
}
.ball:nth-child(2) {
  animation-delay: 0.2s;
}
.ball:nth-child(3) {
  animation-delay: 0.3s;
}
.ball:nth-child(4) {
  animation-delay: 0.4s;
}
.ball:nth-child(5) {
  animation-delay: 0.5s;
}

.ball::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 20%;
  width: 25%;
  height: 25%;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  filter: blur(3px);
  display: none !important;
  background: none !important;
  content: none !important;
}

.divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #ddd, transparent);
  margin: 35px 0;
}
.my-million {
  margin-left: 20%;
  margin-right: 20%;
}

@media (max-width: 768px) {
  .container {
    padding: 30px 20px;
  }

  .gain-row {
    flex-wrap: wrap;
    padding: 12px 15px;
  }
  .gain-rank {
    flex: 0 0 100%;
    margin-bottom: 8px;
  }
  .gain-combination {
    flex: 0 0 100%;
    text-align: left;
    margin-bottom: 5px;
  }
  .gain-winners {
    flex: 1;
    text-align: left;
  }
  .gain-amount {
    flex: 1;
    text-align: right;
  }
  .next-jackpot {
    margin-left: 5%;
    margin-right: 5%;
  }

  .my-million {
    margin-left: 5%;
    margin-right: 5%;
  }
}

.date-select-form {
  text-align: center;
}
#date_tirage {
  z-index: 1000;
  font-size: 1.2rem;
  padding: 10px 1px 10px 10px;
  background-color: #ffd13a;
  border: solid #002f7d;
  border-radius: 20px;
  max-width: 80%;
  margin-top: 2%;
  width: 300px;
  margin-bottom: 5%;
}
#euro-date {
  font-size: 1.2rem;
  padding: 10px 1px 10px 10px;
  background-color: #01175e;
  border: solid #002f7d;
  border-radius: 20px;
  max-width: 80%;
  margin-top: 2%;
  width: 60%;
  text-align: center;
  margin-bottom: 5%;
  margin-left: 20%;
  margin-right: 20%;
}
.results-section {
  margin-bottom: 35px;
}
.section-title {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
  font-weight: 600;
  text-align: center;
}
.numbers-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.lmj-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.lmj-ball {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(30, 64, 175, 0.35);
}

.next-jackpot {
  background: #01175e;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 35px;
  border: 2px solid #667eea;
  margin-left: 20%;
  margin-right: 20%;
}
.next-jackpot-title {
  font-size: 14px;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.next-jackpot-amount {
  font-size: 45px;
  font-weight: bold;
  color: #ffd13a;
}
.next-jackpot-date {
  font-size: 18px;
  color: white;
  margin-top: 8px;
}
.gains-table {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.gains-title {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 20px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}
.gains-content {
  padding: 20px;
}
.gain-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.3s ease;
  transition: background 0.3s ease;
}
.gain-row:last-child {
  border-bottom: none;
}
.gain-row:hover {
  background: #f8f9fa;
}
.gain-rank {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  flex: 1;
}
.gain-combination {
  font-size: 14px;
  color: #666;
  flex: 2;
  display: flex;
  align-items: center;
  gap: 6px;
}
.gain-winners {
  font-size: 14px;
  color: #666;
  flex: 0.8;
  text-align: right;
  margin-right: 20px;
}
.gain-amount {
  font-size: 16px;
  font-weight: bold;
  color: #667eea;
  flex: 1;
  text-align: right;
}
.gain-row.rang-1 {
  background: linear-gradient(90deg, #fff9e6, white);
}
.gain-row.rang-1 .gain-amount {
  color: #ffa500;
  font-size: 18px;
}
.ball:nth-child(1) {
  animation-delay: 0.1s;
}
.ball:nth-child(2) {
  animation-delay: 0.2s;
}
.ball:nth-child(3) {
  animation-delay: 0.3s;
}
.ball:nth-child(4) {
  animation-delay: 0.4s;
}
.ball:nth-child(5) {
  animation-delay: 0.5s;
}

.gains-entete {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 4px;
  border-bottom: 2px solid #ddd;
  margin-bottom: 4px;
  background: #f9f9f9;
}
.gains-entete .entete-col {
  text-align: center;
  flex-shrink: 0;
  min-width: 130px;
  text-align: left;
  margin-bottom: 5px;
  margin-top: -15px;
}
.gains-entete .combinaison {
  min-width: 120px;
  text-align: left;
  margin-left: 15px;
}
.gains-entete .stars-plus {
  min-width: 110px;
  text-align: right;
  margin-right: 15px;
}
.gains-entete .gains {
  min-width: 110px;
  text-align: right;
}

@media (max-width: 600px) {
  .gain-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .gain-combination,
  .gain-winners,
  .gain-amount {
    margin-top: 8px;
    text-align: right;
  }
  .gains-entete {
    flex-direction: column;
    align-items: flex-start;
  }
  .gains-entete .entete-col {
    margin-top: 8px;
    text-align: left;
  }
}

.header {
  text-align: center;
  margin-bottom: 40px;
}
.logo {
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: 0.5px;
  color: #002f7d;
}
.date {
  color: #002f7d;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}
.ball-main {
  background: #3b82f6;
  color: #fff;
  width: 15px;
  height: 15px;
}
.ball-main-chance {
  background: #10b981;
  color: #fff;
  width: 15px;
  height: 15px;
  font-size: 13px;
}
.ball-group {
  display: inline-flex;
  gap: 4px;
  margin-right: 8px;
}
.ball-loto {
  background: #ef4444;
  color: #fff;
}

.gain-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 8px;
  border-bottom: 1px solid #eee;
}
.gain-combination {
  font-size: 14px;
  color: #666;
  flex: 1;
  text-align: center;
}
.infogains {
  margin: 2%;
  border: solid 2px black;
  border-radius: 10px;
  padding: 2%;
}
.gain-stars,
.gain-amount {
  flex: 0.4;
  text-align: right;
  width: 180px;
  margin: 0px 35px -4px 0px;
}
.gains-entete .entete-col {
  text-align: left !important;
  min-width: 33%;
  min-width: 150px;
  text-align: left;
  padding-bottom: 0px;
  padding-top: 14px;
  margin-left: 0px;
}
.my-million {
  color: #002f7d;
  font: 700 17px / 62px inter, sans-serif;
  text-align: center;
  border: solid 4px #01175e;
  border-radius: 13px;
  margin-bottom: 5%;
}
.my-million-code {
  margin: 5px 5px 15px 5px;
  padding: 10px 15px 10px 15px;
  text-align: center;
  width: max-content;
  border: solid #01175d;
  font: 700 1.6em / 44px inter, sans-serif;
  border-radius: 10px;
  display: inline-block;
  color: #01175d;
}
.lmj-wrap {
  font-family: system-ui, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.5;
}
.lmj-section {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 16px;
  margin: 14px 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.lmj-title {
  font-size: 1.25rem;
  margin: 0 0 10px 0;
}
.lmj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.lmj-card {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px;
}
.lmj-cta {
  margin-top: 6px;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #fff;
  text-decoration: none;
  color: var(--downtown-accent);
}
.lmj-cta:hover {
  background: #f3f4f6;
}
.lmj-balls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.lmj-ball {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(30, 64, 175, 0.35);
}
.lmj-star {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  color: white;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.35);
  font-size: 18px;
}
.lmj-note {
  font-size: 0.92rem;
  color: white;
  margin-top: 8px;
}
.lmj-next-jackpot {
  background-color: #fff8e1;
  padding: 12px 16px;
  border-left: 4px solid #f4b400;
  margin: 20px 0;
  font-size: 1.1em;
}
.lmj-cagnotte {
  margin-top: 50px;
  border: solid 2px #f4b400;
  border-radius: 99px;
  padding: 12px 16px;
  width: 300px;
}

.lmj-codes-loto {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-top: 0.5em;
}

.lmj-code {
  padding: 0.3em 0.6em;
  border: 2px solid #0053a0;
  border-radius: 1.5em;
  background-color: #f4f8ff;
  font-size: 0.95em;
  font-weight: 600;
  white-space: nowrap;
}

.lmj-joker {
  display: inline-block;
  margin-top: 0.3em;
  padding: 0.4em 0.8em;
  border: 2px dashed #e1a200;
  background-color: #fffdf2;
  color: #222;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 1.4em;
}
.lmj-ball {
  display: inline-block;
  width: 42px;
  height: 42px;
  line-height: 36px;
  text-align: center;
  margin: 3px;
  border-radius: 50%;
  background-color: #0053a0;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
}
.lmj-chance {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  color: #111;
  font-weight: 800;
  box-shadow: 0 2px 6px rgba(180, 83, 9, 0.35);
}
/* Container général */
.lf-container {
  background: #f9f9f9;
  border: 2px solid #eee;
  padding: 20px;
  border-radius: 8px;
  font-family: "Segoe UI", sans-serif;
  margin-bottom: 30px;
}

/* Chaque match */
.lf-match {
  border-bottom: 1px dashed #ccc;
  padding: 15px 0;
}

.lf-match:last-child {
  border-bottom: none;
}

/* Equipes */
.lf-equipes {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 8px;
}

/* Cotes */
.lf-cotes {
  display: flex;
  gap: 15px;
  margin-bottom: 8px;
  font-size: 14px;
}

.lf-cote1,
.lf-coteN,
.lf-cote2 {
  background: #e0e0e0;
  padding: 4px 8px;
  border-radius: 4px;
}

/* Analyse */
.lf-analyse {
  font-style: italic;
  color: #555;
}

/*nouveau design euromillion*/
.td-page-content {
  padding-bottom: 10px;
  width: 100% !important;
}
.container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 30px;
  padding: 50px 40px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  width: 100%;
  backdrop-filter: blur(10px);
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.jackpot {
  background: hsl(195.21deg 100% 42.55%);
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  margin: 35pxauto;
  border: 2pxsolid#667eea;
  width: 90%;
  max-width: 500px;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.jackpot-label {
  font-size: 14px;
  color: #856404;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.jackpot-amount {
  font-size: 48px;
  font-weight: bold;
  color: #1a1a1a;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.ball:nth-child(1) {
  animation-delay: 0.1s;
}
.ball:nth-child(2) {
  animation-delay: 0.2s;
}
.ball:nth-child(3) {
  animation-delay: 0.3s;
}
.ball:nth-child(4) {
  animation-delay: 0.4s;
}
.ball:nth-child(5) {
  animation-delay: 0.5s;
}

.ball::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 20%;
  width: 25%;
  height: 25%;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  filter: blur(3px);
  display: none !important;
  background: none !important;
  content: none !important;
}

.divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #ddd, transparent);
  margin: 35px 0;
}
.my-million {
  margin-left: 20%;
  margin-right: 20%;
}
.codes-section {
  grid-template-columns: 1fr;
}

.joker-code {
  font-size: 28px;
  letter-spacing: 2px;
}

.gain-row {
  flex-wrap: wrap;
  padding: 12px 15px;
}

.gain-rank {
  flex: 0 0 100%;
  margin-bottom: 8px;
}

.gain-combination {
  flex: 0 0 100%;
  text-align: left;
  margin-bottom: 5px;
}

@media (max-width: 768px) {
  .container {
    padding: 30px 20px;
  }

  .ball-main {
    background: #3b82f6;
    color: #fff;
    width: 15px !important;
    height: 15px !important;
  }
  .ball-main-chance {
    background: #10b981;
    color: #fff;
    width: 15px;
    height: 15px;
    font-size: 13px;
  }
  .gain-row {
    flex-wrap: wrap;
    padding: 12px 15px;
  }
  .gain-rank {
    flex: 0 0 100%;
    margin-bottom: 8px;
  }
  .gain-combination {
    flex: 0 0 100%;
    text-align: left;
    margin-bottom: 5px;
  }
  .gain-winners {
    flex: 1;
    text-align: left;
  }
  .gain-amount {
    flex: 1;
    text-align: right;
  }
  .next-jackpot {
    margin-left: 5%;
    margin-right: 5%;
  }

  .my-million {
    margin-left: 5%;
    margin-right: 5%;
  }
}

.date-select-form {
  text-align: center;
}
#date_tirage {
  z-index: 1000;
  font-size: 1.2rem;
  padding: 10px 1px 10px 10px;
  background-color: #ffd13a;
  border: solid #002f7d;
  border-radius: 20px;
  max-width: 80%;
  margin-top: 2%;
  width: 300px;
  margin-bottom: 5%;
}
.td-page-content {
  padding-bottom: 10px;
  width: 100% !important;
}
.container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 30px;
  padding: 50px 40px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  width: 100%;
  backdrop-filter: blur(10px);
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.jackpot {
  text-align: center;
  margin-bottom: 40px;
  padding: 25px;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
  animation: pulse 2s ease-in-out infinite;
  margin-bottom: 35px;
  margin-top: 35px;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.jackpot-label {
  font-size: 14px;
  color: #856404;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.jackpot-amount {
  font-size: 48px;
  font-weight: bold;
  color: #1a1a1a;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.results-section {
  margin-bottom: 35px;
}

.section-title {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
  font-weight: 600;
  text-align: center;
}

.numbers-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ball {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.ball:nth-child(1) {
  animation-delay: 0.1s;
}
.ball:nth-child(2) {
  animation-delay: 0.2s;
}
.ball:nth-child(3) {
  animation-delay: 0.3s;
}
.ball:nth-child(4) {
  animation-delay: 0.4s;
}
.ball:nth-child(5) {
  animation-delay: 0.5s;
}

.ball::before {
  content: "";
  position: absolute;
  top: 15%;
  left: 20%;
  width: 25%;
  height: 25%;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  filter: blur(3px);
  display: none !important;
  background: none !important;
  content: none !important;
}

.divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, #ddd, transparent);
  margin: 35px 0;
}
.my-million {
  margin-left: 20%;
  margin-right: 20%;
}
.next-jackpot {
  background: #01175e;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 35px;
  border: 2px solid #667eea;
  margin-left: 10%;
  margin-right: 10%;
  animation: pulse 2s ease-in-out infinite;
}
.next-jackpot-title {
  font-size: 14px;
  color: white;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.next-jackpot-amount {
  font-size: 45px;
  font-weight: bold;
  color: #ffd13a;
}

.next-jackpot-date {
  font-size: 18px;
  color: white;
  margin-top: 8px;
}

.gains-table {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gains-title {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 20px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

.gains-content {
  padding: 20px;
}

.gain-row {
  display: flex;
  justify-content: space-between;
  /*align-items: center;*/
  padding: 15px 20px;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.3s ease;
}

.gain-row:last-child {
  border-bottom: none;
}

.gain-row:hover {
  background: #f8f9fa;
}

.gain-rank {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  flex: 1;
}

.gain-combination {
  font-size: 14px;
  color: #666;
  flex: 1;
  text-align: center;
}

.gain-winners {
  font-size: 16px;
  font-weight: bold;
  color: #667eea;
  flex: 1;
  text-align: right;
}

.gain-amount,
.gain-combination-text {
  font-size: 16px;
  font-weight: bold;
  color: #667eea;
  flex: 1;
  text-align: center;
}

.gain-row.rang-1 {
  background: linear-gradient(90deg, #fff9e6, white);
}

.gain-row.rang-1 .gain-amount {
  color: #ffa500;
  font-size: 18px;
}

@media (max-width: 768px) {
  .container {
    padding: 30px 20px;
  }
  .td-pb-row [class*="td-pb-span"] {
    padding-right: 0;
    padding-left: 0;
    float: none;
    width: 100% !important;
  }
  .ball {
    width: 15px;
    height: 15px;
    font-size: 15px;
  }

  .gain-row {
    flex-wrap: wrap;
    padding: 12px 15px;
  }
  .gain-rank {
    flex: 0 0 100%;
    margin-bottom: 8px;
  }
  .gain-combination {
    flex: 0 0 100%;
    text-align: left;
    margin-bottom: 5px;
  }
  .gain-winners {
    flex: 1;
    text-align: left;
  }
  .gain-amount {
    flex: 1;
    text-align: right;
  }
  .next-jackpot {
    margin-left: 5%;
    margin-right: 5%;
  }

  .my-million {
    margin-left: 5%;
    margin-right: 5%;
  }
  .jackpot {
    margin-left: 0%;
    margin-right: 0%;
  }
  .jackpot-label,
  .jackpot-annonce {
    font-size: 0.5rem;
  }
  .jackpot-amount {
    font-size: 2rem;
  }
  .td-pb-span8 {
    width: 68%;
  }
}

.td-pb-span8 {
  width: 78.666667% !important;
}
.date-select-form {
  text-align: center;
}
#date_tirage {
  z-index: 1000;
  font-size: 1.2rem;
  padding: 10px 1px 10px 10px;
  background-color: #ffd13a;
  border: solid #002f7d;
  border-radius: 20px;
  max-width: 80%;
  margin-top: 2%;
  width: 300px;
  margin-bottom: 5%;
}
.gains-entete {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 4px;
  border-bottom: 2px solid #ddd;
  margin-bottom: 4px;
  background: #f9f9f9;
}

.gains-entete .entete-col {
  flex-shrink: 0;
  min-width: 150px;
  text-align: center !important;
  margin-bottom: 5px;
  margin-top: -15px;
  margin-left: 0;
}

.gains-entete .combinaison {
  min-width: 120px;
  text-align: left;
}

.gains-entete .stars-plus {
  min-width: 110px;
  text-align: right;
  margin-right: 15px;
}

.gains-entete .gains {
  min-width: 110px;
  text-align: right;
}
#euro-date {
  font-size: 1.2rem;
  padding: 10px 1px 10px 10px;
  background-color: #01175e;
  border: solid #002f7d;
  border-radius: 20px;
  max-width: 80%;
  margin-top: 2%;
  width: 60%;
  text-align: center;
  margin-bottom: 5%;
  margin-left: 20%;
  margin-right: 20%;
}
.ball.ball-star {
  /* all: unset; /* supprime tous les styles hérités */
  display: inline-block;
  color: #fbbf24;
  font-size: 18px;
  margin: 0 3px;
  line-height: 1;
  vertical-align: middle;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  width: auto;
  height: auto;
}
#gd-loto-container .code-box {
  padding: 0.3em 0.6em;
  border: 2px solid #0053a0;
  border-radius: 1em;
  background-color: #f4f8ff;
  font-size: 0.95em;
  font-weight: 600;
  white-space: nowrap;
  margin: 12px;
}
.gain-combination {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1.5;
}

.boule-num {
  display: inline-block;
  width: 2.2em;
  height: 2.2em;
  line-height: 2.2em;
  margin: 0 0.15em 0.2em 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #4f8cff 60%, #91d6ff 100%);
  color: #fff;
  font-weight: bold;
  text-align: center;
  font-size: 1.15em;
  box-shadow: 0 1px 4px #0002;
  border: 2px solid #2664a0;
}
.boule-etoile {
  display: inline-block;
  width: 2.2em;
  height: 2.2em;
  line-height: 2.2em;
  margin: 0 0.15em 0.2em 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffec86 60%, #ffd000 100%);
  color: #c78a00;
  font-weight: bold;
  text-align: center;
  font-size: 1.15em;
  box-shadow: 0 1px 4px #0002;
  border: 2px solid #e5ba3e;
}
@media (max-width: 480px) {
  .boule-num,
  .boule-etoile {
    width: 2em;
    height: 2em;
    line-height: 2em;
    font-size: 1em;
  }
}
