* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.ORACLES-TIRAGES {
  width: 100%;
  padding: 0 15px;
}
#tir12Game {
  display: flex;
  flex-direction: column;
}
#tir12InfoBar {
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #f5df9a;
  font-weight: bold;
}
#tir12FanContainer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 10px;
}
.tir12FanCard {
  width: 60px;
  height: 95px;
  cursor: pointer;
}
.tir12FanCard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tir12Row {
  display: grid;
  grid-template-columns: 100px 120px repeat(4, 70px);
  gap: 8px;
  align-items: center;
}
.tir12ThemeCell {
  width: 70px;
  height: 97px;
  border-radius: 5px;
  background: #1c2442;
  overflow: hidden;
}
.tir12ThemeCell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tir12TitleCell {
  color: #f5df9a;
  font-size: 12px;
  border-radius: 5px;
}
.tir12CardCell {
  width: 70px;
  height: 97px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  overflow: hidden;
}
.tir12CardCell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: fade .3s ease;
}
@keyframes fade {
  from {
    opacity: 0;
    transform: scale(.6);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.tir12CardCell img:hover {
  transform: scale(1.05);
  cursor: pointer;
}
#tir12Viewer img {
  width: 222px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
#tir12ViewerText {
  font-size: 13px;
  margin-top: 10px;
  line-height: 1.4;
}
#tir12ThemeViewer, #tir12Viewer {
  width: 100%;
}
#tir12ThemeViewer, #tir12Viewer {
  position: relative;
  padding: 28px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(30, 33, 63, .98), rgba(18, 20, 40, .98));
  border: 1px solid rgba(255, 216, 120, .28);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .05);
  overflow: hidden;
}
#tir12ThemeViewer:before, #tir12Viewer:before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 215, 120, .18);
  border-radius: 10px;
  pointer-events: none;
}
#tir12ThemeViewer img {
  width: 90px;
  display: block;
  margin: auto;
}
#tir12ThemeText {
  font-size: 13px;
  line-height: 1.5;
}
#tir12Viewer img {
  width: 120px;
  height: auto;
  display: block;
  margin: 0;
  flex-shrink: 0;
}
#tir12Intro {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0px;
}
#tir12Intro p {
  max-width: 700px;
}
.ORTIR-container {
  margin: 0px !important;
  padding: 0px !important;
}
#tir12Intro img {
  display: block;
  width: 300px;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
  border: 2px solid rgba(214, 180, 106, .7);
  border-radius: 18px;
  box-shadow:
    0 0 30px rgba(214, 180, 106, .25), 0 15px 40px rgba(0, 0, 0, .45);
  line-height: 0;
  margin-bottom: 20px;
  box-sizing: border-box;
}
#tir12Header {
  position: relative;
  display: flex;
  width: 100%;
  margin: 15px auto;
  justify-content: center;
  align-items: center;
  background:
    linear-gradient(180deg, #1f2348, #171a34);
  border: 1px solid rgba(255, 215, 120, .35);
  border-radius: 10px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .03);
}
#tir12Header h2 {
  color: #f5df9a;
  font-size: 34px;
  font-weight: 600;
  margin-bottom: 0px;
  text-align: center;
}
#tir12Header p {
  color: #d6d1be;
  text-align: center;
  font-size: 16px;
}
.tir12Star {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background:
    radial-gradient(circle, #ffe8a2 15%, #d9a93b 60%, transparent 70%);
  clip-path: polygon(50% 0%, 60% 35%, 100% 50%, 60% 65%, 50% 100%, 40% 65%, 0 50%, 40% 35%);
  filter: drop-shadow(0 0 10px #f5df9a);
}
#tir12ThemeText, #tir12ViewerText {
  color: #e6e0cb;
  font-size: 15px;
  line-height: 1.8;
  text-align: center;
  max-width: 260px;
  margin: auto;
}
#tir12Viewer img {
  width: 120px;
  border-radius: 10px;
  border: 2px solid rgba(255, 220, 140, .35);
  box-shadow:
    0 0 25px rgba(255, 215, 120, .25), 0 12px 30px rgba(0, 0, 0, .45);
  transition: .3s;
}
#tir12Viewer img:hover {
  transform: scale(1.03);
}
#tir12ViewerText {
  margin-top: 20px;
  padding: 18px;
  border-radius: 5px;
  background:
    linear-gradient(180deg, rgba(62, 43, 84, .75), rgba(42, 29, 59, .9));
  border: 1px solid rgba(255, 215, 120, .25);
  box-shadow:
    inset 0 0 15px rgba(255, 255, 255, .03);
}
#tir12ThemeImage, #tir12ViewerImage {
  position: relative;
  z-index: 2;
}
#tir12ThemeViewer img, #tir12Viewer img {
  position: relative;
}
#tir12ThemeViewer img:before {
  display: none;
}
#tir12ThemeViewer {
  background-image:
    radial-gradient(circle at top, rgba(255, 220, 120, .18), transparent 60%);
}
#tir12Viewer {
  background-image:
    radial-gradient(circle at top, rgba(255, 220, 120, .20), transparent 60%);
}
@media (max-width: 768px) {
  #tir12Intro .btntir {
    margin-bottom: 80px !important;
  }
  #tir12Intro img {
    max-width: 180px;
    width: 100%;
    height: auto;
  }
  #tir12Game {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }
  .tir12Row {
    grid-template-columns: 55px repeat(4, 55px);
    gap: 6px;
    justify-content: center;
  }
  .tir12ThemeCell, .tir12CardCell {
    width: 55px;
    height: 76px;
  }
  .tir12CardCell img, .tir12ThemeCell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .tir12TitleCell {
    display: none;
  }
  #tir12ThemeViewer img {
    width: 130px;
  }
  #tir12Viewer img {
    width: 160px;
  }
  .ORTIR-container, .ORACLES-TIRAGES {
    overflow: visible !important;
    height: auto !important;
  }
}
#tir12Main.tir12AfterDraw {
  justify-content: space-between;
}
#tir12Main.tir12AfterDraw #tir12RightPanel {
  margin-left: auto;
}
#tir12ThemeViewer {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 25px;
  width: 100%;
}
#tir12ThemeImage {
  width: 120px;
  height: auto;
  flex-shrink: 0;
}
#tir12ThemeContent {
  flex: 1;
  display: flex;
  flex-direction: column;
}
#tir12ThemeText {
  max-width: none;
  text-align: left;
  margin: 0;
}
@media (max-width:768px) {
  #tir12ThemeViewer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  #tir12ThemeTitle, #tir12ThemeText {
    text-align: center;
  }
  #tir12Main {
    display: flex;
    flex-direction: column;
  }
  #tir12Main {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  #tir12GridWrapper {
    width: 100%;
    flex-direction: column;
  }
  #tir12RightPanel {
    width: 100%;
  }
}
#tir12Main {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 40px;
}
#tir12GridWrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
#tir12UnifiedGrid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
#tir12FanContainer {
  width: 310px;
  max-height: 550px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  gap: 8px;
  padding: 10px;
  overflow-y: auto;
  flex-shrink: 0;
}
#tir12RightPanel {
  flex: 1;
  min-width: 350px;
  display: none;
  flex-direction: column;
  gap: 25px;
}
#tir12Main.tir12AfterDraw #tir12GridWrapper {
  flex: 0 0 auto;
}
#tir12Main.tir12AfterDraw #tir12RightPanel {
  flex: 1;
}
#tir12Main.tir12AfterDraw {
  gap: 50px;
}
#tir12ThemeTitle {
  color: #f5df9a;
  font-size: 20px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 15px 0;
  text-align: left;
}
#tir12Viewer {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 25px;
  width: 100%;
  margin-bottom: 80px !important; 
}
#tir12ViewerContent {
  flex: 1;
  min-width: 0;
}
#tir12ViewerImage {
  width: 120px;
  height: auto;
  flex-shrink: 0;
}
#tir12ViewerContent {
  flex: 1;
  display: flex;
  flex-direction: column;
}
#tir12ViewerText {
  max-width: none;
  margin: 0;
  text-align: left;
  line-height: 1.8;
}
@media (max-width:768px) {
  #tir12Viewer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  #tir12ViewerText {
    text-align: center;
  }
	#tir12FanContainer {
	 margin-bottom: 80px !important; 
}
	
}