/* =========================
   OLDEN NEW DESIGN
   ========================= */

/* 전체 배경 */
body {
    background: #f5f2e9 !important;
}

/* 메인 사이트 폭 */
#cameron-body {
    max-width: 1360px !important;
    width: 100% !important;
    margin: 0 auto !important;
    background: #fff !important;
}

/* OLDEN 대문 */
.olden-hero {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #111;
}

.olden-hero img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

/* 대문과 아래 영역 사이 불필요한 여백 제거 */
.olden-hero + .saolden-mobile-quicknav {
    margin-top: 0 !important;
}

/* 상단 메뉴 조금 더 현대적으로 */
#main-menu {
    background: #171717 !important;
}

#sf-menu > li > a {
    font-weight: 700 !important;
}

/* 콘텐츠 영역 */
#contents {
    background: #fff !important;
}
/* 기존 SAOLDEN 로고 / 검색 / 배너 영역 숨김 */
.neat-header {
    display: none !important;
}
/* OLDEN TEST - 기존 왼쪽 사이드바 제거 */
#sidebar {
    display: none !important;
}

/* 본문 전체 폭 사용 */
#content {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 대문 아래 콘텐츠 영역 정리 */
#contents {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

#contents > .cameron-row {
    width: 100% !important;
    margin: 0 !important;
}
/* =========================
   OLDEN QUICK MENU
   ========================= */

.olden-quick-menu {
    display: flex;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
}

.olden-quick-card {
    position: relative;
    box-sizing: border-box;
    width: 25%;
    padding: 27px 15px 25px;
    text-align: center;
    text-decoration: none !important;
    border-right: 1px solid #e8e8e8;
    transition: all 0.2s ease;
}

.olden-quick-card:last-child {
    border-right: 0;
}

.olden-quick-card strong {
    display: block;
    margin-bottom: 7px;
    color: #26221d;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.olden-quick-card span {
    display: block;
    color: #999;
    font-size: 13px;
}

.olden-quick-card:hover {
    background: #faf6eb;
}

.olden-quick-card:hover strong {
    color: #b87925;
}

/* 모바일 */
@media (max-width: 768px) {

    .olden-quick-menu {
        flex-wrap: wrap;
    }

    .olden-quick-card {
        width: 50%;
        padding: 20px 8px;
        border-bottom: 1px solid #e8e8e8;
    }

    .olden-quick-card strong {
        font-size: 14px;
    }
}
/* 기존 상단 검은 메뉴바 숨김 */
.neat-top {
    display: none !important;
}
/* =========================
   OLDEN GAME GUIDE
   ========================= */

.olden-guide {
    box-sizing: border-box;
    width: 100%;
    padding: 70px 55px 80px;
    background: #f7f5ef;
}

.olden-guide-title {
    margin-bottom: 38px;
    text-align: center;
}

.olden-guide-title > span {
    display: block;
    margin-bottom: 8px;
    color: #c58b35;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
}

.olden-guide-title h2 {
    margin: 0 0 10px;
    color: #29251f;
    font-size: 30px;
    font-weight: 800;
}

.olden-guide-title p {
    margin: 0;
    color: #999;
    font-size: 14px;
}

.olden-guide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    max-width: 1160px;
    margin: 0 auto;
}

.olden-guide-card {
    box-sizing: border-box;
    min-height: 165px;
    padding: 27px 18px 23px;
    background: #fff;
    border: 1px solid #e8e3d9;
    border-radius: 5px;
    text-align: center;
    text-decoration: none !important;
    transition: all .2s ease;
}

.olden-guide-card:hover {
    border-color: #c99345;
    box-shadow: 0 8px 25px rgba(72, 54, 30, .10);
    transform: translateY(-3px);
}

.guide-icon {
    height: 42px;
    margin-bottom: 12px;
    font-size: 30px;
    line-height: 42px;
}

.olden-guide-card strong {
    display: block;
    margin-bottom: 7px;
    color: #332d26;
    font-size: 16px;
    font-weight: 700;
}

.olden-guide-card span {
    display: block;
    color: #999;
    font-size: 12px;
    line-height: 1.5;
}

/* 모바일 */
@media (max-width: 900px) {
    .olden-guide {
        padding: 45px 20px 55px;
    }

    .olden-guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .olden-guide-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================
   OLDEN NEW NAVIGATION
   ========================= */

.olden-new-nav {
    position: relative;
    z-index: 1000;
    width: 100%;
    background: rgba(25, 23, 20, .96);
}

.olden-nav-inner {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    min-height: 78px;
    padding: 0 42px;
}

/* 왼쪽 OLDEN 로고 */
.olden-nav-logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 190px;
    color: #fff !important;
    text-decoration: none !important;
}

.olden-nav-logo strong {
    font-size: 14px;
    line-height: 1;
    letter-spacing: 2px;
}

.olden-nav-logo span {
    margin-top: 5px;
    color: #d7a657;
    font-size: 25px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 1px;
}

/* 메뉴 영역 */
.olden-nav-group {
    display: flex;
    flex: 1;
}

.olden-nav-column {
    position: relative;
    flex: 1;
    text-align: center;
}

.olden-nav-title {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 78px;

    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none !important;

    transition: color .2s ease,
                background .2s ease;
}

.olden-nav-column:hover .olden-nav-title {
    color: #e5b665 !important;
    background: rgba(255,255,255,.04);
}


/* =========================
   펼쳐지는 하위 메뉴
   ========================= */

.olden-nav-sub {
    position: absolute;
    top: 78px;
    left: 0;

    box-sizing: border-box;
    width: 100%;
    height: 390px;
    padding: 18px 8px;

    background: rgba(27, 25, 22, .94);

    opacity: 0;
    visibility: hidden;

    transition: opacity .2s ease,
                visibility .2s ease;
}

/* 메뉴 영역에 마우스를 올리면
   모든 세부 메뉴 표시 */
.olden-nav-group:hover .olden-nav-sub {
    opacity: 1;
    visibility: visible;
}

.olden-nav-sub a {
    display: block;
    padding: 7px 4px;

    color: #ddd !important;
    font-size: 13px;
    line-height: 1.35;
    text-decoration: none !important;

    transition: color .15s ease;
}

.olden-nav-sub a:hover {
    color: #e6b768 !important;
}


/* =========================
   모바일
   ========================= */

@media (max-width: 900px) {

    .olden-nav-inner {
        min-height: 60px;
        padding: 0 15px;
    }

    .olden-nav-logo {
        width: 120px;
    }

    .olden-nav-logo strong {
        font-size: 10px;
    }

    .olden-nav-logo span {
        font-size: 19px;
    }

    .olden-nav-title {
        height: 60px;
        font-size: 12px;
    }

    .olden-nav-sub {
        display: none;
    }
}
/* =========================
   OLDEN ACTION AREA
   ========================= */

.olden-action-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;

    box-sizing: border-box;
    width: 100%;
    padding: 0 55px 75px;

    background: #f7f5ef;
}

.olden-action-card {
    position: relative;
    box-sizing: border-box;
    min-height: 230px;
    padding: 42px 45px;

    overflow: hidden;
    border-radius: 8px;

    text-decoration: none !important;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.olden-download-card {
    background:
        linear-gradient(135deg, #3b2b1d 0%, #79552f 100%);
}

.olden-discord-card {
    background:
        linear-gradient(135deg, #24283a 0%, #46527a 100%);
}

.olden-action-card::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -80px;

    width: 230px;
    height: 230px;

    border: 45px solid rgba(255,255,255,.05);
    border-radius: 50%;
}

.olden-action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,.18);
}

.olden-action-text {
    position: relative;
    z-index: 2;
}

.olden-action-small {
    display: block;
    margin-bottom: 10px;

    color: #e5bd78;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.olden-discord-card .olden-action-small {
    color: #aebcff;
}

.olden-action-card strong {
    display: block;

    color: #fff;
    font-size: 27px;
    font-weight: 900;
    letter-spacing: .5px;
}

.olden-action-card p {
    margin: 17px 0 25px;

    color: rgba(255,255,255,.72);
    font-size: 13px;
    line-height: 1.7;
}

.olden-action-card em {
    color: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 1px;
}


/* 모바일 */
@media (max-width: 700px) {

    .olden-action-area {
        grid-template-columns: 1fr;
        padding: 0 20px 45px;
    }

    .olden-action-card {
        min-height: 190px;
        padding: 30px;
    }
}
.olden-quick-menu {
    display: none !important;
}
/* =========================
   GUIDE HEADER SHORTCUT
   ========================= */

.olden-guide-heading {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    align-items: center;

    max-width: 900px;
    margin: 0 auto 42px;
}


/* 가운데 제목 */
.olden-guide-heading .olden-guide-title {
    margin: 0;
}


/* 좌우 바로가기 */
.olden-guide-shortcut {
    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;
    text-decoration: none !important;

    transition: transform .2s ease;
}

.olden-guide-shortcut:hover {
    transform: translateY(-4px);
}


/* 아이콘 */
.olden-shortcut-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 62px;
    height: 62px;
    margin-bottom: 12px;

    border-radius: 50%;

    font-size: 29px;
    font-weight: 900;

    transition: all .2s ease;
}


/* 다운로드 */
.olden-shortcut-download .olden-shortcut-icon {
    color: #fff;
    background: #b77b32;
    box-shadow: 0 7px 20px rgba(183,123,50,.20);
}


/* 디스코드 */
.olden-shortcut-discord .olden-shortcut-icon {
    color: #fff;
    background: #5865f2;
    box-shadow: 0 7px 20px rgba(88,101,242,.20);
}


/* 제목 */
.olden-guide-shortcut strong {
    display: block;

    color: #29251f;
    font-size: 13px;
    font-weight: 800;
}


/* 작은 설명 */
.olden-guide-shortcut span {
    display: block;
    margin-top: 5px;

    color: #999;
    font-size: 11px;
}


/* 마우스 효과 */
.olden-shortcut-download:hover .olden-shortcut-icon {
    background: #9e6627;
}

.olden-shortcut-discord:hover .olden-shortcut-icon {
    background: #4752c4;
}


/* 모바일 */
@media (max-width: 700px) {

    .olden-guide-heading {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .olden-guide-title {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .olden-guide-shortcut {
        grid-row: 2;
    }
}
/* 하단의 큰 다운로드/디스코드 박스 숨김 */
section.olden-action-area {
    display: none !important;
}
/* 게임 가이드 카드 영역 복구 */
.olden-guide-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 14px !important;
    max-width: 1160px !important;
    margin: 0 auto !important;
}
.olden-guide-heading {
    margin-bottom: 45px !important;
}

.olden-guide {
    padding-top: 65px !important;
    padding-bottom: 75px !important;
}
/* 기존 OLDEN 푸터 제거 */
#footer,
#footer-bottom {
    display: none !important;
}
/* 하단 불필요한 흰 여백 제거 */
#contents {
    min-height: 0 !important;
    height: auto !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

#content,
.widget-page {
    min-height: 0 !important;
    height: auto !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

#cameron-body {
    min-height: 0 !important;
    height: auto !important;
}
/* OLDEN 내부 페이지 */
.olden-inner-wrap {
    box-sizing: border-box;
    width: 100%;
    padding: 50px 55px 70px;

    background: #f7f5ef;
}

/* 내부 페이지 제목 */
.olden-inner-head {
    max-width: 1180px;
    margin: 0 auto 25px;
}

.olden-inner-head span {
    display: block;
    margin-bottom: 7px;

    color: #bd7e2c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.olden-inner-head strong {
    display: block;

    color: #26221d;
    font-size: 27px;
    font-weight: 900;
}

.olden-inner-head p {
    margin: 8px 0 0;

    color: #999;
    font-size: 13px;
}

/* 기존 자료를 흰 패널로 */
.olden-inner-wrap #content {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 1180px !important;

    margin: 0 auto !important;
    padding: 30px !important;

    background: #fff !important;
    border: 1px solid #e7e1d8 !important;
    border-radius: 12px !important;

    box-shadow: 0 8px 30px rgba(60,45,25,.06) !important;
}

/* 모바일 */
@media (max-width: 768px) {

    .olden-inner-wrap {
        padding: 30px 15px 45px;
    }

    .olden-inner-wrap #content {
        padding: 15px !important;
        border-radius: 8px !important;
    }
}
/* 자료 게시판 - 글쓴이 / 날짜 / 조회수 / 체크박스 숨김 */
.board_list .author,
.board_list .time,
.board_list .readNum,
.board_list .check {
    display: none !important;
}

/* 제목 영역 넓게 */
.board_list .title {
    width: auto !important;
}

/* 번호 영역 */
.board_list .no {
    width: 70px !important;
    text-align: center !important;
}
/* 게시판 상단 제목줄 - 번호/제목만 남김 */
.board_list thead th:nth-child(n+3) {
    display: none !important;
}

/* 표 전체 폭 정리 */
.board_list table {
    width: 100% !important;
}

/* 번호 */
.board_list thead th:nth-child(1),
.board_list tbody .no {
    width: 70px !important;
}

/* 제목이 남은 공간 전체 사용 */
.board_list thead th:nth-child(2),
.board_list tbody .title {
    width: auto !important;
}
/* =========================================
   OLDEN PET GALLERY
   ========================================= */

/* 펫 목록 */
.saolden-gallery-board .bd_tmb_lst {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 22px !important;

    width: 100% !important;
    margin: 25px 0 0 !important;
    padding: 0 !important;
}
@media screen and (max-width: 768px) {
    .saolden-gallery-board .bd_tmb_lst {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
    }
}
/* 개별 펫 카드 */
.saolden-gallery-board .bd_tmb_lst > li {
    position: relative !important;
    box-sizing: border-box !important;

    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 18px 14px 16px !important;

    background: #fff !important;
    border: 1px solid #e8e1d6 !important;
    border-radius: 10px !important;

    text-align: center !important;
    list-style: none !important;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

/* 마우스 올렸을 때 */
.saolden-gallery-board .bd_tmb_lst > li:hover {
    transform: translateY(-4px);
    border-color: #d3a35f !important;
    box-shadow: 0 10px 25px rgba(66, 48, 25, .10);
}

/* 이미지 영역 */
.saolden-gallery-board .tmb_wrp {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    height: 180px !important;

    margin: 0 0 13px !important;

    background: #faf8f3 !important;
    border-radius: 7px !important;
    overflow: hidden !important;
}

/* 펫 이미지 */
.saolden-gallery-board img.tmb {
    display: block !important;

    /* 펫 이미지 영역 - 카드 폭을 넓게 사용 */
.saolden-gallery-board .tmb_wrp {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    height: 190px !important;

    margin: 0 0 12px !important;
    padding: 8px !important;
    box-sizing: border-box !important;

    background: #faf8f3 !important;
    border-radius: 7px !important;
    overflow: visible !important;
}

/* 펫 이미지 - 비율 유지 + 자르지 않기 */
.saolden-gallery-board .tmb_wrp img.tmb {
    width: 100% !important;
    height: 100% !important;

    max-width: 100% !important;
    max-height: 100% !important;

    object-fit: contain !important;
    object-position: center center !important;

    margin: 0 !important;
}

    width: auto !important;
    height: auto !important;

    object-fit: contain !important;
}

/* 제목 */
.saolden-gallery-board .bd_tmb_lst > li > p {
    min-height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 8px 5px 0 !important;
    color: #29251f !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
}

/* 관리자 체크박스 숨김 */
.saolden-gallery-board .bd_tmb_lst input[type="checkbox"] {
    display: none !important;
}

/* 모바일 */

@media (max-width: 750px) {
    .saolden-gallery-board .bd_tmb_lst {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
}
/* =========================================
   PET IMAGE FINAL FIX
   원본 펫 이미지 전체 표시
   ========================================= */

.saolden-gallery-board .bd_tmb_lst > li .tmb_wrp {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    height: 190px !important;

    margin: 0 0 12px !important;
    padding: 10px !important;
    box-sizing: border-box !important;

    background: #faf8f3 !important;
    overflow: hidden !important;
}

/* 기존 스킨의 썸네일 크기 강제 해제 */
.saolden-gallery-board .bd_tmb_lst > li .tmb_wrp > img.tmb {
    position: static !important;

    width: auto !important;
    height: auto !important;

    min-width: 0 !important;
    min-height: 0 !important;

    max-width: 100% !important;
    max-height: 170px !important;

    margin: 0 auto !important;

    object-fit: contain !important;
    object-position: center center !important;

    transform: none !important;
    zoom: 1 !important;
}
/* =========================================
   PET CARD IMAGE AREA - FINAL WIDTH FIX
   ========================================= */

/* 카드 내부 이미지 박스 */
.saolden-gallery-board ol.bd_tmb_lst > li > .tmb_wrp.ribbon_v {
    display: flex !important;
    position: relative !important;

    align-items: center !important;
    justify-content: center !important;

    width: calc(100% - 20px) !important;
    height: 190px !important;

    max-width: none !important;
    min-width: 0 !important;

    margin: 0 10px 15px !important;
    padding: 10px !important;

    box-sizing: border-box !important;

    background: #faf8f3 !important;
    border: 0 !important;
    border-radius: 8px !important;

    overflow: hidden !important;
}


/* 실제 펫 이미지 */
.saolden-gallery-board ol.bd_tmb_lst > li > .tmb_wrp.ribbon_v > img.tmb {
    display: block !important;
    position: static !important;

    width: auto !important;
    height: auto !important;

    max-width: 90% !important;
    max-height: 165px !important;

    min-width: 0 !important;
    min-height: 0 !important;

    margin: auto !important;
    padding: 0 !important;

    object-fit: contain !important;

    transform: none !important;
}


/* 스킨에서 만들어 놓은 세로형 비율 제거 */
.saolden-gallery-board .tmb_wrp.ribbon_v:before,
.saolden-gallery-board .tmb_wrp.ribbon_v:after {
    display: none !important;
}
/* =========================================
   OLDEN PET CATEGORY MENU
   ========================================= */

/* 카테고리 전체 영역 */
.saolden-gallery-board .cnb_n_list {
    box-sizing: border-box !important;
    width: 100% !important;
    margin: 0 0 30px !important;
    padding: 16px 18px !important;

    background: #fff !important;
    border: 1px solid #e8e1d6 !important;
    border-radius: 12px !important;

    box-shadow: 0 5px 18px rgba(60,45,25,.04) !important;
}

/* 내부 목록 */
.saolden-gallery-board .cnb_n_list ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 8px !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* 각 카테고리 */
.saolden-gallery-board .cnb_n_list li {
    float: none !important;
    display: block !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    background: none !important;
}

/* 버튼 */
.saolden-gallery-board .cnb_n_list li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 36px !important;
    padding: 0 16px !important;

    background: #f7f5ef !important;
    border: 1px solid #e6dfd4 !important;
    border-radius: 18px !important;

    color: #625b51 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-decoration: none !important;

    transition: all .2s ease !important;
}

/* 마우스 올렸을 때 */
.saolden-gallery-board .cnb_n_list li a:hover {
    color: #9a6427 !important;
    background: #fff8eb !important;
    border-color: #d7a45e !important;

    transform: translateY(-1px);
}

/* 현재 선택된 카테고리 */
.saolden-gallery-board .cnb_n_list li.active a,
.saolden-gallery-board .cnb_n_list li.on a,
.saolden-gallery-board .cnb_n_list li.selected a {
    color: #fff !important;
    background: #b77b32 !important;
    border-color: #b77b32 !important;

    box-shadow: 0 4px 12px rgba(183,123,50,.20) !important;
}


/* 모바일 */
@media (max-width: 700px) {

    .saolden-gallery-board .cnb_n_list {
        padding: 12px !important;
    }

    .saolden-gallery-board .cnb_n_list ul {
        justify-content: flex-start !important;
        gap: 6px !important;
    }

    .saolden-gallery-board .cnb_n_list li a {
        min-height: 32px !important;
        padding: 0 12px !important;
        font-size: 11px !important;
    }
}
/* 펫 카테고리 - 잘림 방지 */
.saolden-gallery-board .cnb_n_list {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.saolden-gallery-board .cnb_n_list ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 8px !important;

    width: 100% !important;
    height: auto !important;
    max-height: none !important;

    overflow: visible !important;
    white-space: normal !important;
}

.saolden-gallery-board .cnb_n_list li {
    flex: 0 0 auto !important;
}

.saolden-gallery-board .cnb_n_list li a {
    width: auto !important;
    max-width: none !important;

    white-space: nowrap !important;
    overflow: visible !important;
    text-overflow: clip !important;
}
/* 펫 도감 상단 시리즈 카테고리 숨김 */
.saolden-gallery-board .cnb_n_list {
    display: none !important;
}
.saolden-gallery-board .bd_lst_wrp {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* 펫 도감 기존 상단 제목 숨김 */
.saolden-gallery-board .bd_hd {
    display: none !important;
}
/* 펫 도감 기존 '계열별 펫 정보' 영역 숨김 */
.saolden-gallery-board .tl_srch {
    display: none !important;
}
/* 펫 도감 기존 제목 + 카테고리 숨김 */
.saolden-gallery-board .tl_srch,
.saolden-gallery-board .cnb_n_list {
    display: none !important;
}
/* OLDEN PET SEARCH */

.olden-pet-search {
    display: flex;
    width: 100%;
    max-width: 520px;
    margin-top: 22px;
}

.olden-pet-search input[type="text"] {
    box-sizing: border-box;
    flex: 1;
    height: 46px;
    padding: 0 17px;

    background: #fff;
    border: 1px solid #ddd5c9;
    border-right: 0;
    border-radius: 8px 0 0 8px;

    color: #333;
    font-size: 13px;
    outline: none;
}

.olden-pet-search input[type="text"]:focus {
    border-color: #b77b32;
}

.olden-pet-search button {
    width: 80px;
    height: 46px;

    background: #b77b32;
    border: 1px solid #b77b32;
    border-radius: 0 8px 8px 0;

    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.olden-pet-search button:hover {
    background: #9f6829;
}
@media (max-width: 768px) {

    /* 모바일에서 기존 사이드바 완전 제거 */
    #contents #sidebar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* 콘텐츠 영역의 기존 최소 높이 제거 */
    #contents,
    #contents > .cameron-row {
        height: auto !important;
        min-height: 0 !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}
@media (max-width: 768px) {
    .saolden-gallery-board .bd_tmb_lst {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
    }

    .saolden-gallery-board .bd_tmb_lst > li {
        padding: 10px 7px 12px !important;
    }

    .saolden-gallery-board ol.bd_tmb_lst > li > .tmb_wrp.ribbon_v {
        height: 125px !important;
        margin: 0 0 8px !important;
        padding: 6px !important;
    }

    .saolden-gallery-board ol.bd_tmb_lst > li > .tmb_wrp.ribbon_v > img.tmb {
        max-width: 100% !important;
        max-height: 110px !important;
    }

    .saolden-gallery-board .bd_tmb_lst > li > p {
        min-height: 32px !important;
        padding-top: 5px !important;
        font-size: 11px !important;
        line-height: 1.35 !important;
    }
}
/* ===== 펫 도감 모바일 최종 3열 강제 ===== */
@media screen and (max-width: 768px) {

    #content .saolden-gallery-board ol.bd_tmb_lst {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        column-gap: 8px !important;
        row-gap: 10px !important;

        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
    }

    #content .saolden-gallery-board ol.bd_tmb_lst > li {
        float: none !important;
        display: block !important;

        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;

        margin: 0 !important;
        box-sizing: border-box !important;
    }
}
/* 모바일 펫 도감 3열 최종 적용 */
@media screen and (max-width: 1000px) {
    #content .saolden-gallery-board .bd_tmb_lst {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}
/* ========================================
   OLDEN MEMBER MENU - FINAL
======================================== */
/* GAME GUIDE 로그인 영역 */

.olden-guide-member {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;

    margin-top: 15px;
}

.olden-guide-member-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 32px;
    padding: 0 16px;

    background: #fff;
    border: 1px solid #ddd4c7;
    border-radius: 16px;

    color: #555 !important;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none !important;

    transition: .2s ease;
}

.olden-guide-member-btn:hover {
    border-color: #bd7d2c;
    color: #bd7d2c !important;
}

.olden-guide-admin-btn {
    background: #bd7d2c;
    border-color: #bd7d2c;
    color: #fff !important;
}

.olden-guide-admin-btn:hover {
    background: #a96d25;
    color: #fff !important;
}
/* =========================================
   주술 자료 - 번호 / 제목만 표시
   ========================================= */

/* 작성자 / 날짜 / 조회수 / 체크박스 숨김 */
#bd_116_0 table.bd_lst th:nth-child(n+3),
#bd_116_0 table.bd_lst td:nth-child(n+3) {
    display: none !important;
}

/* 번호 */
#bd_116_0 table.bd_lst th:nth-child(1),
#bd_116_0 table.bd_lst td:nth-child(1) {
    width: 90px !important;
    text-align: center !important;
}

/* 제목 */
#bd_116_0 table.bd_lst th:nth-child(2),
#bd_116_0 table.bd_lst td:nth-child(2) {
    width: auto !important;
}