@charset "utf-8";


.contents{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 0;
}
.contents h1{
    font-size: 30px;
    text-align: center;
}
/*메인*/

.content .main_banner{
    position: relative;
    margin-top: 40px;
    margin-bottom: 80px;
}
/* ===== 공통 색/라운드/쉐도우 ===== */
:root{
    --card-bg:#ffffff;
    --soft-bg:#f5f7fb;
    --line:#e8edf3;
    --text:#111827;
    --muted:#6b7280;
    --brand:#2563eb;          /* 연파랑 계열 */
    --brand-weak:#e7f0ff;     /* 아주 연한 브랜드 배경 */
    --radius:14px;
    --shadow:0 6px 14px rgba(17,24,39,.06);
}


/*메인페이지*/
.main_con{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding-bottom: 100px;
}

/* ===== 2단 레이아웃 ===== */
.main_box{
    display:flex;
    align-items:stretch;
    gap:24px;
    margin:28px 0
    20px;
}

/* 왼쪽: TOP5는 좀 더 콤팩트(4), 오른쪽: 바로클릭은 넓게(6) */
.main_info {
    flex: 6;
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px;
}
.main_title{
    font-size: 24px;
    font-weight: 700;
    border-left: 4px solid #D98795;
    padding-left: 10px;
}

.main_direct_click {
    flex: 4;
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px;
}
.main_direct_click .main_title {
    border-left: 4px solid #9A60C1;
    padding-left: 10px;
}
.info_grid {
    list-style: none;
    margin-top: 18px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 20px;
}

.info_card a {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 40px 18px;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.info_card a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,.08);
    border-color: #e6f0ff;
}

.info_icon_wrap {
    flex: 0 0 30%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.info_icon {
    width: 60px;
    height: auto;
    object-fit: contain;
}

.info_text_wrap {
    flex: 1 1 70%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.info_title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}
.info_desc {
    font-size: 16px;
    color: #666;
}

/* 반응형: 모바일에서 1열 */
@media (max-width: 768px) {
    .info_grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}
.main_direct_list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 16px 0;
}

.main_direct_list li a{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    padding: 18px 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}
.main_direct_list li a:hover{
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.12);
}
.main_direct_list li a img{
    width: 50px;
    height: 50px;
}
.main_direct_title{
    margin-top: 8px;
    font-size: 16px;
    font-weight: 700;
}

.main_direct_count {
    font-size: 14px;
    color: #ff4d4f;
    font-weight: 600;
    margin-bottom: 4px;
}

/*서비스센터*/
.service_center {
    margin-top: 16px;
}

.service_center a {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 10px 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,.05);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service_center a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,0,0,.1);
    border-color: #e6f0ff;
}

/* 아이콘 영역 (왼쪽) */
.service_icon {
    flex: 0 0 56px; /* 고정 크기 */
    display: flex;
    justify-content: center;
    align-items: center;
}
.service_icon img {
    width: 50px;
}

/* 텍스트 영역 (오른쪽) */
.service_text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.service_title {
    font-size: 20px;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
}
.service_desc {
    font-size: 16px;
    color: #666;
    line-height: 1.4;
}



/*메인 공지사항*/

/* 메인 공지사항 */
.main_notice {
    margin-top: 40px;
    padding: 20px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(0,0,0,.05);
}

.main_notice h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #111;
    border-left: 4px solid #4f8cff;
    padding-left: 10px;
}

.main_notice .notice_list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.main_notice .notice_list li {
    border-bottom: 1px solid #f0f0f0;
}
.main_notice .notice_list li:last-child {
    border-bottom: none;
}
.main_notice .notice_list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 16px;
    text-decoration: none;
    transition: color .2s;
}
.main_notice .notice_list a:hover .notice_title {
    color: #0D7C66;
}

.main_notice .notice_title {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.main_notice .notice_date {
    flex: 0 0 auto;
    font-size: 13px;
    color: #888;
    margin-left: 12px;
}

.main_notice .notice_more {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
}
.main_notice .notice_more a {
    font-size: 14px;
    color: #0D7C66;
    text-decoration: none;
    font-weight: 700;
}
.main_notice .notice_more a:hover {
    text-decoration: underline;
}

/* ===== 게시판 공통 래퍼 ===== */
.board_wrap {
    display: flex;
    flex-direction: column;
    min-height: 70vh; /* 기본 최소 높이 */
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(15,23,42,.04);
}

/* 본문 */
.board_wrap .board_body {
    flex: 1;
    padding: 24px 20px;
}

/* 하단 버튼 영역 */
.board_footer {
    margin-top: auto;
    padding: 16px 20px;
    border-top: 1px solid #e5e7eb;
    text-align: right;
    background: #fff;
    border-radius: 0 0 14px 14px;
}

/* 상단 타이틀 */
.board_wrap .detail_head {
    display: grid;
    grid-template-columns: 160px 1fr 140px;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.board_wrap .detail_head .cat { font-weight: 800; }
.board_wrap .detail_head .subject { font-weight: 800; text-align: center; }
.board_wrap .detail_head .date { text-align: right; color: #0f172a; font-weight: 700; }

.board_wrap .divider { border-top: 1px solid #e5e7eb; margin: 16px 0; }

/* 본문 */
.board_wrap .content {
    font-size: 16px;
    line-height: 1.75;
    color: #0f172a;
    word-break: break-word;
}
.board_wrap .content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 10px;
}

/* 첨부 */
.board_wrap .files {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 50px;
}
.board_wrap .file_thumb { display: inline-block; border: 1px solid #e5e7eb; border-radius: 8px; overflow: hidden; }
.board_wrap .file_thumb img { display: block; width: 140px; height: 100px; object-fit: cover; }
.board_wrap .file_link {
    display: inline-block;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
}

/* 버튼 */
/* 버튼 */
.board_wrap .btn {
    min-width: 120px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #0f172a;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.board_footer .btn.primary {
    background: #0D7C66;       /* 메인 컬러 */
    border-color: #0D7C66;
    color: #fff;
}
.board_wrap .btn.primary:hover {
    background: #0b6a58;       /* hover 시 약간 어두운 톤 */
    border-color: #0b6a58;
    box-shadow: 0 4px 12px rgba(13,124,102,.25);
}

.board_wrap .btn.ghost {
    background: #fff;
    color: #0D7C66;
    border: 1px solid #0D7C66;
}
.board_wrap .btn.ghost:hover {
    background: #f0fdf9;
}

/*물품등록 페이지*/


.step_box{
    display: flex;
    justify-content: center;
    padding-top: 60px;
    gap: 30px;
}
.step_box .step_list{
    display: flex;
    align-items: center;
    gap: 30px;
}
.step_box .step_list .num{
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    border: 1px solid #222;
    border-radius: 50%;
}
.step_box .step_list .text{
    text-align: center;
}
.step_box .step_list .text p{
    font-size: 24px;
    font-weight: 700;
    color: var(--color-green);
}
.selected_item{
}
.selected_item h2{
    font-size: 20px;
    padding-top: 60px;
}
.selected_item .selected,
.selected_item .selected .type-wrap{
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 50px 0;
    flex-wrap: wrap;
}
.selected_item .selected .btn {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    padding: 70px;
}
.selected_item .category-wrap .btn p{
    display: inline-block;
    width: 80px;
    height: 80px;
    cursor: pointer;
    text-align: center;
    padding-top: 66px;
}
.selected_item .category-wrap .btn .game{
    background: url(/tempang/images/game_icon.svg)no-repeat 50% 0px / 80px;
}
.selected_item .category-wrap .btn .money{
    background: url(/tempang/images/mileage.svg)no-repeat 50% 0px / 80px;
}
.selected_item .category-wrap .btn .item{
    background: url(/tempang/images/item_icon.svg)no-repeat 50% 0px / 76px;
}
.selected_item .category-wrap .btn .etc{
    background: url(/tempang/images/etc_icon.svg)no-repeat 50% -2px / 66px;
}
.selected_item .type-section .btn p{
    display: inline-block;
    width: 80px;
    height: 80px;
    background: url(/tempang/images/sellbuy_icon.png)no-repeat;
    cursor: pointer;
    text-align: center;
    padding-top: 66px;
}
.selected_item .type-section .btn .sell{
    background-position: 0px 0px;
}
.selected_item .type-section .btn .buy{
    background-position: -84px 0px;
}
.selected_item .btn:hover {
    background: #ECFDF5;
}
.selected_item .btn.active {
    background: var(--color-green);
    color: #fff;
    border-color: var(--color-green);
}

/* 2번 영역 처음에는 숨김 */
.selected_item .type-section,
.selected_item .category_search {
    display: none;
}
.selected_item .type-wrap .btn {
    width: 120px;
    height: 120px;
}

/*카테고리 게임 선택*/
.selected_item .category_search .search_wrap{
    margin: 0 auto;
    position: relative;
    max-width: 700px;
    padding-top: 30px;
}
.selected_item .category_search .list {
    margin-top: 20px;
    border-top: 1px solid #dbdbdb;
}
.selected_item .category_search input{
    width: 100%;
    height: 60px;
}
.selected_item .search_list {
    flex:1;
    max-height:200px;
    overflow-y:auto;
    border-right:1px solid #eee;
}
.selected_item .search_list:last-child {
    border-right: none;
}
.selected_item .item {
    padding: 12px;
    cursor: pointer;
}
.selected_item .item:hover {
    background: #f0f0f0;
}
.selected_item .item.active {
    background: var(--color-green);
    color: #fff;
    font-weight: bold;
}
.recent_wrap {
    position: absolute;
    z-index: 20;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 10px;
    width: 100%;
    /*max-width: 640px;*/
    margin-top: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
}
.recent_head {
    display:flex; align-items:center; justify-content:space-between;
    padding: 4px 2px 8px 2px;
    border-bottom: 1px solid #F3F4F6;
}
.recent_title { font-weight:700; color:#222; }
.recent_clear_btn {
    background:#fff; border:1px solid #E5E7EB; border-radius:6px;
    padding:6px 10px; font-size:13px; cursor:pointer;
}
.recent_clear_btn:hover { background:#f9fafb; }

.recent_list { display:flex; flex-wrap:wrap; gap:8px; padding:10px 2px 4px; }
.recent_item {
    display:flex; align-items:center; gap:8px;
    border:1px solid #E5E7EB; background:#F9FAFB; color:#111827;
    border-radius:999px; padding:6px 10px; font-size:13px;
}
.recent_term { cursor:pointer; }
.recent_delete {
    width:16px; height:16px; line-height:14px; text-align:center; border-radius:50%;
    border:1px solid #E5E7EB; cursor:pointer; background:#fff; font-size:12px;
}
.recent_item:hover { border-color:#0D7C66; }
.recent_empty { padding:16px 4px; color:#6B7280; font-size:13px; }



/*유의사항*/
.registration_wrap .caution .text_color{
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #d35400;
}
.caution{
    margin-top: 60px;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 10px;
    background-color: #fff8f0;
    border: 1px solid #f5c48c;
}
.note_icon h2 {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
}
.note_icon h2:before{
    content: "";
    background: url("/tempang/images/note_icon.svg") no-repeat left / 76px;
    display: inline-block;
    width: 30px;
    height: 30px;
}
.registration_input{
    margin: 60px 0 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.registration_input div{
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 1;
}
.registration_input .price_input{
    max-width: 260px;
}
.registration_input div.detail_price{
    flex-direction: column;
    align-items: flex-start;
    margin-left: 20px;
    gap: unset;
}
.registration_input .registration_info{
    font-size: 24px;
    font-weight: 700;
    color: var(--color-green);
}
.registration_input div h4 {
    width: 100px;
}
.registration_input div.name input {
    flex: 1;
}
.registration_wrap .next_button{
    display: flex;
    justify-content: center;
}
.registration_wrap .next_button button{
    font-size: 18px;
    padding: 10px 60px;
    font-weight: bold;
    background-color: var(--color-green);
    color: #fff;
    border: none;
    border-radius: 8px;
    transition: background-color 0.2s;
}
.ck-editor__editable_inline {
    min-height: 500px;
}

/*계정 // 프리미엄 탭 부분*/
.tab-header {
    display: flex;
    gap: 6px;
    width: 30%;
    flex-direction: column;
    align-items: center;
    border-right: 2px solid var(--color-green);
    justify-content: center;
}
.tab-header p{
    color: var(--color-green);
    font-weight: 700;
}
.tab-btn {
    font-weight: 700;
    font-size: 20px;
    display: flex;
    align-items: center;
}
.tab-btn.active {
    background: #fff;
}
.tab-btn .premium_icon{
    background: url("/tempang/images/premium.svg")no-repeat center / 20px;
    width: 30px;
    height: 30px;
    display: inline-block;
}
.tab-content {
    padding: 20px;
}
.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
}
.premium_label{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}
.auto-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auto-info {
    font-size: 14px;
    color: #555;
}

.auto-info a {
    margin-left: 10px;
    color: #fff;
    background: var(--color-blue);
    padding: 6px;
    border-radius: 8px;
}

.auto-options {
    margin-top: 15px;
}

.option-row {
    display: flex;
    align-items: center;
    margin: 10px 0;
}

.option-row .label {
    font-weight: bold;
    margin-right: 10px;
    min-width: 80px;
}

.interval-buttons button {
    background-color: #f7f7f7;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 10px 14px;
    margin-right: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.interval-buttons button:hover {
    background-color: #e9e9e9;
    border-color: #999;
}
.interval-buttons button:active {
    background-color: #dcdcdc;
    transform: scale(0.95);
}
input[type="time"] {
    padding: 6px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 0 5px;
}

.payment_wrap{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}
.payment_wrap.one_btn{
    justify-content: center;
}
.payment_wrap.one_btn .payment_left,
.payment_wrap.one_btn .payment_right{
    border: unset;
}
.payment_left {
    border-radius: 8px;
    background: #fff;
    display: flex;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
    flex: 1;
    padding: 20px 0;
}
.payment_right{
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
    border-radius: 6px;
    background: #fff;
    padding: 20px;
    width: 100%;
    margin: 0 auto;
}
.payment_right.modify{
    border: unset;
    box-shadow: unset;
}
.payment_right .total_payment{
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.total_payment .one {
    font-size: 18px;
    font-weight: bold;
    margin-left: 60px;
}

.captcha_box {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.captcha_input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.captcha_input::placeholder {
    color: #aaa;
}

.captcha_code {
    min-width: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #222;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
}

.registration_button {
    min-width: 500px;
    padding: 14px;
    font-size: 15px;
    font-weight: bold;
    background-color: var(--color-green);
    color: #fff;
    border: none;
    border-radius: 8px;
    transition: background-color 0.2s;
    margin: 0 auto;
    display: block;
}

.registration_button:hover {
    background-color: #084c3f;
}


/*회원가입*/

.join_wrap{
    display: flex;
    flex-direction: column;
    width: 1200px;
    margin: 0 auto;
}
.join_header{
    text-align: center;
    margin-top: 50px;
}

.join_header .join_step{
    margin-bottom: 30px;
}
.join_header .join_step .join_step_box{
    display: flex;
    margin-top: 50px;
    justify-content: center;
}
.join_header .join_step .join_step_box .join_list{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: auto;
}
.join_header .join_step .join_step_box .join_list.step_active{}
.join_header .join_step .join_step_box .join_list.step_disabled{}
.join_header .join_step .join_step_box .join_list .number{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 20px;
    text-align: center;
    margin: 0 20px 0 15px;
    border: 2px solid #5473FF;
}
.join_header .join_step .join_step_box .join_list .join_text{
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 85px;
    text-align: left;
}
.join_header .join_step .join_step_box .join_list .join_text p{
    font-size: 20px;
}
.join_header .join_step .join_step_box .join_list .join_arrow{
    width: 7px;
    height: 12px;
    margin-left: 37px;
    margin-right: 36px;
    background-image: url(/static/img/new/join/arrow.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 7px 12px;
}

.join_header .progress_bar {
    display: flex;
    margin: 0 auto;
    width: 960px;
    height: 10px;
    background-color: #e8efff;
    border-radius: 10px;
}
.join_header .progress_bar .progress_fill {
    width: 25%;
    height: 100%;
    background-color: #5473FF;
    border-radius: 8px;
    transition: width 0.5s;
}

.join_step_wrap{
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}
.join_step_wrap .join_step01{
    display: flex;
    flex-direction: column;
}
.join_step_wrap .join_step01 .check_all{
    display: flex;
    align-items: center;
    height: 90px;
    border-bottom: 2px solid #e8efff;
}
.join_step_wrap .join_step01 .check_all .check_all_item{
    position: relative;
}
.join_step_wrap .join_step01 .check_all span{
    font-size: 20px;
    padding-left: 10px;
}
.join_step_wrap .check_item{
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
.join_step_wrap .check_title{
    display: flex;
    height: 60px;
    align-items: center;
    gap: 10px;
}
.join_step_wrap .terms_text{
    width: 100%;
    height: 220px;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
    border: 1px solid #cdcdcd;
    border-radius: 5px;
    padding: 16px;
}

/*계정리스트*/
.list_top_text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.list_top_text p span {
    font-weight: 700;
    font-size: 24px;
    border-bottom: 4px solid var(--color-green);
    padding-bottom: 6px;
}
.list_top_text .favorites{
    border: 2px solid var(--color-blue);
    border-radius: var(--radius-md);
    padding: 10px;
    color: var(--color-blue);
    font-weight: 700;
}

.filter-wrap {
    /*border: 1px solid #e0e0e0;*/
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6px);
}
.item_search {
    flex: 1; /* 남은 공간 모두 차지 */
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 5px;
}
.filter-options.search_wrap {
    display: flex;
    align-items: center; /* 세로 가운데 정렬 */
}
.filter-tab {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.filter-tab li {
    flex: 1;
}
.filter-tab button {
    width: 100%;
    padding: 12px;
    font-size: 18px;
    font-weight: 600;
}
.filter-tab li.active button {
    background: var(--color-green);
    color: #fff;
}
.filter-tab li.account.active button {
    background: var(--color-blue);
    color: #fff;
}
.filter-row {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f1f1;
}
.filter-title {
    width: 100px;
}
.filter-options {
    flex: 1;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.filter-options input{
    width: 30%;
}
.filter-options button {
    padding: 8px 20px;
    font-size: 13px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    transition: all 0.2s;
}
.filter-options button:hover {
    border-color: var(--color-green);
    background: #f0faff;
}

.filter-options button.active {
    border-color: var(--color-green);
    background: var(--color-green);
    color: #fff;
}
.filter-options.account_icon{
    position: relative;
}
.filter-options.account_icon button::before {
    content: "";
    display: inline-block;
    width: 24px;     /* 아이콘 크기 */
    height: 20px;
    background-image: url("/tempang/images/account_icon.svg"); /* 합쳐둔 이미지 */
    background-repeat: no-repeat;
    background-size: 250px; /* 필요시 조절 (예: contain, cover, 또는 px 단위) */
    vertical-align: middle;
    margin-right: 2px;
}
.filter-options.account_icon button.all::before {
    background-image: none;
    width: unset;
}
.filter-options.account_icon button.game::before {
    background-position: 0px 0;
}
.filter-options.account_icon button.google::before {
    background-position: -32px 0;
}
.filter-options.account_icon button.facebook::before {
    background-position: -65px 0;
}
.filter-options.account_icon button.naver::before {
    background-position: -98px 0;
}
.filter-options.account_icon button.kakao::before {
    background-position: -131px 0;
}
.filter-options.account_icon button.guest::before {
    background-position: -162px 0;
}
.filter-options.account_icon button.phone::before {
    background-position: -195px 0;
}
.filter-options.account_icon button.etc::before {
    background-position: -228px 0;
}
.filter-content .bottom_btn{
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}
.filter-content .bottom_btn .filter_btn{
    border: 2px solid var(--color-blue);
    padding: 10px 20px;
    color: var(--color-blue);
    font-weight: 700;
    border-radius: 8px;
}
.filter-content .bottom_btn .filter_btn.active {
    background-color: var(--color-blue);
}
/* 프리미엄 / 기본 공통 섹션 여백 */
.account .premium_item,
.account .basic_item {
    margin-top: 64px;
}

.account .premium_item > .title,
.account .basic_item > .title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.account .premium_item .title {
    color: #0D7C66; /* 메인컬러 */
}

/* ===== 래퍼 (유리감) ===== */
.account .item_wrap {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 10px 24px rgba(0,0,0,.06);
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
}

/* ===== 리스트 카드 ===== */
.account .item_wrap .list {
    margin-bottom: 0;
    background: #ffffff;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.account .item_wrap .list:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 18px rgba(0,0,0,.10);
    transform: translateY(-1px);
}

/* 아이템 행 레이아웃 */
.account .item_wrap .list .item_box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

/* 왼쪽: 아이콘 + 정보 */
.account .item_wrap .list .item_left {
    display: flex;
    gap: 16px;
    align-items: center;
    min-width: 0; /* ellipsis 위해 */
}

/* 정보 묶음 */
.account .item_wrap .list .item_left .item_info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.account .item_wrap .list .item_box .item_left .item_info .info_top {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #6b7280; /* muted */
    font-size: 13px;
}

/* 제목(한 줄 말줄임) */
.account .item_wrap .list .item_box .item_left .item_info .title {
    font-weight: 700;
    font-size: 16px;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 720px;
}

/* 오른쪽: 가격/날짜 */
.account .item_wrap .list .item_box .item_right {
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
}
.account .item_wrap .list .item_box .item_right .price {
    font-weight: 800;
    font-size: 18px;
    color: #111;
}
.account .item_wrap .list .item_box .item_right .date {
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
}

/* ===== 기본 물품 상단 카테고리 탭 ===== */
.account .basic_item .basic_category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.account .basic_item .basic_category .price_wrap {
    display: flex;
    gap: 16px;
}
.account .basic_item .basic_category .price_wrap li {
    padding: 6px 2px;
    color: #475569;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color .15s ease, border-color .15s ease;
}
.account .basic_item .basic_category .price_wrap li:hover {
    color: #111;
}
.account .basic_item .basic_category .price_wrap li.active {
    border-bottom-color: #0D7C66; /* 메인컬러 */
    color: #0D7C66;
    font-weight: 700;
}

/* ===== 기본 섹션 타이틀 ===== */
.account .basic_item .title {
    margin-bottom: 8px;
}
.account .basic_item .title h1 {
    color: #1f2937;
}

/* 기본 item_wrap도 공통 스타일 사용 */
.account .basic_item .item_wrap {
    border: 1px solid rgba(0,0,0,.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.account .premium_item .item_wrap {
    background: #ECFDF5;
}


/* ===== 반응형 ===== */
@media (max-width: 768px) {
    .account .item_wrap { padding: 14px; }
    .account .item_wrap .list { padding: 14px; }
    .account .item_wrap .list .item_box {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .account .item_wrap .list .item_box .item_right {
        width: 100%;
        justify-content: space-between;
    }
    .account .item_wrap .list .item_box .item_left .item_info .title {
        max-width: 100%;
    }
}

/* ===== 모션 최소화 ===== */
@media (prefers-reduced-motion: reduce) {
    .account .item_wrap .list { transition: none; }
}
/*게임 거래중 진행중 오버레이*/
.item_wrap .list .game_overlay {
    display: none;
}

/* 거래 진행중인 항목에만 오버레이 표시 */
.item_wrap .list.game_ing,
.item_wrap .list.game_done {
    position: relative;
}
.item_wrap .game_ing .game_overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(55 109 94 / 50%);
    font-size: 26px;
    font-weight: 700;
    z-index: 5;
    text-align: center;
    color: #fff;
    border-radius: 8px;
}
.item_wrap .game_done .game_overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(111 111 111 / 50%);
    font-size: 26px;
    font-weight: 700;
    z-index: 5;
    text-align: center;
    color: #fff;
    border-radius: 8px;
}

/*게임 계정 아이콘*/

.game_list .account_icon .icon{
    position: relative;
    width: 50px;
    height: 50px;
    font-size: 0;
}
.game_list .account_icon .icon:before{
    content: "";
    position: absolute;
    display: block;
    width: 50px;
    height: 50px;
}
.game_list .account_icon .icon.game:before{
    background: url("/tempang/images/game_icon.svg") no-repeat center;
}
.game_list .account_icon .icon.google:before{
    background: url("/tempang/images/google_icon.png") no-repeat center;
}
.game_list .account_icon .icon.facebook:before{
    background: url("/tempang/images/facebook_icon.png") no-repeat center;
}
.game_list .account_icon .icon.naver:before{
    background: url("/tempang/images/naver_icon.png") no-repeat center;
}
.game_list .account_icon .icon.kakao:before{
    background: url("/tempang/images/kakao_icon.png") no-repeat center;
}
.game_list .account_icon .icon.guest:before{
    background: url("/tempang/images/guest_icon.png") no-repeat center;
}
.game_list .account_icon .icon.phone:before{
    background: url("/tempang/images/phone_icon.png") no-repeat center;
}

.game_list .account_icon .icon.money:before{
    background: url("/tempang/images/mileage.svg") no-repeat center;
}
.game_list .account_icon .icon.item:before{
    background: url("/tempang/images/item_icon.svg") no-repeat center / 50px;
}
.game_list .account_icon .icon.etc:before{
    background: url("/tempang/images/etc_icon.svg") no-repeat center;
}
/*충전 CSS*/


.mileage_charge{
    display: flex;
    justify-content: center;
    margin-top: 60px;
}
.mileage_charge .charge_list{
    display: flex;
    gap: 20px;
}
.mileage_charge .charge_list li {
    width: 130px;
    height: 130px;
    border: 2px solid #E8F5E9;
    border-radius: 30px;
    text-align: center;
    cursor: pointer;
    font-weight: 700;
}
.mileage_charge .charge_list li:hover {
    opacity: 0.8;
}
.mileage_charge .charge_list li a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 206px;
}
.mileage_charge .charge_list li:hover{
    background-color: #E8F5E9;
}
.mileage_charge .charge_list .account{
    background-image: url('/tempang/images/charge_account_icon.png');
    background-repeat: no-repeat;
    background-position: 50% 20px;
}
.mileage_charge .charge_list .card{
    background-image: url('/tempang/images/charge_card_icon.svg');
    background-repeat: no-repeat;
    background-position: 50% 5px;
    background-size: 80px;
}
.mileage_charge .charge_list .phone{
    background-image: url('/tempang/images/phone_icon.svg');
    background-repeat: no-repeat;
    background-position: 50% 14px;
    background-size: 66px;
}
.mileage_charge .charge_list .pay{
    background-image: url('/tempang/images/pay_icon.png');
    background-repeat: no-repeat;
    background-position: 50% 20px;
    background-size: 62px;
}

/*마일리지 충전 TAB*/

.charge_teb{
    display: flex;
    flex-direction: column;
}
.charge_teb .charge_nav{}
.charge_teb .charge_nav ul{
    display: flex;
    gap: 30px;
}
.charge_teb.mileage_charge .charge_list{
    width: 100%;
    justify-content: center;
    border-radius: 8px;
    padding-bottom: 60px;
}
.charge_teb.mileage_charge .charge_list li.active{
    background-color: #E8F5E9;
}
.charge_in{
    display: flex;
}
.charge_in .charge_info{
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
    border-top: 2px solid #E8F5E9;
    border-bottom: 2px solid #E8F5E9;
}
.charge_in .charge_info .title{
    display: flex;
    justify-content: space-between;
}
.charge_in .charge_info .title p{
    font-size: 20px;
    font-weight: 700;
}
.charge_in .charge_info .title p:nth-child(1){}
.charge_in .charge_info .title p:nth-child(2){
    font-size: 16px;
}
.charge_in .charge_info .info_box{
    padding-top: 60px;
}
.charge_in .charge_info .info_box ul{
    display: flex;
    flex-wrap: wrap;
    row-gap: 50px;
}
.charge_in .charge_info .info_box ul li{
    display: flex;
    gap: 16px;
    width: 50%;
    align-items: center;
}
.charge_in .charge_info .info_box ul li .icon{
    width: 50px;
    height: 50px;
    border-radius: 100%;
}
.charge_in .charge_info .info_box ul li .icon.mileage{
    background: #0d7c6620 url("/tempang/images/mileage.svg") no-repeat center / 34px;
}
.charge_in .charge_info .info_box ul li .icon.charge{
    background: #0d7c6620 url("/tempang/images/charge_icon.svg") no-repeat center / 34px;
}
.charge_in .charge_info .info_box ul li .icon.time{
    background: #0d7c6620 url("/tempang/images/time_icon.svg") no-repeat center / 34px;
}

.charge_in .charge_info .info_box ul li .text{
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.charge_in .charge_info .info_box ul li .text p:nth-child(1){
    color: #888;
    font-size: 14px;
}
.charge_in .charge_info .info_box ul li .text p:nth-child(2){
    font-size: 18px;
    font-weight: 700;
}
.charge_in .charge_info .caution{
    font-weight: unset;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.charge_in .charge_info .caution p{}
.charge_in .charge_info .caution p span{}
.charge_in .charge_info .account_number{
    padding: 10px;
    background: var(--color-green);
    color: #fff;
    text-align: center;
    font-size: 18px;
    border-radius: 8px;
}
.charge_in .charge_info .account_number > p{
    margin-bottom: 14px;
}
.charge_in .charge_info .account_number .text{
}
.charge_in .charge_info .account_number .text p:nth-child(2){
    font-size: 18px;
}
.charge_in .charge_info .account_number .account_modify{
    border: 1px solid #fff;
    padding: 10px;
    border-radius: 8px;
    background: #fff;
    color: #222;
}
.charge_in .charge_info .account_number .account_modify:hover{
    opacity: 0.9;
}


.charge_in .charge_price{
    background: #E8F5E9;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    padding: 30px;
}
.charge_in .charge_price .content{}
.charge_in .charge_price .content h2{
    font-size: 20px;
}
.charge_in .charge_price .content .charge_box{
    margin-top: 30px;
}
.charge_in .charge_price .content .charge_box .charge_form{
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.charge_in .charge_price .content .charge_box .amount_button{
    display: flex;
    gap: 10px;
    margin: 20px 0;
}
.charge_in .charge_price .content .charge_box .amount_button button{
    border: 1px solid #fff;
    padding: 10px;
    border-radius: 8px;
    background: #fff;
}

.charge_in .charge_price .content .total_amount{
    margin: 112px 0px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.charge_in .charge_price .content .total_amount >div{
    display: flex;
    justify-content: space-between;
}
.charge_in .charge_price .content .total_amount .amount.total{
    font-weight: 700;
}
.charge_in .charge_price .content .charge_btn{
    border: 1px solid #fff;
    padding: 10px;
    width: 100%;
    border-radius: 8px;
    background: #fff;
    font-weight: 700;
    font-size: 20px;
}
.charge_in .charge_price .content .charge_btn:hover{
    background: var(--color-green);
    color: #fff;
    border: 1px solid transparent;
}
/*충전완료*/
.charge_complete{
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 50px;
    margin: 60px;
}
.charge_complete .complete_img{}
.charge_complete .complete_text{
    text-align: center;
    font-size: 18px;
}
.charge_complete .complete_text p:nth-child(1){
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0D7C66;
}




/*마이페이지*/


/* ====== 사이드바 ====== */
.myPage_sidebar{
    position:sticky;
    top:20px;
    width: 170px;
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    /*overflow:hidden;*/
}

.myPage_sidebar .sidebar_header {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: #0E7C66;
    font-weight: 700;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}
.myPage_sidebar .sidebar_header span {
    color: #fff;
}
.myPage_sidebar .sidebar_toggle {
    display: none;
}
@media (max-width: 1024px) {
    .myPage_sidebar .sidebar_toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border: 1px solid #cbd5e1;
        border-radius: 8px;
        background: #fff;
        cursor: pointer;
    }
}
.myPage_sidebar .nav {
    display: flex;
    flex-direction: column;
    padding: 8px;
}
.myPage_sidebar .nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #0f172a;
    border: 1px solid transparent;
    transition: .15s;
}
.myPage_sidebar .nav a:hover {
    background: #f1f5f9;
}
.myPage_sidebar .nav a.active {
    background: #0E7C66;
    border-color: #0E7C66;
    font-weight: 700;
    color: #fff;
}
.myPage_sidebar .nav .subhead {
    margin: 10px 8px 6px;
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.myPage_sidebar .nav .badge {
    margin-left: auto;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
}
/* 모바일에서 접기/펼치기 */
@media (max-width:1024px){
    .myPage_sidebar .myPage_sidebar.collapsed .nav{ display:none; }
}

/*마이페이지 컨텐츠*/

.my_page{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0 100px;
    display: flex;;
    gap: 24px;
    color: #0f172a;
}
.my_content{
    flex: 1;
}
.my_content .product_wrap {
}

.my_content h1 {
    font-size: 26px;
    font-weight: 700;
}
.my_content .tab_bar {
    display: flex;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
    margin: 20px 0;
}
.my_content .tab_bar .tab {
    flex: 1;
    text-align: center;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    font-size: 18px;
    transition: .2s
}

.my_content .tab_bar .tab:hover {
    opacity: 0.8;
}

.my_content .tab_bar .tab.active {
    background: #0E7C66;
    border-color: #0E7C66;
    color: #fff;
    box-shadow: 0 2px 4px rgba(15, 23, 42, .08)
}

/* 검색 */
.my_content .my_search_box {
    margin: 20px 0
}

.my_content .my_search_box .search {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    border: 2px solid #0E7C66;
    border-radius: 8px;
}
.my_content .my_search_box .search >input {
    flex: 1;
    border: 1px solid transparent;
}


.my_content .search_box .search .icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px
}

.my_content .search_box .search button[type="submit"] {
    position: absolute;
    right: 8px;
    top: 8px;
    height: 34px;
    padding: 0 20px;
    border: 2px solid #0ea5e9;
    border-radius: 999px;
    background: #0ea5e9;
    color: #fff;
    font-size: 15px;
    font-weight: 700
}
.my_content td .my_page_btn{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    justify-content: center;
}
.my_content td .my_page_btn .btn{
    padding: 4px;
}
.my_content td .my_page_btn .btn.premium{
    border: 1px solid #FAA533;
}
/* 가격 컬럼 강조 */
.table tbody td.price {
    font-weight: 700;
    color: var(--color-green);
}
/* 날짜 컬럼 */
.table tbody td .date {
    color: #888;
    font-size: 13px;
}
/* 비어있음 */
.empty {
    padding: 60px 20px;
    text-align: center;
    color: #475569;
    border: 2px dashed #cbd5e1;
    border-radius: 18px;
    background: #f8fafc;
    font-size: 18px
}
/* 페이지네이션 */
.paging {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 28px 0
}

.page {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #fff;
    text-decoration: none;
    font-size: 15px
}

.page:hover {
    background: #f1f5f9
}

.page.on {
    background: #0ea5e9;
    border-color: #0ea5e9;
    color: #fff;
    font-weight: 700
}

.page.disabled {
    opacity: .45;
    pointer-events: none
}

@media (max-width:1024px){
    .page-layout{grid-template-columns:1fr}
}


/*회원정보 수정*/

/* ===== 폼 ===== */
.form {
    padding: 30px;
    background: #fff;
    border: 1px solid #E8EDF3FF;
    border-radius: 8px;
    box-shadow:  0 10px 28px rgba(2, 6, 23, .08);;
    margin-top: 20px;
}
.form_row {
    display: grid;
    grid-template-columns: 160px 1fr;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.form_row .label {
    color: #334155;
    font-weight: 600;
}

.form_row .field {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ipt, .sel {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    outline: none;
}

.ipt[readonly] {
    background: #f8fafc;
    color: #64748b
}

.ipt[disabled], .sel[disabled] {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed
}

.help {
    font-size: 12px;
    color: #64748b;
    margin-top: 6px
}

.red_txt {
    color: #ef4444;
}

/* 액션 버튼 */
.actions {
    display: flex;
    gap: 8px;
    padding: 16px 0 22px;
    border-top: 1px solid #e2e8f0;
    justify-content: flex-end;
}


/* ===== 비번 확인 모달 ===== */
.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center; /* ★ 항상 flex */
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease-out;
}

.modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .45);
    z-index: 80;
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease-out;
}

.modal-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    width: min(96vw, 420px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .2);
    overflow: hidden;
    animation: pop .15s ease-out;
}

@keyframes pop {
    from {
        transform: scale(.96);
        opacity: .6
    }
    to {
        transform: scale(1);
        opacity: 1
    }
}

.modal-head {
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 700;
}

.modal-body {
    padding: 16px;
}

.modal-row {
    display: grid;
    grid-template-columns:110px 1fr;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.modal-foot {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 14px 16px;
    border-top: 1px solid #e2e8f0;
}

.error-msg {
    display: none;
    margin-top: 6px;
    color: #ef4444;
    font-size: 13px
}

.shake {
    animation: shake .25s linear 1
}

@keyframes shake {
    0% {
        transform: translateX(0)
    }
    25% {
        transform: translateX(-6px)
    }
    50% {
        transform: translateX(6px)
    }
    75% {
        transform: translateX(-4px)
    }
    100% {
        transform: translateX(0)
    }
}

/* 폼 잠금 오버레이 */
.lock-mask {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, .6);
    display: none;
    border-radius: 14px;
    z-index: 1;
}

.content.locked .lock-mask {
    display: block;
}

/*계좌정보변경*/

/* ====== Bank Form (Scoped) ====== */


.bank-title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
}

.bank-grid {
    display: grid;
    grid-template-columns:160px 1fr auto;
    gap: 12px 14px;
    align-items: center;
}

@media (max-width: 720px) {
    .bank-grid {
        grid-template-columns:1fr;
    }

    .bank-grid > label {
        margin-top: 6px;
    }
}

.bank-form label {
    color: var(--sub);
    font-weight: 700;
}

.bank-form .field {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--txt);
    outline: 0;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.bank-form .field:focus {
    border-color: #cbd5e1;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.bank-form select.field {
    appearance: auto;
}

.bank-form .helper {
    grid-column: 2 / -1;
    font-size: 12px;
    color: var(--sub);
    margin-top: -4px;
}

.field-with-badge {
    position: relative;
}

.verify-badge {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid;
}

.badge-pending {
    color: #8b5cf6;
    background: rgba(139, 92, 246, .08);
    border-color: rgba(139, 92, 246, .25);
}

.badge-ok {
    color: var(--ok);
    background: rgba(16, 185, 129, .12);
    border-color: rgba(16, 185, 129, .25);
}



/* Actions row */
.bank-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 14px;
}
.my_content .caution{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}
.withdraw_reason{
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/*계정 상세보기 페이지*/


.product_details{
    display: flex;
    gap: 40px;
}

.product_details .details_left{
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 30px;
}
.product_details .head_top{
    border-bottom: 1px solid #dbdbdb;
    padding-bottom: 30px;
}
.product_details .head_top .nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.details_left .product_title{
    margin: 16px 0 10px;
}
.details_left .product_title .title{
    font-size: 20px;
    max-width: 680px;
    word-break: break-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.details_left .product_time{
    color: #888;
}
.details_left .product_time >div{
    /* text-align: end; */
}
.details_left .product_time >div span{
    font-size: 14px;
}
.details_left .product_time .account_info{
    margin-top: 60px;
}
.details_left  .account_info  p{
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
}
.details_left .product_meta{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.details_left .product_meta .meta_chip{
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.details_left .product_meta .meta_chip span{
    padding: 10px 20px;
}
.details_left .product_meta .meta_chip span:nth-child(1){
    color: #888;
    border-bottom: 2px solid #e3e3e3;
    font-size: 18px;
}
.details_left .product_meta .meta_chip span:nth-child(2){
    font-weight: 700;
}

.details_right{
    width: 40%;
    padding: 30px 30px;
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    /* border: 1px solid #dbdbdb; */
}
.details_right .service_box .text{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.details_right .service_box h2{
    font-size: 24px;
}
.details_right .service_box .care_btn:hover{
    color: #0D7C66;
    font-weight: 700;
}
.details_right .service_box .service_list{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.details_right .service_box .service_list .data{
    display: flex;
}
.details_right .service_box .service_list > div{
    background: #fff;
    padding: 14px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
}
.details_right .service_box .service_list > div span{

}
.details_right .product_info{}
.details_right .service_btn{
    display: flex;
    gap: 10px;
    justify-content: center;
}

.product_explain{
    border-top: 2px solid #0D7C66;
    padding-top: 30px;
    margin-top: 60px;
}
.product_explain > p{
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
}
.product_explain .explain_wrap > p{
    word-break: break-all;
}


/*계정상세보기 유의사항*/
.product_details .notice_box {
    margin-top: 20px;
    padding: 16px;
    background-color: #fff8f0;
    border: 1px solid #f5c48c;
    border-radius: 8px;
}
.product_details .notice_title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #d35400;
}
.product_details .notice_list {
    list-style: disc;
    padding-left: 20px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}
.product_details .notice_list a {
    color: #d35400;
    text-decoration: underline;
}
.action_buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.action_buttons .btn {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

/* 신고하기 버튼 (빨간 아웃라인 스타일) */
.action_buttons .btn-report {
    border: 1px solid #e74c3c;
    color: #e74c3c;
    background: #fff;
}
.action_buttons .btn-report:hover {
    background: #e74c3c;
    color: #fff;
}

/* 링크복사 버튼 (파란 배경 스타일) */
.action_buttons .btn-copy {
    border: 1px solid #0D7C66;
    /*background: #3498db;*/
}
.action_buttons .btn-copy:hover {
    background: #0D7C66;
    color: #fff;
}
.price_summary {
    margin-top: 16px;
    padding: 14px 16px;
    background: #fafafa;
    border: 1px solid #e8e8ec;
    border-radius: 10px;
}
.price_summary .title{
    word-break: break-all;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.price_summary .row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    font-size: 14px;
    color: #333;
}
.price_summary .row + .row {
    border-top: 1px dashed #e6e6ee;
}
.price_summary .row.total {
    padding-top: 12px;
    font-weight: 700;
    font-size: 16px;
    color: #111;
}
.price_summary .row.total .amount {
    font-size: 18px;
}
.price_summary .label {
    white-space: nowrap;
}
.price_summary .amount {
    white-space: nowrap;
    text-align: right;
    min-width: 120px;
}
.price_summary .order_row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}
.price_summary .order_row .order_input{
    display: flex;
    gap: 5px;
}
.price_summary .order_row .order_input .order_btn{
    width: 40px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 8px;
    font-size: 18px;
}
.price_summary .order_row .order_input input{

    width: 100px;
}

.action_btns {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.action_btns .btn {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

/* 채팅하기 버튼 */
.action_btns .btn-chat {
    background: #f5f5f5;
    border: 1px solid #ccc;
    color: #333;
}

.action_btns .btn-chat:hover {
    background: #e8e8e8;
}

/* 결제하기 버튼 */
.action_btns .btn-pay {
    background: #0D7C66;
    border: 1px solid #0D7C66;
    color: #fff;
}
.action_btns .btn-pay:hover {
    background: #0D7C66;
    border-color: #0D7C66;
}
.data {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}
.data .option_btn {
    flex: 1;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.data .option_btn:hover {
    border-color: #ff6b00;
    color: #ff6b00;
}
.data .option_btn.active {
    background: #ff6b00;
    border-color: #ff6b00;
    color: #fff;
}
.service_list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.service_btn {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.service_btn span {
    float: right;
    font-weight: 600;
}
.service_btn:hover {
    border-color: #ff6b00;
    color: #ff6b00;
}
.service_btn.active {
    border-color: #ff6b00;
    background: #ff6b00;
    color: #fff;
}
/* 기간 옵션 버튼 */
.data {
    display: flex;
    gap: 8px;
    margin-left: 10px;
}
.option_btn {
    flex: 1;
    padding: 8px 0;
    font-size: 13px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}
.option_btn.active {
    border-color: #ff6b00;
    background: #ff6b00;
    color: #fff;
}

/*고객센터 페이지*/
/* ===== 공통 카드 ===== */
.my_content .card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}

.my_content .card .card_hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid #eef2f7
}

.my_content .card .card_hd h3 {
    font-size: 18px;
    margin: 0;
    font-weight: 700;
    color: #0D7C66;
}

.my_content .card .card_bd {
    padding: 16px 18px
}

/* ===== 빠른메뉴(그리드 버튼) ===== */
.my_content .quick_grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 860px) {
    .my_content .quick_grid {
        grid-template-columns:repeat(2, 1fr)
    }
}
.my_content .quick_item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid #e6e8ee;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    cursor: pointer;
    transition: .15s;
}
.quick_item.point {
    background: linear-gradient(135deg, #14a186, #88cabd);
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: scale(1.02);
    transition: 0.3s;
}
.quick_item.point .quick_sub{
    color: #fff;
}
.my_content .quick_item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(2, 6, 23, .06)
}
.my_content .quick_ico {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2ff
}
.my_content .quick_tit {
    font-size: 15px;
    font-weight: 700
}
.my_content .quick_sub {
    font-size: 12px;
    color: #64748b
}

/* ===== FAQ 아코디언 ===== */
.my_content .faq_list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.my_content .faq_item {
    border: 1px solid #e6e8ee;
    border-radius: 12px;
    overflow: hidden
}
.my_content .faq_q {
    background: #f8fafc;
    padding: 14px 16px;
    display: flex;
    gap: 10px;
    align-items: center;
    cursor: pointer;
}
.my_content .faq_item.active .faq_q{
    background: #0D7C66;
    color: #fff;
}
.my_content .faq_q .tag {
    font-size: 12px;
    padding: 2px 8px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #fff
}
.my_content .faq_item.active .faq_q .tag{
    border: 1px solid #cbd5e1;
    background: #0D7C66;
    color: #fff;

}
.my_content .faq_q strong {
    flex: 1;
    font-weight: 700
}
.my_content .faq_a {
    display: none;
    padding: 14px 16px;
    background: #ffffff;
    border-top: 1px dashed #e5e7eb;
    color: #334155
}
.my_content .faq_item.active .faq_a {
    display: block
}
/* ===== 공지 리스트 ===== */
.my_content .notice_list {
    width: 100%;
    border-collapse: collapse
}
.my_content .notice_list th,
.my_content .notice_list td {
    padding: 17px 8px;
    border-bottom: 1px solid #f1f5f9;
    text-align: left;
}
.my_content .notice_list tr:hover td {
    background: #f9fafb
}
.my_content .notice_list .title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 680px
}
.my_content .btn_more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    color: #0f172a;
    background: #fff
}
.my_content .btn_more:hover {
    background: #0D7C66;
    color: #fff;
}
/* ===== 섹션 간격 ===== */
.my_content .sec:not(:last-child) {
    margin-bottom: 24px;
}


/*게임목록페이지*/
.game_list_header {
    max-width: 1200px;
    margin: 0 auto 16px;
    text-align: center;           /* 가운데 정렬은 부모가 담당 */
}

.game_list_title {
    margin: 0 0 10px 0;
    display: inline-block;        /* 텍스트 폭만큼만 차지 */
    position: relative;           /* 뱃지의 기준점 */
    line-height: 1.2;
}

/* 말풍선 뱃지 */
.game_list_title .bubble {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #b8e4dc;
    color: #1b3d36;
    font-size: 18px;
    padding: 4px 12px;
    border-radius: 8px;
    white-space: nowrap;
}
.game_list_title .bubble.blue {
    background: #cddaff;
    color: #124FFF;
}
.game_list_title .bubble::after {
    content: "";
    position: absolute;
    top: 100%;             /* 말풍선 아래쪽에 붙이기 */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;   /* 왼쪽 투명 */
    border-right: 6px solid transparent;  /* 오른쪽 투명 */
    border-top: 6px solid #b8e4dc;        /* 위쪽에 색상 추가 (꼬리색) */
}
.game_list_title .bubble.blue::after {
    border-top: 6px solid #cddaff;
}


/* 작은 화면에서 살짝 간격 조정 (선택) */
@media (max-width: 480px) {
    .game_list_title .bubble {
        font-size: 14px;
        padding: 3px 10px;
    }
}
.game_list_desc {
    text-align: center;
    color: #0D7C66;
}
.game_list_grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    padding: 8px;
    gap: 20px;
}
@media (min-width: 768px) {
    .game_list_grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (min-width: 1024px) {
    .game_list_grid {grid-template-columns: repeat(5, minmax(0,1fr));}
}
.game_card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 14px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    outline: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(6px);
    border-radius: 20px;
}
.game_card:hover {
    background: rgba(13,124,102,0.06); /* 메인컬러 투명 배경 */
    border-color: #0B6A57;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}
.game_card:focus-visible {
    box-shadow: 0 0 0 3px rgba(37,99,235,.25);
}
.game_card_thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    display: grid;
    place-items: center;
    /*border-radius: 12px;*/
    /*background: #f3f4f6;*/
}
.game_card_thumb img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    display: block;
    border-radius: 10px;
}
.game_card_body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.game_card_name {
    font-size: 15px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.2px;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.game_card_badge {
    flex: 0 0 auto;
    font-size: 11px;
    color: #0f172a;
    background: #e2e8f0;
    border-radius: 999px;
    padding: 4px 8px;
    line-height: 1;
}
/* 빈 목록 안내 */
.game_list_empty {
    max-width: 1200px;
    margin: 24px auto 0;
    padding: 24px;
    text-align: center;
    color: var(--gl-muted);
    border: 1px dashed rgba(0,0,0,.15);
    border-radius: 12px;
    background: #fafafa;
}
.game_search_form {
    max-width: 480px;
    width: 100%;
    margin: 12px auto 30px;
    display: flex;
    gap: 8px;
    justify-content: center;
}
.game_search_input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
}
.game_search_btn {
    padding: 10px 16px;
    background: #0D7C66;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background .2s;
}
.game_search_btn:hover {
    background: #084c3f;
}

/*회원가입*/


/* 헤더 */
.signup_header {
    margin-bottom: 50px;
}
.signup_title {
    font-size: 28px;
    font-weight: 700;
    color: #222222;
}

/* 진행 단계 */
.signup_progress {
    margin-top: 50px;
}
.progress_list {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.progress_item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    min-width: 200px;
    background: #fff;
}
.progress_item.is_active {
    border-color: #0D7C66;
    box-shadow: 0 0 0 3px rgba(13,124,102,0.1);
}
.progress_item.is_disabled {
    opacity: 0.6;
}
.progress_num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #E6F3F0;
    color: #0D7C66;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}
.progress_text p:first-child {
    font-size: 12px;
    color: #666666;
}
.progress_text p:last-child {
    font-size: 14px;
    font-weight: 600;
    color: #222222;
}
.progress_arrow {
    margin-left: auto;
    width: 12px;
    height: 12px;
    border-right: 2px solid #666666;
    border-top: 2px solid #666666;
    transform: rotate(45deg);
}
.progress_item:last-child .progress_arrow {
    display: none;
}

/* 진행 바 */
.progress_bar {
    height: 6px;
    background: #F9FAFB;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 16px;
}
.progress_fill.step1 {
    height: 100%;
    width: 25%; /* 현재 1단계 기준 */
    background: #0D7C66;
}

/* 본문 영역 */
.signup_content {
    background: #fff;
}
.signup_step01 {
    margin-bottom: 20px;
}

/* 전체동의 */
.terms_all {
    border: 1px dashed #E5E7EB;
    padding: 14px 16px;
    border-radius: 8px;
    background: #F9FFFD;
}
.terms_all_item {
    font-weight: 700;
    color: #0D7C66;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 개별 약관 */
.terms_item {
    margin-top: 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
}
.terms_title {
    background: #F7FBFA;
    padding: 12px 16px;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    gap: 10px;
}
.terms_title label span {
    color: #D14343;
    font-weight: 700;
    margin-right: 4px;
}
.terms_body {
    padding: 16px;
    max-height: 180px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.6;
    color: #333333;
    background: #fff;
}
.terms_body::-webkit-scrollbar {
    width: 6px;
}
.terms_body::-webkit-scrollbar-thumb {
    background: #bbbbbb;
    border-radius: 6px;
}

.policy_wrap ul {
    margin: 8px 0 15px 20px;
    list-style: disc;
}
.policy_wrap table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}
.policy_wrap th, .policy_wrap td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}
.policy_wrap th {
    background: #f9f9f9;
    font-weight: 600;
}
.policy_wrap .contact {
    margin-top: 15px;
    padding: 15px;
    border: 1px solid #eee;
    background: #fafafa;
}
/* 버튼 영역 */
.form_actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}
.form_actions > div {
    flex: 1;
    text-align: center;
    padding: 14px 12px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}
.btn_secondary {
    background: #fff;
    border: 1px solid #E5E7EB;
    color: #222222;
}
.btn_secondary:hover {
    background: #f8f9f9;
}
/* 체크박스 브라우저 스타일 개선 */
input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #0D7C66;
}
.progress_fill.step2 {
    height: 100%;
    width: 50%;
    background: #0D7C66;
}
.progress_fill.step3 {
    height: 100%;
    width: 70%;
    background: #0D7C66;
}

/* 본문 */
.signup_step02 {
    margin-top: 24px;
}

/* 인증 선택 카드 */
.verify_options {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}
.verify_card {
    border: 2px solid #E5E7EB;
    border-radius: 14px;
    padding: 30px 70px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}
.verify_card:hover {
    transform: translateY(-2px);
    border: 2px solid #0D7C66;
}
.verify_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.verify_icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}
.verify_title {
    font-size: 20px;
    font-weight: 700;
    color: #0D7C66;
    text-align: center;
    margin-top: 10px;
}

/* 안내문 */
.verify_notice {
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    background: #FAFAFA;
}

.verify_notice p {
    margin: 6px 0;
}

/* 접근성 포커스 */
.verify_card:focus {
    outline: 3px solid rgba(13, 124, 102, .25);
    outline-offset: 2px;
}


/* 3/4 단계 */

.signup_step03 {
    display: grid;
    gap: 18px;
}

/* 상단 본인정보 요약 */
.identity_summary {
    display: grid;
    gap: 10px;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 16px;
    background: #FFFFFF;
}
.summary_list {
    display: grid;
    gap: 8px;
}
.summary_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #F9FAFB;
    border-radius: 8px;
}
.summary_label {
    font-weight: 600;
    color: #374151;
}
.summary_value {
    color: #111827;
}

/* 입력 폼 */
.signup_form_wrap {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    background: #FFFFFF;
}
.signup_form {
    padding: 18px;
}
.signup_form .required_mark {
    color: #D14343;
    font-weight: 700;
    margin-left: 4px;
}
.signup_form .field_row {
    display: grid;
    grid-template-columns:160px 1fr;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #F3F4F6;
}
.signup_form .hint_text{
    margin-top: 4px;
}
.signup_form .field_row:last-child {
    border-bottom: none;
}
.signup_form .field_label {
    font-weight: 600;
    color: #374151;
    padding: 0 8px;
}
.signup_form .field_control {
    display: flex;
    gap: 10px;
    align-items: center;
}
.signup_form .text_input, .select_input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
    color: #111827;
    background: #FFFFFF;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.signup_form .text_input:focus, .select_input:focus {
    border-color: #0D7C66;
    box-shadow: 0 0 0 3px rgba(13, 124, 102, 0.12);
}
/* 아이디 중복확인 버튼 */
.signup_form .btn_inline {
    white-space: nowrap;
    padding: 0 14px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #0D7C66;
    color: #0D7C66;
    background: #FFFFFF;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.signup_form .btn_inline:hover {
    background: #E6F3F0;
}

/*회원가입완료*/
.signup_complete .inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 32px 16px;
    width: 100%;
}
.signup_complete .complete_card {
    background: rgba(255, 255, 255, .85);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 32px 24px;
    text-align: center;
}
.signup_complete .complete_icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 16px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #D1FAE5;
    border: 1px solid #A7F3D0;
}
.signup_complete .complete_icon svg {
    width: 40px;
    height: 40px;
    fill: #0D7C66;
}
.signup_complete .complete_title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 6px 0 10px;
}
.signup_complete .complete_info {
    color: #64748b;
    margin: 8px 0 20px;
}
.signup_complete .user_brief {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    color: #334155;
    padding: 8px 12px;
    border-radius: 10px;
    margin-bottom: 8px;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.signup_complete .actions{
    justify-content: center;
}
.signup_complete .actions .btn.btn_primary {
    padding: 10px;
}
.signup_complete .btn_ghost {
    background: #fff;
    color: #0D7C66;
    border: 1px solid #0D7C66;
}
.signup_complete .btn_ghost:hover {
    box-shadow: 0 6px 16px rgba(13, 124, 102, .18);
}
.signup_complete .btn_light {
    background: #F1F5F9;
    color: #0f172a;
    border: 1px solid #E2E8F0;
}
.signup_complete .btn_light:hover {
    box-shadow: 0 6px 16px rgba(2, 6, 23, .08);
}
.signup_complete .redirect_note {
    margin-top: 14px;
    font-size: 12px;
    color: #64748b;
}
/* layout */
.signup_complete .header_placeholder,
.signup_complete .footer_placeholder {
    flex: 0 0 auto;
}

.signup_complete .main_holder {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
}

@media (max-width: 640px) {
    .signup_complete .complete_card {
        padding: 24px 18px;
    }

    .signup_complete .actions .btn {
        min-width: 112px;
        height: 42px;
    }
}


/*아이디/비밀번호찾기*/
.find_id, .find_pw{
    display: flex;
    flex-direction: column;
}
.find_id .contents,
.find_pw .contents {
    max-width: 720px;
    margin: 0 auto;
    padding: 52px 16px;
    width: 100%;
}

.find_id .title,
.find_pw .title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
    text-align: center;
}
.find_id .desc,
.find_pw .desc {
    color: #475569;
    text-align: center;
    margin: 0 0 18px;
}
/* 탭 */
.find_id .tabs,
.find_pw .tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 14px;
}
.find_id .tab_btn,
.find_pw .tab_btn {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    background: #F8FAFC;
    color: #0f172a;
    font-weight: 700;
    cursor: pointer;
    transition: .15s;
}
.find_id .tab_btn.active,
.find_pw .tab_btn.active {
    background: #0D7C66;
    color: #fff;
    border-color: #0D7C66;
}
/* 폼 */
.find_id .form,
.find_pw .form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.find_id .row,
.find_pw .row {
    display: flex;
    gap: 6px;
    align-items: center;
}
.find_id .row.stacked,
.find_pw .row.stacked {
    flex-direction: column;
    align-items: stretch;
}
.find_id .label,
.find_pw .label {
    color: #475569;
    margin-bottom: 6px;
    font-weight: 700;
}
.find_id .ipt,
.find_pw .ipt {
    width: 100%;
    padding: 12px;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    font-size: 14px;
    color: #111;
    transition: border-color .15s, box-shadow .15s;
}
.find_id .ipt:focus,
.find_pw .ipt:focus {
    outline: none;
    border-color: #0D7C66;
    box-shadow: 0 0 0 2px rgba(13, 124, 102, .18);
}
.find_id .btn,
.find_pw .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 16px;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
    transition: box-shadow .15s, transform .05s;
}
.find_id .btn:active,
.find_pw .btn:active {
    transform: translateY(1px);
}
.find_id .btn_primary,
.find_pw .btn_primary{
    background: #0D7C66;
    color: #fff;
    border-color: #0D7C66;
}
.find_id .btn_primary:hover,
.find_pw .btn_primary:hover {
    box-shadow: 0 6px 16px rgba(13, 124, 102, .35);
}
.find_id .btn_light,
.find_pw .btn_light {
    background: #F1F5F9;
    color: #0f172a;
    border: 1px solid #E2E8F0;
}
.find_id .btn_light:hover,
.find_pw .btn_light:hover {
    box-shadow: 0 6px 16px rgba(2, 6, 23, .08);
}
.find_id .btn_outline,
.find_pw .btn_outline {
    background: #fff;
    color: #0D7C66;
    border: 1px solid #0D7C66;
}
.find_id .btn_outline:hover,
.find_pw .btn_outline:hover {
    box-shadow: 0 6px 16px rgba(13, 124, 102, .18);
}
.find_id .helper,
.find_pw .helper {
    color: #64748b;
}
.find_id .err,
.find_pw .err {
    color: #DC2626;
    display: none;
}
.find_id .success,
.find_pw .success {
    color: #065F46;
    font-weight: 700;
    display: none;
}
/* 인증 줄 */
.find_id .verify_row,
.find_pw .verify_row {
    display: flex;
    gap: 8px;
}
.find_id .verify_row .ipt,
.find_pw .verify_row .ipt {
    flex: 1;
}
/* 결과 카드 */
.find_id .result_card,
.find_pw .result_card {
    margin-top: 16px;
    padding: 16px;
    border-radius: 12px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    display: none;
}
.find_id .result_title,
.find_pw .result_title {
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}
.find_id .id_item {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 10px 12px;
    margin: 6px 0;
}
.find_id .id_item b {
    color: #0D7C66;
}
.find_id .actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
    flex-wrap: wrap;
}
/* 반응형 */
@media (max-width: 640px) {
    .find_id .container {
        padding: 24px 14px;
    }

    .find_id .verify_row {
        flex-direction: column;
    }
}

/*이용약관*/

/* 제목 */

/* 목차 */
.terms_page .terms_toc {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 20px 0;
}
.terms_page .terms_toc ol {
    margin: 0;
    padding-left: 18px;
    line-height: 1.6;
}
.terms_page .terms_toc a {
    color: #0d7c66;
    text-decoration: none;
}
.terms_page .terms_toc a:hover {
    text-decoration: underline;
}
/* 본문 */
.terms_page .terms_section {
    margin-top: 32px;
}
.terms_page .chapter_title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.terms_page .terms_article {
    margin: 20px 0;
}
.terms_page .article_title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.terms_page .terms_article p,
.terms_page .terms_article li {
    font-size: 0.95rem;
    color: #374151;
    line-height: 1.6;
}
.terms_page .terms_article ol {
    margin: 8px 0 8px 20px;
}
.terms_page .terms_article ul {
    margin: 8px 0 8px 20px;
    list-style: disc;
}
/*개인정보처리방침*/

.policy_header .meta {
    color: #666;
    font-size: .95rem;
    margin-bottom: 24px;
}
.policy_toc {
    background: #f7f7f9;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 24px 0;
}
.policy_toc h2 {
    font-size: 1.05rem;
    margin: 0 0 10px;
}
.policy_toc ol {
    margin: 0;
    padding-left: 20px;
}
.policy_toc a {
    color: #0d7c66;
    text-decoration: none;
}
.policy_toc a:hover {
    text-decoration: underline;
}
.policy_section {
    margin: 40px 0;
}
.policy_section h2 {
    font-size: 1.4rem;
    margin: 0 0 12px;
}
.policy_section h3 {
    font-size: 1.05rem;
    margin: 18px 0 8px;
}
.policy_section p {
    line-height: 1.7;
    margin: 8px 0;
}
.policy_section ol, .policy_section ul {
    margin: 8px 0 8px 20px;
}
.note_box {
    background: #fafafa;
    border: 1px dashed #d1d5db;
    padding: 12px 14px;
    border-radius: 8px;
    color: #444;
}
/* 표/정의 목록 */
.info_table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
}
.info_table th, .info_table td {
    border: 1px solid #e5e7eb;
    padding: 10px;
    text-align: left;
    vertical-align: top;
}
.info_table th {
    background: #fbfbfc;
    width: 160px;
}
dl.inline dt {
    font-weight: 600;
}
dl.inline dt, dl.inline dd {
    display: inline;
    margin: 0;
}
dl.inline dd:after {
    content: "";
    display: block;
    margin-bottom: 6px;
}
/* 바닥 안내 */
.contact_block {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 18px;
    margin-top: 24px;
}
.contact_block a {
    color: #0d7c66;
    font-weight: 600;
    text-decoration: none;
}
.contact_block a:hover {
    text-decoration: underline;
}
/* 인쇄 최적화 */
@media print {
    .policy_toc {
        page-break-inside: avoid;
    }

    a[href^="#"]::after {
        content: "";
    }

    body {
        color: #000;
    }
}
.youth_policy_page {
    max-width: 960px;
    margin: 40px auto;
    padding: 0 20px;
    color: #111;
}
.youth_policy_page .policy_toc {
    background: #f7f7f9;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px 20px;
    margin: 20px 0;
}
.youth_policy_page .policy_toc a {
    color: #0d7c66;
    text-decoration: none;
}
.youth_policy_page .policy_toc a:hover {
    text-decoration: underline;
}
.youth_policy_page .policy_section {
    margin-top: 28px;
}
.youth_policy_page .policy_article {
    margin: 16px 0;
}
.youth_policy_page .note_box {
    background: #fafafa;
    border: 1px dashed #d1d5db;
    padding: 12px 14px;
    border-radius: 8px;
    color: #444;
    margin-top: 12px;
}
.youth_policy_page .info_table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
.youth_policy_page .info_table th,
.youth_policy_page .info_table td {
    border: 1px solid #e5e7eb;
    padding: 10px;
    text-align: left;
    vertical-align: top;
}
.youth_policy_page .info_table th {
    background: #fbfbfc;
    width: 160px;
}
.policy_tabs {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}
.policy_tabs .tabs_list {
    display: flex;
    gap: 8px;
    padding: 12px 0;
    margin: 0;
    list-style: none;
    overflow: auto;
}
.policy_tabs .tab_item {
    flex: 0 0 auto;
}
.policy_tabs .tab_link {
    display: inline-block;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    background: #f9fafb;
}
.policy_tabs .tab_link:hover {
    background: #f3f4f6;
}
.policy_tabs .tab_link.is_active {
    color: #0d7c66;
    background: #ecfdf5;
    border-color: #0d7c66;
}
/* 모바일 스크롤 감추기(선택) */
.policy_tabs .tabs_list::-webkit-scrollbar {
    height: 0;
}

/*마이페이지-게임신청|*/
/* 폼 */
.form-table {
    width: 100%;
    border-collapse: collapse
}
.form-table th, .form-table td {
    padding: 14px 10px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle
}
.form-table th {
    width: 180px;
    text-align: left;
    color: #334155;
    font-weight: 700
}
.req {
    color: #ef4444;
    margin-left: 4px
}
.inp, .sel, .txt {
    width: 100%;
    height: 44px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0 14px;
    background: #fff;
    font-size: 14px;
    outline: none
}
.inp:focus, .sel:focus, .txt:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .15)
}
.txt {
    height: 44px
}
.placeholder {
    color: #94a3b8
}
.btn-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 28px
}
.btn-row .btn {
    padding: 10px 80px;
}
.btn-outline {
    background: #fff;
    color: #0f172a;
    border-color: #38a4c7
}
.btn-outline:hover {
    background: #f8fafc
}
/* 제목 라인 */
.title-line {
    padding: 10px 0 18px;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 8px
}
.title-line h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    text-align: center
}


/*고객센터 공지사항*/

.notice_page .notice_card {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 20px;
}
.notice_page .title_center {
    font-weight: 800;
    font-size: 22px;
    text-align: center;
    margin: 4px 0 16px;
    color: #0f172a;
}
.notice_page .notice_search {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px auto 18px;
    max-width: 760px;
}
.notice_page .notice_search input[type="text"] {
    flex: 1;
    height: 46px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0 16px;
}
.notice_page .notice_search input[type="text"]:focus {
    border-color: #0D7C66;
    box-shadow: 0 0 0 3px rgba(13, 124, 102, .15);
    outline: 0;
}
.notice_page .notice_search .btn_search {
    height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid #0D7C66;
    background: #0D7C66;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}
.notice_page .notice_tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 6px auto 18px;
    max-width: 960px;
}
.notice_page .form_inline {
    display: inline;
}
.notice_page .notice_tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    height: 44px;
    padding: 0 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    font-weight: 700;
    color: #0f172a;
    transition: .15s;
}
.notice_page .notice_tab:hover {
    background: #f8fafc;
}
.notice_page .notice_tab.active {
    background: #ECFDF5;
    color: #0D7C66;
    border-color: #0D7C66;
}
.notice_page .notice_divider {
    border-top: 1px solid #e5e7eb;
    margin: 16px 0 6px;
}
.notice_page .notice_list tr {
    border-bottom: 1px solid #eee;
}
.notice_page .notice_cat {
    width: 120px;
    font-weight: 700;
    color: #0D7C66;
}
.notice_page .notice_title a {
    text-decoration: none;
    font-weight: 700;
}
.notice_page .notice_title a:hover {
    text-decoration: underline;
    color: #0D7C66;
}
.notice_page .notice_date {
    width: 120px;
    text-align: right;
    color: #475569;
    white-space: nowrap;
}
.notice_page .notice_list tr.is_empty td {
    color: #64748b;
}
/* 반응형 */
@media (max-width: 768px) {
    .notice_page .card_bd {
        padding: 16px;
    }

    .notice_page .notice_search {
        flex-direction: column;
        align-items: stretch;
    }

    .notice_page .notice_search .btn_search {
        width: 100%;
    }

    .notice_page .notice_cat, .notice_page .notice_date {
        width: auto;
    }
}
@media (prefers-reduced-motion: reduce) {
    .notice_page .notice_tab {
        transition: none;
    }
}

/*1:1문의 목록*/
.qna_page {
    --brand: #0D7C66;
    --line: #e5e7eb;
    --muted: #64748b;
    --ink: #0f172a;
}
.qna_page .head_wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 6px 0 14px;
}
.qna_page .page_title {
    font-size: 22px;
    font-weight: 800;
    color: var(--ink);
    margin: 0;
}
.qna_page .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
    transition: box-shadow .2s, transform .02s;
}
.qna_page .btn:hover {
    box-shadow: 0 6px 16px rgba(2, 6, 23, .08);
    transform: translateY(-1px);
}
.qna_page .btn_primary {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}
.qna_page .btn_primary:hover {
    box-shadow: 0 6px 16px rgba(13, 124, 102, .25);
}
.qna_page .qna_table {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
}
.qna_page .qna_table thead th {
    background: #f8fafc;
    border-bottom: 1px solid var(--line);
    padding: 12px 10px;
    font-weight: 800;
    color: #0f172a;
}
.qna_page .qna_table tbody td {
    padding: 14px 10px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}
.qna_page .qna_table tbody tr:hover {
    background: #fafafa;
}
.qna_page .title_cell a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--ink);
    text-decoration: none;
}
.qna_page .title_cell a:hover {
    text-decoration: underline;
}
/* 상태 배지 */
.qna_page .badge_done,
.qna_page .badge_wait {
    display: inline-block;
    min-width: 72px;
    text-align: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    border: 1px solid transparent;
    line-height: 1;
}
.qna_page .badge_done {
    color: #166534;
    background: #dcfce7;
    border-color: #86efac;
}
.qna_page .badge_wait {
    color: #7c2d12;
    background: #ffedd5;
    border-color: #fdba74;
}
.qna_page .qna_table th:nth-child(1),
.qna_page .qna_table th:nth-child(3),
.qna_page .qna_table th:nth-child(4),
.qna_page .qna_table th:nth-child(5),
.qna_page .qna_table td:nth-child(1),
.qna_page .qna_table td:nth-child(3),
.qna_page .qna_table td:nth-child(4),
.qna_page .qna_table td:nth-child(5) {
    text-align: center;
}
.qna_page .qna_pager {
    margin: 14px 0 0;
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.qna_page .qna_pager a,
.qna_page .qna_pager span {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}
.qna_page .qna_pager span[aria-current="page"] {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}
.qna_page .qna_pager .disabled {
    opacity: .45;
    pointer-events: none;
}
/* 반응형 */
@media (max-width: 640px) {
    .qna_page .head_wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .qna_page .btn {
        width: 100%;
        justify-content: center;
    }

    .qna_page .qna_table thead {
        display: none;
    }

    .qna_page .qna_table, .qna_page .qna_table tbody, .qna_page .qna_table tr, .qna_page .qna_table td {
        display: block;
        width: 100%;
    }

    .qna_page .qna_table tr {
        border-bottom: 1px solid var(--line);
        padding: 10px 8px;
    }

    .qna_page .qna_table td {
        border: none;
        padding: 6px 0;
    }

    .qna_page .qna_table td:nth-child(1) {
        font-weight: 800;
        color: var(--muted);
        text-align: left;
    }

    .qna_page .qna_table td:nth-child(5) {
        margin-top: 6px;
    }
}
.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(2, 6, 23, .10);
}
.btn_primary {
    background: #0D7C66;
    border-color: #0D7C66;
    color: #fff;
}
.btn_primary:hover {
    box-shadow: 0 8px 22px rgba(13, 124, 102, .28);
}
.btn_subtle {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #0f172a;
}
/* 헤더 */
.qna_page .head_wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 6px 0 14px;
}
.qna_page .page_title {
    font-size: 22px;
    font-weight: 800;
    margin: 0;
}
/* ----------------- Form (Glass UI) ----------------- */
.qna_page .form_grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.qna_page .form_row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: unset;
}
.qna_page .hint {
    margin-left: 10px;
    font-size: 14px;
}
.qna_page .meta_row {
    display: flex;
    justify-content: flex-end;
    color: #94a3b8;
    font-size: 12px;
}
.qna_page .char_count {
    font-variant-numeric: tabular-nums;
}
/* 파일 업로드 프리뷰 */
.qna_page .filebox input[type=file] {
    display: block;
}
.qna_page .preview_grid {
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 140px));
    gap: 10px;
    margin-top: 10px;
}
.qna_page .preview {
    position: relative;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(248, 250, 252, .65);
    box-shadow: 0 8px 16px rgba(2, 6, 23, .06);
}
.qna_page .preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.qna_page .preview .del {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 999px;
    background: rgba(15, 23, 42, .75);
    color: #fff;
    cursor: pointer;
}
/* 체크/캡차/액션 */
.qna_page .chk {
    display: flex;
    align-items: center;
    gap: 8px;
}
.qna_page .captcha_row {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.qna_page .captcha_box {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 10px;
    border: 1px dashed rgba(15, 23, 42, .18);
    border-radius: 12px;
    background: rgba(248, 250, 252, .6);
}

.qna_page .captcha_input {
    padding: 10px 12px;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 10px;
    background: rgba(255, 255, 255, .85);
    outline: none;
}
.qna_page .captcha_code {
    font-weight: 800;
    letter-spacing: 2px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(13, 124, 102, .10);
    color: #0D7C66;
    border: 1px solid rgba(13, 124, 102, .25);
}
.qna_page .form_actions {
    margin-top: 8px;
    display: flex;
    justify-content: flex-end;
}
/* 에러 박스 */
.qna_page .form_error {
    padding: 12px;
    border: 1px solid #fecaca;
    background: #fff1f2;
    color: #991b1b;
    border-radius: 12px;
    display: none;
}
/* 모바일 최적화 */
@media (max-width: 640px) {
    .qna_page .head_wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .qna_page .btn {
        width: 100%;
    }

    .card .card_bd {
        padding: 16px;
    }
}

.qna_detail .card_hd {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eef2f7;
    padding: 16px 18px;
    gap: 12px;
}
.qna_detail .card_hd .title {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    color: var(--ink);
}
.qna_detail .meta_row {
    color: var(--muted);
    font-size: 13px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.qna_detail .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid transparent;
}

.qna_detail .badge_done {
    color: #166534;
    background: #dcfce7;
    border-color: #86efac;
}

.qna_detail .badge_wait {
    color: #7c2d12;
    background: #ffedd5;
    border-color: #fdba74;
}

.qna_detail .card_bd {
    padding: 18px;
}

.qna_detail .sub_meta {
    color: var(--muted);
    font-size: 13px;
}

.qna_detail .divider {
    border-top: 1px dashed var(--line);
    margin: 14px 0;
}

/* 첨부 */
.qna_detail .files {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.qna_detail .thumb {
    width: 140px;
    height: 140px;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
}

.qna_detail .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 버튼 */
.qna_detail .toolbar {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 12px;
}

.qna_detail .btn {
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    transition: box-shadow .2s, transform .02s;
}

.qna_detail .btn:hover {
    box-shadow: 0 6px 16px rgba(2, 6, 23, .08);
    transform: translateY(-1px);
}

.qna_detail .btn_primary {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.qna_detail .btn_primary:hover {
    box-shadow: 0 6px 16px rgba(13, 124, 102, .25);
}

@media (max-width: 640px) {
    .qna_detail .card_hd {
        flex-direction: column;
        align-items: flex-start;
    }

    .qna_detail .toolbar {
        flex-wrap: wrap;
        justify-content: stretch;
    }

    .qna_detail .btn {
        flex: 1 1 auto;
        text-align: center;
    }
}




/*프리미엄 등록 안내*/
.premium_page .pg_title {
    margin: 0 0 8px;
}
.premium_page .pg_lead {
    color: #6b7280;
    margin: 0;
}
.premium_page .pg_lead .muted {
    color: #0D7C66;
    font-weight: 600;
}
.premium_page .summary_card {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, 1fr);
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #e6f4f1;
}
.premium_page .summary_item {
    background: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
}
.premium_page .summary_item .label {
    font-size: 12px;
    color: #6b7280;
}
.premium_page .summary_item .value {
    font-weight: 700;
}
.premium_page .sec_title {
    font-size: 18px;
    margin: 0 0 12px;
}
.premium_page .step_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}
.premium_page .step_list li {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 14px;
    background: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}
.premium_page .step_no {
    display: inline-grid;
    place-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #0D7C66;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
}
.premium_page .notice_box {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 16px;
    background: #fff;
}
.premium_page .notice_box.warning {
    background: #fef3c7;
    border-color: #f59e0b33;
}
.premium_page .bullet_list {
    margin: 0;
    padding-left: 18px;
}
.premium_page .bullet_list li {
    margin: 6px 0;
    line-height: 1.5;
}
@media (max-width: 900px) {
    .premium_page .summary_card {
        grid-template-columns: 1fr;
    }
}


/*제휴문의*/
.affiliate_inquiry {
    padding: 40px 20px;
    background: #f9fafb;
    border-radius: 12px;
    text-align: center;
    margin: 40px auto;
    max-width: 700px;
}
.affiliate_inquiry .section_title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
}
.affiliate_inquiry .section_desc {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}
.affiliate_inquiry .contact_box {
    background: #fff;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: inline-block;
}
.affiliate_inquiry .contact_label {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 5px;
}
.affiliate_inquiry .contact_email {
    font-size: 1.2rem;
    font-weight: bold;
    color: #0d7c66;
    text-decoration: none;
}
.affiliate_inquiry .contact_email:hover {
    text-decoration: underline;
}
