@property --ht-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.hero.tableau-visible .hero-content {
  display: none;
}
.hero-tableau[hidden],
.ht-parier[hidden] {
  display: none;
}
.hero-tableau {
  position: absolute;
  z-index: 1;
  left: 45px;
  right: 30px;
  top: 22px;
  bottom: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  max-width: 1180px;
}
.hero.avec-phares .hero-tableau {
  bottom: 165px;
}
.hero.avec-phares.avec-direct .hero-tableau {
  bottom: 305px;
}
.hero.tableau-visible {
  min-height: 400px;
}
.hero.tableau-visible.avec-phares {
  min-height: 540px;
}
.hero.tableau-visible.avec-phares.avec-direct {
  min-height: 680px;
}
.ht-cadre {
  position: relative;
  min-width: 0;
  min-height: 0;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 24px 60px rgba(2, 10, 40, .55), 0 0 26px rgba(var(--ht-teinte), .28);
  animation: ht-entree .9s cubic-bezier(.2, .8, .2, 1) both;
}
.ht-jour {
  animation-delay: .15s;
}
.ht-cadre::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  border-radius: inherit;
  padding: 2px;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  background:
    conic-gradient(
      from var(--ht-angle),
      rgba(255, 255, 255, .12) 0 60%,
      var(--ht-lueur) 72%,
      #fff 76%,
      var(--ht-lueur) 80%,
      rgba(255, 255, 255, .12) 92%);
  animation: ht-tour 7s linear infinite;
}
.ht-virtuels {
  --ht-lueur: #3fb7ff;
  --ht-teinte:
    30,
    79,
    184;
}
.ht-jour {
  --ht-lueur: #f6c400;
  --ht-teinte:
    246,
    196,
    0;
}
.ht-jour::before {
  animation-duration: 9s;
  animation-direction: reverse;
}
.ht-verre {
  position: relative;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 14px 18px 14px;
  color: #fff;
  background:
    radial-gradient(
      120% 90% at 0% 0%,
      rgba(var(--ht-teinte), .30),
      transparent 60%),
    linear-gradient(
      150deg,
      rgba(255, 255, 255, .16),
      rgba(20, 40, 100, .22) 45%,
      rgba(6, 16, 52, .58));
  backdrop-filter: blur(16px) saturate(165%);
  -webkit-backdrop-filter: blur(16px) saturate(165%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -18px 40px rgba(4, 12, 40, .35);
}
.ht-verre::after {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -60%;
  width: 40%;
  pointer-events: none;
  background:
    linear-gradient(
      100deg,
      transparent,
      rgba(255, 255, 255, .22),
      transparent);
  transform: skewX(-18deg);
  animation: ht-reflet 7s ease-in-out infinite;
}
.ht-jour .ht-verre::after {
  animation-delay: 3.5s;
}
.ht-tete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.ht-etiquette {
  font-family: var(--font-cond, inherit);
  font-style: italic;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(var(--ht-teinte), .8);
}
.ht-direct {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  white-space: nowrap;
}
.ht-direct i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3fe08f;
  box-shadow: 0 0 8px #3fe08f;
  animation: ht-pouls 1.4s infinite;
}
.ht-jaune {
  color: #ffe27a;
}
.ht-barre {
  height: 3px;
  margin: 10px 0 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .14);
  overflow: hidden;
}
.ht-barre i {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background:
    linear-gradient(
      90deg,
      var(--ht-lueur),
      #fff);
}
@keyframes ht-barre {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.ht-diapos {
  position: relative;
  flex: 1;
  min-height: 0;
  cursor: pointer;
}
.ht-diapo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateX(40px) scale(.97);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1);
}
.ht-diapo.is-on {
  opacity: 1;
  transform: none;
}
.ht-diapo.is-out {
  opacity: 0;
  transform: translateX(-40px) scale(.97);
}
.ht-textes {
  position: relative;
  z-index: 1;
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ht-titre {
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
  padding-right: clamp(70px, 7vw, 112px);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ht-grand {
  margin: 0;
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 900;
  line-height: 1.02;
  color: #ffd21f;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 4px 22px rgba(255, 196, 0, .45);
}
.ht-grand.ht-long {
  font-size: clamp(20px, 2vw, 28px);
  color: #fff;
  text-shadow: 0 3px 16px rgba(0, 0, 0, .5);
}
.ht-petit {
  margin: 0;
  font-size: 13.5px;
  color: #e6eeff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
}
.ht-puces {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
  align-items: center;
}
.ht-puces b {
  font-size: 12.5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .18);
}
.ht-puces b.haut {
  color: #6cf0b4;
}
.ht-puces b.r-ROUGE {
  background: #d32235;
}
.ht-puces b.r-NOIR {
  background: #16181d;
}
.ht-puces b.r-VERT {
  background: #12a150;
}
.ht-puces .ht-cote {
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
  padding: 5px 12px;
  border-radius: 10px;
  font-size: 15px;
  background: rgba(255, 255, 255, .9);
  color: #14306e;
  border: 0;
}
.ht-puces .ht-cote small {
  font-size: 11px;
  color: #5a6b94;
  font-weight: 700;
}
.ht-puces .ht-plus {
  background: rgba(246, 196, 0, .2);
  color: #ffe27a;
  border: 1px solid rgba(246, 196, 0, .5);
}
.ht-mini {
  font-size: 11.5px;
  color: rgba(225, 236, 255, .8);
  margin-right: 2px;
}
.ht-boule {
  font-style: normal;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  background:
    radial-gradient(
      circle at 35% 30%,
      #fff,
      #ffd34f 45%,
      #d98b00);
  color: #1b1200;
  box-shadow: 0 3px 8px rgba(0, 0, 0, .35);
}
.ht-art {
  position: absolute;
  z-index: 0;
  right: -4px;
  top: 2px;
  width: clamp(78px, 7.5vw, 120px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  opacity: .95;
}
.ht-art::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 50%;
  background:
    radial-gradient(
      circle at 35% 30%,
      rgba(255, 255, 255, .55),
      rgba(var(--ht-teinte), .35) 45%,
      rgba(var(--ht-teinte), 0) 70%);
  box-shadow: 0 0 40px rgba(var(--ht-teinte), .45);
  animation: ht-respire 3s ease-in-out infinite;
}
.ht-art::after {
  content: "";
  position: absolute;
  top: -6px;
  right: -6px;
  bottom: -6px;
  left: -6px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, .35);
  animation: ht-tour-simple 14s linear infinite;
}
.ht-art span {
  position: relative;
  font-size: clamp(40px, 4vw, 64px);
  line-height: 1;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45));
  animation: ht-flotte 3.2s ease-in-out infinite;
}
.ht-crash.en-vol .ht-art span {
  animation: ht-decolle 1.6s ease-in-out infinite;
}
.ht-spin .ht-art span {
  animation: ht-tour-simple 6s linear infinite;
}
.ht-art span svg {
  display: block;
  width: clamp(64px, 6.4vw, 100px);
  height: auto;
}
.ht-pied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}
.ht-points {
  display: flex;
  gap: 6px;
}
.ht-points button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  transition: width .3s, background .3s;
}
.ht-points button.is-on {
  width: 26px;
  background: var(--ht-lueur);
}
.ht-parier {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  padding: 11px 22px;
  border-radius: 999px;
  font: inherit;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #14306e;
  background:
    linear-gradient(
      180deg,
      #ffe45c,
      #f6c400 55%,
      #e0a800);
  box-shadow: 0 8px 22px rgba(246, 196, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .7);
  transition: transform .15s, box-shadow .15s;
}
.ht-parier small {
  font-size: 12px;
  font-weight: 800;
  text-transform: none;
  opacity: .75;
}
.ht-parier span {
  transition: transform .2s;
}
.ht-parier:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 28px rgba(246, 196, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .7);
}
.ht-parier:hover span {
  transform: translateX(4px);
}
.ht-parier::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 30%;
  transform: skewX(-20deg);
  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, .8),
      transparent);
  animation: ht-brille 3.5s ease-in-out infinite;
}
.ht-virtuels .ht-parier {
  color: #fff;
  background:
    linear-gradient(
      180deg,
      #4d8dff,
      #1e4fb8 60%,
      #14306e);
  box-shadow: 0 8px 22px rgba(30, 79, 184, .55), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.ht-virtuels .ht-parier:hover {
  box-shadow: 0 12px 28px rgba(63, 140, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .45);
}
@keyframes ht-tour {
  to {
    --ht-angle: 360deg;
  }
}
@keyframes ht-tour-simple {
  to {
    transform: rotate(360deg);
  }
}
@keyframes ht-reflet {
  0%, 55% {
    left: -60%;
  }
  85%, 100% {
    left: 130%;
  }
}
@keyframes ht-brille {
  0%, 60% {
    left: -40%;
  }
  100% {
    left: 130%;
  }
}
@keyframes ht-pouls {
  50% {
    opacity: .35;
  }
}
@keyframes ht-flotte {
  50% {
    transform: translateY(-8px);
  }
}
@keyframes ht-respire {
  50% {
    transform: scale(1.06);
    opacity: .85;
  }
}
@keyframes ht-decolle {
  0% {
    transform: translate(-6px, 6px) rotate(-8deg);
  }
  50% {
    transform: translate(6px, -8px) rotate(-14deg);
  }
  100% {
    transform: translate(-6px, 6px) rotate(-8deg);
  }
}
@keyframes ht-entree {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.97);
  }
}
@media (max-width: 900px) {
  .hero-tableau {
    left: 12px;
    right: 12px;
    top: 12px;
    bottom: 16px;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
  }
  .hero.avec-phares .hero-tableau {
    bottom: 152px;
  }
  .hero.avec-phares.avec-direct .hero-tableau {
    bottom: 294px;
  }
  .hero.tableau-visible {
    min-height: 470px;
  }
  .hero.tableau-visible.avec-phares {
    min-height: 600px;
  }
  .hero.tableau-visible.avec-phares.avec-direct {
    min-height: 745px;
  }
  .ht-cadre {
    border-radius: 18px;
  }
  .ht-verre {
    border-radius: 18px;
    padding: 10px 12px;
  }
  .ht-etiquette {
    font-size: 15px;
  }
  .ht-direct {
    font-size: 10.5px;
    padding: 2px 8px;
  }
  .ht-barre {
    margin: 7px 0 2px;
  }
  .ht-titre {
    font-size: 14px;
  }
  .ht-grand {
    font-size: 30px;
  }
  .ht-grand.ht-long {
    font-size: 17px;
  }
  .ht-petit {
    font-size: 11.5px;
  }
  .ht-puces {
    gap: 4px;
    margin-top: 3px;
  }
  .ht-puces b {
    font-size: 11px;
    padding: 2px 7px;
  }
  .ht-puces .ht-cote {
    font-size: 13px;
    padding: 3px 9px;
  }
  .ht-boule {
    width: 22px;
    height: 22px;
    font-size: 10px;
  }
  .ht-puces .ht-boule:nth-child(n+8),
  .ht-puces b:nth-child(n+6) {
    display: none;
  }
  .ht-art {
    width: 62px;
  }
  .ht-art span {
    font-size: 34px;
  }
  .ht-art span svg {
    width: 60px;
  }
  .ht-titre {
    padding-right: 62px;
  }
  .ht-pied {
    margin-top: 4px;
  }
  .ht-parier {
    padding: 8px 16px;
    font-size: 14px;
  }
  .ht-parier small {
    font-size: 11px;
  }
}
.hero.affiche .hero-tableau {
  position: static;
  margin: 12px;
  height: 380px;
}
@media (prefers-reduced-motion: reduce) {
  .ht-cadre,
  .ht-cadre::before,
  .ht-verre::after,
  .ht-art::before,
  .ht-art::after,
  .ht-art span,
  .ht-parier::after,
  .ht-direct i {
    animation: none !important;
  }
  .ht-diapo {
    transition: none;
  }
}
