@charset "UTF-8";
* {
	padding:0;
	margin:0;
	box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    font-family: "Pretendard", sans-serif;
}
ul,li,dl,dt,dd,ol{
	list-style:none;
}
h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-family: inherit;
}
body {
    font-weight: 300;
    font-size: 16px;
    color: #131313;
    letter-spacing: -0.05em;
    background-color: #F5F8FC;
    line-height: 1.3;
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    border: 0;
    vertical-align: top;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}
input,textarea{outline:0;border:0;box-shadow: none !important;}
button {outline:0;border:0;cursor:pointer;background-color: #FBFBFB;
    border: 1px solid #C7C7C7; border-radius: 5px;
    font-size: inherit; color: inherit;
}
input,input[type="submit"]{
   appearance: none;
   border-radius: 0;
   -webkit-appearance: none;
   -webkit-border-radius: 0;
}
input[type="radio"],
input[type="checkbox"]{
	appearance: auto;
	-webkit-appearance: auto;
}
a:focus,
input:focus,
textarea:focus,
select:focus,
button:focus{ outline: none; box-shadow: none;}
button,label{ cursor:pointer; font-family: inherit;}
b{font-weight:600;}
table {
    table-layout: fixed;
    border-collapse: collapse;
}

select {
appearance: none;         /* 크롬, 사파리 등 */
-moz-appearance: none;    /* 파이어폭스 */
-webkit-appearance: none; /* 오래된 웹킷 브라우저 */
background-size: 14px;
background-image: url(../main_img/icon/angle_down.svg);
background-repeat: no-repeat;
background-position: right center;
background-position: right 10px center;
}
#wrapper, #container_wr {
    width: 100%;
}
#hd, #wrapper, #ft {
    min-width: unset;
}

#container {
  all: unset;
  display: block;

  padding-top: 120px;
}
#con_provision .header_wrap,
#con_provision #footer_wrap {
    display: none;
}
::placeholder {
    color: #A1A4AA;
    opacity: 1;
}
input[type=text]:focus,
input[type=password]:focus, 
textarea:focus,
select:focus {
    -webkit-box-shadow: none;
    -moz-box-shadow:0 0 5px none;
    box-shadow: none;
    border:1px solid var(--border-color) !important;
}

:root {
    /* --main-color:#082C63; */
    --main-color:#071F4A;
    --sub-color: #155BCA;
    --gray-color: #63718A;
    /* --border-color: #E9EBEE; */
    --border-color: #e9e9e9;
    --sub-Light: #F8FBFF;
    --sub-Dark: #F8F9FC;
    --brown_txt: #915925;
    --gold: #F5B934;
    --gold-gd: linear-gradient(to bottom, #FFEB8F 0%, #FFC026 100%);    
    --gold-btn-gd: linear-gradient(to right, #EFCE8F 0%, #FFF2D4 50%, #EFCE8F 100%);
    --gold-btn: linear-gradient(135deg, #FFE58A 0%, #F5B934 50%, #FFC766 100%);
    --main-gd: linear-gradient(to bottom, #061A3D 0%, #0A3478 50%, #03112A 100%);
    --box-shadow:  0 4px 8px 0 rgba(0, 0, 0, .20);
    --shadow-card: 0 4px 8px rgba(20,30,60,0.09);
    --sub-bg-color: #FBFBFB;
}

.inner_wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.main_color {
    color: var(--main-color);
}
.sub_color {
    color:var(--sub-color);
}
.gold_color {
    color: var(--gold);
}
.mb, .mb_br {display: none;}
.gold_btn {
    color: var(--main-color);
    background: var(--gold-btn);
}
.wh_btn {
    color: #fff;
    border: 1px solid #fff;
    /* background-color: transparent; */
    background-color: rgba(7, 31, 74, 0.8);
}
.wh_btn:hover {
    color: var(--main-color);
    background-color: #fff;
}
.flex_wrap {
    display: flex;
}
.main_grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}
.card_column {
    display: flex;
    flex-direction: column;
}
.inner_wrap > .wh_card {
    margin-bottom: 48px;
}

/*===== header =====*/
.logo a {display: block;}
.mb_header {
    display: none;
}
.hd_wrapper_pc {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.hd_top {
    color: #fff;
    font-size: 14px;
    padding: 12px 0;
    background-color: var(--main-color);
    max-height: 60px;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.hd_top .top_notice {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hd_top .inner_wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header_util {
    display: flex;
    align-items: center;
}
.header_util a {
    padding: 0 8px;
}
.hd_main {
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    background-color: #fff;
    transition: padding 0.3s ease;
}
.hd_main .inner_wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hd_main .gnb {
    display: flex;
    align-items: center;
}
.hd_main .gnb a {
    display: block;
    color: var(--main-color);
    padding: 0 20px;
    font-weight: 600;
    font-size: 18px;
}
.gnb a.menu_gold {
    color: var(--gold);
}

.hd_wrapper_pc.scrolled .hd_top {
    max-height: 0;
    padding: 0; 
}
.hd_wrapper_pc.scrolled .hd_main {
    padding: 12px 0;
}

/*===== banner =====*/
/** .banner_box = 메인, 엔진 소개 **/
.banner_box {
    height: 500px;
    padding-top: 48px;
    color: #fff;
    background: url('../main_img/main_bg_img.png') no-repeat right 15% center, var(--main-gd);
}
/*-----------*/
.banner_main_title {
    font-size: clamp(26px, 4vw, 44px);
    line-height: 1.5;
    font-weight: 700;
    margin: 8px 0 16px;
}
.banner_desc {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 600;
    margin-bottom: 32px;
}
.banner_btn_wrap {
    display: flex;
    align-items: center;
    gap: 20px;
}
.banner_btn_wrap > a {
    font-size: clamp(16px, 4vw, 20px);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    max-width: 200px;
    padding: 12px 4px;
    border-radius: 12px;
    transition: all 0.3s ease;
}
.banner_btn_wrap > a:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow);
}

/*===== main_container =====*/
.main_container {
    /* margin-top: -80px; */
    margin-top: -60px;
}
.wh_card {
    padding: 40px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: #fff;
    box-shadow: var(--shadow-card);
}
.main_overview {}
.main_overview > section {
    position: relative;
}
.main_overview > section::after {
    content: '';
    width: 1px;
    height: 100%;
    background-color: var(--border-color);
    position: absolute;
    right: -10px;
}
.main_overview > section:last-child::after {
    display: none;
}

.card_head {
    display: flex;
    align-items: center;
    /* gap: 16px; */
    /* margin-bottom: 40px; */
    flex-wrap: wrap;
    row-gap: 8px;
    column-gap: 16px;
    margin-bottom: clamp(20px, 3vw, 32px);
}
.card_head.space_head {
    justify-content: space-between;
}
.card_head h3 {
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 700;
}
.card_head h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--main-color);
}
.card_head_info .txt_info {
    color: var(--gray-color);
}
.card_head .btn_more {
    color: var(--sub-color);
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
}
.card_head .btn_more i {
    transition: transform 0.3s ease; 
}
.card_head .btn_more:hover i {
    transform: translateX(4px);
}

.result_balls {
    display: flex;
    align-items: center;
    /* gap: 8px; */
    justify-content: space-evenly;
}
.lotto_ball {
    display: flex;
    align-items: center;
    justify-content: center;
    width:  clamp(32px, 5vw, 54px);;
    aspect-ratio: 1/1;
    font-size: clamp(18px, 3vw, 24px);
    color: #fff;
    font-weight: 600;
    border-radius: 50%;
}
.ball_yellow {
    background: radial-gradient(circle, #FFDB73 0%, #F6CA49 100%);
}
.ball_blue {
    background: radial-gradient(circle, #2B8CEE 0%, #1754CF 100%);
}
.ball_red {
    background: radial-gradient(circle, #F63F31 0%, #D41111 100%);
}
.ball_gray {
    background: radial-gradient(circle, #8B979C 0%, #6D7578 100%);
}

.card_body {
    flex: 1;
    /* background: lightyellow; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/*===== //이용권// =====*/
.pricing_section {}
.pricing_wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.pricing_card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 28px 16px;
    background-color: #fff;
    transition: transform 0.3s ease;
}
.pricing_card > .imgbox {
    border-radius: 50%;
    box-shadow: 0 0 9px 4px rgba(21, 91, 202, 0.6);
}
.pricing_info {
    width: 100%;
    text-align: center;
}
.pricing_info .plan_level {
    font-size: 24px;
    font-weight: 700;
}
.pricing_info .plan_badge {
    display: inline-flex;
    color: var(--sub-color);
    font-weight: 500;
    padding: 4px 20px;
    margin: 8px 0;
    border-radius: 50px;
    background-color: #e8f2ff;
}
.pricing_info .plan_txt {
    font-weight: 500;
}
.pricing_info .plan_feature {
    width: 100%;
    padding: 12px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 16px 0;
}
.pricing_info .price_wrap {}
.price_wrap .sale_info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.price_wrap .sale_info .original_price {
    text-decoration: line-through;
}
.price_wrap .sale_info .sale_badge {
    font-size: 14px;
    padding: 4px 8px;
    background-color: var(--sub-color);
    color: #fff;
    border-radius: 50px;
}
.price_wrap .price {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    margin: 8px 0 4px;
}
.price_wrap .price_tax {
    font-size: 14px;
    color: var(--gray-color);
}
.pricing_card .btn_plan {
    color: #fff;
    font-weight: 600;
    width: 100%;
    padding: 12px 4px;
    background-color: var(--sub-color);
    border: 0;
    border-radius: 8px;
    transition: background-color 0.3s ease-in;
}
.pricing_card:hover {
    transform: translateY(-12px);
    box-shadow: var(--box-shadow);
}
.pricing_card:not(.gold_membership) .btn_plan:hover {
    background-color: #6aa3fe;
}

/*** 이용권-골드멤버십 ***/
.pricing_card.gold_membership {
    border: 2px solid var(--gold);
    background-color: var(--main-color);
    position: relative;
    overflow: hidden;
}
.pricing_card.gold_membership::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -80%;
    width: 40%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.35),
        transparent
    );
    transform: rotate(25deg);
    animation: shineMove 4s ease-in-out infinite;
    z-index: 1;
}
.pricing_card.gold_membership .price_wrap .price {
    background: var(--gold-gd);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.pricing_card.gold_membership .price_wrap .price small {
    font-size: 20px;
}
.pricing_card.gold_membership > * {
    position: relative;
    z-index: 1;
}
@keyframes shineMove {
    0% {
        left: -80%;
    }
    45%, 100% {
        left: 130%;
    }
}
.pricing_card.gold_membership .flag-badge {
    font-size: 20px;
    font-weight: 600;
    color: var(--main-color);
    background: linear-gradient(to bottom, #FFE58A 0%, #FFD55B 50%, #FFEB8F 100%);
    width: 150px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 8px;
    left: -48px;
    transform: rotate(-45deg);

}
.pricing_card.gold_membership > .imgbox {
    box-shadow: 0 0 20px 4px rgba(255, 255, 255, 0.6);
}

.gold_membership .pricing_info {
    color: #fff;
}
.gold_membership .pricing_info .plan_level {
    background: var(--gold-gd);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.gold_membership .pricing_info .plan_badge {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.4);
}

.gold_membership .price_wrap .sale_info .sale_badge {
    color: var(--main-color);
    background: var(--gold-gd);
}
.gold_membership .btn_plan {
    color: var(--main-color);
    background: linear-gradient(to right, #FFEB8F 0%, #FFC026 100%);
}

.community_section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
}
.community_section > section {
    border-radius: 4px;
    border: 1px solid var(--border-color);
}
.community_section.main_grid .card_head {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
}
.community_section .card_head h4 {
    display: flex;
    align-items: center;
    gap: 4px;
}
/*** 메인-채팅 ***/
.chat_body {
    height: 300px;
    max-height: 300px;
    overflow-y: auto;
}
.card_chat .user_count {
    gap: 4px;
    color: var(--sub-color);
}
.card_chat .user_count i {
    font-size: 20px;
    color: var(--main-color);
}
.chat_body {
    padding: 12px 16px;
}
.msg_row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.msg_row.me {
    flex-direction: row-reverse;
}
.msg_row .msg_content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: 80%;
}
.msg_row.me .msg_content {
    align-items:flex-end;
}
.msg_row .msg_content .msg_id {
    font-size: 13px;
    font-weight: 600;
    color: var(--main-color);
}
.msg_row .msg_content .msg_con {
    display: flex;
    align-items: flex-end;
    gap: 4px;
}
.msg_row.me .msg_content .msg_con {
    flex-direction: row-reverse;
}
.msg_row .msg_con .bubble {
    font-size:14px;
    line-height:1.5;
    padding: 8px 12px;
    border-radius: 20px;
    background: var(--border-color);
}
.msg_row .msg_con .msg_time {
    font-size: 12px;
    color: #A4A4A4;
    white-space:nowrap;
}
.card_bottom {
    padding: 8px 16px;
    border-top: 1px solid var(--border-color);
}
.chat_input_wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.chat_input_wrap .chat_input {
    flex: 1;
    height: 40px;
    background-color: #e8f2ff;
    padding: 0 12px;
    font-size: 14px;
}
.chat_input_wrap .btn_send {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 4px;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--sub-color);
    border: 0;
    transition: background-color 0.3s ease-in-out;
}
.chat_input_wrap .btn_send:hover {
    background-color: var(--main-color);
}
.chat_input_wrap input[type=text]:focus {
    border: 0 !important;
}

.chat_empty_state {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: var(--main-color);
    gap: 8px;
    line-height: 1.5;
}
.chat_empty_state i {
    font-size: 1.5rem;
}

.card_bottom.more_wrap {}
.card_bottom.more_wrap a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-color);
    /* font-size: 14px; */
    padding: 8px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
.card_bottom.more_wrap a:hover {
    color: var(--sub-color);
    border-color: var(--sub-color);
}
.card_best {}
.card_community {}
.card_community .view_table {
    border-radius: 0;
    border: 0;
}
.card_community .all_comm_table_wrap,
.card_community .all_comm_table_wrap .history_list,
.card_community .all_comm_table_wrap .empty_item {
    height: 100%;
}
/* .card_community .all_comm_table_wrap .history_list {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
} */
.card_community .history_item {
    padding: 4px 16px;
}


/*===== //promo_banner_wrap// =====*/
.promo_banner_wrap {
    padding: 48px 0;
    background: var(--main-gd);
}
.promo_banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.promo_banner .promo_head_tit {
    font-size: 28px;
    font-weight: 700;
    background: var(--gold-gd);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.promo_banner .promo_head_tit span {
    color: #fff;
    font-weight: 600;
}
.promo_banner .promo_head p {
    color: #fff;
    margin-top: 12px;
    word-break: keep-all;
    line-height: 1.5;
}
.promo_feature {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}
.promo_feature li {
    display: flex;
    align-items: center;
    gap: 8px;
}
.promo_feature .iconbox {}
.promo_feature .feature_txt {}
.promo_feature .feature_txt .feature_tit {
    font-size: 20px;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 8px;
}
.promo_feature .feature_txt .feature_tit span {
    color: #fff;
}
.promo_feature .feature_txt p {
    color: #fff;
}
.promo_banner .btn_wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;

}
.promo_banner .btn_wrap a {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 12px;
    padding: 12px 8px;
    min-width: 200px;
    transition: all 0.3s ease;
}
.promo_banner .btn_wrap a:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow);
}


/*===== footer =====*/
.footer_wrap {
    background-color: #eef4ff;
    padding: 24px 0 40px;
}
.footer {
    display: flex;
    gap: 20px;
}
.footer .ft_logo {
    flex: 0 0 200px;
}
.footer .ft_info_wrap {
    font-size: 14px;
}
.footer .ft_cnt {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    row-gap: 8px;
}
.footer .ft_cnt > a {
    padding: 0 10px;
    border-right: 1px solid #ccc;
}
.footer .ft_cnt > a:first-child {
    font-weight: 700;
    padding-left: 0;
}
.footer .ft_cnt .biz_btn {
    color: #fff;
    padding: 4px 8px;
    background-color: var(--main-color);
    border-radius: 4px;
    border: 0;
}
.footer .guide_txt {
    color: #5D5D5D;
    word-break: keep-all;
    padding-top: 12px;
    line-height: 1.5;
}
.footer .copyright {
    color: #5D5D5D;
    margin-top: 12px;
}
.ft_biz_info {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
}
.ft_biz_info ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 4px;
}

.ft_biz_info.active {
    max-height: 120px;
    opacity: 1;
}


/*===== 메인-로그인 후 =====*/
.login_member {
    flex: 1;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}
.login_member .log_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* padding: 4px 12px 8px; */
    padding: 8px 12px;
}
.user_info {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 400;
}
.user_info.grade_gold {
    color: var(--gold);
}
.user_info.grade_combo {
    color: var(--gray-color);
}
.user_info.grade_basic {
    color: var(--brown_txt);
}
.login_member .log_top .btn_logout {
    font-size: 14px;
    color: var(--gray-color);
}

.login_member .log_bottom {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* justify-content: flex-end; */
    /* gap: 16px; */
    justify-content: space-between;
}
.login_member .log_menu {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.login_member .log_menu li {
    padding: 0 12px;
}
.login_member .log_menu li a {
    color: var(--gray-color);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}
.login_member .log_menu li:last-child a {
    border-bottom: 0;
}

.log_center {
    margin: 8px 0;
}
.membership_status {}

.basic_row {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}
.basic_row > a span {
    display: inline-block;
    color: var(--brown_txt);
    font-weight: 700;
    padding: 0 4px;
    border-bottom: 1px solid var(--brown_txt);
}

.membership_row {
    padding: 8px 12px;
}
.membership_row .membership_info {}
.membership_row .membership_info .membership_label {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}
.membership_row .membership_info .membership_result {
    font-size: 18px;
    font-weight: 700;
    color: var(--sub-color);
}
.membership_row .membership_info .membership_date {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.membership_row .btn_extend {
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    background-color: var(--sub-color);
    padding: 4px 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease-in;
}
.membership_row .btn_extend:hover {
    background-color: var(--main-color);
}
.membership_row .membership_info .membership_count {}

/*로그인-하단 버튼*/
.login_member .btn_box {
    padding: 0 12px 8px;
}
.login_member .btn_box .btn_common {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: var(--brown_txt);
    border-radius: 4px;
    border: 2px solid #D3B498;
    background: linear-gradient(to right, #EFCE8F 0%, #FFF2D4 50%, #EFCE8F 100%);
    padding: 12px 0;
}
.login_member .btn_box .gold_sch img {
    filter: brightness(0.5) sepia(1) hue-rotate(345deg) saturate(220%) brightness(1.1);
}
.login_member .btn_box .btn_common.silver_sch {
    color: var(--gray-color);
    border-color: #D9DEE3;
    background: linear-gradient(to right, #D9DEE3 0%, #F5F7FA 50%, #D9DEE3 100%);
}


/***** 자잘한 공통 *****/
.gold_border {
    display: inline-flex;
    align-items: center;
    color: var(--gold);
    gap: 4px;
    padding: 8px 12px; 
    border: 1px solid transparent; 
    border-radius: 50px; 
    background-image: linear-gradient(#061A3D, #061A3D), 
                      linear-gradient(to right, #F5B934 0%, #FFF6E3 50%, #F5B934 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    width: fit-content;
}
.grid_col_2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
    column-gap: 16px;
}
.grid_col_2_item {
    display: flex;
    align-items: center;
    column-gap: 12px;
}
.sub-page-wrap {
    padding: 40px 0;
}
.goldmembership-page,
.mcmc_enginep-page {padding-top: 0;}

/*===== 서브 - 마이페이지 =====*/
.sub-page-wrap .wh_card {
    padding: 24px 16px;
}
/** 사이드 메뉴 **/
.dashboard_grid {
    display: grid;
    grid-template-columns: 277px 1fr;
    gap: 20px;
    align-items: start;
}
.sidebar_wrap.wh_card {
    padding: 20px 16px;
}
.sidebar_wrap {
    position: sticky;
    top: 100px;
}
.dash_container {
    min-width: 0;
}
 .sidebar_wrap > *:not(:last-child) {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar_profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.sidebar_profile .profileimg_box {
    width: 100px;
    aspect-ratio: 1 / 1;
    background: #ccc;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    overflow: hidden;
}
.sidebar_profile .profileimg_box img {}
.sidebar_profile .profile_info {}
.sidebar_profile .profile_name {
    font-size: 24px;
    font-weight: 700;
    margin-top: 12px;
}
.sidebar_profile .profile_id {
    font-size: 14px;
    color: var(--gray-color);
}
.sidebar_profile .user_info {
    margin: 8px 0;
}

.sidebar_profile .membership_expire_box {
    color: var(--gray-color);
    line-height: 1.3;
    font-weight: 400;
}
.sidebar_profile .membership_expire_box strong {
    font-weight: 500;
}
.sidebar_menu {
    display: flex;
    flex-direction: column;
    padding-top: 16px;
    gap: 4px;
}
.sidebar_menu li {}
.sidebar_menu li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 4px;
}
.sidebar_menu li.active a {
    color: #fff;
    background-color: var(--main-color);
}
.sidebar_menu li.active a img {
    filter: brightness(0) invert(1);
}

.sidebar_cs {
    margin-top: 16px;
    padding: 16px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background-color: var(--sub-Dark);
}
.sidebar_cs .cs_top {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
}
.sidebar_cs .cs_top .cs_txt h4 {
    color: var(--main-color);
}
.sidebar_cs .cs_top .cs_txt p {
    font-size: 14px;
    color: var(--gray-color);
    margin-top: 4px;
    line-height: 1.5;
    word-break: keep-all;
}
.sidebar_cs .btn_cs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 14px;
    color: #fff;
    background-color: var(--main-color);
    border-radius: 4px;
    padding: 8px;
}
.sidebar_cs .btn_cs i {
    transition: transform 0.3s ease;
}
.sidebar_cs .btn_cs:hover i {
    transform: translatex(4px);
}

/** 대시보드 메인 **/
.dash_container > .wh_card {
    margin-bottom: 20px;
}
.dashboard_wrap {}
.membership_banner {
    background: url('../main_img/membership_banner_bg.png') no-repeat right center, var(--main-gd);
    padding: 40px 16px;
    border-radius: 4px;
    color: #fff;
    background-size: contain;
}
.bn_title {
    font-size: clamp(18px, 4vw, 24px);
    font-weight: 500;
    margin-bottom: 12px;
}
.membership_banner .user_info .grade_txt {
    font-size: clamp(22px, 4vw, 32px);
    font-weight: 500;
}
.membership_info_list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: clamp(24px, 4vw, 48px);
}
.membership_info_list li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 6px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.4);    
    background-color: rgba(0, 0, 0, 0.4);
    flex: 0 0 180px;
}
.membership_info_list .iconbox {}
.membership_info_list .iconbox i {
    font-size: 1.8rem;
}
.membership_info_list .membership_info{
    font-weight: 400;
}
.membership_info_list .info_label {
    font-weight: 300;
    margin-bottom: 8px;
}

.dashboard_stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0;
}
.stats_card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 12px !important;
    justify-content: space-between;
}
.stats_top {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--main-color);
}
.stats_icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
}
.grade_card .stats_icon img {
    width: 100%;
}
.grade_card .stats_value {
    font-size: 20px;
}
.stats_info {
    min-width: 0;
}
.stats_value {
    margin-top: 4px;
    font-size: 24px;
    font-weight: 700;
}
.stats_value span {
    font-size: 1rem;
}
.stats_desc {
    font-size: 14px;
    color: var(--gray-color);
}

/*===== 서브 - 골드조합 =====*/
.dash_container.detail .card_head {
    flex-direction: column;
    align-items: flex-start;
}

.table_wrap table {
    width: 100%;
}
.view_table {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    /* overflow: hidden; */
}
.view_table thead th,
.view_table tbody td {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}
.view_table tbody tr:last-child td {
    border-bottom: none;
}
.view_table tbody tr {}
.col_number {}
.col_round {width: 100px;}
.col_date {width: 120px;}

.view_table .lotto_ball {
    width: 36px;
    font-size: 20px;
}
.view_table .result_balls {
    justify-content: center;
}
.empty {
    padding: 60px 0;
}
.pg_wrap {
    clear: unset;
    float: none;
    display: flex;
    justify-content: center;
    margin-top: 24px;
}
.pg_page, .pg_current {
    border: 1px solid var(--border-color);
    font-size: 14px;
    height: 28px;
    line-height: 28px;
    min-width: 28px;
    border-radius: 4px;
    padding: 0;
    font-weight: 400;
    transition: all 0.3s ease;
}
.pg_current {
    background-color: var(--main-color);
}
.pg_page:hover {
    background-color: var(--main-color);
}

/*** 일반회원+조합권***/
.membership_banner .btn_wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.membership_banner .btn_wrap a {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 12px;
    padding: 12px 8px;
    min-width: 200px;
    transition: all 0.3s ease;
}
.membership_banner .btn_wrap a:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow);
}
.unlock_box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 0;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}
.unlock_box .unlock_imgbox {
    flex: 1;
    max-width: 348px;
    text-align: center;
}
.unlock_box .unlock_text {
    flex: 1;
}
.unlock_box .unlock_text h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--main-color);
    line-height: 1.3;
}
.unlock_box .unlock_text p {
    color: var(--gray-color);
    margin: 12px 0 24px;
}
.unlock_box .unlock_text a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    font-weight: 500; 
    padding: 12px 4px;
    max-width: 280px;
    border-radius: 4px;
    transition: all 0.3s ease;
    color: #fff;
    border: 1px solid transparent;
    background: var(--main-color);
}
.unlock_box .unlock_text a.gold_btn_join {
    /* border: 1px solid var(--brown_txt); */
    color: var(--brown_txt);
    border-color: var(--brown_txt);
    background: var(--gold-btn-gd);
}
.unlock_box .unlock_text a:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}


/* --- [공통 & PC 버전 (Flexbox)] --- */
.history_board {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #fff;
}
.history_head, .history_item {
    display: flex;
    align-items: center;
    padding: 12px 8px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}
.history_item:last-child {
    border-bottom: 0;
}
.history_head {
    font-weight: 600;
}
.buy_history_table .col_name,
.buy_history_table .col_date,
.buy_history_table .col_price { flex: 1; }

.buy_history_table .col_date {
    width: auto;
}
.buy_history_table .col_status { 
    flex: 1;
    max-width: 120px;
}
.buy_history_table .history_list .col_name { text-align: left; }
.buy_history_table .history_list .col_status {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
}

.value_box {
	background-color: transparent;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
	white-space: nowrap;
    display: inline-flex;
 }
 .pending { 
	color: #FF8A00; 
	background-color: #FEF3C7;
}
.approved {
    color: #fff;
	background-color: var(--main-color); 
}
.rejected, .canceld { 
	color: #EF4444; 
	background-color: #FEE2E2;
}
.btn_his_cancel {
	color: var(--sub-color);
    background-color: #DCE7FF;
	padding: 4px 8px;
    border-radius: 6px;
	white-space: nowrap;
    border: 0;
}
.history-status.rejected{
	position: relative;
}
.history-status.rejected .tooltip_item {
	display: none;
	position: absolute;
    top: 100%;
	left: 50%;
    transform: translateX(-50%);
	background-color: #444;
    color: #fff;
    padding: 8px;
    border-radius: 6px;
    font-size: 13px;
	font-weight: 400;
    white-space: nowrap;
    z-index: 1;
	transition: all 0.3s ease;
}
.history-status.rejected:hover .tooltip_item {
    display: block;
}
.empty_item {
    display: flex;
    align-items: center;
    justify-content: center;
}
.my_qna_list .empty_item {
    padding: 40px 0;
}


/*===== 고객센터 페이지 =====*/
.support-wrapper .wh_card {margin-bottom: 20px;}
.sub_wrap_tit {
    margin-bottom: 20px;
}
.sub_wrap_tit h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 600;
    color: var(--main-color);
    margin-bottom: 16px;
}
.sub_wrap_tit h5 {
    font-weight: 400;
    color: var(--gray-color);
}

.common_search_form {
    display: flex;
    gap: 24px;
}
.search_input_box {
    flex: 1;
    display: flex;
    height: 40px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}
.search_input_box input {
    height: 40px;
    flex: 1;
    min-width: 0;
    padding: 0 8px;
}
.search_input_box input:focus {
    border: 0 !important;
}
.search_input_box .btn_search {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
    color: var(--sub-color);
    border: 0;
    background: #fff;
}

.search_filter_box {
    display: flex;
    gap: 8px;
    height: 40px;
}
.search_filter_box input[type="radio"] {
    display: none;
}
.search_filter_box label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid var(--border-color);
    cursor: pointer;
}
.search_filter_box input[type="radio"]:checked + label {
    color: #fff;
    border-color: var(--sub-color);
    background-color: var(--sub-color);
}

.container_wrap {
    display: flex;
    gap: 20px;
}
.container_wrap .card_head {
    margin-bottom: 20px;
}
.container_wrap h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--main-color);
    font-size: 22px;
}
.container_wrap h3 .cs_icon {
    filter: brightness(0) saturate(100%) invert(28%) sepia(98%) saturate(1848%) hue-rotate(201deg) brightness(91%) contrast(92%);
}
.container_wrap .info_box {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.left_info_box .info_list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
}
.left_info_box .info_list li:last-child {
    margin-bottom: 0;
}

.left_info_box .icon_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 20px;
}
.left_info_box .icon_wrap i {
    font-size: 18px;
    color: var(--gray-color);
}
.left_info_box .text_wrap {
    flex: 1;
}
.left_info_box .info_tit {
    font-weight: 600;
    margin-bottom: 8px;
}
.left_info_box .info_desc {
    color: var(--gray-color);
}
.left_info_box .btn_wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 12px;
}
.left_info_box .btn_wrap > a {
    flex: 1 1 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    padding: 12px 4px;
    border-radius: 4px;
    /* background-color: #fff; */
    border: 1px solid var(--sub-color);
}
.btn_inquiry {
    color: #fff;
    background-color: var(--sub-color);
}
.left_info_box .btn_wrap .btn_call {
    color: var(--main-color);
    border-color: var(--main-color);
}


.inquiry_form .form_row {
    margin-bottom: 16px;
}
.inquiry_form .form_item {
    display: flex;
    align-items: center;
}
.inquiry_form .form_item label {
    width: 64px;
    font-weight: 600;
    flex-shrink: 0;
    cursor: text;
}
.inquiry_form .form_item input,
.inquiry_form .form_item select,
.inquiry_form .form_item textarea {
    flex: 1;
    width: 100%;
    padding: 0 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.2s;
    height: 40px;
}
.inquiry_form .align_top {
    align-items: flex-start;
}
.inquiry_form .align_top label {
    padding-top: 4px;
}
.inquiry_form .align_top textarea {
    padding: 8px;
    height: 100px;
    resize: none;
}
.inquiry_form .form_item input:focus,
.inquiry_form .form_item select:focus,
.inquiry_form .form_item textarea:focus {
    border-color: var(--sub-color) !important;
}
.inquiry_form .flex_half {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.inquiry_form .flex_half .form_item {
    flex: 1 1 200px;
}
.inquiry_form .agree_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--sub-Dark);
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.inquiry_form .chk_wrap {
    display: flex;
    align-items: center;
    gap: 4px;
}
.inquiry_form .chk_wrap label {
    font-size: 14px;
    cursor: pointer;
    font-weight: 400;
}
.inquiry_form .chk_wrap input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--main-color);
}
.inquiry_form .btn_terms {
    font-size: 14px;
    color: var(--sub-color);
    font-weight: 500;
    border: 0;
    background-color: transparent;
}
.inquiry_form .btn_terms:hover {
    text-decoration: underline;
}
.inquiry_form .btn_submit {
    width: 100%;
    padding: 12px 4px;
    background-color: var(--sub-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
}
.inquiry_form .btn_submit:hover {
    box-shadow: var(--box-shadow);
}


.latest_list_wrap .notice_latest ul li a {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    min-width: 0;
}
.latest_list_wrap .notice_latest ul li a:last-child {
    border-bottom: 0;
}
.latest_list_wrap .notice_latest ul li a::before {
    content: '';
    width: 4px;
    height: 4px;
    flex: 0 0 4px;
    border-radius: 50%;
    background-color: var(--main-color);
    margin-right: 8px;
}
.latest_list_wrap .notice_latest ul li a .notice_subject {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}
.latest_list_wrap .notice_latest ul li a .notice_date {
    flex: 0 0 100px;
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-color);
}
.latest_list_wrap .notice_latest ul li:hover a .notice_subject {
    color: var(--sub-color);
}

/*========  ========*/
.all_comm_table_wrap .col_num {
    width: 80px;
    flex: 0 0 80px;
}
.all_comm_table_wrap .col_writer,
.all_comm_table_wrap .col_view,
.all_comm_table_wrap .col_view {
    width: 120px;
    flex: 0 0 120px;
}
.all_comm_table_wrap .col_name {
    flex: 1;
    min-width: 0;
}

.card_community .all_comm_table_wrap .history_item::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--main-color);
    margin-right: 4px;
}
.all_comm_table_wrap .history_item .col_name a {
    display: flex;
    align-items: center;
    overflow: hidden;
}
.all_comm_table_wrap .history_item .col_name a .title_text {
    flex-shrink: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    transition: all 0.3s ease;
}

.all_comm_table_wrap .history_item .col_name a .cnt_cmt {
    flex-shrink: 0;
    color: var(--sub-color);
    font-size: 14px;
    margin-left: 4px
}
.card_community .all_comm_table_wrap .history_item .col_date {
    font-size: 14px;
    width: 80px;
    text-align: right;
}

/*========  ========*/
.card_body .table_list_wrap,
.loaded_table  {
    height: 100%;
}
.loaded_list {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.card_best .loaded_list {
    padding: 12px 16px;
}
.loaded_list_item {
    display: flex;
    align-items: center;
}
/* .loaded_list_item:last-child {
    margin-bottom: 0;
} */
.loaded_list_item .col_num {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border-radius: 4px;
    background-color: var(--gray-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 8px;
    font-size: 14px;
}
.loaded_list_item:nth-child(1) .col_num,
.loaded_list_item:nth-child(2) .col_num,
.loaded_list_item:nth-child(3) .col_num {
    background-color: var(--sub-color);
}

.loaded_list_item .col_name {
    flex: 1;
    min-width: 0;
}
.loaded_list_item .col_name a {
    display: flex;
    align-items: center;
    overflow: hidden;
}
.loaded_list_item .col_name a .title_text {
    flex-shrink: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    transition: all 0.3s ease;
}
.loaded_list_item:hover .col_name a .title_text {
    color: var(--main-color);
    text-decoration: underline;
}
.loaded_list_item .col_name a .cnt_cmt {
    flex-shrink: 0;
    color: var(--sub-color);
    font-size: 14px;
    margin-left: 4px
}
.loaded_list_item .col_view {
    width: 60px;
    flex: 0 0 60px;
    color: var(--gray-color);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}


.toast-message {
    position: fixed;
    /* bottom: 30px;
    left: 50%;
    transform: translateX(-50%); */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #333;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 16px;
    z-index: 99;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.toast-message.show {
    opacity: 1;
}