.xy01,
.xy02,
.xy03,
.xy04,
.xy05,
.xy06,
.xy07,
.xy08,
.xy09,
.xy10,
.xy11,
.xy12{
	position:absolute;
	width:25.6481%;
	height:auto;
	perspective:1000px;
}

.xy01{
	top:21.71875%;
	left:5.55%;
}

.xy02{
	top:21.71875%;
	left:37.777%;
}

.xy03{
	top:21.71875%;
	left:70.0925%;
}

.xy04{
	top:39.427%;
	left:5.55%;
}

.xy05{
	top:39.427%;
	left:37.777%;
}

.xy06{
	top:39.427%;
	left:70.0925%;
}

.xy07{
	top:57.7083%;
	left:5.55%;
}

.xy08{
	top:57.7083%;
	left:37.777%;
}

.xy09{
	top:57.7083%;
	left:70.0925%;
}

.xy10{
	top:75.9895%;
	left:5.55%;
}

.xy11{
	top:75.9895%;
	left:37.777%;
}

.xy12{
	top:75.9895%;
	left:70.0925%;
}

.card{
	cursor:pointer;
}

.card-inner{
	position:relative;
	width:100%;
	aspect-ratio:1 / 1.27;
	transform-style:preserve-3d;
	transition:transform .5s ease;
}

.card.flipped .card-inner{
	transform:rotateY(180deg);
}

.card-face{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	backface-visibility:hidden;
	-webkit-backface-visibility:hidden;
}

.card-face img{
	display:block;
	width:100%;
	height:100%;
	object-fit:contain;
}

.card-front{
	transform:rotateY(0deg);
}

.card-back{
	transform:rotateY(180deg);
}

.notice {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 3%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 50;
    pointer-events: auto;

    /* 애니메이션 적용 */
    animation: fadeEffect 1s infinite;
}

/* Fade-out → Fade-in */
@keyframes fadeEffect {
    0% { opacity: 0.5; }     /* 시작: 100% */
    50% { opacity: 1; }  /* 1초 후: 50% */
    100% { opacity: 0.5; }   /* 2초 후: 다시 100% */
}

.notice.hidden{
	display:none;
	pointer-events:none;
}

.notice-background{
	position:absolute;
	width:100%;
	height:100%;
	opacity:.7;
	z-index:0;
	border-radius:12px;
}

.notice span{
	position: relative;
    font-family: 'HyundaiSansHeadKR', sans-serif;
    font-weight: 700;
    color: #eb6100;
    font-size: clamp(2vw, 4vw, 32px);
    line-height: 1;
    z-index: 1;
}

.notice .noticeText{
	color:#eb6100;
	font-size: clamp(2vw, 4vw, 32px);
	}

.result_popup{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	display:none;
	justify-content:center;
	align-items:center;
	z-index:100;
}

.result_popup.show{
	display:flex;
}

.result_box{
	width:80%;
	padding:8% 5%;
	text-align:center;
	border-radius:16px;
}

.result_popup.lose{
	background:rgba(0, 0, 0, .7);
}

.result_popup.lose .result_box{
	background:transparent;
}

.result_popup.lose .result_text{
	color:#FFF;
	font-family:'HyundaiSansHeadKR', sans-serif;
	font-weight:700;
	font-size: clamp(16px, 8vw, 72px);
	line-height:1.4;
}

.result_popup.win{
	background:rgba(255, 255, 255, .7);
}

.result_popup.win .result_box{
	background:transparent;
}

.result_popup.win .result_text{
	color:#000;
	font-family:'HyundaiSansHeadKR', sans-serif;
	font-weight:700;
	font-size: clamp(16px, 8vw, 72px);
	line-height:1.5;
}

.clock-side .clock-icon {
	position:absolute;
	top:94.427%;
	left:6.666%;
	width:6.296%;
	height:auto;
}

.clock-side .gage {
    position: absolute;
    top: 95.5%;
    left: 15%;
    width: 80%;
    height: 1.5%;
    border: 5px solid #000;
    border-radius: 30px;
	z-index:2;
}

.clock-side .gage-fill {
    position: absolute;
    top: 95.5%;
    left: 15%;
    height: 1.5%;
    background:#c9996a;
    border-radius: 30px;
	z-index:1;
}

.clock-side .gage-fill {
    width: 80%;
}

.start-button {
	position: absolute;
    top: 50%;
    left: 50%;
    width: 40%;
    height: 5%;
	transform:translate(-50%, -50%);
    border: none;
    background: #00479d;
    border-radius: 100px;
    color: #FFF;
    font-size: clamp(2vw, 5vw, 54px);
    font-weight: 700;
}