/*

//.........................
//.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
	--------------------------------
	*. header .......................
	--------------------------------
*/




.header {
    --cui-header-min-height: 4rem;
    --cui-header-padding-x: .5rem;
    --cui-header-padding-y: .5rem;
    --cui-header-bg: #fff;
    --cui-header-color: rgba(44,56,74,0.681);
    --cui-header-border-color: #d8dbe0;
    --cui-header-border: 1px solid var(--cui-header-border-color);
    --cui-header-hover-color: rgba(44,56,74,0.95);
    --cui-header-disabled-color: rgba(44,56,74,0.38);
    --cui-header-active-color: rgba(44,56,74,0.95);
    --cui-header-brand-padding-y: .3125rem;
    --cui-header-brand-color: #4f5d73;
    --cui-header-brand-hover-color: #475468;
    --cui-header-toggler-padding-x: .75rem;
    --cui-header-toggler-padding-y: .25rem;
    --cui-header-toggler-bg: transparent;
    --cui-header-toggler-color: rgba(44,56,74,0.681);
    --cui-header-toggler-border-radius: .375rem;
    --cui-header-toggler-hover-color: rgba(44,56,74,0.95);
    --cui-header-toggler-icon-bg: url("data:image/svg+xml;  charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%2844, 56, 74, 0.681%29' stroke-width='2.25' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    --cui-header-toggler-hover-icon-bg: url("data:image/svg+xml;  charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%2844, 56, 74, 0.95%29' stroke-width='2.25' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    --cui-header-nav-link-padding-x: .5rem;
    --cui-header-nav-link-padding-y: .5rem;
    --cui-header-divider-border-color: #d8dbe0;
    --cui-header-divider-border: 1px solid var(--cui-header-divider-border-color);
    --cui-subheader-min-height: 3rem;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    min-height: var(--cui-header-min-height);
    padding: var(--cui-header-padding-y) var(--cui-header-padding-x);
    background: var(--cui-header-bg);
    border-bottom: var(--cui-header-border)
}
.header .navbar > .container,
.header .navbar > .container-fluid,
.header .navbar > .container-lg,
.header .navbar > .container-md,
.header .navbar > .container-sm,
.header .navbar > .container-xl,
.header .navbar > .container-xxl,
.header > .container,
.header > .container-fluid,
.header > .container-lg,
.header > .container-md,
.header > .container-sm,
.header > .container-xl,
.header > .container-xxl {
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
}
.header .container-fluid:first-child,
.header .container-lg:first-child,
.header .container-md:first-child,
.header .container-sm:first-child,
.header .container-xl:first-child,
.header .container-xxl:first-child,
.header .container:first-child {
    min-height: calc(var(--cui-header-min-height) - 2 * var(--cui-header-padding-y));
}
.header .container-fluid:nth-child(n + 2),
.header .container-lg:nth-child(n + 2),
.header .container-md:nth-child(n + 2),
.header .container-sm:nth-child(n + 2),
.header .container-xl:nth-child(n + 2),
.header .container-xxl:nth-child(n + 2),
.header .container:nth-child(n + 2) {
    min-height: calc(var(--cui-subheader-min-height) - 2 * var(--cui-header-padding-y));
}
.header.header-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1029;
    box-shadow: 0 2px 2px 0 rgba(var(--cui-elevation-base-color, 60, 75, 100), 0.14), 0 3px 1px -2px rgba(var(--cui-elevation-base-color, 60, 75, 100), 0.12), 0 1px 5px 0 rgba(var(--cui-elevation-base-color, 60, 75, 100), 0.2);
}
.header.header-sticky:not([class*="border"]) {
    border: 0;
}
.header-divider {
    flex-basis: calc(100% + 2 * var(--cui-header-padding-x));
    height: 0;
    margin: var(--cui-header-padding-y) calc(var(--cui-header-padding-x) * -1);
    border-top: var(--cui-header-divider-border);
}
.header-brand {
    padding-top: var(--cui-header-brand-padding-y);
    padding-bottom: var(--cui-header-brand-padding-y);
    font-size: 1.25rem;
    color: var(--cui-header-brand-color);
    text-decoration: none;
    white-space: nowrap;
}
html:not([dir="rtl"]) .header-brand {
    margin-right: 1rem;
}
[dir="rtl"] .header-brand {
    margin-left: 1rem;
}
.header-brand:focus,
.header-brand:hover {
    color: var(--cui-header-brand-hover-color);
}
.header-nav {
    display: flex;
    flex-direction: row;
    margin-bottom: 0;
    list-style: none;
}
body:not(.dark-theme) .header-nav .nav-item {
    font-weight: bolder;
}
html:not([dir="rtl"]) .header-nav {
    padding-left: 0;
}
[dir=rtl] .header-nav {
    padding-right: 0
}
.header-nav .nav-link {
    padding: var(--cui-header-nav-link-padding-y) var(--cui-header-nav-link-padding-x);
    color: var(--cui-header-color);
}
.header-nav .nav-link:focus,
.header-nav .nav-link:hover {
    color: var(--cui-header-hover-color);
}
.header-nav .nav-link.disabled {
    color: var(--cui-header-disabled-color);
}
.header-nav .nav-link.active,
.header-nav .show > .nav-link,
.header-text a {
    color: var(--cui-header-active-color);
}
.header-nav .dropdown-menu {
    position: absolute;
}
.header-text {
    padding-top: var(--cui-header-nav-link-padding-y);
    padding-bottom: var(--cui-header-nav-link-padding-y);
    color: var(--cui-header-color);
}
.header-text a:focus,
.header-text a:hover {
    color: var(--cui-header-active-color);
}
.header-toggler {
    padding: var(--cui-header-toggler-padding-y) var(--cui-header-toggler-padding-x);
    font-size: 1.25rem;
    color: var(--cui-header-toggler-color);
    background-color: var(--cui-header-toggler-bg);
    border: 0;
    border-radius: var(--cui-header-toggler-border-radius);
}
.header-toggler:hover {
    color: var(--cui-header-toggler-hover-color);
    text-decoration: none;
}
.header-toggler:focus {
    outline: 0;
}
.header-toggler:not(:disabled) {
    cursor: pointer;
}
.header-toggler.prevent-hide {
    display: block !important;
}
.header-toggler-icon {
    display: block;
    height: 1.5625rem;
    background-image: var(--cui-header-toggler-icon-bg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
}
.header-toggler-icon:hover {
    background-image: var(--cui-header-toggler-hover-icon-bg);
}

.icon {
    display: inline-block;
    color: inherit;
    text-align: center;
    vertical-align: -.125rem;
    fill: currentcolor
}
.icon:not(.icon-c-s):not(.icon-custom-size) {
    width: 1rem;
    height: 1rem;
    font-size: 1rem;
}
.icon:not(.icon-c-s):not(.icon-custom-size).icon-xxl {
    width: 2rem;
    height: 2rem;
    font-size: 2rem;
}
.icon:not(.icon-c-s):not(.icon-custom-size).icon-xl {
    width: 1.5rem;
    height: 0.95rem;
    font-size: 1.5rem;
}
.icon:not(.icon-c-s):not(.icon-custom-size).icon-lg {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 1.25rem;
}
.icon:not(.icon-c-s):not(.icon-custom-size).icon-sm {
    width: 0.875rem;
    height: 0.875rem;
    font-size: 0.875rem;
}
.icon:not(.icon-c-s):not(.icon-custom-size).icon-3xl {
    width: 3rem;
    height: 3rem;
    font-size: 3rem;
}
.icon:not(.icon-c-s):not(.icon-custom-size).icon-4xl {
    width: 4rem;
    height: 4rem;
    font-size: 4rem;
}
.icon:not(.icon-c-s):not(.icon-custom-size).icon-5xl {
    width: 5rem;
    height: 5rem;
    font-size: 5rem;
}
.icon:not(.icon-c-s):not(.icon-custom-size).icon-6xl {
    width: 6rem;
    height: 6rem;
    font-size: 6rem;
}
.icon:not(.icon-c-s):not(.icon-custom-size).icon-7xl {
    width: 7rem;
    height: 7rem;
    font-size: 7rem;
}
.icon:not(.icon-c-s):not(.icon-custom-size).icon-8xl {
    width: 8rem;
    height: 8rem;
    font-size: 8rem;
}
.icon:not(.icon-c-s):not(.icon-custom-size).icon-9xl {
    width: 9rem;
    height: 9rem;
    font-size: 9rem;
}


.subheader {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    min-height: 3rem;
    padding: 0.5rem 1rem;
    background: var(--cui-subheader-bg, #fff);
    border-bottom: var(--cui-subheader-border-width, 1px) solid var(--cui-subheader-border-color, #d8dbe0);
}
.subheader-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1029;
    box-shadow: 0 2px 2px 0 rgba(var(--cui-elevation-base-color, 60, 75, 100), 0.14), 0 3px 1px -2px rgba(var(--cui-elevation-base-color, 60, 75, 100), 0.12), 0 1px 5px 0 rgba(var(--cui-elevation-base-color, 60, 75, 100), 0.2);
}
.subheader-sticky:not([class*="border"]) {
    border: 0;
}
.subheader-nav {
    display: flex;
    flex-direction: row;
    margin-bottom: 0;
    list-style: none;
}
html:not([dir="rtl"]) .subheader-nav {
    padding-left: 0;
}
[dir="rtl"] .subheader-nav {
    padding-right: 0;
}
.subheader-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    color: var(--cui-subheader-color, rgba(44, 56, 74, 0.681));
}
.subheader-nav .nav-link:focus,
.subheader-nav .nav-link:hover {
    color: var(--cui-subheader-hover-color, rgba(44, 56, 74, 0.95));
}
.subheader-nav .nav-link.disabled {
    color: var(--cui-subheader-disabled-color, rgba(44, 56, 74, 0.38));
}
.subheader-nav .nav-link.active,
.subheader-nav .show > .nav-link,
.subheader-text a {
    color: var(--cui-subheader-active-color, rgba(44, 56, 74, 0.95));
}
.subheader-nav .dropdown-menu {
    position: absolute;
}
.subheader-text {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    color: var(--cui-subheader-color, rgba(44, 56, 74, 0.681));
}
.subheader-text a:focus,
.subheader-text a:hover {
    color: var(--cui-subheader-active-color, rgba(44, 56, 74, 0.95));
}

.header01{width:100%;height:var(--header01-height);z-index:4;position:fixed;top:0}

.header01 .header01Wrapper{width:75%;height:var(--header01-height);margin:0 auto;display:flex;align-items:center;justify-content:space-between}

.header01 .header01Wrapper ul,.menu01 .menu01Wrapper{padding-left:0;list-style-type:none;list-style:none}
.menu02 .quickmenu_menu02 {display:none;}
.marquee02 , .marquee03 {display:none !important;}
.header01 .header01Wrapper .leftZone ul li{float:left;margin-right:1.5rem;position:relative}

.header01 .header01Wrapper .leftZone a{text-decoration:none;}
.header01 .header01Wrapper .leftZone .dropdown .dropdown-menu li {width: 100%;}

.header01 .header01Wrapper .leftZone a:hover{font-weight:500}

.header01 .header01Wrapper .rightZone {
white-space: nowrap;}
.header01 .header01Wrapper .rightZone, .cash-info-top, .points-info-top {display:flex}
.header01 .header01Wrapper .rightZone > div {margin: auto 1rem;}
/* .header01 .header01Wrapper .rightZone .cash-info-top ,
.header01 .header01Wrapper .rightZone .points-info-top {margin-right: 2rem;} */
.header01 .header01Wrapper .rightZone .cash-info-top .c_type,
.header01 .header01Wrapper .rightZone .points-info-top .c_type {margin-right: 1rem;}
.header01 .header01Wrapper .rightZone .user-info-top a:not(._logout_) {padding: 4px 20px; border-radius: 20px; transition: 0.3s ease-in;}
.header01 .header01Wrapper .rightZone .user-info-top .dropdown-menu .about-user {display:flex;flex-direction: column;align-items: center;margin: 1rem 0;}
.header01 .header01Wrapper .rightZone .user-info-top .dropdown-menu .about-user .lv_num {font-size: 1.2rem;font-weight: 600;}
.user-info-top .dropdown-menu .roulette-info {display: flex; justify-content: space-between;}
.user-info-top .dropdown-menu .dropdown-item {margin: 0.5rem auto}
.header01 .header01Wrapper .rightZone .btnN{display:flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:50px;font-size:14px;font-weight:700;margin-left:2px;width:auto;box-shadow:none}



.header01 .header01Wrapper ul li span#todaynowtime,.header01 .header01Wrapper ul li button{color:var(--header-color)}

.menu01{width:100%;height:var(--menu01-height);position:fixed;top:var(--header01-height);z-index:3}

.menu01 .menu01Wrapper{width:75%;height:80px;margin:0 auto;display:flex;align-items:center;justify-content:left}




.menu01 .menu01Wrapper .logo{width:190px;cursor:pointer;display:block}
.menu01 .menu01Wrapper .logo-small {display:none;}
.menu01 .menu01Wrapper .logo img{   
    width: 100%;
height: auto;}

.menu01 .menu01Wrapper .menuZone ul li{float:left;margin-left:17px}

.menu01 .menu01Wrapper .menuZone ul li a.menu{font-size:15px;font-weight:500;padding:18px 12px;cursor:pointer;position:relative;display:block}

.menu01 .menu01Wrapper .menuZone ul li a.menu span{font-size:14px;margin:4px;transition:.2s ease-out;position:absolute}

.menu01 .menu01Wrapper .menuZone ul li.active a.menu span,
.menu01 .menu01Wrapper .menuZone ul li:hover a.menu span{transform:rotate(180deg);color:var(--topmenu-color-active)}




.header-logo.setv2 .logo-site,.pre-loader{display:flex;align-items:center;justify-content:center}



#page-topbar{width:calc(100% - 588px);float:left;position:relative;z-index:2}

.top-HeaderBar{padding:13px 16px}

#mobile-menu,.side-set3{float:right}

#page-topbar #top-menu .top-menu{height:90px;margin-left:30px;float:left;width:calc(100% - 841px);overflow:auto}

#page-topbar #top-menu,#page-topbar #top-menu .menu{width:100%;height:90px}

#page-topbar #top-menu .top-menu .top-menu-ul{width:100%;height:90px;list-style:none;vertical-align:middle;margin:0;padding:0;cursor:pointer}

#page-topbar #top-menu .top-menu .top-menu-ul .top-menu-li{width:auto;height:90px;margin-right:38px;float:left;text-align:center;line-height:89px;font-size:18px;border-radius:2px;transition:border-bottom .15s;text-transform:uppercase}

#page-topbar #top-menu .top-menu .top-menu-ul li.active,#page-topbar #top-menu .top-menu .top-menu-ul li:hover{border-bottom:3px solid #ff9800;height:65px}

#page-topbar #top-menu .top-menu .top-menu-ul .top-menu-li-item,.express_btn .wrap_list ._swift>li .alink.active{font-weight:900}

#page-topbar #top-menu .top-menu .top-menu-ul li a{width:100%;height:100%;display:block}

#page-topbar.topfull{width:100%}

.local-time .time_,.quickLink ._right_{text-align:-webkit-center;text-align:center}

.local-time .time_{padding:3px;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);-webkit-border-radius:5px 5px 0 0;-moz-border-radius:5px 5px 0 0;border-radius:5px 5px 0 0;font-size:12px}

.quickLink ._right_{float:right;margin-top:30px;margin-right:25px}

.quickLink .time_{padding:0 9px;font-size:14px;line-height:30px;display:inline-block;margin:0 auto}

.set_v2 #right-user-info .dep_btn .btnname{float:right;width:auto}

.set_v2 #right-user-info .db-member .boot-crate .mem_sack .sm-icon .fa-solid{line-height:inherit;font-size:10px;margin:0 5px}

.header-logo.setv2 .logo-site{float:initial}

.header-logo .logo-site{text-align:center;display:flex;align-items:center;justify-content:center;padding:10px;height:87px;overflow:hidden}

.header-logo .logo-site img{max-width:250px;margin:0 auto;max-height:calc(90px - 20px)}

.header-logo.setv2{height:auto;position:initial;float:left;margin-left:75px;width:270px}

.header-logo.setv2 .logo-site .img-file{margin:0}

.quickLink.v2{float:right;margin-right:75px;display:flex;align-items:center;height:100%}

.quickLink.v2 .deposit-box{margin-right:10px}

.side-set3{font-size:25px}


#snsdrop-dropdown{display:none;position:absolute;top:100%}

#snsdrop-dropdown #right-sns{padding:12px;font-size:16px;line-height:37px;-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px}

#live-container .live-container .lv-league>span,#snsdrop-dropdown #right-sns .sns #sns-list{display:inline-block;vertical-align:middle}

#snsdrop-dropdown #right-sns .sns #sns-list .side-sns-wrap>span.left{padding-top:10px}

.set_v2{float:left;}

.set_v2 #right-user-info .db-member .boot-crate{padding:0 18px;margin-bottom:5px;overflow:hidden}

.set_v2 #right-user-info .db-member .boot-crate .quickLink ._left_{margin:6px auto;width:100%}

.set_v2 #right-user-info .db-member .boot-crate .mem_sack{float:left;width:calc(100% - 60px);font-size:12px}

.set_v2 #right-user-info .db-member .boot-crate .mem_name{font-size:14px;text-transform:capitalize;display:inline-block;margin-top:11.75px}

.set_v2 #right-user-info .dep_btn,.set_v2 .quickLink .p_btn{height:25px;width:auto;float:left}

.set_v2 #right-user-info .dep_btn .fa,.set_v2 .quickLink .p_btn .fa{transform:translate(-50%,50%);font-size:11px;left:50%;position:absolute}

#ad-top .ad_area marquee,.set_v2 #user-dropdown{-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}

.set_v2 #user-dropdown{width:270px;top:92px;right:75px;position:absolute;padding:5px}

.set_v2 #right-user-info .dep_btn .rectangle-,.set_v2 #user-dropdown .rectangle-{transform:unset;-webkit-border-radius:var(--border-radius-m);-moz-border-radius:var(--border-radius-m);border-radius:var(--border-radius-m);height:24px;position:relative;float:right;right:0;left:unset}

#side-set2 .full-option-menu{clear:both;float:initial}

#ad-top{width:calc(100% - 0px);margin:0 auto;overflow:hidden;border-width:1px 0;border-style:solid;position:relative}

#ad-top .ad_area li{list-style:none;float:left;width:100%;padding:0;height:50px}

#ad-top .ad_area marquee{height:calc(100% - 0px);line-height:50px}

#ad-top .ad_area marquee:after,#ad-top .ad_area marquee:before{position:absolute;top:0;width:10rem;height:100%;content:"";z-index:1}

#ad-top .ad-topclose{cursor:pointer;position:absolute;top:25px;left:0;padding:0 6px;transform:translate(0,-50%);font-size:26px;-webkit-border-radius:50%;-moz-border-radius:50%;border-radius:50%;z-index:2}


.express_btn .wrap_list ._swift>li:before{font-family:Fonticons;position:absolute;left:35px;font-size:7px;margin-top:1px;margin-left:-7px;content:""}

#ad-top .ad_area marquee,.navquick .full-option-menu .tabing-side{position:relative;z-index:1}

.navquick .full-option-menu .nav-tabs .nav-item .nav-link .layertext{display:inline-block;margin-left:10px;margin-top:0;margin-bottom:0}

.navquick .full-option-menu .tab_container{position:absolute;top:33px;width:100%;z-index:2;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);-webkit-border-radius:10px;-moz-border-radius:10px;border-radius:10px}

.navquick .full-option-menu .tab_container .tab_content.active{border:1px solid #225ae75c;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px}

.navquick .full-option-menu .tab_container .express_btn .wrap_list ._swift{text-align:center}

.navquick .full-option-menu .tab_container .express_btn .wrap_list ._swift>li{display:inline-block}

._casino_body .wrapper .header>.container-fluid{width:calc(100% - 10%)}

.header-nav .nav-link.active::before{content:"";position:absolute;width:100%;height:2px;border-radius:4px;bottom:0;left:0;transform-origin:right;transform:scaleX(0);transition:transform .3s ease-in-out}

.quick-ul{padding:20px 0;box-sizing:initial;-webkit-box-sizing:initial;-ms-box-sizing:initial}

.info-item{width:49.8%;height:100%;text-align:center;position:relative;float:left}

#main-header .gradient-color{z-index:0}

#main-header .overlay{opacity:.9}

#main-header .header-section{position:relative;height:100%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}

#main-header .owl-header{position:relative;width:25%;z-index:101}

#main-header iframe{max-width:100%;width:600px;height:600px}

#main-header #ripples{position:absolute;left:0;top:45%;width:100%;height:auto;z-index:103}

#main-header #ripples .arrows{position:relative;top:40%;margin:0 2rem}

#main-header #ripples .arrows .scene-next{position:absolute;right:0;top:0}

#main-header #ripples .arrows .scene-prev{position:absolute;top:0;left:0}

#main-header #ripples .arrows i{font-size:1.55rem}

#main-header #ripples canvas{display:block;position:absolute;z-index:100;min-height:700px;max-width:100vw;overflow:hidden}

#main-header .slide-wrapper{display:none}

#main-header .header-text{text-align:center;position:relative;padding-right:4rem;width:60%;margin-right:10%;margin-top:-6rem;z-index:101}

#main-header .title-link{letter-spacing:1rem;font-size:8vw;z-index:101}

#main-header .slogan{text-align:center;border:2px solid #fff;border-radius:30px;display:inline-block;padding:.2rem 3rem;word-spacing:3px;font-size:.85rem;text-transform:uppercase;margin:1rem;cursor:pointer}

#main-header a{padding:.5rem;font-size:1rem}

.header-nav li.nav-item{font-family:"Koaroo"}

.header-icon-behind{font-size:40px;position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;display:-webkit-box;display:flex;align-items:center}


#page-topbar .side-nav li{float:left}

.header-logo{height:92px;width:calc(300px - 0px);z-index:1;left:0;margin:0 auto;position:fixed;top:0}

.navquick{padding:0 20%}




.navbar-nav .nav-link.active,.navbar-nav .show>.nav-link {
    color: var(--cui-navbar-active-color)
}



.navbar-nav .dropdown-menu {
    position: static
}



.navbar-text {
    padding-top: .5rem;
    padding-bottom: .5rem;
    color: var(--cui-navbar-color)
}



.navbar-text a,.navbar-text a:focus,.navbar-text a:hover {
    color: var(--cui-navbar-active-color)
}



.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center
}



.navbar-toggler {
    padding: var(--cui-navbar-toggler-padding-y) var(--cui-navbar-toggler-padding-x);
    font-size: var(--cui-navbar-toggler-font-size);
    line-height: 1;
    color: var(--cui-navbar-color);
    background-color: transparent;
    border: var(--cui-border-width) solid var(--cui-navbar-toggler-border-color);
    border-radius: var(--cui-navbar-toggler-border-radius);
    transition: var(--cui-navbar-toggler-transition)
}


.navbar-toggler:hover {
    text-decoration: none
}


.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: 0 0 0 var(--cui-navbar-toggler-focus-width)
}



.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: var(--cui-navbar-toggler-icon-bg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%
}



.navbar-nav-scroll {
    max-height: var(--cui-scroll-height,75vh);
    overflow-y: auto
}



.navbar-expand {
    flex-wrap: nowrap;
    justify-content: flex-start
}



.navbar-expand .navbar-nav {
    flex-direction: row
}



.navbar-expand .navbar-nav .dropdown-menu {
    position: absolute
}



.navbar-expand .navbar-nav .nav-link {
    padding-right: var(--cui-navbar-nav-link-padding-x);
    padding-left: var(--cui-navbar-nav-link-padding-x)
}



.navbar-expand .navbar-nav-scroll {
    overflow: visible
}



.navbar-expand .navbar-collapse {
    display: flex!important;
    flex-basis: auto
}



.navbar-expand .navbar-toggler,.navbar-expand .offcanvas .offcanvas-header {
    display: none
}



.navbar-expand .offcanvas {
    position: static;
    z-index: auto;
    flex-grow: 1;
    width: auto!important;
    height: auto!important;
    visibility: visible!important;
    background-color: transparent!important;
    border: 0!important;
    transform: none!important;
    transition: none
}



.navbar-expand .offcanvas .offcanvas-body {
    display: flex;
    flex-grow: 0;
    padding: 0;
    overflow-y: visible
}



.navbar-dark {
    --cui-navbar-color: rgba(255,255,255,0.6);
    --cui-navbar-hover-color: rgba(255,255,255,0.87);
    --cui-navbar-disabled-color: rgba(255,255,255,0.38);
    --cui-navbar-active-color: rgba(255,255,255,0.87);
    --cui-navbar-brand-color: rgba(255,255,255,0.87);
    --cui-navbar-brand-hover-color: rgba(255,255,255,0.87);
    --cui-navbar-toggler-border-color: rgba(255,255,255,0.1);
    --cui-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.6%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e")
}



/* ==========================================================================
   v8 헤더 - 컬러셋 S (2026-10-05, design-studio-bot HEADER-SPEC.md 1~3절)
   정보줄·메뉴줄의 위치와 모바일 두 줄 배치를 맞추고 글자·간격·상태 구조를 잡는다(V8 공통).
   2026-10-05 MAIN-APPLY-TO-PHP: 정보줄 64·메뉴줄 72, 상단·본문 공통 폭 --v8-frame(최대 1200), 로고 안쪽 12px.
   색은 사이트별 color/<site>.css 의 --s-* 토큰에서만 온다(이 파일에는 색 값을 두지 않는다).
   ========================================================================== */

@media (min-width: 1200px) {
    :root {
        --header01-height: 32px;
        --menu01-height: 72px;
    }
    /* 정보줄(32px x 2) 바로 아래 메뉴줄, 본문도 헤더 끝 136px부터 시작한다. */
    html body #main-c {
        padding-top: calc(var(--header01-height) * 2 + var(--menu01-height));
    }
}
/* 1-1. PC 위 정보줄 */
html body #top_pc .header01 {
    height: 64px;
    box-sizing: border-box;
    background: var(--s-band);
    border-bottom: 1px solid var(--s-line-band);
    color: var(--s-ink);
    font-size: 14px;
    line-height: 21px;
}
html body #top_pc .header01 .header01Wrapper {
    width: var(--v8-frame, min(1200px, calc(100% - 64px)));
    max-width: none;
    height: 100%;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
    display: flex;
    align-items: center;
}
html body #top_pc .header01 .header01Wrapper .leftZone,
html body #top_pc .header01 .header01Wrapper .rightZone {
    width: auto;
    height: auto;
    min-height: 44px;
    float: none;
    align-items: center;
}
html body #top_pc .header01 .header01Wrapper .leftZone {
    flex: 1 1 auto;
    min-width: 0;
}
html body #top_pc .header01 .header01Wrapper .rightZone {
    flex: none;
    margin-left: auto;
}
/* 공지 흐름 상자: 확성기 아이콘을 쓰고(시안 결함 1), 위·아래 선은 두지 않는다(2026-10-05 오너 요청 105953).
   상자와 그 안의 .ad_area·ul·li 의 위·아래 선과 그림자만 없앤다. 헤더 전체 구분선·회원 버튼 테두리는 그대로. */
html body #top_pc .header01 #ad-top.marquee02,
html body #top_pc .header01 #ad-top.marquee03 {
    border-top: 0;
    border-bottom: 0;
    box-shadow: none;
}
html body #top_pc .header01 #ad-top.marquee03 {
    flex: none;
    width: 311px;
    height: 42px;
    box-sizing: border-box;
    padding: 0 10px;
    background: transparent;
    overflow: hidden;
}
html body #top_pc .header01 #ad-top.marquee03 .ad_area,
html body #top_pc .header01 #ad-top.marquee03 ul,
html body #top_pc .header01 #ad-top.marquee03 li {
    height: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
}
html body #top_pc .header01 #ad-top .ad_area,
html body #top_pc .header01 #ad-top .ad_area ul,
html body #top_pc .header01 #ad-top .ad_area li {
    border-top: 0;
    border-bottom: 0;
    box-shadow: none;
    list-style: none;
}
html body #top_pc .header01 #ad-top.marquee03 li {
    display: flex;
    align-items: center;
    gap: 8px;
}
html body #top_pc .header01 #ad-top.marquee03 .noticeIcon {
    flex: none;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
}
html body #top_pc .header01 #ad-top.marquee03 .noticeIcon img {
    width: 18px;
    height: 18px;
}
html body #top_pc .header01 #ad-top.marquee03 .notice_text {
    flex: 1;
    min-width: 0;
    height: auto;
    overflow: hidden;
    color: var(--s-ink-muted);
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}
html body #top_pc .header01 #ad-top.marquee03 .notice_text marquee {
    display: block;
    height: auto;
    line-height: 21px;
    color: inherit;
}
/* 바로가기 링크 */
html body #top_pc .header01 .leftZone ul li {
    margin-right: 16px;
}
html body #top_pc .header01 .leftZone ul li:last-child {
    margin-right: 0;
}
html body #top_pc .header01 .leftZone a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--s-ink);
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    transition: color 140ms ease-out;
}
html body #top_pc .header01 .leftZone a:hover {
    color: var(--s-accent);
    font-weight: 400;
}
/* 보유금 */
html body #top_pc .header01 .rightZone > div {
    margin: 0;
}
html body #top_pc .header01 .rightZone .cash-info-top,
html body #top_pc .header01 .rightZone .points-info-top {
    align-items: center;
    margin-right: 24px;
}
html body #top_pc .header01 .rightZone .c_type {
    margin-right: 8px;
    color: var(--s-ink-muted);
    font-size: 14px;
    font-weight: 400;
}
html body #top_pc .header01 .rightZone .r_cash,
html body #top_pc .header01 .rightZone .r_cash strong {
    color: var(--s-accent-2);
    font-size: 14px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
/* 회원 버튼 (아이디 ▾) */
html body #top_pc .header01 .rightZone .user-info-top > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    box-sizing: border-box;
    padding: 0 12px;
    border: 1px solid var(--s-line-control);
    border-radius: 8px;
    background: transparent;
    color: var(--s-ink);
    font-size: 14px;
    line-height: 21px;
    transition: border-color 140ms ease-out;
}
html body #top_pc .header01 .rightZone .user-info-top > a:hover,
html body #top_pc .header01 .rightZone .user-info-top > a[aria-expanded="true"] {
    border-color: var(--s-accent);
    background: transparent;
    color: var(--s-ink) !important;
}
html body #top_pc .header01 .rightZone .user-info-top > a .fa-user {
    display: none;
}

/* 1-2. PC 아래 메뉴줄 */
html body #top_pc .menu01 {
    height: 72px;
    background: var(--s-band);
    border-bottom: 0;
}
html body #top_pc .menu01 .menu01Wrapper {
    width: var(--v8-frame, min(1200px, calc(100% - 64px)));
    max-width: none;
    height: 72px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}
html body #top_pc .menu01 .menu01Wrapper .logo {
    flex: none;
    width: auto;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0 0 0 12px;
}
html body #top_pc .menu01 .menu01Wrapper .logo img {
    height: 36px;
    width: 124px !important;
    object-fit: contain;
    max-height: none;
    margin: 0;
    padding: 0;
}
/* 메뉴 목록: 로고와 같은 세로 중심(72px 줄 가운데)에 둔다. 기존 li 의 float·72px 높이·누적 margin 때문에
   44px 링크가 줄 위쪽에 붙던 것을 flex 로 다시 잡는다. 로고 뒤 32px, 메뉴 사이 8px(layout.css .menu-row·.main-nav) */
html body #top_pc .menu01 .menuZone.mainpagemenuZone,
html body #top_pc .menu01 .menuZone.mainpagemenuZone ul.nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    height: 72px;
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    list-style: none;
}
html body #top_pc .menu01 .menuZone.mainpagemenuZone {
    flex: 0 1 auto;
    min-width: 0;
    margin-left: 32px;
}
html body #top_pc .menu01 .menuZone.mainpagemenuZone ul.nav {
    gap: 8px;
    margin-left: 0;
}
html body #top_pc .menu01 .menuZone ul li,
html body #top_pc .menu01 .menuZone ul li:hover,
html body #top_pc .menu01 .menuZone ul li.active {
    display: flex;
    align-items: center;
    float: none;
    height: auto;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}
html body #top_pc .menu01 .menuZone ul li a.menu {
    position: static;
    top: auto;
    transform: none;
    display: flex;
    align-items: center;
    height: auto;
    min-height: 44px;
    line-height: 24px;
    box-sizing: border-box;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    color: var(--s-ink);
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    transition: background-color 140ms ease-out, color 140ms ease-out;
}
/* 메뉴 앞 장식 아이콘·화살표는 시안처럼 쓰지 않는다(JILI 앞 빈 아이콘 자리, 시안 결함 2) */
html body #top_pc .menu01 .menuZone ul li a.menu > i,
html body #top_pc .menu01 .menuZone ul li a.menu > img,
html body #top_pc .menu01 .menuZone ul li a.menu > span.icon-icconMENU {
    display: none;
}
html body #top_pc .menu01 .menuZone ul li a.menu::before,
html body #top_pc .menu01 .menuZone ul li a.menu::after,
html body #top_pc .menu01 .menuZone ul li::before,
html body #top_pc .menu01 .menuZone ul li::after {
    display: none;
}
html body #top_pc .menu01 .menuZone ul li a.menu:hover {
    background: var(--s-surface-muted);
    color: var(--s-ink);
}
/* 현재 메뉴: 면과 글자로만 표시한다(색 띠 테두리 없음) */
html body #top_pc .menu01 .menuZone ul li.active a.menu {
    background: var(--s-accent-soft);
    color: var(--s-accent-ink);
    font-weight: 600;
}
/* 메뉴줄 오른쪽 고객센터(top_menu.php V8 분기, 기존 support 화면으로 이동): layout.css .support 와 같은 면·글자·높이·모서리 */
html body #top_pc .menu01 .menu01Wrapper .v8-support,
html body #top_m #mquick-header .v8-support--m {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    box-sizing: border-box;
    margin: 0 0 0 auto !important; /* common.css 의 button { margin·padding: inherit !important } 를 되돌린다 */
    padding: 0 16px !important;
    border: 0;
    border-radius: 8px;
    background: var(--s-accent-2-soft);
    color: var(--s-accent-2-ink);
    font: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    white-space: nowrap;
    cursor: pointer;
    transition: color 140ms ease-out;
}
html body #top_pc .menu01 .menu01Wrapper .v8-support:hover,
html body #top_m #mquick-header .v8-support--m:hover {
    color: var(--s-accent-2);
}
html body #top_pc .menu01 .menu01Wrapper .v8-support.is-current,
html body #top_m #mquick-header .v8-support--m.is-current {
    font-weight: 600;
}
/* 1200~1279px: layout.css 와 같이 로고 뒤 16px, 메뉴 사이 0, 링크 좌우 12px·14px 로 줄여 본문 폭 안에 둔다 */
@media (max-width: 1279px) {
    html body #top_pc .menu01 .menuZone.mainpagemenuZone {
        margin-left: 16px;
    }
    html body #top_pc .menu01 .menuZone.mainpagemenuZone ul.nav {
        gap: 0;
    }
    html body #top_pc .menu01 .menuZone ul li a.menu {
        padding: 0 12px;
        font-size: 14px;
    }
}

/* V8 account links share the menu row; extra payment methods shrink without adding header rows. */
html body #top_pc #top-menu.menu01 .menu01Wrapper {
    overflow: visible !important;
}
html body #top_pc .menu01 .menuZone.mainpagemenuZone {
    flex: none;
}
html body #top_pc .menu01 .v8-account-nav {
    flex: 0 1 auto;
    min-width: 0;
    margin-left: auto;
}
html body #top_pc .menu01 .v8-account-nav > ul {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
html body #top_pc .menu01 .v8-account-nav > ul > li {
    flex: 0 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
html body #top_pc .menu01 .v8-account-nav > ul > li > a {
    display: block;
    min-height: 44px;
    box-sizing: border-box;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--s-ink-muted);
    font-size: 15px;
    font-weight: 500;
    line-height: 44px;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
}
/* Betlog retains its original li/ref; its decorations are hidden only in the V8 account group. */
html body #top_pc .menu01 .v8-account-nav > ul > li > a.menu > i,
html body #top_pc .menu01 .v8-account-nav > ul > li > a.menu > span.icon-icconMENU {
    display: none;
}
html body #top_pc .menu01 .v8-account-nav > ul > li > a:hover {
    background: var(--s-surface-muted);
    color: var(--s-ink);
}
html body #top_pc .menu01 .v8-account-nav a:focus-visible {
    outline: 2px solid var(--s-accent-ink);
    outline-offset: 3px;
}
html body #top_pc .menu01 .v8-account-nav > ul > li.active > a,
html body #top_pc .menu01 .v8-account-nav > ul > li > a.active,
html body #top_pc .menu01 .v8-account-nav > ul > li > a[aria-current="page"] {
    background: var(--s-accent-soft);
    color: var(--s-accent-ink);
    font-weight: 600;
}
html body #top_pc .menu01 .v8-account-nav + .v8-support {
    margin-left: 0 !important;
}
/* The existing .dropdown hover/CoreUI handlers and #top_memo.blinking state still apply. */
html body #top_pc .menu01 .v8-account-nav > ul > li.dropdown {
    position: relative;
    flex: none;
}
html body #top_pc .menu01 .v8-account-nav .dropdown-menu {
    position: absolute;
    inset: 100% 0 auto auto;
    transform: none;
    z-index: 30;
    width: max-content;
    min-width: min(180px, calc(100vw - 32px));
    max-width: min(320px, calc(100vw - 32px));
    max-height: min(480px, calc(100dvh - 160px));
    overflow-y: auto;
    margin: 0;
    padding: 8px !important;
    border: 1px solid var(--s-line-dropdown);
    border-radius: 8px;
    background: var(--s-surface);
    color: var(--s-ink);
    list-style: none;
}
html body #top_pc .menu01 .v8-account-nav .dropdown:hover > .dropdown-menu,
html body #top_pc .menu01 .v8-account-nav .dropdown:focus-within > .dropdown-menu {
    display: block;
}
html body #top_pc .menu01 .v8-account-nav .dropdown-menu > li {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
html body #top_pc .menu01 .v8-account-nav .dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    margin: 0;
    padding: 0 12px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    box-shadow: none;
    color: var(--s-ink);
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    white-space: normal;
    overflow-wrap: anywhere;
    cursor: pointer;
}
html body #top_pc .menu01 .v8-account-nav .dropdown-menu .dropdown-item:hover,
html body #top_pc .menu01 .v8-account-nav .dropdown-menu .dropdown-item:focus-visible,
html body #top_pc .menu01 .v8-account-nav .dropdown-menu .dropdown-item.active,
html body #top_pc .menu01 .v8-account-nav .dropdown-menu .dropdown-item[aria-current="page"] {
    background: var(--s-accent-soft);
    color: var(--s-ink);
}
@media (max-width: 1279px) {
    html body #top_pc .menu01 .v8-account-nav > ul {
        gap: 0;
    }
    html body #top_pc .menu01 .v8-account-nav > ul > li > a {
        padding: 0 10px;
        font-size: 14px;
    }
}
/* Below 1200px media.css displays template8/home.php's #top_m, not this PC menu row. */

/* 1-3. PC 드롭다운(이벤트·회원 메뉴) */
html body #top_pc .header01 .dropdown-menu {
    padding: 8px !important; /* common.css .dropdown-menu.show 의 padding-top 5px !important 를 덮는다 */
    background: var(--s-surface);
    border: 1px solid var(--s-line-dropdown);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    color: var(--s-ink);
}
html body #top_pc .header01 .dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    min-height: 44px;
    box-sizing: border-box;
    padding: 0 12px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    box-shadow: none;
    color: var(--s-ink);
    font-size: 14px;
    font-weight: 400;
}
html body #top_pc .header01 .dropdown-menu .dropdown-item:hover,
html body #top_pc .header01 .dropdown-menu .dropdown-item:focus-visible {
    background: var(--s-accent-soft);
    box-shadow: none;
    color: var(--s-ink);
}

/* 키보드 포커스 */
html body #top_pc a:focus-visible,
html body #top_pc button:focus-visible,
html body #top_m a:focus-visible,
html body #top_m button:focus-visible {
    outline: 2px solid var(--s-accent-ink);
    outline-offset: 3px;
}

/* 2. 모바일 헤더(#top_m)가 보이는 폭: PC CSS 1199px 이하(media.css), 모바일 CSS 전체 */
@media (max-width: 1199px) {
    /* 2-1. 정보·회원·카트 줄 다음 로고·고객센터 줄. 헤더는 sticky 상태로 본문 흐름에 둔다. */
    html body #top_m #mquick-header {
        height: auto;
        line-height: normal;
        box-sizing: border-box;
        background: var(--s-band);
        border-bottom: 1px solid var(--s-line-band);
    }
    html body #top_m #mquick-header .mquickh-wrapper {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px 44px;
        grid-template-areas: "balance member cart" "logo support support";
        gap: 8px;
        width: var(--v8-frame, calc(100% - 32px));
        height: auto;
        margin: 0 auto;
        padding: 8px 0;
        align-items: center;
    }
    html body #top_m #mquick-header .top-logo {
        grid-area: logo;
        display: flex;
        align-items: center;
        width: auto;
        max-width: none;
        min-height: 44px;
        height: auto;
        margin-left: 0 !important;
        padding: 0 0 0 12px;
    }
    html body #top_m #mquick-header .top-logo img {
        width: 104px;
        height: 32px;
        max-height: none;
        object-fit: contain;
    }
    html body #top_m #mquick-header .v8-support--m {
        grid-area: support;
        justify-self: end;
        margin: 0 !important;
        padding: 0 16px !important;
        font-size: 14px;
    }
    html body #top_m #mquick-header .wraplabeltt2 .labeltt {
        color: var(--s-ink-muted);
        font-size: 12px;
        font-weight: 400;
    }
    html body #top_m #mquick-header .wraplabeltt2 .thisname {
        color: var(--s-accent-2);
        font-size: 12px;
        font-weight: 600;
        font-variant-numeric: tabular-nums;
        overflow-wrap: anywhere;
        min-width: 0;
    }
    /* 보유금·포인트는 첫 줄의 남은 폭을 쓰며 큰 금액·추가 포인트도 가로로 넘치지 않는다. */
    html body #top_m #mquick-header .header-nav_wrap_quickm_header {
        grid-area: balance;
        display: block;
        min-width: 0;
        width: auto;
        max-width: none;
        margin: 0;
        padding: 0;
    }
    html body #top_m #mquick-header .header-nav_wrap_quickm_header .nav-item {
        margin: 0;
        padding: 0;
        min-width: 0;
    }
    html body #top_m #mquick-header .header-nav_wrap_quickm_header .wraplabeltt {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 4px 8px;
        min-width: 0;
        margin: 0;
        padding: 0;
        line-height: 18px;
    }
    html body #top_m #mquick-header .wraplabeltt2 {
        display: inline-flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 4px;
        min-width: 0;
        max-width: 100%;
        min-height: 44px;
        box-sizing: border-box;
        white-space: normal;
        margin: 0;
        padding: 0;
    }
    html body #top_m #mquick-header .iconmobile-betslip,
    html body #top_m #mquick-header .iconmobile-betslip .nav-item,
    html body #top_m #mquick-header .iconmobile-betslip .nav-link,
    html body #top_m #mquick-header .iconmobile-betslip .wraplabeltt {
        width: auto;
        margin: 0;
        padding: 0;
    }
    html body #top_m #mquick-header .iconmobile-betslip {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        transform: none;
    }
    html body #top_m #mquick-header .btnmemberinfo-drop {
        position: static;
        top: auto;
        left: auto;
        transform: none;
    }
    html body #top_m #mquick-header ul.iconmobile-betslip {
        grid-area: member;
    }
    html body #top_m #mquick-header div.iconmobile-betslip {
        grid-area: cart;
    }
    /* 카지노·슬롯 전용(카트 버튼 없음, template8/home.php $v8_show_cart): 회원 버튼을 오른쪽 끝(고객센터 줄)에 맞춘다 */
    html body #top_m #mquick-header .mquickh-wrapper:not(:has(> div.iconmobile-betslip)) {
        grid-template-columns: minmax(0, 1fr) 44px;
        grid-template-areas: "balance member" "logo support";
    }
    /* 113526: V8 회원 메뉴 버튼이 레벨 그림 + 닉네임이라 회원 칸은 내용 폭으로 */
    html body #top_m #mquick-header .mquickh-wrapper:has(.v8-um) {
        grid-template-columns: minmax(0, 1fr) auto 44px;
    }
    html body #top_m #mquick-header .mquickh-wrapper:has(.v8-um):not(:has(> div.iconmobile-betslip)) {
        grid-template-columns: minmax(0, 1fr) auto;
    }
    /* 보유금·회원 링크 터치 높이 44px */
    html body #top_m #mquick-header a.topinfo_m {
        display: flex;
        align-items: center;
        min-width: 0;
        min-height: 44px;
        line-height: 18px;
    }
    html body #top_m #mquick-header .wraplabeltt2.low-menu[ref="point"] {
        background: transparent;
        border: 1px solid var(--s-line-control);
        border-radius: 4px;
        box-shadow: none;
    }
    /* 회원·장바구니 버튼: 기존 클릭 처리와 드롭다운은 유지한다. */
    html body #top_m #mquick-header button.btnmemberinfo-drop,
    html body #top_m #mquick-header #rightpanel-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        box-sizing: border-box;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid var(--s-line-control) !important;
        border-radius: 8px;
        background: transparent;
        color: var(--s-accent-ink);
    }
    html body #top_m #mquick-header button.btnmemberinfo-drop svg,
    html body #top_m #mquick-header #rightpanel-toggle svg {
        width: 20px !important;
        height: 20px !important;
        margin: 0;
        color: var(--s-accent-ink);
        fill: currentColor;
    }

    /* 2-2. 바로가기 아이콘 줄 */
    html body #top_m #header-nav {
        display: none;
        background: var(--s-canvas);
        box-shadow: none;
    }
    html body #top_m #header-nav .header-nav_wrap_quickm > li > a {
        min-height: 44px;
        border-radius: 0;
    }
    html body #top_m #header-nav .header-nav_wrap_quickm > li > a h6 {
        color: var(--s-ink);
        font-size: 12px !important;
        font-weight: 500;
    }
    html body #top_m #header-nav .header-nav_wrap_quickm > li.active > a,
    html body #top_m #header-nav .header-nav_wrap_quickm .nav-link.active {
        background: var(--s-accent-soft);
    }
    /* 2-3. 아래 빠른 메뉴(quick_menu-mobile.php)의 현재 메뉴: home.php 스크립트가 .active·aria-current 를 붙인다 */
    html body #quickMenu #menuBottom a.low-menu.active {
        border-radius: 8px;
        background: var(--s-accent-soft);
        color: var(--s-accent-ink);
    }
}

/* 줄임 모션 설정: 전환 효과를 끈다(공지 흐름은 home.php 스크립트가 멈춘다) */
@media (prefers-reduced-motion: reduce) {
    html body #top_pc *,
    html body #top_m * {
        transition: none !important;
    }
}

/* 상단·본문 공통 컨테이너 폭 (메인 로비와 같은 값, css/v8/base/front.css 와 함께 쓴다) */
:root {
    --v8-frame: min(1200px, calc(100% - 64px));
}
@media (max-width: 1279px) {
    :root {
        --v8-frame: calc(100% - 48px);
    }
}
@media (max-width: 767px) {
    :root {
        --v8-frame: calc(100% - 32px);
    }
    html body #top_m #mquick-header .header-nav_wrap_quickm_header .wraplabeltt {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: flex-start;
    }
    html body #top_m #mquick-header .header-nav_wrap_quickm_header .wraplabeltt2.low-menu[ref="point"] {
        padding: 0 8px;
    }
}

/* Below 1200px both user-agent stylesheets use the same sticky mobile header rows. */
@media (max-width: 1199px) {
    html body #main-c {
        padding-top: 0;
    }
    html body #top_m {
        position: sticky;
        top: 0;
        background: var(--s-band);
    }
    html body #top_m .v8-m-game,
    html body #top_m .v8-m-account {
        width: var(--v8-frame, calc(100% - 32px));
        min-width: 0;
        box-sizing: border-box;
        margin: 0 auto;
    }
    html body #top_m .v8-m-game {
        padding: 8px 0;
    }
    html body #top_m .v8-m-game > ul {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        gap: 8px;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    html body #top_m .v8-m-game > ul > li,
    html body #top_m .v8-m-account > ul > li {
        float: none;
        width: auto;
        min-width: 0;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
        list-style: none;
    }
    html body #top_m .v8-m-game > ul > li > a,
    html body #top_m .v8-m-account > ul > li > a {
        position: static;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        box-sizing: border-box;
        padding: 0;
        border: 0;
        border-radius: 8px;
        background: transparent;
        box-shadow: none;
        color: var(--s-ink);
        font-size: 16px;
        font-weight: 500;
        line-height: 20px;
        text-align: center;
        text-decoration: none;
        white-space: normal;
        overflow-wrap: anywhere;
        cursor: pointer;
    }
    html body #top_m .v8-m-game > ul > li > a > i,
    html body #top_m .v8-m-game > ul > li > a > img,
    html body #top_m .v8-m-game > ul > li > a > span.icon-icconMENU,
    html body #top_m .v8-m-account > ul > li > a.menu > i,
    html body #top_m .v8-m-account > ul > li > a.menu > span.icon-icconMENU,
    html body #top_m .v8-m-account > ul > li > a .fa-caret-down {
        display: none;
    }
    html body #top_m .v8-m-account {
        position: relative;
        border-top: 1px solid var(--s-line);
    }
    html body #top_m .v8-m-account > ul {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    html body #top_m .v8-m-account > ul > li > a {
        color: var(--s-ink-muted);
        font-size: 13px;
        line-height: 18px;
    }
    html body #top_m .v8-m-game > ul > li > a:hover,
    html body #top_m .v8-m-account > ul > li > a:hover {
        background: var(--s-surface-muted);
        color: var(--s-ink);
    }
    html body #top_m .v8-m-game > ul > li.active > a,
    html body #top_m .v8-m-account > ul > li.active > a,
    html body #top_m .v8-m-account > ul > li > a.active,
    html body #top_m .v8-m-game > ul > li > a[aria-current="page"],
    html body #top_m .v8-m-account > ul > li > a[aria-current="page"] {
        background: var(--s-accent-soft);
        color: var(--s-accent-ink);
    }
    /* Anchor to the full account row, including wrapped rows, so event is always inside the viewport. */
    html body #top_m .v8-m-account > ul > li.dropdown {
        position: static;
    }
    html body #top_m .v8-m-account .dropdown-menu {
        position: absolute !important;
        inset: 100% 0 auto auto !important;
        transform: none !important;
        z-index: 30;
        width: max-content;
        min-width: min(180px, calc(100vw - 32px));
        max-width: min(320px, calc(100vw - 32px));
        max-height: max(44px, min(480px, calc(100dvh - var(--v8-mobile-header-height, 200px) - 16px)));
        box-sizing: border-box;
        overflow-y: auto;
        margin: 0;
        padding: 8px !important;
        border: 1px solid var(--s-line);
        border-radius: 8px;
        background: var(--s-surface);
        color: var(--s-ink);
        list-style: none;
    }
    html body #top_m .v8-m-account .dropdown-menu > li {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    html body #top_m .v8-m-account .dropdown-menu .dropdown-item {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 44px;
        box-sizing: border-box;
        margin: 0;
        padding: 0 12px;
        border: 0;
        border-radius: 4px;
        background: transparent;
        box-shadow: none;
        color: var(--s-ink);
        font-size: 14px;
        font-weight: 400;
        line-height: 21px;
        white-space: normal;
        overflow-wrap: anywhere;
        cursor: pointer;
    }
    html body #top_m .v8-m-account .dropdown-menu .dropdown-item:hover,
    html body #top_m .v8-m-account .dropdown-menu .dropdown-item:focus-visible,
    html body #top_m .v8-m-account .dropdown-menu .dropdown-item.active,
    html body #top_m .v8-m-account .dropdown-menu .dropdown-item[aria-current="page"] {
        background: var(--s-accent-soft);
        color: var(--s-ink);
    }
}

/* V8 pages: the header, main, lobbies and member pages share one frame. */
html body.hidespmenu #main-c,
html body #main-c {
    padding-left: 0;
    padding-right: 0;
    min-width: 0;
    transition: none;
}
html body #ajax-content {
    width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}
/* Main and lobby roots already own their frame. Never apply it twice. */
html body #ajax-content > :is(div, section, main, article):not(.v8-main):not(.v8-lobby-page):not(.footer):not(.modal) {
    width: var(--v8-frame);
    max-width: 100%;
    min-width: 0;
    float: none;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
}
/* Some history templates put their legacy wrapper inside an outer row. */
html body #ajax-content > div > :is(.deposit-wrapper, .withdraw-wrapper, .loglist-wrapper) {
    width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
}

/* Member-page structure only. The site color stylesheet supplies all colors. */
html body #ajax-content .v8-member-page,
html body #ajax-content .v8-member-page * {
    box-sizing: border-box;
    min-width: 0;
}
html body #ajax-content .v8-member-page {
    position: relative;
    overflow-wrap: anywhere;
}
html body #ajax-content .v8-member-page .v8-member-page {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}
html body #ajax-content .v8-member-page :is(.panel-page-blue2, .panel-body) {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    border: 0;
    box-shadow: none;
}
html body #ajax-content .v8-member-page .panel-page-blue2 > .p-2 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
html body #ajax-content .v8-member-page .sp_title {
    margin: 24px 0 20px;
    padding: 0 0 16px;
    border-bottom-width: 1px;
    border-bottom-style: solid;
}
html body #ajax-content .v8-member-page .nametag_ {
    margin-left: 0 !important;
    text-shadow: none;
}
html body #ajax-content .v8-member-page :is(.btn-delete_all, .btn-read_All, #btnWrite_s) {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px !important; /* common.css forces button { padding: inherit !important } */
}
/* 145451: PC free board write/send buttons had no side padding. Mobile (.s, #btnWrite_s) already has its own and stays as is. */
html body #ajax-content .v8-member-page.board-wrapper :is(.topbtn-grp ._write_:not(.s), #btnWrite) {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px !important;
}
html body #ajax-content .v8-member-page.table-board-blue2,
html body #ajax-content .v8-member-page :is(.half_wrap, .rule-bg-blue2, .monetary-event-card, .box-wrapper, .userInfoW, .widget-stats, .depo-box, .table-board-content, .round-box, .box-content, .bet-odds, .bet-view-sport-detail, .speech-bubble, .odds-container) {
    border-width: 1px;
    border-style: solid;
    border-radius: 12px;
    box-shadow: none;
    max-width: 100%;
}
html body #ajax-content .v8-member-page :is(.half_wrap, .rule-bg-blue2, .box-wrapper, .userInfoW) {
    padding: 20px;
}
html body #ajax-content .v8-member-page :is(.table-bet-log-wrap, .table-board-blue2, .table-history-blue2, .table-sbetlog-blue2, .table-mbetlog-blue2) {
    max-width: 100%;
    border-width: 1px;
    border-style: solid;
    border-radius: 12px;
    overflow: auto;
    box-shadow: none;
}
html body #ajax-content .v8-member-page .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
html body #ajax-content .v8-member-page .nav-tabs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
}
html body #ajax-content .v8-member-page .nav-tabs::before,
html body #ajax-content .v8-member-page .nav-tabs::after {
    display: none;
}
html body #ajax-content .v8-member-page .bet-history-tab {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    max-width: none;
    height: auto !important;
    min-height: 48px;
    margin: 0 !important;
    padding: 0;
    float: none;
    order: 0;
    border-width: 1px;
    border-style: solid;
    border-radius: 8px;
    transform: none;
    box-shadow: none;
    letter-spacing: 0;
}
html body #ajax-content .v8-member-page .bet-history-tab-in {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 8px;
    border: 0;
    font-size: clamp(12px, 1.4vw, 16px);
    line-height: 1.4;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: anywhere;
    overflow: visible;
}
html body #ajax-content .v8-member-page :is(button, input[type="button"], input[type="submit"], .btnv2, .el-button, .cmnbtn, .gametype-button-orange, .v8-member-action, ._rule, .btn-purple) {
    min-height: 44px !important;
    height: auto;
    max-width: 100%;
    padding: 10px 16px;
    border-width: 1px !important;
    border-style: solid !important;
    border-radius: 8px !important;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    white-space: normal;
    cursor: pointer;
    box-shadow: none !important;
    text-shadow: none !important;
    transform: none !important;
    filter: none !important;
}
html body #ajax-content .v8-member-page .v8-member-action {
    display: flex;
    align-items: center;
    justify-content: center;
}
html body #ajax-content .v8-member-page :has(> .wrapthree_groupbtn) {
    gap: 8px;
}
html body #ajax-content .v8-member-page .v8-member-action > .btnv2 {
    min-height: 0 !important;
    height: auto;
    padding: 0;
    margin: 0;
    border: 0 !important;
    float: none;
}
html body #ajax-content .v8-member-page :is(.btnv2, .btn-darkpurple, .btn-custom, .gametype-button-orange)::before,
html body #ajax-content .v8-member-page :is(.btnv2, .btn-darkpurple, .btn-custom, .gametype-button-orange)::after,
html body #ajax-content .v8-member-page :is(.anim_line, .triangle-6) {
    display: none;
}
html body #ajax-content .v8-member-page :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]), select, textarea) {
    max-width: 100%;
    min-height: 44px;
    border-width: 1px !important;
    border-style: solid !important;
    border-radius: 8px;
    box-shadow: none !important;
    font-size: 16px;
}
html body #ajax-content .v8-member-page :is(input, textarea)::placeholder {
    opacity: 1;
}
html body #ajax-content .v8-member-page :is(input, select, textarea, button, .cmnbtn):focus-visible {
    outline-width: 2px !important;
    outline-style: solid !important;
    outline-offset: 2px;
}
html body #ajax-content .v8-member-page .table-header > div {
    min-height: 40px;
    height: auto;
    padding: 8px 4px;
    margin-top: 0;
    border-width: 1px;
    border-style: solid;
    border-radius: 0;
    line-height: 1.5;
}
html body #ajax-content .v8-member-page :is(td, th, .table-history-tr, .table-board-tr, .table-sbetlog-td, .table-mbetlog-td, .table-history-td, .table-history-td-first, .table-board-td, .table-board-td-first) {
    border-width: 1px;
    border-style: solid;
    border-radius: 0;
    box-shadow: none;
    text-shadow: none;
}
html body #ajax-content .v8-member-page .v8-status,
html body #ajax-content .v8-member-page .bet_view_result {
    display: inline-block;
    border-radius: 8px;
    padding: 4px 8px;
    line-height: 1.4;
    font-size: 13px;
    text-shadow: none;
}
html body #ajax-content .v8-member-page :is(.half_width, .findiv, .member_infoForm, .table_Uinfo, .bet-odds, .monetary-event-container) {
    max-width: 100%;
}
html body #ajax-content .v8-member-page :is(.finance_wrapper, .calc_wrap, .note-comment-blue2) {
    flex-wrap: wrap;
}
html body #ajax-content .v8-member-page .monetary-event-container {
    flex-wrap: wrap;
}
html body #ajax-content .v8-member-page .member_infoForm select {
    position: static !important;
}
@media (max-width: 767px) {
    html body #ajax-content .v8-member-page .nav-tabs {
        gap: 4px;
    }
    html body #ajax-content .v8-member-page .bet-history-tab-in {
        padding: 8px 4px;
    }
    html body #ajax-content .v8-member-page :is(.half_wrap, .rule-bg-blue2, .half_width, .box-wrapper, .userInfoW, .member_infoForm) {
        width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    html body #ajax-content .v8-member-page :is(.wrapthree_groupbtn, .four_group-btn) {
        max-width: 100%;
        width: auto;
        margin: 4px;
    }
    html body #ajax-content .v8-member-page .table_Uinfo tr {
        margin-left: 0;
        margin-right: 0;
    }
    html body #ajax-content .v8-member-page .table_Uinfo td {
        flex-wrap: wrap;
    }
    html body #ajax-content .v8-member-page .userForm_label {
        width: 100% !important;
        text-align: left; /* 155939: stacked label sits above its field, so it starts at the left edge */
    }
    html body #ajax-content .v8-member-page .table_Uinfo .info-group,
    html body #ajax-content .v8-member-page .table_Uinfo .right.info-group.w-50 {
        width: 100% !important;
        margin-left: 0 !important;
    }
}

html body #ajax-content .v8-member-page :is(.redbox1, .redbox2, .redbox3) {
    animation: none;
    box-shadow: none !important;
    text-shadow: none !important;
}

/* Member pages live in the fixed 1200px frame: size legacy title lines, form columns and event cards from the column, not the viewport. */
html body #ajax-content .v8-member-page .subTitlev2 {
    align-items: center;
    gap: 12px;
    width: 100%;
    float: none !important;
}
html body #ajax-content .v8-member-page .subTitlev2 > .subTitleWrapper {
    flex: 0 0 auto;
    margin-right: 0;
    white-space: nowrap;
}
html body #ajax-content .v8-member-page .subTitlev2 > .titleLine {
    flex: 1 1 auto;
    width: auto;
    min-width: 24px;
    margin-right: 0;
}
html body #ajax-content .v8-member-page .row:has(> .rule-bg-blue2) > .rule-bg-blue2 {
    margin-top: 0 !important;
}
@media (min-width: 768px) {
    html body #ajax-content .v8-member-page .row:has(> .rule-bg-blue2) {
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: 16px;
    }
    html body #ajax-content .v8-member-page .row:has(> .rule-bg-blue2) > * {
        flex: 1 1 0;
        width: auto;
        max-width: none;
    }
}
html body #ajax-content .v8-member-page .depo-box {
    min-width: max-content;
}
html body #ajax-content .v8-member-page .monetary-event-container {
    width: 100%;
    gap: 10px;
}
html body #ajax-content .v8-member-page .monetary-event-card {
    flex: 1 1 150px;
    width: auto;
    max-width: 200px;
    padding: 12px;
}
html body #ajax-content .v8-member-page .monetary-event-card .redbox1 {
    padding: 8px 4px;
    font-size: 16px;
    word-break: keep-all;
}
html body #ajax-content .v8-member-page .monetary-event-card .redbox2 {
    padding: 8px 4px;
    font-size: 20px;
    word-break: keep-all;
}
html body #ajax-content .v8-member-page .monetary-event-card .redbox3 {
    font-size: 12px;
    word-break: keep-all;
}
/* 102206: 입금·출금 '규정 확인' 버튼 글자를 버튼 세로 가운데로 */
html body #ajax-content .v8-member-page .rule_ ._rule {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 767px) {
    /* 출금 규정 상자와 누르면 나오는 상세도 입금(기존 column-reverse)처럼 신청 상자 위에, 간격도 같게(규정 상자 아래 여백) */
    html body #ajax-content .v8-member-page.withdraw-wrapper .row:has(> .rule-bg-blue2) {
        flex-direction: column-reverse;
    }
}
/* 131804: 포인트·입금 타이틀(sub-heading)의 왼쪽 28px 들여쓰기를 없애 다른 타이틀처럼 칸 왼쪽에서 시작 — 들여쓴 자리로 밑줄(::before)이 튀어나와 보이던 문제 */
html body #ajax-content .v8-member-page .subTitlev2.sub-heading {
    padding-left: 0;
    padding-right: 0;
}
/* 131430: 스포츠가 없는 사이트의 출금 롤링은 카지노·슬롯 두 칸을 반씩 */
@media (min-width: 501px) {
    html body #ajax-content .v8-member-page .withdraw-content .box-wrapper.v8-rol-nosport .w25.box {
        width: calc(50% - 10px);
    }
}
/* 131536: 입금·출금 금액 버튼을 위 금액 입력칸과 같은 폭으로 3개씩 */
html body #ajax-content .v8-member-page .bundle_wrapper > .findiv,
html body #ajax-content .v8-member-page .calc_wrap.bundle-buttonsContainer {
    width: min(360px, 100%);
    margin-left: auto !important;
    margin-right: auto !important;
}
html body #ajax-content .v8-member-page .calc_wrap.bundle-buttonsContainer {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
html body #ajax-content .v8-member-page .calc_wrap.bundle-buttonsContainer > .btn-amount {
    width: 100% !important;
    margin: 0 !important;
}
/* 131549: 포인트 전환 버튼 크기를 포인트 입력칸에 맞춤 — 입력칸 아래로 내려가는 화면(1239px 이하)은 입력칸과 같은 폭, 한 줄에 놓이는 PC(1240px 이상, media.css)는 입력칸과 같은 높이 */
html body #ajax-content .v8-member-page .el-row:has(> ._allpointcheck) {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    width: min(360px, 100%);
    margin: 16px auto 0 !important;
}
html body #ajax-content .v8-member-page .el-row:has(> ._allpointcheck) > button {
    width: 100%;
    margin: 0 !important;
}
@media screen and (min-width: 1240px) {
    html body #ajax-content .v8-member-page .el-row:has(> ._allpointcheck) {
        display: inline-flex;
        width: auto !important;
        margin: 0 0 0 4px !important;
        padding-bottom: 0 !important;
        vertical-align: middle;
    }
    html body #ajax-content .v8-member-page .bundle_wrapper:has(+ .el-row > ._allpointcheck) > .findiv {
        width: 340px;
    }
    html body #ajax-content .v8-member-page .el-row:has(> ._allpointcheck) {
        gap: 8px;
    }
    html body #ajax-content .v8-member-page .el-row:has(> ._allpointcheck) > button {
        width: 166px;
        height: 70px !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}
/* 140108: 게시판까지 회원 줄이 7개 이상이면 모바일은 4칸 두 줄로 (6칸이면 이벤트 하나만 아랫줄에 남는다) */
html body #top_m .v8-m-account > ul:has(> li:nth-child(7)) {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
/* 153642: streak deposit event - completed (stamped) day cells use the same font size as the other day cells (only bold marks them). */
html body #ajax-content .v8-member-page .deposit-event.deposit_calendar tbody td.deposit_calendar.stamped {
    font-size: inherit;
}
/* 162155: one-line notice in the top band. PC keeps cash and point as they are; the notice takes the free space on the left. */
html body #top_pc .header01 #ad-top.marquee03 {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    margin-right: 24px;
}
html body #top_pc .header01 .header01Wrapper .leftZone {
    flex: 0 1 auto;
}
html body :is(#top_pc .header01 #ad-top.marquee03, #top_m #mquick-header .v8-m-notice) .noticeIcon {
    flex: none;
    width: 20px;
    height: 20px;
    -webkit-mask: url(/image/megaPhone.svg) center / contain no-repeat;
    mask: url(/image/megaPhone.svg) center / contain no-repeat;
}
html body :is(#top_pc .header01 #ad-top.marquee03, #top_m #mquick-header .v8-m-notice) .noticeIcon img {
    opacity: 0;
}
html body :is(#top_pc .header01 #ad-top.marquee03, #top_m #mquick-header .v8-m-notice) .notice_text {
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
/* 162155 mobile header (plan B): first row = notice + member button (cash inside); cash and point blocks move into the member menu. */
@media (max-width: 1199px) {
    html body #top_m #mquick-header .header-nav_wrap_quickm_header {
        display: none;
    }
    html body #top_m #mquick-header .mquickh-wrapper {
        grid-template-areas: "notice member cart" "logo support support";
    }
    html body #top_m #mquick-header .mquickh-wrapper:not(:has(> div.iconmobile-betslip)) {
        grid-template-areas: "notice member" "logo support";
    }
    html body #top_m #mquick-header .v8-m-notice {
        grid-area: notice;
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
        height: 44px;
        overflow: hidden;
    }
    html body #top_m #mquick-header .v8-m-notice .notice_text {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        font-size: 13px;
        line-height: 20px;
    }
    html body #top_m #mquick-header .v8-m-notice marquee {
        display: block;
    }
    html body #top_m #mquick-header .v8-um--m .v8-um-trigger-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 92px;
        text-align: left;
        min-width: 0;
        line-height: 1.25;
    }
    html body #top_m #mquick-header .v8-um--m .v8-um-trigger-name {
        max-width: 100%;
    }
    html body #top_m #mquick-header .v8-um--m .um-cash,
    html body #top_m #mquick-header .v8-um--m .um-cash-view {
        display: block;
        width: 100%;
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
    }
    html body #top_m #mquick-header .v8-um--m .um-cash-view {
        font-size: 12px;
        font-weight: 600;
        font-variant-numeric: tabular-nums;
    }
}
/* 162155: cash and point rows under the member menu head (mobile menu only). */
html body #top_m .v8-um--m .v8-um-wallet {
    display: grid;
    gap: 4px;
    margin: 4px 16px 0;
    padding: 8px 0 10px;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
}
html body #top_m .v8-um--m .v8-um-wallet-row {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 36px;
    margin: 0;
    font-size: 14px;
}
html body #top_m .v8-um--m .v8-um-wallet-label {
    flex: none;
    width: 56px;
}
html body #top_m .v8-um--m .v8-um-wallet-value {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 15px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}
html body #top_m .v8-um--m .v8-um-convert {
    flex: none;
    width: auto;
    min-height: 36px;
    margin: 0;
    padding: 0 12px !important;
    border: 0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
/* 162155: on phones the four shortcuts (회원정보·캐시포인트 내역·입출금내역·배팅내역) sit 2 x 2 so no label is cut. */
@media (max-width: 767px) {
    html body #top_m #mquick-header .v8-um--m .v8-um-shortcuts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* 164645: V8 mobile member info - "기본 정보" rows (label | value) and edit groups (label above field). Group titles and the mobile-only birthday row stay hidden on PC. */
html body #ajax-content .userinfo-wrapper #user-container :is(.v8-ui-title, .v8-ui-m-only) {
    display: none;
}
@media (max-width: 767px) {
    html body #ajax-content .userinfo-wrapper #user-container {
        width: 100% !important;
        margin: 0 !important;
    }
    html body #ajax-content .userinfo-wrapper #user-container .userInfoW {
        padding: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
    }
    html body #ajax-content .userinfo-wrapper #user-container .member_infoForm {
        width: 100% !important;
        margin: 0 0 16px !important;
        padding: 0 !important;
    }
    html body #ajax-content .userinfo-wrapper #user-container .table_Uinfo,
    html body #ajax-content .userinfo-wrapper #user-container .table_Uinfo > tbody,
    html body #ajax-content .userinfo-wrapper #user-container .table_Uinfo > tbody > tr,
    html body #ajax-content .userinfo-wrapper #user-container .table_Uinfo > tbody > tr > td {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
        border: 0;
    }
    html body #ajax-content .userinfo-wrapper #user-container .table_Uinfo > tbody.v8-ui-group {
        box-sizing: border-box;
        padding: 14px 16px 4px;
        border: 1px solid;
        border-radius: 10px;
    }
    html body #ajax-content .userinfo-wrapper #user-container .table_Uinfo > tbody.v8-ui-group + tbody.v8-ui-group {
        margin-top: 16px;
    }
    html body #ajax-content .userinfo-wrapper #user-container .table_Uinfo > tbody.v8-ui-group:not(:has(> tr)) {
        display: none;
    }
    html body #ajax-content .userinfo-wrapper #user-container .table_Uinfo > tbody > tr.v8-ui-title,
    html body #ajax-content .userinfo-wrapper #user-container .table_Uinfo > tbody > tr.v8-ui-m-only {
        display: block;
    }
    html body #ajax-content .userinfo-wrapper #user-container .table_Uinfo > tbody > tr.v8-ui-title > td {
        padding: 0 0 6px;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.4;
    }
    html body #ajax-content .userinfo-wrapper #user-container .v8-ui-colon {
        display: none;
    }
    html body #ajax-content .userinfo-wrapper #user-container .v8-ui-basic > tr.row > td {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center;
        min-height: 48px;
        border-bottom: 1px solid;
    }
    html body #ajax-content .userinfo-wrapper #user-container .v8-ui-basic > tr.row:last-child > td {
        border-bottom: 0;
    }
    html body #ajax-content .userinfo-wrapper #user-container .v8-ui-basic .userForm_label {
        flex: none;
        width: 84px !important;
        height: auto !important;
        padding: 0 !important;
        line-height: 1.4 !important;
        font-size: 13px !important;
        font-weight: 400;
        text-align: left;
    }
    html body #ajax-content .userinfo-wrapper #user-container .v8-ui-basic .info-group {
        display: block !important;
        flex: 1 1 auto;
        width: auto !important;
        min-width: 0;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        line-height: 1.4 !important;
        font-variant-numeric: tabular-nums;
        overflow-wrap: anywhere;
    }
    html body #ajax-content .userinfo-wrapper #user-container .v8-ui-empty::after {
        content: '—';
    }
    html body #ajax-content .userinfo-wrapper #user-container .v8-ui-edit > tr:not(.v8-ui-title) > td {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr);
        justify-content: stretch !important;
        gap: 8px;
        padding: 0 0 14px !important;
        text-align: left !important;
    }
    html body #ajax-content .userinfo-wrapper #user-container .v8-ui-edit .userForm_label {
        width: auto !important;
        font-size: 14px !important;
        text-align: left;
    }
    html body #ajax-content .userinfo-wrapper #user-container .v8-ui-edit .info-group {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }
    html body #ajax-content .userinfo-wrapper #user-container .v8-ui-edit :is(input:not([type="hidden"]), select) {
        display: block;
        width: 100% !important;
        height: 48px !important;
        margin: 0 !important;
        position: static !important;
        box-sizing: border-box;
    }
    html body #ajax-content .userinfo-wrapper #user-container .v8-ui-edit button[type="submit"] {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100% !important;
        max-width: none !important;
        height: 48px;
        margin: 2px 0 0 !important;
    }
    html body #ajax-content .userinfo-wrapper #user-container .v8-ui-pc-only {
        display: none !important;
    }
}
