/*

//.........................
//.VVVV....VVVVV.222222....
//.VVVV....VVVV.22222222...
//.VVVV....VVVVV222..2222..
//.VVVVV..VVVV.V222..2222..
//..VVVV..VVVV.......2222..
//..VVVV..VVVV......22222..
//..VVVVVVVVV......22222...
//...VVVVVVVV.....22222....
//...VVVVVVVV....22222.....
//...VVVVVVV....22222......
//....VVVVVV....2222.......
//....VVVVVV...V222222222..
//....VVVVV....V222222222..
//.........................

V2

	TABLE OF CONTENTS
	--------------------------------
	TABLE OF CONTENTS
	--------------------------------
	*. login .......................
	--------------------------------
*/




.login-container{font-family:var(--font-family);width:740px;/* height:520px;*/position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background-color:#fff;box-shadow:#000 .1em .1em 1.3em;background-size:contain} 


.login-container .login-box-wrapper{background-image:url(/image/login/wave_lines.png);margin:0 auto;display:flex;/*height:520px;*/background-size:cover;background-position:center}

.login-container .login-box-wrapper .leftZone{width:50%;position:relative}

.login-container .login-box-wrapper .rightZone{width:50%;margin:0 auto;padding:16px 26px 23px 0}

.login-container .login-box-wrapper .rightZone .top{display:flex;align-items:center;justify-content:center;width:100%;margin-bottom:5px}

.login-container .login-box-wrapper .rightZone .top img{height:52px}

.login-container .login-box-wrapper .rightZone .title{display:flex;flex-direction:column;justify-content:center;align-items:center;padding-bottom:8px;margin-bottom:10px;border-bottom:1px solid #cecfe9}

.login-container .login-box-wrapper .rightZone .title h3{font-family:var(--font-family)}

.login-container .login-box-wrapper .rightZone .up .inputFrame .info{display:flex}

.login-container .login-box-wrapper .rightZone .up .inputFrame .info span{color:#4385f8;font-size:18px;margin-right:5px}

.login-container .login-box-wrapper .rightZone .up .inputFrame .txtT{color:#404261;font-size:16px;font-weight:500;margin-bottom:10px}


#login-container .modal-dialog .modal-content .support-table input,#login-container .modal-dialog .modal-content .support-tbl input,.login-container .login-box-wrapper .rightZone .up .input_zone input , #login-container textarea{width:100%;height:42px;padding-left:14px;background-repeat:no-repeat;margin-bottom:8px;box-sizing:border-box;border-radius:5px;color:#898989;background-color:#fff !important;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;border:1px solid #cecfe9 !important}

#login-container .login-box-wrapper .rightZone .login-user .input_zone .inputFrame{margin-bottom:.7rem}


.login-container .login-box-wrapper .rightZone .up .input_zone input::placeholder{color:#b7b7b7;opacity:.8}

.login-container .login-box-wrapper .btnZone .btnFrame .btn_p{
    text-align:center;
    letter-spacing:.5px;
    transition:.2s ease-out;
    cursor:pointer;
    padding:10px !important;
    border-radius:50px;
    width:48%;
    margin-bottom:15px !important;
    float:left;
    font-size:16px
}





.login-container.openLogin .login-box-wrapper .loginpopup-sns > ul {
    display: flex;
    margin-top: 10px;
}

.login-container.openLogin .login-box-wrapper .loginpopup-sns > ul > li.iconSocial {
    width: 25%;
}

.login-container.openLogin .login-box-wrapper .loginpopup-sns > ul > li.iconSocial > a {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}






.openReg .reg .up .btnZone .txtZone,.login-container .login-box-wrapper .btnZone .txtZone{display:flex;justify-content:center;width:100%;align-items:center}

.openReg .reg .up .btnZone .txtZone,.login-container .login-box-wrapper .btnZone .txtZone{font-weight:700}

.openReg .reg .up .btnZone .txtZone .toLogin,.openLogin .btnZone .txtZone .toReg,.login-container .login-box-wrapper .btnZone .txtZone ._menu-register{color:#4385f8;text-decoration:underline;margin-left:.5rem;cursor:pointer}

.login-container .login-box-wrapper .leftZone .pic img{vertical-align:baseline;bottom:0;position:absolute;left:-42px}

.openReg{position:absolute;left:-80%;width:1024px!important;padding:33px 54px}

.openReg .reg{width:100%;margin:0 auto}

.openReg .reg .topFrame{display:flex;align-items:center;justify-content:center;padding-bottom:13px;margin-bottom:16px}

.openReg .reg .top{display:flex;align-items:center;justify-content:center}

.openReg .reg .top img{height:40px}

.openReg .reg .title{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-left:10px}

.openReg .reg .title{font-weight:700;font-size:30px}

.openReg .reg .up .input_zone .leftZone .inputFrame .info span.ficon{font-size:15px;margin-right:5px}

.openReg .reg .upFrame{z-index:3;position:relative;width:100%}

.openReg .reg .up{margin-bottom:10px}

.openReg .reg .up .input_zone{display:flex;justify-content:space-between}

.openReg .reg .up .input_zone .leftZone{width:100%;margin-right:0vw}


.openReg .reg .up .input_zone .lineUse .input-out-frame{position:relative;padding-bottom:14px;margin-right:3%;width:50%}

.openReg .reg .up .input_zone .lineUse .singleframe .input-out-frame {width: 100%}

.openReg .reg .up .input_zone .leftZone .inputFrame{display:flex;position:relative}

.openReg .reg .up .input_zone .leftZone .inputFrame .info{display:flex;align-items:center;width:35%;height:42px}

.openReg .reg .up .input_zone .leftZone .singleframe .inputFrame .info {width: 17%}
.openReg .reg .up .input_zone .leftZone .singleframe .inputFrame .input-inner-all {width: 83%}

.openReg .reg .up .input_zone .leftZone .inputFrame .info .txt{font-size:13px;font-weight:500}

.openReg .reg .up .input_zone .leftZone .inputFrame .input_content input{padding-left:14px;text-overflow:ellipsis;white-space:nowrap;width:93%;height:35px;margin-bottom:0;overflow:hidden}

.openReg .reg .up .input_zone .leftZone .inputFrame .input_content select{padding-bottom:0}

.openReg .reg .up .input_zone .leftZone .inputFrame .input_content{height:37px;line-height:37px;box-sizing:border-box;font-size:16px;position:relative;margin-bottom:12px;display:flex;justify-content:space-around;align-items:center;border-radius:5px}

.openReg .reg .up .btnFrame,.openReg .reg .up .btnFrame button{text-align:center!important}

.openReg .reg .up .btnZone .txtZone{margin-top:2rem;text-align:center}

.openLogin .txtZone span.toReg,.openReg .txtZone span.toLogin{margin-left:.5rem;font-size: 16px;}

.modal .login-container {
    left: 50%;
    transform: translate(-50%, 25%);
    position:absolute;
}

#openLogin .modal-dialog {
    height: 100%;
    position: relative;
    overflow: hidden;
    width: 100%;
    --cui-modal-width: 100%;
    margin: 0 auto;
    padding: 0;
}




#login-container #content{padding-bottom:0}

#login-container #login-footer ._textarea .alert-message{font-size:23px;font-weight:900}

#login-container #supportWrite .modal-dialog .modal-content,#login-container #supportHistory .modal-dialog .modal-content{background:#fff;background-image:url(/image/login/wave_lines.png)}

#login-container .boot-crate #login_btn,#login-container .boot-cratev2 #login_btn,#pop_login,#pop_register{height:50px;line-height:50px;cursor:pointer}

#login-container .boot-cratev2 #login_btn .button__icon:after{position:absolute;height:1.5px;width:0;top:8.4px;right:2px;content:"";transition:.5s all ease}

#login-container .boot-cratev2 #login_btn .button__icon{transform:translateX(100%);right:0;position:absolute;transition:.3s all ease}

#login-container .boot-cratev2 #login_btn,#pop_login,#pop_register{width:calc(75% - 0px);-webkit-border-radius:50px;-moz-border-radius:50px;border-radius:50px;text-align:left;padding:0 38px;margin:0;font-size:13px;box-sizing:border-box;font-weight:600}

#login-container .boot-cratev2 #login_btn:hover .button__icon:after{width:22px}

#login-container .boot-cratev2 #login_btn:hover .button__icon{transform:translateX(0);right:15px}

#login-container .boot-cratev2 #login_btn{position:relative;overflow:hidden}

#login-container .boot-cratev2 ._menu-register{background:0 0;height:auto;text-align:left;margin:24px 0 0;font-size:13px;border:0;cursor:pointer;font-weight:700;padding:0;display:inline-block}

#login-container .boot-cratev2{margin:0;position:relative;top:50%;left:50%;-webkit-transform:translate(-70%,-45%);-moz-transform:translate(-70%,-45%);-ms-transform:translate(-70%,-45%);-o-transform:translate(-70%,-45%);transform:translate(-50%,-50%);width:565px;z-index:9;width:50%;height:80%;overflow-y:auto}

#login-container .login-logoV2,td.recall{text-align:left}

#login-container .modal-dialog .modal-content .modal-footer button._support_cancle,#login-container .modal-dialog .modal-content .modal-footer button._support_write , .supporttbl_wrap.el-dialog__wrapper.main-dialog .modal-footer button {background:#4385f8;color:#e8e8e8;border:none; border-radius: 8px;}

#login-container .modal-dialog .modal-content .modal-footer button._support_cancle:hover,#login-container .modal-dialog .modal-content .modal-footer button._support_write:hover{background:#2d62bd;color:#fff}

#login-container .modal-dialog .modal-content .modal-footer{display:flex;justify-content:space-around}

#login-container .modal-dialog .modal-content .modal-header .modal-title{color:#404040!important;font-family:var(--font-family)}

#login-container .modal-dialog .modal-content .support-table p,#login-container .modal-dialog .modal-content .support-tbl p{color:#5a5a5a;font-size:1rem;font-weight:700;margin-bottom:.5rem;margin-top:1rem}

#login-container.register-container .boot-cratev2 .logoimage-wrap.custom-size{text-align:center}

#login-container.register-container .boot-cratev2{height:100%}

#login-footer .sns-center_inner p{margin:0;color:#fff;padding-top:4px;padding-left:2px}

#login-footer .sns-center_inner{margin:0 auto;display:inline-block;padding-top:10px}

#login-footer{text-align:center;background-color:var(--bgColor-01)}

#login-container,#login-container .rwrap{height:100%}

#game-container #game-bet .allbet-container .all_bet_image_sect .entevolution,#game-container #game-bet .game-bet-center,#live-container tr,#login-container .boot-crate ._login_text img,#match-container #match-frame,#match-container tr,#register-container .register-box .register-stage tr,#split-container tr,#sports-wrapper #split-container .league-box .btn-bonus:first-child:nth-last-child(1),#sports-wrapper #split-container .league-box .btn-bonus:first-child:nth-last-child(1)~.btn-bonus,#sports-wrapper #wide-container .league-box table,#sports-wrapper #wide-container .league-box table>tbody,#sports-wrapper #wide-container .league-box table>tbody>tr,#sports-wrapper #wide-container .league-box table>tbody>tr>td,#sports-wrapper #wide-container .league-box table>tbody>tr>td>div.odds-container,.captcha_con .input_login,.register-success table.register-done{width:100%}


#register-container.newTemp-cal > div:has(>button._calander_day) {
    display: flex;
    width: 100%;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}


#register-container .register-box .register-stage td,.live_sports_schedule,.lv-header{text-align:center;position:relative}


.roulette-wrapper #register-container{background:url(/image/roulette-bg-chips.png);background-repeat:no-repeat;background-position-x:center;background-position-y:top}



#register-container{display:flex;flex-direction:column;justify-content:center;align-items:center}

#register-container .register-box{margin:0 auto;width:calc(100% - 0px)}

#register-form{width:100%;padding:15px}

#header-register{font-size:1.3em;margin-bottom:0;padding-bottom:2px;font-weight:900}

#register-container .register-content .register-input .ficon{float:left;font-size:18px;margin-bottom:10px}



.screen_regbg{-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px;-webkit-transition:-webkit-transform 300ms,box-shadow 300ms;-moz-transition:-moz-transform 300ms,box-shadow 300ms;transition:transform 300ms,box-shadow 300ms;overflow:hidden;background:#f2f5fc!important;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}

.screen_regbg::after,.screen_regbg::before{content:"";position:absolute;width:700px;height:700px;border-top-left-radius:40%;border-top-right-radius:45%;border-bottom-left-radius:35%;border-bottom-right-radius:40%;z-index:-1}

.screen_regbg::before{left:60%;top:-80%;-webkit-animation:wawes 6s infinite linear;-moz-animation:wawes 6s infinite linear;animation:wawes 6s infinite linear}

.screen_regbg::after{left:55%;top:-90%;-webkit-animation:wawes 7s infinite;-moz-animation:wawes 7s infinite;animation:wawes 7s infinite}

#register-container .register-box .register-stage td.hold:after{content:"";width:100%;height:3px;left:0;top:20px;z-index:-1}

#register-container .register-box .register-stage td.hold:first-child:after,td.hold::after{width:100%;transform:translateX(50%)}

#register-container .register-box .register-stage td.hold:last-child:after{width:0}

#register-container .register-content .register-input td>select{height:47px!important;cursor:pointer;border-radius:5px;padding:7px 5px;width:calc(100% - 0px);    margin-bottom: 8px;}

.register-box{margin:20px 0!important}

#register-next{border:none;box-shadow:1px 1px hsl(0deg 0% 0% / 50%);text-align:center;letter-spacing:.5px;transition:.2s ease-out;cursor:pointer;width:78%;font-size:16px;line-height:37px;display:block;vertical-align:middle;margin:0 auto;cursor:pointer;-webkit-border-radius:50px;-moz-border-radius:50px;border-radius:50px;padding:5px 20px;box-sizing:border-box;font-weight:600;-webkit-transition:background-color 300ms;-moz-transition:background-color 300ms;transition:background-color 300ms}

#register-container .register-success .register-done .column,#register-next,.register-details .welcome_text{text-align:center}

.register-done tr:first-child td:nth-child(2){display:none}

.register-details,.register-success{padding-bottom:15px}

table.register-input{margin:0 auto;z-index:1}

table.register-done{border-spacing:20px 5px;text-align:right}

tr.t5{font-size:1.2em}

#register-container .register-box .register-stage,#sports-wrapper #asian-container .league-box table,#sports-wrapper #asian-container .league-box table>tbody,#sports-wrapper #asian-container .league-box table>tbody>tr,#sports-wrapper #asian-container .league-box table>tbody>tr>td,#sports-wrapper #asian-container .league-box table>tbody>tr>td>div.odds-container{width:100%;border-collapse:collapse}



#register-container .register-box .register-stage td i{padding:10px;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%}

#register-container .register-content .register-input{width:80%}

#register-container .register-content .register-code{width:340px;text-align:-moz-center;text-align:-webkit-center;height:70px;font-size:18px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}

p.welcome_text{display:block!important;margin:10px}

#register-container .register-content .register-input td>input{height:42px;padding-left:14px;background-repeat:no-repeat;margin-bottom:8px;
    box-sizing:border-box;
    border-radius:5px;
    font-size:14px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    width:100%;
    border-width: 1px;
    border-style: solid;
    
}

.register-details td>input{height:28px;padding:.5rem}

#register-container .register-details.regactive,#register-container .register-input.regactive,#register-container .register-success.regactive{display:table!important;width:100%}

#register-container .register-success{width:100%}


#register-wrapper{width:100%;height:auto}

#login-register-page{padding-left:5px}

.login-header{margin:15px}

.step_name{margin-top:5px}


#register-container .register-content .register-input .wrapregcode {
    text-align:center;
}

#register-container .register-content .register-input .register-code {
    width: 78%;
    height: 70px;
    margin: 0 auto;
    border-radius: 50px;
    background-color: #c5c5c514;
    border-color: #6d7788;
    font-weight: 900;
    color: #6d7788;
    font-size:25px
}

#register-container.newTemp-cal .month-select {
    padding: 4px;
    border-radius: 20px;
}


#register-container .result_r_div .result_r_table tbody>tr>td {
    padding: 5px 15px;
}



#register-container .result_r_div .result_r_table thead tr th ,
#register-container .result_r_div .result_r_table td {
    text-align:center;
}





#register-container .result_r_div .result_r_table thead tr th, 
#register-container .result_r_div .result_r_table td {
    border-radius:3px !important;
}



#openLogin ._confirm.el-dialog__wrapper .modal-dialog, #openLogin ._confirmlist.el-dialog__wrapper .modal-dialog{
        max-width: 500px;
}

#openLogin ._confirm.el-dialog__wrapper .modal-dialog .modal-content ,
#openLogin ._confirmlist.el-dialog__wrapper .modal-dialog .modal-content {
    --cui-modal-bg:black;
}

#openLogin ._confirm.el-dialog__wrapper .modal-dialog .modal-content ,
#openLogin ._confirmlist.el-dialog__wrapper .modal-dialog .modal-content {
    --cui-modal-bg:#28283f;
}

#openLogin ._confirmlist.el-dialog__wrapper .modal-dialog .modal-content table table {
    width: 100%;
    text-align: center;
}

#openLogin ._confirmlist.el-dialog__wrapper .modal-dialog .modal-content table input {
    padding:10px;
    width:97%;
    text-align: center;
    margin-bottom: 17px;
}

#openLogin ._confirmlist.el-dialog__wrapper .modal-dialog .modal-content table .modal-footer button{
    margin: 3px !important;
    width: 48% !important;
}

#openLogin ._confirmlist.el-dialog__wrapper .modal-dialog .modal-content table .modal-footer {
    padding: 0px;
    margin-top:20px;
}

#openLogin ._confirmlist.el-dialog__wrapper .btn-close, #openLogin ._confirmlist.el-dialog__wrapper .btn-close:hover {
    background: var(--cui-btn-close-bg,url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='rgba%2844, 56, 74, 0.95%29'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e")) center/1em auto no-repeat;
    filter: brightness(10);
}





.chrome_link {
position: fixed;
top: 0;
left: 0;
z-index: 9999;
display: flex;
flex-direction: row;
align-items: center;
background: #000000;
background: #000000cc;
width: 100%;
height: 55px;
padding: 0 20px;
}
#chrome-topclose {
color: #000a12;
background: linear-gradient(90deg,#ffa000,#ffff7b);
appearance: none;
outline: none;
border: none;
border-radius: 25px;
padding: 5px 13px;
font-weight: 700;
}

@media (min-width:769px) {
.chrome_link {
justify-content: center;
left: 50%;
width: 30%;
transform: translateX(-50%);
border-radius: 0 0 25px 25px;
}	
}
@media (max-width:768px) {
.chrome_link {
        justify-content: center;
        /*display: flex !important;*/
}	
}



/* ==========================================================================
   v8 메인 로비 (2026-10-05 디자인 스튜디오 MAIN-APPLY-TO-PHP) - 구조만, 색은 color/<site>.css 의 --s-* 토큰
   상단(base/header.css)과 같은 --v8-frame 폭을 쓴다: 최대 1200, 1280 미만 좌우 24, 768 미만 16.
   ========================================================================== */
html body #ajax-content .v8-main {
    width: var(--v8-frame, min(1200px, calc(100% - 64px)));
    max-width: none;
    margin: 0 auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
html body #ajax-content .v8-main > .panel-heading,
html body #ajax-content .v8-main > .panel-heading > .display-inlineblock {
    width: 100%;
    margin: 0;
    padding: 0 !important;
    background: transparent;
}
/* 1. 메인 배너: 관리자에서 올린 기존 슬라이더 그림을 3:1 상자(PC 1200x400)에 전체가 보이게 담는다. */
html body #ajax-content .v8-main .main_event {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 1;
    margin: 24px 0 0;
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
    background: var(--s-surface);
}
html body #ajax-content .v8-main .main_event .event_height,
html body #ajax-content .v8-main .main_event .swipe_wrap,
html body #ajax-content .v8-main .main_event .swiper-container,
html body #ajax-content .v8-main .main_event .swiper-wrapper,
html body #ajax-content .v8-main .main_event .swiper-slide,
html body #ajax-content .v8-main .main_event .swiper-slide > a {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}
html body #ajax-content .v8-main .main_event .swiper-slide {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: var(--s-surface);
}
html body #ajax-content .v8-main .main_event .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center;
}
/* 상단 공지와 같은 문구를 다시 흘리는 본문 공지 줄은 숨긴다 */
html body #ajax-content .v8-main #ad-top.marquee01 {
    display: none;
}
/* 새 목록과 겹치는 PC·모바일 카지노/슬롯 장식만 숨긴다. 실시간 입출금·공지 등은 유지한다. */
html body #ajax-content .v8-main .main__discover,
html body #ajax-content .v8-main #home .slotZone,
html body #ajax-content .v8-main .main__col-1,
html body #ajax-content .v8-main .main_m .m_main_menu[ref="casino"],
html body #ajax-content .v8-main .main_m .m_main_menu[ref="casino_maint"],
html body #ajax-content .v8-main .main_m .m_main_menu[idx="casino"],
html body #ajax-content .v8-main .main_m .m_main_menu[ref*="slot"] {
    display: none;
}
/* 숨긴 구획 때문에 남는 기존 main 의 최소 높이·세로 정렬 여백을 없앤다 */
html body #ajax-content .v8-main .dash.main_p main.main {
    min-height: 0;
    display: block;
}

/* 2. 원본 아이콘 바로가기 */
.v8-lobby {
    margin: 0 0 24px;
}
.v8-quick {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 12px 0 32px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--s-surface);
}
.v8-quick__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 0;
    min-height: 56px;
    margin: 0 !important; /* common.css 의 button { margin·padding: inherit !important } 를 되돌린다 */
    padding: 0 8px !important;
    border: 0;
    background: transparent;
    color: var(--s-ink);
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
}
.v8-quick__item + .v8-quick__item {
    border-left: 1px solid var(--s-line);
}
.v8-quick__item img {
    flex: none;
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* 3. 카지노 다음 슬롯: 구획 사이 64px, 제목은 실제 로고 심볼·한국어·GAME LIST 한 줄 */
.v8-section {
    scroll-margin-top: calc(var(--header01-height) * 2 + var(--menu01-height) + 24px);
}
.v8-section + .v8-section {
    margin-top: 64px;
}
.v8-section__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 0 0 24px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--s-ink);
    font-family: inherit;
    font-size: 26px;
    font-weight: 600;
    line-height: 32px;
    white-space: nowrap;
}
.v8-section__heading::before,
.v8-section__heading::after {
    content: "";
    flex: 1 1 160px;
    min-width: 0;
    max-width: 160px;
    height: 1px;
    background: var(--s-line);
}
.v8-section__symbol {
    flex: none;
    width: 34px;
    height: 32px;
    overflow: hidden;
}
.v8-section__subtitle {
    color: var(--s-accent-2-ink);
    font-size: 20px;
}
.v8-section__note {
    margin: 0;
    padding: 32px 16px;
    border-radius: 12px;
    background: var(--s-surface);
    color: var(--s-ink-muted);
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}

/* 4. 큰 이미지 버튼: 카지노·슬롯 모두 1:1 이고 768px 이상 5열, 미만 2열(아래 v8-grid--casino 규칙). 없는 그림은 이름 자리만 표시한다. */
.v8-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.v8-card {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0 !important; /* common.css 의 button inherit !important 를 되돌린다 */
    padding: 0 !important;
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--s-surface);
    color: var(--s-ink);
    font: inherit;
    text-align: center;
    cursor: pointer;
}
.v8-card__art {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--s-surface);
}
/* 그림 전체(아래쪽 게임사 로고 포함)가 잘리지 않게 contain 으로 맞춘다 */
.v8-card__art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
.v8-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 8px 12px;
    color: var(--s-ink-muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    word-break: keep-all;
    overflow-wrap: anywhere;
}
.v8-card__badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--s-accent-2-soft);
    color: var(--s-accent-2-ink);
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
}
.v8-card--maint .v8-card__art > * {
    opacity: 0.55;
}
.v8-card__art--empty {
    background: var(--s-surface-muted);
}
.v8-quick__item:focus-visible,
.v8-card:focus-visible {
    outline: 2px solid var(--s-accent-ink);
    outline-offset: 3px;
}
@media (hover: hover) {
    .v8-quick__item:hover {
        background: var(--s-surface-muted);
    }
    .v8-card:hover .v8-card__art img {
        filter: brightness(1.12);
    }
    .v8-card:hover .v8-card__art--empty {
        background: var(--s-line);
    }
}
.v8-quick__item:active {
    filter: brightness(0.92);
}
@media (prefers-reduced-motion: no-preference) {
    .v8-card__art img {
        transition: filter 140ms ease-out;
    }
}
@media (max-width: 1199px) {
    html body #ajax-content .v8-main .main_event {
        margin-top: 16px;
    }
    .v8-section {
        scroll-margin-top: calc(var(--v8-mobile-header-height, 112px) + 16px);
    }
}
@media (max-width: 767px) {
    .v8-quick {
        margin-bottom: 24px;
    }
    .v8-quick__item {
        flex-direction: column;
        gap: 4px;
        padding: 8px 0 !important;
        min-height: 68px;
        font-size: 12px;
    }
    .v8-quick__item img {
        width: 28px;
        height: 28px;
    }
    .v8-section + .v8-section {
        margin-top: 40px;
    }
    .v8-section__heading {
        gap: 16px;
        margin-bottom: 20px;
        font-size: 24px;
        line-height: 28px;
    }
    .v8-section__heading::before,
    .v8-section__heading::after {
        max-width: 72px;
    }
    .v8-section__symbol {
        width: 30px;
        height: 28px;
    }
    .v8-section__subtitle {
        font-size: 16px;
    }
    .v8-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .v8-card__placeholder {
        padding: 8px 4px;
    }
}

/* ==========================================================================
   v8 슬롯·카지노 로비 (191022) - 구조만, 색은 기존 --s-* 토큰
   ========================================================================== */
html body #main-c #content:has(.v8-lobby-page) {
    overflow: clip;
}
html body #content-wrapper #content-container #content-table:has(.v8-lobby-page) {
    overflow: visible;
}
html body #ajax-content .v8-lobby-page {
    width: var(--v8-frame, min(1200px, calc(100% - 64px)));
    min-width: 0;
    max-width: none;
    margin: 0 auto;
    padding: 24px 0 0;
    border: 0;
    box-shadow: none;
    color: var(--s-ink);
    background: var(--s-canvas);
}
html body #ajax-content .v8-lobby-page *,
html body #ajax-content .v8-lobby-page *::before,
html body #ajax-content .v8-lobby-page *::after {
    box-sizing: border-box;
}
html body #ajax-content .v8-lobby-page [hidden] {
    display: none !important;
}
html body #ajax-content .v8-lobby-page .v8-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
html body #ajax-content .v8-lobby-page button {
    margin: 0 !important;
    padding: 0 !important;
    font: inherit;
    cursor: pointer;
    appearance: none;
    box-shadow: none;
    text-transform: none;
}
html body #ajax-content .v8-lobby-page button:focus-visible,
html body #ajax-content .v8-lobby-page input:focus-visible,
html body #ajax-content .v8-lobby-page .v8-lobby-card:focus-visible,
html body #ajax-content .v8-lobby-page a.ent-container:focus-visible {
    outline: 2px solid var(--s-accent-ink) !important;
    outline-offset: 2px;
}
html body #ajax-content .v8-lobby-page .v8-slot-layout {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
}
html body #ajax-content .v8-lobby-page .v8-rail {
    --v8-rail-top: calc(var(--header01-height) * 2 + var(--menu01-height) + 24px);
    position: sticky;
    top: var(--v8-rail-top);
    align-self: start;
    min-width: 0;
    max-height: min(640px, calc(100dvh - var(--v8-rail-top) - 24px));
    padding: 4px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--s-line) var(--s-surface);
    border-radius: 12px;
    background: var(--s-surface);
}
html body #ajax-content .v8-lobby-page .v8-rail::-webkit-scrollbar,
html body #ajax-content .v8-lobby-page .side-scroll::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
html body #ajax-content .v8-lobby-page .v8-rail::-webkit-scrollbar-thumb,
html body #ajax-content .v8-lobby-page .side-scroll::-webkit-scrollbar-thumb {
    background: var(--s-line);
    border-radius: 4px;
}
html body #ajax-content .v8-lobby-page .v8-provider-list,
html body #ajax-content .v8-lobby-page .v8-provider-list > .side-scroll {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    float: none;
}
html body #ajax-content .v8-lobby-page .v8-provider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-width: 0;
    min-height: 84px;
    padding: 8px 4px !important;
    border: 0;
    border-radius: 8px;
    background: var(--s-surface);
    color: var(--s-ink);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: keep-all;
}
html body #ajax-content .v8-lobby-page .v8-provider.clicked {
    background: var(--s-accent-soft);
    color: var(--s-accent-ink);
}
html body #ajax-content .v8-lobby-page .v8-provider-icon {
    display: block;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 6px;
}
html body #ajax-content .v8-lobby-page .v8-provider-monogram {
    display: grid;
    place-items: center;
    background: var(--s-surface-muted);
    color: var(--s-ink);
    font-size: 14px;
}
html body #ajax-content .v8-lobby-page .v8-provider-name {
    min-width: 0;
    max-width: 100%;
}
html body #ajax-content .v8-lobby-page .v8-catalog {
    min-width: 0;
    border-radius: 12px;
    background: var(--s-surface);
}
html body #ajax-content .v8-lobby-page .v8-catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    min-height: 72px;
    min-width: 0;
    padding: 12px 24px;
    border-bottom: 1px solid var(--s-line);
}
html body #ajax-content .v8-lobby-page .v8-section__heading--left {
    justify-content: flex-start;
    gap: 10px;
    margin: 0;
    text-align: left;
}
html body #ajax-content .v8-lobby-page .v8-section__heading--left::before,
html body #ajax-content .v8-lobby-page .v8-section__heading--left::after {
    content: none;
    display: none;
}
html body #ajax-content .v8-lobby-page .v8-toolbar-actions {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    min-width: 0;
}
html body #ajax-content .v8-lobby-page .v8-catalog-search {
    position: relative;
    flex: 0 1 288px;
    width: 288px;
    max-width: 100%;
    min-width: 160px;
    height: 44px;
}
html body #ajax-content .v8-lobby-page .v8-catalog-search input {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 44px 0 40px;
    border: 1px solid var(--s-line);
    border-radius: 6px;
    background: var(--s-surface);
    color: var(--s-ink);
    font: inherit;
    font-size: 13px;
    box-shadow: none;
    appearance: none;
}
html body #ajax-content .v8-lobby-page .v8-catalog-search input::placeholder {
    color: var(--s-ink-muted);
}
html body #ajax-content .v8-lobby-page .v8-catalog-search input::-webkit-search-cancel-button {
    appearance: none;
}
html body #ajax-content .v8-lobby-page .v8-search-icon {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--s-ink-muted);
    stroke-width: 1.8;
    pointer-events: none;
}
html body #ajax-content .v8-lobby-page .v8-search-clear {
    position: absolute;
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 6px;
    background: var(--s-surface);
    color: var(--s-ink-muted);
    font-size: 22px;
}
html body #ajax-content .v8-lobby-page .v8-money-refresh {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 6px;
    min-width: 44px;
    min-height: 44px;
    padding: 0 14px !important;
    border: 0;
    border-radius: 8px;
    background: var(--s-accent-soft);
    color: var(--s-accent-ink);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
html body #ajax-content .v8-lobby-page .v8-money-refresh svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
html body #ajax-content .v8-lobby-page .v8-catalog-panel {
    min-width: 0;
}
html body #ajax-content .v8-lobby-page .v8-grid-games {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 16px 24px 24px;
    float: none;
    overflow: visible;
}
html body #ajax-content .v8-lobby-page .v8-card-item,
html body #ajax-content .v8-lobby-page .thumb_frame.custom-row {
    position: relative;
    display: block;
    float: none;
    width: auto;
    min-width: 0;
    max-width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 1px solid var(--s-line);
    border-radius: 6px;
    background: var(--s-surface-muted);
    box-shadow: none;
}
html body #ajax-content .v8-lobby-page .v8-lobby-card,
html body #ajax-content .v8-lobby-page a.ent-container {
    position: relative;
    display: block;
    float: none;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: var(--s-surface-muted);
    color: var(--s-ink);
    text-decoration: none;
    box-shadow: none;
    overflow: visible;
    transform: none;
    transition: none;
}
html body #ajax-content .v8-lobby-page .btn-ent {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: var(--s-surface-muted);
    box-shadow: none;
    overflow: visible;
    z-index: auto;
    transform: none;
    transition: none;
}
html body #ajax-content .v8-lobby-page .btn-ent::before,
html body #ajax-content .v8-lobby-page .btn-ent::after,
html body #ajax-content .v8-lobby-page a.ent-container::before,
html body #ajax-content .v8-lobby-page a.ent-container::after,
html body #ajax-content .v8-lobby-page .v8-lobby-card::before,
html body #ajax-content .v8-lobby-page .v8-lobby-card::after {
    content: none;
    display: none;
}
html body #ajax-content .v8-lobby-page .v8-lobby-art {
    display: grid;
    place-items: center;
    width: 100%;
    min-width: 0;
    aspect-ratio: 1;
    padding: 0;
    border-radius: 5px 5px 0 0;
    background: var(--s-surface-muted);
    overflow: hidden;
    filter: none;
    transition: none;
}
html body #ajax-content .v8-lobby-page .v8-art-placeholder {
    padding: 12px;
    color: var(--s-ink-muted);
    font-size: 16px;
    text-align: center;
    overflow-wrap: anywhere;
    word-break: keep-all;
}
html body #ajax-content .v8-lobby-page .btn-ent > img,
html body #ajax-content .v8-lobby-page .v8-lobby-art > img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 5px 5px 0 0;
    object-fit: cover;
    box-shadow: none;
    filter: none;
    transform: none;
    transition: none;
}
html body #ajax-content .v8-lobby-page--casino .v8-lobby-art > img {
    height: 100%;
    object-fit: contain;
}
html body #ajax-content .v8-lobby-page--casino .v8-lobby-art,
html body #ajax-content .v8-lobby-page--casino .v8-lobby-art > img {
    border-radius: 5px;
}
html body #ajax-content .v8-lobby-page .btn-ent > span.first {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 8px 12px;
    color: var(--s-ink);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
html body #ajax-content .v8-lobby-page .v8-lobby-card:active,
html body #ajax-content .v8-lobby-page a.ent-container:active,
html body #ajax-content .v8-lobby-page .v8-money-refresh:active {
    transform: scale(.98);
}
html body #ajax-content .v8-lobby-page .v8-empty {
    padding: 40px 24px;
    text-align: center;
}
html body #ajax-content .v8-lobby-page .v8-empty-title {
    margin: 0 0 8px;
    color: var(--s-ink);
    font-size: 16px;
    font-weight: 500;
    overflow-wrap: anywhere;
}
html body #ajax-content .v8-lobby-page .v8-empty-reason {
    margin: 0 0 20px;
    color: var(--s-ink-muted);
    font-size: 13px;
    overflow-wrap: anywhere;
}
html body #ajax-content .v8-lobby-page .v8-empty-action {
    min-width: 44px;
    min-height: 44px;
    max-width: 100%;
    padding: 8px 16px !important;
    border: 0;
    border-radius: 6px;
    background: var(--s-accent-soft);
    color: var(--s-accent-ink);
    font-size: 14px;
}
html body #ajax-content .v8-lobby-page #backbg-preload {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 160px;
}
html body #ajax-content .v8-lobby-page #slotbox:has(> ._game_item) #backbg-preload,
html body #ajax-content .v8-lobby-page .v8-grid-loaded #backbg-preload {
    display: none !important;
}
@media (hover: hover) {
    html body #ajax-content .v8-lobby-page .v8-money-refresh:hover {
        background: color-mix(in srgb, var(--s-accent-soft), var(--s-accent) 14%);
    }
    html body #ajax-content .v8-lobby-page .v8-provider:hover {
        background: var(--s-surface-muted);
    }
    html body #ajax-content .v8-lobby-page .v8-provider.clicked:hover {
        background: var(--s-accent-soft);
    }
    html body #ajax-content .v8-lobby-page .v8-card-item:hover .v8-lobby-art,
    html body #ajax-content .v8-lobby-page .thumb_frame:hover .btn-ent > img {
        filter: brightness(1.12);
    }
}
@media (prefers-reduced-motion: no-preference) {
    html body #ajax-content .v8-lobby-page .v8-money-refresh {
        transition: transform 140ms ease-out, background-color 140ms ease-out;
    }
    html body #ajax-content .v8-lobby-page .v8-lobby-card,
    html body #ajax-content .v8-lobby-page a.ent-container {
        transition: transform 140ms ease-out;
    }
    html body #ajax-content .v8-lobby-page .v8-lobby-art,
    html body #ajax-content .v8-lobby-page .btn-ent > img {
        transition: filter 140ms ease-out;
    }
}
@media (prefers-reduced-motion: reduce) {
    html body #ajax-content .v8-lobby-page .v8-money-refresh:active {
        transform: none;
    }
}
@media (min-width: 768px) {
    html body #ajax-content .v8-lobby-page .v8-grid-games {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (min-width: 1100px) {
    html body #ajax-content .v8-lobby-page .v8-grid-games {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (min-width: 1280px) {
    html body #ajax-content .v8-lobby-page--slot .v8-grid-games {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}
@media (max-width: 1199px) {
    html body #ajax-content .v8-lobby-page .v8-rail {
        --v8-rail-top: calc(var(--v8-mobile-header-height, 112px) + 24px);
    }
}
@media (max-width: 767px) {
    html body #ajax-content .v8-lobby-page {
        padding-top: 16px;
    }
    html body #ajax-content .v8-lobby-page .v8-slot-layout {
        display: block;
    }
    html body #ajax-content .v8-lobby-page .v8-rail {
        position: static;
        display: flex;
        top: auto;
        width: 100%;
        max-height: none;
        margin-bottom: 12px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
    }
    html body #ajax-content .v8-lobby-page .v8-provider-list > .side-scroll {
        flex-direction: row;
        gap: 8px;
        padding: 2px;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior: contain;
        scroll-snap-type: x proximity;
        scrollbar-width: thin;
        scrollbar-color: var(--s-line) var(--s-surface);
    }
    html body #ajax-content .v8-lobby-page .v8-provider {
        flex: 0 0 88px;
        width: 88px;
        min-height: 80px;
        scroll-snap-align: start;
    }
    html body #ajax-content .v8-lobby-page .v8-catalog-toolbar {
        padding: 12px 16px;
    }
    html body #ajax-content .v8-lobby-page .v8-toolbar-actions {
        flex-basis: 100%;
    }
    html body #ajax-content .v8-lobby-page .v8-catalog-search {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        max-width: none;
    }
    html body #ajax-content .v8-lobby-page .btn-ent > span.first {
        padding: 8px;
    }
    html body #ajax-content .v8-lobby-page .v8-grid-games {
        padding: 16px;
    }
    html body #ajax-content .v8-lobby-page .v8-empty {
        padding-inline: 16px;
    }
}
html body #ajax-content .v8-lobby-page .v8-provider:not(.clicked) {
    color: var(--s-ink-muted);
}
html body #ajax-content .v8-lobby-page .v8-provider:not(.clicked):hover {
    color: var(--s-ink);
}
html body #ajax-content .v8-lobby-page .v8-provider-glyph {
    width: 36px;
    height: 36px;
    border-radius: 0;
    background-color: currentColor;
    -webkit-mask: var(--v8-icon) center / contain no-repeat;
    mask: var(--v8-icon) center / contain no-repeat;
}

/* V8 casino provider cards: shared layers; casino grids keep their existing spacing. */
.v8-grid--casino,
.v8-grid--slot,
html body #ajax-content .v8-lobby-page--casino .v8-grid-games {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.v8-provider-card {
    container-type: inline-size;
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
    overflow: hidden;
    isolation: isolate;
    border-width: 1px;
    border-style: solid;
    border-radius: 12px;
}
.v8-card__art .v8-provider-card__person,
html body #ajax-content .v8-lobby-page--casino .v8-provider-card__person {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: none;
}
.v8-provider-card::after {
    content: '';
    position: absolute;
    inset: 55% 0 0 0;
    z-index: 0;
    pointer-events: none;
}
.v8-provider-card__info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.v8-card__art .v8-provider-card__logo,
html body #ajax-content .v8-lobby-page--casino .v8-provider-card__logo {
    display: block;
    width: auto;
    height: 28px;
    max-width: 60%;
    object-fit: contain;
    transition: none;
}
.v8-provider-card__logo-text {
    height: 12.87cqw;
    font: 800 10.11cqw/12.87cqw -apple-system, 'Apple SD Gothic Neo', sans-serif;
    letter-spacing: .14em;
}
.v8-provider-card__name {
    font-size: 17px;
    font-weight: 600;
}
.v8-card.v8-card--provider .v8-card__badge {
    z-index: 1;
}
html body #ajax-content .v8-lobby-page--casino .v8-card-item.v8-card-item--provider {
    border-width: 0;
    border-radius: 12px;
}
html body #ajax-content .v8-lobby-page--casino .v8-lobby-card.v8-lobby-card--provider {
    border-radius: 12px;
}
html body #ajax-content .v8-lobby-page--casino .v8-lobby-card--provider .v8-lobby-art {
    border-radius: 0;
    transition: none;
}
.v8-card.v8-card--provider:is(:hover, :focus-visible) .v8-provider-card__person,
html body #ajax-content .v8-lobby-page--casino .v8-lobby-card--provider:is(:hover, :focus-visible) .v8-provider-card__person {
    transform: scale(1.05);
}
@media (prefers-reduced-motion: no-preference) {
    .v8-provider-card {
        transition: border-color .2s ease;
    }
    .v8-card__art .v8-provider-card__person,
    html body #ajax-content .v8-lobby-page--casino .v8-provider-card__person {
        transition: transform .35s ease;
    }
}
@media (min-width: 768px) {
    .v8-grid--casino,
    .v8-grid--slot,
    html body #ajax-content .v8-lobby-page--casino .v8-grid-games {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .v8-card__art .v8-provider-card__logo,
    html body #ajax-content .v8-lobby-page--casino .v8-provider-card__logo {
        height: 22px;
    }
    .v8-provider-card__name {
        display: none;
    }
}
/* Per-provider logo boxes from the S4 sample (height x width on a 217.6px card), scaled with the card width; they also override the mobile default. */
.v8-card__art .v8-provider-card__logo.v8-provider-card__logo--ev,
html body #ajax-content .v8-lobby-page--casino .v8-provider-card__logo.v8-provider-card__logo--ev {
    width: 64.34cqw;
    height: 11.95cqw;
    max-width: none;
}
.v8-card__art .v8-provider-card__logo.v8-provider-card__logo--dg,
html body #ajax-content .v8-lobby-page--casino .v8-provider-card__logo.v8-provider-card__logo--dg {
    width: 33.55cqw;
    height: 20.22cqw;
    max-width: none;
}
.v8-card__art .v8-provider-card__logo.v8-provider-card__logo--wm,
html body #ajax-content .v8-lobby-page--casino .v8-provider-card__logo.v8-provider-card__logo--wm {
    width: 20.22cqw;
    height: 20.22cqw;
    max-width: none;
}
.v8-card__art .v8-provider-card__logo.v8-provider-card__logo--ag,
html body #ajax-content .v8-lobby-page--casino .v8-provider-card__logo.v8-provider-card__logo--ag {
    width: 50.55cqw;
    height: 16.54cqw;
    max-width: none;
}
.v8-card__art .v8-provider-card__logo.v8-provider-card__logo--pp,
html body #ajax-content .v8-lobby-page--casino .v8-provider-card__logo.v8-provider-card__logo--pp {
    width: 42.74cqw;
    height: 19.76cqw;
    max-width: none;
}
.v8-card__art .v8-provider-card__logo.v8-provider-card__logo--ezugi,
html body #ajax-content .v8-lobby-page--casino .v8-provider-card__logo.v8-provider-card__logo--ezugi {
    width: 47.33cqw;
    height: 17.92cqw;
    max-width: none;
}
.v8-card__art .v8-provider-card__logo.v8-provider-card__logo--mg,
html body #ajax-content .v8-lobby-page--casino .v8-provider-card__logo.v8-provider-card__logo--mg {
    width: 59.28cqw;
    height: 14.25cqw;
    max-width: none;
}
.v8-card__art .v8-provider-card__logo.v8-provider-card__logo--awc,
html body #ajax-content .v8-lobby-page--casino .v8-provider-card__logo.v8-provider-card__logo--awc {
    width: 38.60cqw;
    height: 20.22cqw;
    max-width: none;
}
.v8-card__art .v8-provider-card__logo.v8-provider-card__logo--ori,
html body #ajax-content .v8-lobby-page--casino .v8-provider-card__logo.v8-provider-card__logo--ori {
    width: 24.82cqw;
    height: 20.22cqw;
    max-width: none;
}

/* V8 guest auth (061232): layout only; palette belongs to color/iqos.css. */
html body #top_pc .v8-auth-header,
html body .v8-auth-header .v8-auth-header-group { display: flex; align-items: center; gap: 8px; }
html body #top_pc .v8-auth-header { gap: 12px; }
html body #top_pc .v8-auth-header .sup_inqbtn { display: block; }
html body .v8-auth-header .v8-auth-header-group--support { gap: 4px; }
html body .v8-auth-divider { width: 1px; height: 20px; flex: none; }
html body .v8-auth-header .v8-auth-button,
html body #login-open_mobile .v8-auth-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; min-height: 44px; padding: 0 16px !important; margin: 0 !important; border-width: 1px !important; border-style: solid !important; border-radius: 8px; font-size: 14px; line-height: 1.2; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: none; }
html body .v8-auth-header .v8-auth-ghost { padding-inline: 10px !important; font-weight: 500; }
html body .v8-auth-header .v8-auth-button > span { display: none; }
html body .v8-auth-header svg,
html body #login-open_mobile svg { width: 16px; height: 16px; flex: none; }
html body .v8-auth-mobile-notice { margin: 0 0 12px; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body #login-open_mobile.v8-auth-mobile { display: block; width: var(--v8-frame, calc(100% - 32px)); margin: 0 auto; padding: 12px 0; }
html body #login-open_mobile .v8-auth-header { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
html body #login-open_mobile .v8-auth-header-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-column: 1 / -1; gap: 8px; }
html body #login-open_mobile .v8-auth-button { float: none; width: 100%; min-width: 0; max-width: none; }

html body :is(#openLogin, #openRegister, #supportWritenuser, #supportHistorynuser, #supportWrite, #supportHistory).v8-auth-modal { padding: 8px !important; overflow: auto; backdrop-filter: none; }
html body .v8-auth-modal { --v8-auth-width: 420px; }
html body .v8-auth-modal--register { --v8-auth-width: 760px; }
html body .v8-auth-modal--inquiry { --v8-auth-width: 480px; }
html body :is(#openLogin, #openRegister, #supportWritenuser, #supportHistorynuser, #supportWrite, #supportHistory).v8-auth-modal .modal-dialog { display: flex; align-items: center; width: min(var(--v8-auth-width), 100%); max-width: var(--v8-auth-width); min-width: 0; min-height: calc(100vh - 16px); min-height: calc(100dvh - 16px); height: auto; margin: 0 auto !important; padding: 0; overflow: visible; }
html body :is(#openLogin, #openRegister, #supportWritenuser, #supportHistorynuser, #supportWrite, #supportHistory).v8-auth-modal .modal-content { position: relative; display: flex; width: 100%; height: auto; max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); padding: 0; border-width: 1px; border-style: solid; border-radius: 16px; overflow: hidden; box-shadow: none; }
html body .v8-auth-modal .v8-auth-scroll { display: grid; gap: 20px; min-height: 0; margin: 0; padding: 32px; overflow-y: auto; overscroll-behavior: contain; }
html body .v8-auth-modal .v8-auth-close { position: absolute; z-index: 3; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; min-width: 44px; height: 44px; padding: 0; margin: 0; border: 0; border-radius: 8px; font-size: 26px; font-weight: 400; line-height: 1; opacity: 1; cursor: pointer; }
html body .v8-auth-close svg { width: 20px; height: 20px; }
html body .v8-auth-head { display: grid; justify-items: center; gap: 8px; padding-inline: 32px; text-align: center; }
html body .v8-auth-symbol { width: 40px; height: 38px; overflow: hidden; flex: none; }
html body .v8-auth-head h2 { margin: 0; font-size: 22px; line-height: 1.35; font-weight: 700; }
html body .v8-auth-head p { max-width: 36ch; margin: 0; font-size: 14px; line-height: 1.55; text-wrap: balance; }
html body .v8-auth-gate { display: flex; align-items: center; gap: 8px; padding: 10px 12px; margin: 0; border-radius: 8px; font-size: 14px; line-height: 1.55; }
html body .v8-auth-gate svg { width: 18px; height: 18px; flex: none; }
html body .v8-auth-modal .v8-auth-form { display: grid; gap: 20px; width: 100%; padding: 0; margin: 0; text-align: left; }
html body .v8-auth-modal .v8-auth-field { display: grid; gap: 8px; min-width: 0; }
html body .v8-auth-modal .v8-auth-field:is([style*="display: block"], [style*="display: flex"]) { display: grid !important; }
html body .v8-auth-field label { margin: 0; font-size: 14px; font-weight: 500; line-height: 1.5; }
html body .v8-auth-modal .v8-auth-field :is(input, select, textarea) { display: block; width: 100%; min-width: 0; height: 48px; min-height: 48px; padding: 0 14px; margin: 0; border-width: 1px; border-style: solid; border-radius: 8px; font: inherit; font-size: 15px; line-height: 1.5; outline: none; box-sizing: border-box; }
html body .v8-auth-modal .v8-auth-field textarea { height: 128px; min-height: 128px; padding-block: 12px; resize: vertical; }
html body .v8-auth-modal .v8-auth-field select { padding-right: 32px; }
html body .v8-auth-help,
html body .v8-auth-error { margin: 0; font-size: 13px; line-height: 1.5; }
html body .v8-auth-field--invalid .v8-auth-help { display: none; }
html body .v8-auth-input-wrap { position: relative; }
html body .v8-auth-modal .v8-auth-input-wrap input { padding-right: 52px; }
html body .v8-auth-eye { position: absolute; right: 2px; top: 2px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 8px; cursor: pointer; }
html body .v8-auth-eye svg { width: 18px; height: 18px; }
html body .v8-auth-eye-slash { display: none; }
html body .v8-auth-eye[aria-pressed="true"] .v8-auth-eye-slash { display: block; }
html body .v8-auth-captcha { display: grid; grid-template-columns: minmax(0, 1fr) 120px 48px; gap: 8px; min-width: 0; }
html body .v8-auth-captcha img { display: block; width: 120px; height: 48px; border-width: 1px; border-style: solid; border-radius: 8px; object-fit: fill; cursor: pointer; }
html body .v8-auth-refresh { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-width: 1px; border-style: solid; border-radius: 8px; cursor: pointer; }
html body .v8-auth-refresh svg { width: 18px; height: 18px; }
html body .v8-auth-modal .v8-auth-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 44px; height: auto; width: auto; padding: 0 12px; margin: 0; border-width: 1px; border-style: solid; border-radius: 8px; font-size: 14px; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; box-shadow: none; }
html body .v8-auth-modal .v8-auth-button svg { width: 16px; height: 16px; flex: none; }
html body .v8-auth-modal .v8-auth-block { width: 100%; min-height: 48px; font-size: 16px; }
/* 102206: 예전 #pop_register{width:75%} 가 이겨 회원가입 버튼이 왼쪽 3/4 만 차지했다 -> 폼 폭 전체(가운데) */
html body #openRegister #pop_register.v8-auth-block { width: 100%; margin-left: 0; margin-right: 0; }
html body .v8-auth-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; }
html body .v8-auth-form > .v8-auth-actions .v8-auth-button,
html body .v8-auth-done .v8-auth-button,
html body .v8-auth-result .v8-auth-button { min-height: 48px; }
html body .v8-auth-modal .v8-auth-button:disabled { opacity: .6; cursor: wait; }
html body .v8-auth-switch { display: flex; align-items: center; justify-content: center; gap: 4px; margin: -8px 0 0; font-size: 14px; }
html body .v8-auth-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; border: 0; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
html body .v8-auth-guest-box { display: grid; gap: 12px; padding-top: 20px; border-top-width: 1px; border-top-style: solid; }
html body .v8-auth-guest-box > p { margin: 0; font-size: 13px; text-align: center; }
html body .v8-auth-guest-box .v8-auth-button { gap: 6px; padding: 0 6px; }
html body .v8-auth-modal .v8-auth-section { display: grid; gap: 16px; min-width: 0; padding: 24px 0 0; margin: 0; border: 0; border-top-width: 1px; border-top-style: solid; }
html body .v8-auth-modal .v8-auth-section:first-of-type { padding-top: 0; border: 0; }
html body .v8-auth-section legend { float: left; width: 100%; padding: 0; margin: 0; font-size: 13px; font-weight: 600; line-height: 1.5; }
html body .v8-auth-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; }
html body .v8-auth-status { margin: 0; font-size: 14px; line-height: 1.5; }
html body .v8-auth-status:empty { display: none; }
html body .v8-auth-modal :is(.v8-auth-done, .v8-auth-result) { display: grid; gap: 20px; outline: none; }
html body .v8-auth-done { justify-items: center; text-align: center; }
html body .v8-auth-done h3 { margin: 0; font-size: 20px; }
html body .v8-auth-done p { margin: 0; max-width: 32ch; font-size: 14px; line-height: 1.6; }
html body .v8-auth-done-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; }
html body .v8-auth-done-icon svg { width: 28px; height: 28px; }
html body .v8-auth-results { display: grid; gap: 12px; }
html body .v8-auth-results > .table-header { display: none; }
html body .v8-auth-results > .el-row { display: block; width: 100%; margin: 0; }
html body .v8-auth-results .v8-auth-result-row { display: block; width: 100%; padding: 0; margin: 0; border-width: 1px; border-style: solid; border-radius: 12px; overflow: hidden; }
html body .v8-auth-result-toggle { display: grid; grid-template-columns: minmax(0, 1fr) auto 20px; align-items: center; gap: 12px; width: 100%; min-height: 56px; padding: 12px 14px; border: 0; text-align: left; cursor: pointer; }
html body .v8-auth-results .v8-auth-result-title { display: block; width: auto; padding: 0; border: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 500; text-align: left; }
html body .v8-auth-results .v8-auth-result-date { width: auto; padding: 0; font-size: 13px; font-variant-numeric: tabular-nums; }
html body .v8-auth-chevron { display: block; font-size: 20px; text-align: center; }
html body .v8-auth-result-toggle[aria-expanded="true"] .v8-auth-chevron { transform: rotate(180deg); }
html body .v8-auth-results .table-board-content { width: 100%; padding: 0 14px 14px; border: 0; font-size: 14px; line-height: 1.6; }
html body .v8-auth-results .table-board-content .speech-bubble { width: auto; min-width: 0; margin: 12px 0 0; padding: 12px 14px; border: 0; border-left-width: 3px; border-left-style: solid; border-radius: 8px; box-shadow: none; }
html body .v8-auth-results .speech-bubble.login_support_modal { padding: 0; border: 0; }
html body .v8-auth-results .speech-bubble :is(h1, p) { margin: 0; padding: 0; font-size: 14px; line-height: 1.6; }
html body .v8-auth-results .speech-bubble h1 { font-size: 13px; }
html body .v8-auth-results img { max-width: 100%; height: auto; }
html body .v8-auth-modal [hidden] { display: none !important; }
html body.v8-auth-backdrop .modal-backdrop { opacity: 1; backdrop-filter: blur(4px); }
@media (max-width: 1199px) {
    html body #top_m.top_md-flex { display: block; }
    html body #top_m.top_md-flex #mquick-header .mquickh-wrapper { grid-template-areas: "logo support support"; }
}
@media (max-width: 767px) {
    html body .v8-auth-modal .v8-auth-scroll { padding: 24px 16px; scrollbar-gutter: auto; }
    html body .v8-auth-grid { grid-template-columns: minmax(0, 1fr); }
    html body .v8-auth-modal .v8-auth-close { top: 8px; right: 8px; }
    html body .v8-auth-captcha { gap: 8px; }
    html body .v8-auth-head { padding-inline: 24px; }
}
@media (max-width: 359px) {
    html body .v8-auth-captcha { grid-template-columns: minmax(0, 1fr) 96px 48px; gap: 4px; }
    html body .v8-auth-captcha img { width: 96px; }
    html body .v8-auth-modal .v8-auth-field :is(input, select) { padding-inline: 8px; }
    html body .v8-auth-guest-box .v8-auth-actions { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) {
    html body .v8-auth-modal.fade .modal-dialog { transition: transform 180ms ease-out; }
    html body :is(.v8-auth-button, .v8-auth-link, .v8-auth-close, .v8-auth-eye, .v8-auth-refresh) { transition: background-color 140ms ease-out, color 140ms ease-out, border-color 140ms ease-out; }
    html body .v8-auth-field :is(input, select, textarea) { transition: border-color 140ms ease-out, box-shadow 140ms ease-out; }
}
@media (prefers-reduced-motion: reduce) {
    html body .v8-auth-modal.fade,
    html body .v8-auth-modal.fade .modal-dialog,
    html body .v8-auth-modal *,
    html body .v8-auth-header * { transition: none !important; animation: none !important; }
    html body .v8-auth-modal .v8-auth-button:active,
    html body .v8-auth-header .v8-auth-button:active { transform: none; }
}
html body #openRegister.v8-auth-modal #register-form { padding: 0; }
/* The guest chrome-download bar sat fixed over the new guest buttons; keep it in the top row flow instead. */
html body #top_pc #chrome_msg { position: static; left: auto; top: auto; transform: none; width: auto; height: 44px; flex: none; margin-left: 12px; }
/* Owner 073654: square buttons only. Legacy .btnN/.signup_b1 pill radius and fit-content width beat the guest button rules. */
html body #top_pc .v8-auth-header .v8-auth-button,
html body #login-open_mobile .v8-auth-button { border-radius: 8px !important; }
html body #login-open_mobile .v8-auth-button { width: 100% !important; min-width: 0 !important; max-width: none !important; }
html body .v8-auth-modal .v8-auth-button { border-radius: 8px !important; }
html body #openRegister #pop_register { height: 48px !important; min-height: 48px !important; }
