:root {
  --tir25-bg: #131313;
  --tir25-panel: #1d1d1d;
  --tir25-panel2: #252525;
  --tir25-gold: #c8a86b;
  --tir25-gold-light: #e3c78e;
  --tir25-border: #3d3d3d;
  --tir25-text: #ece8df;
  --tir25-text2: #b9b3a4;
  --tir25-radius: 16px;
  --tir25-shadow: 0 10px 35px rgba(0, 0, 0, .45);
  --tir25-speed: .45s;
}
#tir25App, #tir25App *, #tir25App *::before, #tir25App *::after {
  box-sizing: border-box;
}
body {
  overflow-x: hidden;
}
#tir25App {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
}
.tir25Screen {
  display: none !important;
  width: 100%;
  position: relative;
  opacity: 0;
  visibility: hidden;
  transition: opacity .6s ease;
}
.tir25Screen.tir25Visible {
  display: flex !important;
  justify-content: center;
  align-items: flex-start;
  opacity: 1;
  visibility: visible;
}
#tir25Intro.tir25Visible {
  justify-content: center;
  align-items: center;
}
#tir25Selection.tir25Visible {
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
#tir25Resultat.tir25Visible {
  justify-content: center;
  align-items: flex-start;
}
#tir25Synthese.tir25Visible {
  justify-content: center;
  align-items: flex-start;
}
.btntir {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
#tir25Intro {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
#tir25IntroBox {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
#tir25IntroImage {
  display: block;
  width: 100%;
  max-height: 250px;
  border: 2px solid #d8b247;
  border-radius: 12px;
}
#tir25Titre {
  margin-top: 20px;
  font-size: 34px;
  letter-spacing: 2px;
  color: var(--tir25-gold);
}
#tir25IntroTexte {
  margin-top: 15px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--tir25-text2);
}
#tir25BtnCommencer {
  margin-top: 20px;
}
#tir25Selection {
  padding: 0px;
}
#tir25SelectionContainer {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 0;
}
#tir25SelectionHeader {
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 0;
}
#tir25SelectionHeader h2 {
  margin: 0 046px;
  font-size: 20px;
  line-height: 1.1;
  color: var(--tir25-gold);
}
#tir25Compteur {
  margin: 0px;
  font-size: 14px;
  text-align: center;
}
#tir25SelectionLigne {
  width: 100%;
  max-width: 540px;
  height: 100px;
  margin: 10px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
#tir25SelectionLigne .tir25Rune img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#tir25SelectionLigne .tir25EmplacementSelection {
  width: 76px;
  height: 98px;
  border: 1px dashed rgba(200, 168, 107, .55);
  border-radius: 10px;
  background:
    radial-gradient(circle, rgba(200, 168, 107, .12), transparent 70%);
  box-shadow:
    inset 0 0 15px rgba(200, 168, 107, .15);
}
#tir25Grille {
  display: grid;
  grid-template-columns: repeat(5, 65px);
  grid-template-rows: repeat(5, 84px);
  justify-content: center;
  gap: 0px;
  margin: 5px auto 0;
}
.tir25Rune {
  position: relative;
  width: 65px;
  height: 84px;
  cursor: pointer;
  user-select: none;
  transition: transform .25s, opacity .3s, filter .25s;
}
.tir25Rune img {
  display: block;
  width: 90%;
  height: 90%;
  object-fit: contain;
  pointer-events: none;
}
.tir25Rune:hover {
  transform: translateY(-6px) scale(1.04);
  filter: drop-shadow(0 0 14px rgba(214, 181, 104, .65));
}
.tir25RuneSelected {
  pointer-events: none;
}
.tir25Empty {
  opacity: .08;
}
.tir25Hidden {
  display: none !important;
}
.tir25EmplacementVide {
  opacity: .35;
  pointer-events: none;
  border: 1px dashed rgba(200, 168, 107, .55);
  border-radius: 10px;
  background:
    radial-gradient(circle, rgba(255, 215, 120, .12), transparent 70%);
  box-shadow:
    inset 0 0 15px rgba(255, 215, 120, .12);
}
#tir25Resultat {
  padding: 0px;
}
#tir25ResultatContainer {
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: start;
  gap: 0px;
  width: 100%;
  max-width: 1200px;
  transition: opacity .5s ease;
}
#tir25Plateau {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
#tir25Progression {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}
#tir25Croix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 20px;
  width: 500px;
  height: 500px;
  position: relative;
}
.tir25Position {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.tir25Position[data-position="1"] {
  grid-column: 1;
  grid-row: 2;
}
.tir25Position[data-position="2"] {
  grid-column: 2;
  grid-row: 1;
}
.tir25Position[data-position="3"] {
  grid-column: 2;
  grid-row: 2;
}
.tir25Position[data-position="4"] {
  grid-column: 3;
  grid-row: 2;
}
.tir25Position[data-position="5"] {
  grid-column: 2;
  grid-row: 3;
}
.tir25RuneCroix img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tir25RuneCroix {
  width: 90px;
  height: 115px;
  position: relative;
}
.tir25Numero {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--tir25-gold);
  color: #111;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
  z-index: 10;
}
.tir25Point {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #444;
  transition: .4s;
}
.tir25PointActif {
  background: var(--tir25-gold);
  box-shadow: 0 0 12px var(--tir25-gold);
}
.tir25Transition {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
  z-index: 100;
  background: var(--tir25-bg);
}
.tir25CercleMagique {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90px;
  height: 90px;
  border: 2px solid rgba(232, 200, 117, .6);
  border-radius: 50%;
  color: #e8c875;
  font-size: 45px;
  box-shadow: 0 0 30px rgba(232, 200, 117, .5);
  animation: tir25Rotation 3s linear infinite;
}
.tir25Transition p {
  margin-top: 25px;
  color: #e8c875;
  font-size: 20px;
  letter-spacing: 3px;
}
@keyframes tir25RuneArrive {
  from {
    opacity: 0;
    transform: scale(.3) rotate(-25deg);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
    filter: blur(0);
  }
}
@keyframes tir25Rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes tir25Glow {
  0% {
    filter: drop-shadow(0 0 5px transparent);
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(199, 167, 106, .8));
  }
  100% {
    filter: drop-shadow(0 0 5px transparent);
  }
}
.tir25ActiveRune {
  animation: tir25Glow 2s infinite;
}
#tir25Lecture {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 35px;
  background: linear-gradient(145deg, rgba(40, 40, 48, .95), rgba(20, 20, 25, .95));
  border: 1px solid var(--tir25-border);
  border-radius: 20px;
  box-shadow: var(--tir25-shadow);
  margin-bottom: 80px !important;
}
#tir25ImageLecture {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 140px;
  height: 170px;
  margin: 0 auto 25px;
}
#tir25ImageLecture img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(200, 168, 107, .45));
  animation: tir25RuneLectureApparition .6s ease;
}
#tir25NomRune {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 2px;
  color: var(--tir25-gold);
}
#tir25PositionNom {
  margin-top: 10px;
  font-style: italic;
  color: var(--tir25-text2);
}
#tir25Theme {
  margin-top: 25px;
  font-size: 20px;
  color: var(--tir25-gold-light);
}
#tir25Definition {
  margin-top: 25px;
  line-height: 1.8;
  font-size: 17px;
  color: var(--tir25-text);
}
#tir25Conseil {
  margin-top: 25px;
  padding: 20px;
  line-height: 1.6;
  background: rgba(199, 167, 106, .08);
  border-left: 3px solid var(--tir25-gold);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease, visibility .5s ease;
}
#tir25BtnSynthese {
  margin-top: 15px !important;
}
#tir25BtnSynthese:hover {}
.tir25LectureActive {
  opacity: 1 !important;
  visibility: visible !important;
}
@keyframes tir25RuneLectureApparition {
  from {
    opacity: 0;
    transform: scale(.6) rotateY(90deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotateY(0);
  }
}
#tir25Synthese {
  padding: 40px 0;
}
#tir25SyntheseBox {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  padding: 20px;
  overflow: visible;
  text-align: center;
  animation: tir25SyntheseApparition .9s ease forwards;
}
#tir25SyntheseBox h2 {
  margin-bottom: 35px;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 4px;
  color: var(--tir25-gold);
  text-shadow: 0 0 15px rgba(200, 168, 107, .35);
}
#tir25Resume {
  margin-top: 30px;
  padding: 30px;
  line-height: 1.9;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
}
#tir25SyntheseTexte {
  margin-top: 25px;
  line-height: 1.8;
  color: var(--tir25-text2);
}
.tir25SyntheseFinale {
  animation: tir25RuneSynthese .8s ease forwards;
}
.tir25SyntheseFinale h3 {
  margin-bottom: 25px;
  font-size: 28px;
  font-weight: 400;
  color: var(--tir25-gold-light);
}
.tir25SyntheseFinale img {
  display: block;
  width: 150px;
  height: 190px;
  margin: 20px auto;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(200, 168, 107, .7));
  animation: tir25RuneFlottante 3s ease-in-out infinite;
}
.tir25SyntheseFinale h4 {
  margin: 20px 0;
  font-size: 20px;
  color: var(--tir25-gold);
}
.tir25SyntheseFinale p {
  line-height: 1.8;
  color: var(--tir25-text);
}
.tir25SyntheseFinale hr {
  width: 60%;
  height: 1px;
  margin: 35px auto;
  border: none;
  background: rgba(200, 168, 107, .35);
}
@keyframes tir25SyntheseApparition {
  from {
    opacity: 0;
    transform: scale(.9) translateY(30px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0);
  }
}
@keyframes tir25RuneSynthese {
  from {
    opacity: 0;
    transform: scale(.6);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes tir25RuneFlottante {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}
#tir25Intro:not(.tir25Visible), #tir25Selection:not(.tir25Visible), #tir25Resultat:not(.tir25Visible), #tir25Synthese:not(.tir25Visible) {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  visibility: hidden !important;
}
#tir25Intro.tir25Visible, #tir25Selection.tir25Visible, #tir25Resultat.tir25Visible, #tir25Synthese.tir25Visible {
  display: flex !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible;
}
#tir25ResultatContainer.tir25Chargement > #tir25Plateau, #tir25ResultatContainer.tir25Chargement > #tir25Lecture {
  opacity: 0;
  visibility: hidden;
}
#tir25ResultatContainer.tir25Masque {
  opacity: 0;
  visibility: hidden;
}
#tir25ResultatContainer.tir25Apparition {
  opacity: 1;
  visibility: visible;
  animation: tir25ApparitionResultat .8s ease forwards;
}
@keyframes tir25ApparitionResultat {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media(max-width:900px) {
  #tir25ResultatContainer {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  #tir25Croix {
    width: 350px;
    height: 350px;
  }
  #tir25Lecture {
    padding: 20px;
  }
}
@media(max-width:600px) {
  #tir25Intro.tir25Visible {
    justify-content: flex-start;
    align-items: center;
  }
  #tir25Intro {
    min-height: auto;
    padding: 15px 0 25px;
  }
  #tir25IntroImage {
    max-height: 180px;
  }
  #tir25Titre {
    font-size: 28px;
    margin-top: 12px;
  }
  #tir25IntroTexte {
    font-size: 15px;
    line-height: 1.4;
    margin-top: 10px;
  }
  #tir25BtnCommencer {
    margin-bottom: 40px !important;
    margin-top: 15px;
  }
  #tir25SelectionLigne .tir25EmplacementSelection {
    width: 48px;
    height: 62px;
  }
  #tir25Grille {
    grid-template-columns: repeat(5, 48px);
    grid-template-rows: repeat(5, 62px);
    gap: 6px;
    justify-content: center;
    margin-bottom: 80px !important;
  }
  .tir25Rune {
    width: 48px;
    height: 62px;
  }
  #tir25Resultat {
    padding: 0px;
  }
  #tir25ResultatContainer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0px;
  }
  #tir25Plateau {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  #tir25Croix {
    width: 260px;
    height: 260px;
    margin: 0px;
  }
  .tir25Position {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .tir25RuneCroix {
    width: 56px;
    height: 70px;
    position: relative;
  }
  .tir25Numero {
    width: 18px;
    height: 18px;
    top: 3px;
    right: 3px;
    font-size: 10px;
  }
  #tir25Progression {
    margin-top: 10px;
    margin-bottom: 10px;
  }
  #tir25Lecture {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
  }
  #tir25ImageLecture {
    width: 90px;
    height: 110px;
    margin: 0 auto 15px;
  }
  #tir25NomRune {
    margin: 0;
    font-size: 18px;
  }
  #tir25PositionNom {
    margin-top: 5px;
  }
  #tir25Theme {
    margin-top: 12px;
    font-size: 17px;
  }
  #tir25Definition {
    margin-top: 15px;
    font-size: 14px;
    line-height: 1.5;
  }
  #tir25Conseil {
    margin-top: 15px;
    padding: 12px;
    font-size: 14px;
  }
  #tir25BtnSynthese {
    margin-top: 15px;
  }
  #tir25ResultatContainer {
    align-items: center;
  }
  #tir25SyntheseBox h2 {
    font-size: 22px;
    letter-spacing: 2px;
    margin-bottom: 20px;
  }
  .tir25SyntheseFinale h3 {
    font-size: 22px;
    margin-bottom: 15px;
  }
  .tir25SyntheseFinale h4 {
    font-size: 17px;
    margin: 15px 0;
  }
  #tir25Resume {
    padding: 15px;
    margin-top: 15px;
    line-height: 1.6;
  }
  #tir25SyntheseTexte {
    margin-top: 15px;
    line-height: 1.6;
  }
}
.tir25VisibleTransition {
  opacity: 1 !important;
  visibility: visible !important;
}
#tir25ResultatContainer {
  position: relative;
}
@media(min-width:901px) {
  #tir25Lecture {
    padding: 20px;
    margin-bottom: 20px !important;
  }
  #tir25ImageLecture {
    width: 100px;
    height: 120px;
    margin: 0 auto 15px;
  }
  #tir25NomRune {
    font-size: 22px;
  }
  #tir25PositionNom {
    margin-top: 5px;
  }
  #tir25Theme {
    margin-top: 15px;
    font-size: 18px;
  }
  #tir25Definition {
    margin-top: 15px;
    line-height: 1.5;
    font-size: 15px;
  }
  #tir25Conseil {
    margin-top: 15px;
    padding: 12px;
    line-height: 1.4;
  }
  #tir25BtnSynthese {
    margin-top: 10px !important;
  }
}
@media(min-width:901px) {
  #tir25Synthese {
    padding: 0px
  }
  #tir25SyntheseBox {
    padding: 10px;
  }
  #tir25SyntheseBox h2 {
    margin-bottom: 10px;
    font-size: 24px;
    letter-spacing: 3px;
  }
  #tir25Resume {
    margin-top: 10px;
    padding: 0px;
    line-height: 1.6;
  }
  .tir25SyntheseFinale h3 {
    margin-bottom: 10px;
    font-size: 18px;
  }
  .tir25SyntheseFinale img {
    width: 100px;
    height: 130px;
    margin: 0px;
  }
  .tir25SyntheseFinale h4 {
    margin: 10px 0;
    font-size: 18px;
  }
  .tir25SyntheseFinale p {
    line-height: 1.5;
    margin: 0px;
  }
  .tir25SyntheseFinale hr {
    margin: 20px auto;
  }
  .tir25SyntheseFinale img {
    display: block;
    margin: 10px auto;
    object-fit: contain;
  }
}