html{
overflow-y:scroll;
}
.tir5-body{
margin:0;
}
.ORTIR-container,.ORACLES-TIRAGES,.ORTIR-titre{
height:auto;
min-height:0;
max-height:none;
padding:0px;
margin:0px;
}
.ORTIR-container{
padding:0px !important;
}
.tir5-title{
color:#f1e7c5;
text-align:center;
margin:20px 0;
}
.tir5-intro{
display:flex;
flex-direction:column;
justify-content:center;
align-items:center;
gap:0;
}
.tir5-intro-image{
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;
}
.tir5-intro-image img{
display:block;
width:100%;
height:auto;
}
.tir5-btn{
padding:12px 22px;
border:none;
cursor:pointer;
background:#f1e7c5;
color:#2e2238;
font-weight:bold;
border-radius:8px;
}
.tir5-guide{
text-align:center;
margin:0px 0 20px 0;
font-size:18px;
color:#f1e7c5;
transition:.3s;
}
.tir5-guide-active{
transform:scale(1.05);
text-shadow:0 0 12px rgba(241,231,197,.8);
color:#f1e7c5;
}
.tir5-themes{
display:flex;
justify-content:center;
gap:15px;
flex-wrap:wrap;
text-align:center;
}
.tir5-theme-card img{
display:block;
width:145px;
height:275px;
object-fit:cover;
border:2px solid rgba(255,255,255,.2);
border-radius:8px;
box-sizing:border-box;
transition:.25s;
}
.tir5-theme-card img:hover{
transform:scale(1.05);
}
.theme-label{
margin-top:5px;
font-weight:bold;
}
.tir5-selected-theme{
text-align:center;
margin-top:10px;
color:#fff;
}
.tir5-fan{
display:flex;
justify-content:center;
align-items:center;
padding:30px;
position:relative;
}
.tir5-card{
width:75px;
height:143px;
object-fit:cover;
cursor:pointer;
position:relative;
margin-left:-14px;
box-shadow:0 4px 10px rgba(0,0,0,.4);
opacity:0;
transform:translateY(40px) scale(.9);
transition:.25s;
}
.tir5-card:first-child{
margin-left:0;
}
.tir5-card:hover{
transform:translateY(-10px) scale(1.08);
z-index:10;
}
.tir5-card.show{
animation:cardAppear .5s ease forwards;
}
.tir5-selected-cards{
display:flex;
justify-content:center;
gap:10px;
flex-wrap:wrap;
padding:10px;
}
.tir5-card-selected{
width:75px;
height:143px;
animation:selectedAppear .35s ease forwards;
}
.tir5-fadeout{
animation:fadeOutCards 3s ease forwards;
}
@keyframes cardAppear{
from{
opacity:0;
transform:translateY(40px) scale(.9);
}
to{
opacity:1;
transform:translateY(0) scale(1);
}
}
@keyframes selectedAppear{
from{
opacity:0;
transform:translateY(-20px) scale(.8);
}
to{
opacity:1;
transform:translateY(0) scale(1);
}
}
@keyframes fadeOutCards{
from{
opacity:1;
}
to{
opacity:0;
}
}
.tir5-grid{
display:grid;
grid-template-columns:repeat(3,170px);
grid-template-rows:repeat(3,300px);
justify-content:center;
gap:20px;
padding:20px;
}
.tir5-grid-item{
width:145px;
height:320px;
display:flex;
flex-direction:column;
align-items:center;
justify-content:flex-start;
padding:0;
box-sizing:border-box;
}
.tir5-flip-card{
position:relative;
width:145px;
height:275px;
margin:0 auto;
transform-style:preserve-3d;
-webkit-transform-style:preserve-3d;
transition:transform .8s;
border:2px solid rgba(255,255,255,.2);
border-radius:8px;

box-sizing:border-box;
}
.tir5-flip-card.flipped{
transform:rotateY(180deg);
-webkit-transform:rotateY(180deg);
}
.tir5-face{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
backface-visibility:hidden;
-webkit-backface-visibility:hidden;
overflow:hidden;
border-radius:6px;
}
.tir5-front{
transform:rotateY(0deg);
-webkit-transform:rotateY(0deg);
z-index:2;
}
.tir5-back{
transform:rotateY(180deg);
-webkit-transform:rotateY(180deg);
z-index:1;
}
.tir5-face img{
display:block;
width:100%;
height:100%;
object-fit:cover;
border:none;
border-radius:0;
}
.tir5-grid-label{
text-align:center;
margin-bottom:5px;
}
.tir5-grid img{
display:block;
cursor:pointer;
transition:.25s;
}
.tir5-grid img:hover{
transform:scale(1.05);
}
.tir5-theme-center img{
cursor:pointer;
transition:.3s;
}
.tir5-hidden{
display:none!important;
}
.tir5-definitions{
max-width:750px;
margin:5px auto;
padding:5px 8px;
text-align:center;
background:rgba(255,255,255,.05);
border:1px solid rgba(241,231,197,.2);
border-radius:16px;
box-shadow:0 8px 30px rgba(0,0,0,.35);
backdrop-filter:blur(4px);
}
#resultTitle{
margin:5px 0;
color:#f1e7c5;
}
#resultText{
margin:5px 0;
color:#fff;
line-height:1.3;
font-size:17px;
display:none;
}
.tir5-result-card{
display:none;
width:120px;
height:auto;
border-radius:16px;
border:2px solid rgba(241,231,197,.65);
box-shadow:
0 0 10px rgba(255,215,120,.45),
0 0 25px rgba(255,215,120,.25),
0 12px 30px rgba(0,0,0,.45);
opacity:0;
transform:scale(.92);
transition:
opacity .6s ease,
transform .6s ease;
}

.tir5-result-card.visible{
display:inline-block;
opacity:1;
transform:scale(1);
filter:drop-shadow(0 0 8px rgba(255,215,120,.45));
}
#resultCardName{
text-align:center;
margin:10px 0;
font-size:1.4rem;
font-weight:700;
font-family:Georgia,serif;
color:#f7e7b4;
letter-spacing:1px;
text-shadow:0 0 5px rgba(255,215,120,.6),0 0 12px rgba(255,215,120,.4),0 0 20px rgba(255,215,120,.2);
animation:cardGlow 3s ease-in-out infinite alternate;
}
@keyframes cardGlow{
from{
text-shadow:0 0 5px rgba(255,215,120,.5),0 0 12px rgba(255,215,120,.3);
}
to{
text-shadow:0 0 10px rgba(255,215,120,.9),0 0 20px rgba(255,215,120,.6),0 0 30px rgba(255,215,120,.4);
}
}
.tir5-reveal{
animation:tir5Reveal .5s ease;
}

@keyframes tir5Reveal{
from{
opacity:0;
}
to{
opacity:1;
}
}
.tir5-modal{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
display:flex;
justify-content:center;
align-items:center;
background:rgba(0,0,0,.85);
z-index:9999;
}
.tir5-modal-content{
position:relative;
width:90%;
max-width:500px;
padding:20px;
text-align:center;
background:rgba(30,20,40,.95);
border-radius:16px;
}
.tir5-close{
position:absolute;
top:10px;
right:15px;
font-size:28px;
cursor:pointer;
color:#fff;
}
.tir5-modal-img{
width:120px;
margin-bottom:10px;
border-radius:10px;
}
.tir5-modal-nav{
display:flex;
justify-content:space-between;
margin-top:15px;
}
.tir5-modal-nav button{
padding:8px 15px;
border:none;
cursor:pointer;
background:#f1e7c5;
color:#2e2238;
font-weight:bold;
border-radius:6px;
}
.tir5-hidden{
display:none!important;
}
@media(max-width:768px){
.container,
.ORTIR-container,
.ORACLES-TIRAGES{
padding-left:0!important;
padding-right:0!important;
}
.tir5-intro-image{
width:75%;
margin:0 auto;
}
.tir5-intro-image img{
width:100%;
height:auto;
}
.btncommencer{
margin-bottom:50px!important;
}
.tir5-theme-card img{
width:70px;
height:auto;
}
.tir5-fan{
display:flex;
justify-content:center;
align-items:center;
padding:5px;
overflow:hidden;
max-width:100vw;
}
.tir5-card{
width:45px;
height:86px;
margin-left:-30px;
}
.tir5-selected-cards{
justify-content:center;
align-items:center;
flex-wrap:nowrap;
width:100%;
gap:4px;
overflow-x:auto;
margin-bottom:100px;
}
.tir5-card-selected{
width:45px;
height:86px;
flex:0 0 auto;
}
.tir5-grid{
grid-template-columns:repeat(3,70px);
grid-template-rows:repeat(3,150px);
justify-content:center;
justify-items:center;
column-gap:5px;
row-gap:2px;
padding:8px;
margin-bottom:30px;
}
.tir5-grid-item{
width:70px;
height:150px;
}
.tir5-grid-label{
font-size:11px;
margin:5px 0 0;
}
.tir5-flip-card{
width:70px;
height:130px;
}
.tir5-face img{
width:100%;
height:100%;
}
.tir5-grid>div>img{
width:70px;
height:130px;
border:2px solid rgba(255,255,255,.2);
border-radius:8px;
box-sizing:border-box;
}
.tir5-result-card{
width:100px;
margin-bottom:8px;
}
#resultTitle{
margin-top:2px;
}
.tir5-definitions{
margin-bottom:70px;
}
.tir5-themes{
margin-bottom:100px;
}
	.tir5-result-layout{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:15px;
}

.tir5-grid{
    width:100%;
    flex-shrink:0;
}

.tir5-definitions{
    width:calc(100% - 20px);
    max-width:420px;
    height:auto;
    min-height:0;
    margin:0 auto 70px;
    overflow:visible;
}
}

@media(min-width:769px){
#resultSection .tir5-grid{
grid-template-columns:repeat(3,90px);
grid-template-rows:repeat(3,185px);
justify-content:center;
gap:8px;
padding:0px;
}
#resultSection .tir5-grid-item{
width:90px;
height:185px;
}
#resultSection .tir5-grid-label{
margin-bottom:0px;
}
#resultSection .tir5-flip-card{
width:85px;
height:171px;
border:2px solid rgba(255,255,255,.2);
border-radius:8px;
box-sizing:border-box;
}
#resultSection .tir5-face{
width:100%;
height:100%;
}
#resultSection .tir5-face img{
width:100%;
height:100%;
object-fit:cover;
}
#resultSection .tir5-grid>div>img{
width:85px;
height:171px;
border:2px solid rgba(255,255,255,.2);
border-radius:8px;
box-sizing:border-box;
object-fit:cover;
}
#resultSection .tir5-grid-item > img{
width:85px!important;
height:190px;
border:2px solid rgba(255,255,255,.2);
border-radius:8px;
box-sizing:border-box;
object-fit:fill;
}
.tir5-result-layout{
    display:flex;
    flex-direction:row;
    justify-content:center;
    align-items:flex-start;
    gap:30px;
    width:100%;
}

.tir5-grid{
    flex-shrink:0;
}

.tir5-definitions{
    width:400px;
    min-height:560px;
    margin:20px 20px 0;
    padding:10px;
    box-sizing:border-box;
    overflow:auto;
}

.tir5-result-card{
    width:120px;
    height:228px;
    object-fit:cover;
}
}