:root {
    --pb-container: 1180px;
    --pb-border: rgba(15, 23, 42, .1);
    --pb-soft: color-mix(in srgb, var(--pb-primary) 8%, var(--pb-surface));
    --pb-radius: 16px;
    --pb-shadow: 0 18px 45px rgba(15, 23, 42, .08);
    --pb-subscribe-font: "Pretendard", "Malgun Gothic", sans-serif
}

* {
    box-sizing: border-box
}

.pb-theme {
    margin: 0;
    background: var(--pb-bg);
    color: var(--pb-text);
    line-height: 1.6
}

.pb-theme a {
    color: inherit;
    text-decoration: none
}

.pb-theme button,
.pb-theme input {
    font: inherit
}

.pb-theme img {
    max-width: 100%;
    height: auto
}

.pb-container {
    width: min(calc(100% - 48px), var(--pb-container, 1180px));
    margin: 0 auto
}

.sound_only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important
}

.pb-skip {
    position: fixed;
    z-index: 9999;
    left: 16px;
    top: -100px;
    padding: 10px 14px;
    background: var(--pb-primary);
    color: #fff;
    border-radius: 8px
}

.pb-skip:focus {
    top: 16px
}

.pb-header {
    background: #fff;
    border-bottom: 1px solid rgba(15, 23, 42, .08)
}

.pb-header-top {
    border-bottom: 1px solid rgba(15, 23, 42, .06);
    background: #fff;
    color: var(--pb-muted);
    font-size: 12px
}

.pb-header-top-inner {
    min-height: 34px;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.pb-header-top p {
    margin: 0
}

.pb-header-top nav {
    display: flex;
    gap: 16px
}

/* 메뉴바 크기 설정 */
.pb-header-main {
    display: flex;
    align-items: center;
    min-height: 80px;
    gap: 60px
}

.pb-brand {
    align-items: center;
    flex: none;
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -.05em;
    white-space: nowrap
}

/* 로고 크기 조정 */
.pb-brand img {
    max-height: 70px;
    width: auto
}

.pb-mobile-menu-toggle,
.pb-mobile-drawer {
    display: none
}

.pb-desktop-nav {
    flex: 1;
    min-width: 0
}

/* 메뉴 너비 설정 */
.pb-desktop-nav>ul {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none
}

.pb-desktop-nav>ul>li {
    position: relative
}

/* PC 주 메뉴 시스템 한글 서체 고정. */
.pb-desktop-nav>ul>li>a {
    display: block;
    padding: 0;
    color: #111827;
    font-family: "Malgun Gothic", "맑은 고딕", Arial, sans-serif;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.06em;
    white-space: nowrap;
    font-synthesis: none
}

.pb-desktop-nav>ul>li>a:hover {
    color: var(--pb-primary)
}

.pb-submenu {
    position: absolute;
    z-index: 50;
    left: -14px;
    top: calc(100% + 10px);
    display: none;
    min-width: 190px;
    margin: 0;
    padding: 10px;
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--pb-shadow);
    list-style: none
}

/* PC 서브메뉴 hover 유지 */
.pb-desktop-nav>ul>li.has-sub::after {
    position: absolute;
    left: -14px;
    top: 100%;
    display: none;
    width: calc(100% + 28px);
    height: 14px;
    content: ""
}

.pb-desktop-nav>ul>li.has-sub:hover::after,
.pb-desktop-nav>ul>li.has-sub:focus-within::after {
    display: block
}

.pb-desktop-nav li:hover>.pb-submenu,
.pb-desktop-nav li:focus-within>.pb-submenu,
.pb-submenu:hover {
    display: block
}

.pb-submenu a {
    display: block;
    padding: 9px 12px;
    border-radius: 10px;
    color: #334155;
    font-size: 13px;
    white-space: nowrap
}

.pb-submenu a:hover {
    background: #f8f5ff;
    color: var(--pb-primary)
}

.pb-search {
    display: none
}

/* 검색창을 메뉴 아래가 아닌 화면 중앙 팝업으로 표시합니다. */
.pb-search.is-open {
    position: fixed;
    z-index: 9999;
    top: 50%;
    left: 50%;
    display: block;
    width: min(calc(100% - 32px), 560px);
    padding: 24px;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .28);
    transform: translate(-50%, -50%);
}

/* 검색 팝업이 열릴 때 본문과 윙 배너보다 위에 어두운 배경을 표시합니다. */
.pb-search.is-open::before {
    position: fixed;
    z-index: -1;
    inset: -100vmax;
    content: "";
    background: rgba(15, 23, 42, .48);
}

.pb-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: none;
}

/* 검색 → 스크랩 → 쪽지 아이콘 */
.pb-header-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #0f2347;
    font-size: 17px;
    line-height: 1;
    transition: color .18s ease, transform .18s ease;
}

.pb-header-icon i {
    line-height: 1;
}

/* 호버 시 배경 없이 아이콘만 2px 위로 이동 */
.pb-header-icon:hover,
.pb-header-icon:focus-visible {
    background: transparent;
    color: #6d42e8;
    outline: 0;
    transform: translateY(-2px);
}

/* 호버 시 아이콘 이름만 출력 */
.pb-header-icon::after {
    position: absolute;
    left: 50%;
    top: calc(100% + 3px);
    content: attr(data-label);
    color: #475467;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%);
    transition: opacity .18s ease;
}

.pb-header-icon:hover::after,
.pb-header-icon:focus-visible::after {
    opacity: 1;
}

.pb-header-badge {
    position: absolute;
    top: 1px;
    right: -2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #f05278;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
}

.pb-header-member {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    flex: 0 0 auto;
    white-space: nowrap;
}

.pb-header-member-name {
    color: #20263a;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.pb-header-member-point {
    display: inline-block;
    color: #9823f5 !important;
    -webkit-text-fill-color: #9823f5 !important;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.pb-header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.pb-header-btn:hover {
    transform: translateY(-1px);
}

/* 로그인 버튼 : 평소에도 흰색 글자, 호버 시 배경만 밝게 */
a.pb-header-btn.pb-header-btn-dark,
a.pb-header-btn.pb-header-btn-dark:visited {
    border: 1px solid #6746df !important;
    background: linear-gradient(135deg, #7548df 0%, #554fd8 100%) !important;
    color: #ffffff !important;
}

a.pb-header-btn.pb-header-btn-dark:hover,
a.pb-header-btn.pb-header-btn-dark:focus,
a.pb-header-btn.pb-header-btn-dark:focus-visible {
    border-color: #7d5ce8 !important;
    background: linear-gradient(135deg, #8a62ed 0%, #6965e7 100%) !important;
    color: #ffffff !important;
    outline: 0;
}

a.pb-header-btn.pb-header-btn-dark:active {
    background: linear-gradient(135deg, #6440ca 0%, #4743bd 100%) !important;
    color: #ffffff !important;
}

.pb-header-btn-light {
    border: 1px solid #cfc8f8;
    background: #fff;
    color: #18203b;
}

.pb-header-btn-light:hover {
    border-color: #875ff0;
    background: #fff;
    color: #6d42e8;
}

.pb-header-btn-light i {
    font-size: 16px;
}

/* 본문 내용 다음에 푸터 배치. */
.pb-main {
    min-height: 0
}

/* PC 메인 페이지 본문 하단 여백. */
.pb-content-wrap {
    padding-top: 10px;
    padding-bottom: 40px
}

.pb-page-title {
    margin: 0 0 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--pb-border)
}

.pb-page-title h1 {
    margin: 0;
    font-size: 28px;
    letter-spacing: -1px
}

.pb-hero {
    min-height: 340px;
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 30px;
    align-items: stretch;
    padding: 54px clamp(28px, 6vw, 82px);
    border-radius: 24px;
    background: linear-gradient(135deg, var(--pb-secondary), color-mix(in srgb, var(--pb-primary) 65%, var(--pb-secondary)));
    color: #fff;
    overflow: hidden
}

.pb-hero-copy {
    align-self: center;
    max-width: 650px
}

.pb-eyebrow {
    margin: 0 0 12px;
    color: var(--pb-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em
}

.pb-hero .pb-eyebrow {
    color: rgba(255, 255, 255, .66)
}

.pb-hero h1 {
    margin: 0;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.16;
    letter-spacing: -2px
}

.pb-hero-copy>p:not(.pb-eyebrow) {
    max-width: 500px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .76);
    font-size: 16px
}

.pb-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 28px
}

.pb-btn-primary,
.pb-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 17px;
    border-radius: var(--pb-button-radius, 10px);
    font-size: 14px;
    font-weight: 700
}

.pb-btn-primary {
    background: var(--pb-primary);
    color: #fff
}

.pb-hero .pb-btn-primary {
    background: #fff;
    color: var(--pb-secondary)
}

.pb-btn-secondary {
    border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
    background: transparent
}

.pb-hero .pb-btn-secondary {
    color: #fff
}

.pb-hero-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background: rgba(255, 255, 255, .06);
    font-size: 12px;
    letter-spacing: .18em;
    gap: 8px
}

.pb-hero-panel strong {
    font-size: clamp(74px, 10vw, 130px);
    line-height: .9;
    letter-spacing: -.12em
}

/* 일반 섹션끼리의 간격은 유지하고,
   index.php에서 첫 번째 QUICK LINK 영역만 헤더 아래에 가깝게 표시합니다. */
.pb-section {
    margin-top: 40px
}

/* 첫 번째 메인 섹션만 별도 제어하여 QUICK LINK 위 빈 공간을 줄입니다. */
#pb-main>.pb-content-wrap>.pb-section:first-child {
    margin-top: 30px;
}

.pb-section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 22px
}

.pb-section-heading h2 {
    margin: 0;
    font-size: 26px;
    letter-spacing: -1px
}

.pb-section-heading>p {
    margin: 0;
    color: var(--pb-muted);
    font-size: 14px
}

.pb-latest-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px
}

.pb-latest-card,
.pb-empty-card {
    min-height: 200px;
    padding: 22px;
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius);
    background: var(--pb-surface);
    box-shadow: 0 4px 14px rgba(15, 23, 42, .025)
}

.pb-latest-card .lt {
    margin: 0
}

.pb-latest-card .lt_title {
    display: block;
    margin: 0 0 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--pb-border);
    font-size: 16px;
    font-weight: 800
}

.pb-latest-card .lt ul {
    margin: 0;
    padding: 0;
    list-style: none
}

.pb-latest-card .lt li {
    overflow: hidden;
    padding: 6px 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--pb-muted);
    font-size: 13px
}

.pb-latest-card .lt li a {
    color: var(--pb-text)
}

.pb-latest-card .lt .lt_date {
    float: right;
    color: var(--pb-muted);
    font-size: 11px
}

.pb-empty-card {
    display: flex;
    flex-direction: column;
    justify-content: center
}

.pb-empty-card p {
    margin: 8px 0 0;
    color: var(--pb-muted);
    font-size: 14px
}

.pb-intro-section {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px
}

.pb-intro-card {
    padding: 26px;
    border-radius: var(--pb-radius);
    background: var(--pb-surface);
    border: 1px solid var(--pb-border)
}

.pb-intro-card span {
    display: block;
    color: var(--pb-primary);
    font-size: 13px;
    font-weight: 800
}

.pb-intro-card h2 {
    margin: 10px 0 9px;
    font-size: 20px
}

.pb-intro-card p {
    margin: 0;
    color: var(--pb-muted);
    font-size: 14px
}

.pb-footer {
    padding: 42px 0;
    background: var(--pb-secondary);
    color: #fff
}

.pb-footer-inner {
    display: grid;
    grid-template-columns: 1.2fr auto;
    gap: 22px
}

.pb-footer-brand strong {
    font-size: 18px
}

.pb-footer-brand p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .62);
    font-size: 13px
}

.pb-footer-links {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 18px;
    color: rgba(255, 255, 255, .8);
    font-size: 13px
}

.pb-copyright {
    grid-column: 1/-1;
    margin: 6px 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .13);
    color: rgba(255, 255, 255, .48);
    font-size: 12px
}

.pb-top-button {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 30;
    width: 44px;
    height: 44px;
    border: 1px solid var(--pb-border);
    border-radius: 50%;
    background: var(--pb-surface);
    color: var(--pb-text);
    box-shadow: var(--pb-shadow);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .18s ease
}

.pb-top-button.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.pb-theme-dark {
    --pb-border: rgba(255, 255, 255, .12);
    --pb-shadow: 0 18px 45px rgba(0, 0, 0, .22)
}

@media(max-width:1180px) {
    .pb-header-main {
        gap: 22px
    }

    .pb-desktop-nav>ul {
        gap: 18px
    }

    .pb-desktop-nav>ul>li>a {
        font-size: 15px
    }

    .pb-header-member {
        display: none
    }

    .pb-latest-grid {
        grid-template-columns: 1fr 1fr
    }

    .pb-latest-card:last-child {
        grid-column: 1/-1
    }

    .pb-hero {
        grid-template-columns: 1fr .45fr
    }
}

@media(max-width:700px) {
    .pb-header {
        display: block
    }

    .pb-header-top {
        display: none
    }

    .pb-header-main {
        min-height: 60px;
        gap: 12px
    }

    .pb-mobile-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
        padding: 0;
        border: 0;
        border-radius: 8px;
        background: #f4f6fb;
        color: #0f2347;
        font-size: 18px;
        transition: background .14s ease, color .14s ease, transform .14s ease
    }

    /* 모바일 햄버거 버튼 터치 효과 */
    .pb-mobile-menu-toggle:active,
    .pb-mobile-menu-toggle:focus-visible {
        background: #e8edf6;
        color: #6d42e8;
        outline: 0;
        transform: scale(.92)
    }

    .pb-brand {
        min-width: 0;
        max-width: calc(100% - 108px);
        overflow: hidden;
        font-size: 17px;
        letter-spacing: 0;
        text-overflow: ellipsis
    }

    .pb-brand img {
        max-width: 148px;
        max-height: 40px;
        object-fit: contain
    }

    .pb-desktop-nav,
    .pb-header-actions .pb-header-member,
    .pb-header-actions .pb-header-btn,
    .pb-header-actions .pb-header-login-guide {
        display: none
    }

    .pb-header-actions {
        gap: 2px
    }

    .pb-header-icon {
        width: 36px;
        height: 36px
    }

    body.pb-menu-open {
        overflow: hidden
    }

    .pb-mobile-drawer {
        position: fixed;
        z-index: 1000;
        inset: 0;
        display: block;
        width: 100%;
        height: 100dvh;
        padding: 0 16px 36px;
        background: #fff;
        overflow-y: auto;
        pointer-events: none;
        visibility: hidden;
        transform: translateX(-100%);
        transition: transform .3s cubic-bezier(.22, .61, .36, 1), visibility 0s linear .3s;
        will-change: transform
    }

    /* 모바일 메뉴 페이지 전환 */
    .pb-mobile-drawer.is-open {
        pointer-events: auto;
        visibility: visible;
        transform: translateX(0);
        transition: transform .3s cubic-bezier(.22, .61, .36, 1), visibility 0s
    }

    .pb-mobile-drawer[hidden] {
        display: none
    }

    .pb-mobile-drawer-head {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        min-height: 70px;
        padding: 18px 10px 0
    }

    .pb-mobile-drawer-head strong {
        display: none
    }

    .pb-mobile-drawer-head button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: 0;
        background: transparent;
        color: #1f2937;
        font-size: 24px;
        font-weight: 300;
        line-height: 1;
        transition: color .14s ease, transform .14s ease
    }

    /* 모바일 닫기 X 얇게 표시 */
    .pb-mobile-drawer-head button span {
        display: block;
        font-family: Arial, sans-serif;
        font-size: 30px;
        font-weight: 300;
        line-height: 1
    }

    /* 모바일 닫기 버튼 터치 효과 */
    .pb-mobile-drawer-head button:active {
        color: #6d42e8;
        transform: scale(.92)
    }

    .pb-mobile-drawer-profile {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0 0 34px;
        border-bottom: 1px solid #f1f2f4;
        text-align: center
    }

    .pb-mobile-drawer-profile>strong {
        display: block;
        margin: 4px 0 22px;
        color: #111;
        font-size: 25px;
        font-weight: 700;
        line-height: 1.1
    }

    .pb-mobile-drawer-avatar {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 80px;
        height: 80px;
        margin-bottom: 24px;
        overflow: hidden;
        border-radius: 22px;
        background: #e7e7e7;
        color: #fff;
        font-size: 44px
    }

    /* 모바일 메뉴 회원아바타 80x80 표시 */
    .pb-mobile-drawer-avatar img,
    .pb-mobile-drawer-avatar .profile_img img {
        display: block;
        width: 80px !important;
        height: 80px !important;
        max-width: none !important;
        border-radius: 22px;
        object-fit: cover
    }

    /* 모바일 메뉴 회원아바타 기본 감싸기 정리 */
    .pb-mobile-drawer-avatar .profile_img {
        display: block;
        width: 80px;
        height: 80px
    }

    .pb-mobile-drawer-auth {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px
    }

    .pb-mobile-drawer-auth a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 104px;
        height: 50px;
        padding: 0 20px;
        border: 1px solid #151515;
        border-radius: 999px;
        background: #fff;
        color: #111;
        font-size: 16px;
        font-weight: 800;
        text-decoration: none;
        white-space: nowrap
    }

    .pb-mobile-drawer-auth a.is-dark {
        border-color: #272a2f;
        background: #272a2f;
        color: #fff
    }

    .pb-mobile-drawer nav {
        padding: 18px 16px 0
    }

    .pb-mobile-drawer nav ul {
        margin: 0;
        padding: 0;
        list-style: none
    }

    .pb-mobile-drawer nav>ul>li {
        border-bottom: 1px solid #edf0f3
    }

    .pb-mobile-drawer nav>ul>li>a,
    .pb-mobile-drawer .pb-mobile-menu-parent {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 74px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #050505;
        font-size: 19px;
        font-weight: 600;
        line-height: 1.25;
        text-align: left;
        text-decoration: none
    }

    /* 모바일 서브메뉴 버튼 */
    .pb-mobile-drawer .pb-mobile-menu-parent i {
        flex: 0 0 auto;
        color: #050505;
        font-size: 22px;
        transition: transform .16s ease
    }

    /* 모바일 서브메뉴 펼침 표시 */
    .pb-mobile-drawer nav>ul>li.is-open>.pb-mobile-menu-parent i {
        transform: rotate(180deg)
    }

    .pb-mobile-drawer nav>ul>li>ul {
        display: none;
        padding: 0 0 14px 14px
    }

    /* 모바일 서브메뉴 펼침 */
    .pb-mobile-drawer nav>ul>li.is-open>ul {
        display: block
    }

    .pb-mobile-drawer nav>ul>li>ul a {
        display: block;
        padding: 8px 0;
        color: #475467;
        font-size: 15px;
        font-weight: 700;
        text-decoration: none
    }

    .pb-container {
        width: min(calc(100% - 32px), var(--pb-container))
    }

    /* 모바일 메인 페이지 본문 하단 여백. */
    .pb-content-wrap {
        padding-top: 6px;
        padding-bottom: 40px
    }

    /* 모바일 게시판 목록에서는 공통 본문 상단 여백을 제거해
        메뉴 바로 아래에서 게시판 제목이 시작되게 합니다. */
    #pb-main>.pb-content-wrap:has(#bo_list.pb-board-list) {
        padding-top: 0 !important;
    }

    .pb-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 36px 26px;
        border-radius: 18px
    }

    .pb-hero-panel {
        display: none
    }

    /* 모바일에서도 일반 섹션 간격은 유지합니다. */
    .pb-section {
        margin-top: 46px
    }

    /* 모바일 첫 QUICK LINK 영역은 메뉴 아래 최소 여백만 사용합니다. */
    #pb-main>.pb-content-wrap>.pb-section:first-child {
        margin-top: 20px;
    }

    .pb-section-heading {
        display: block
    }

    .pb-section-heading>p {
        margin-top: 8px
    }

    .pb-latest-grid,
    .pb-intro-section {
        grid-template-columns: 1fr
    }

    .pb-latest-card:last-child {
        grid-column: auto
    }

    .pb-footer-inner {
        grid-template-columns: 1fr
    }

    .pb-footer-links {
        justify-content: flex-start;
        flex-wrap: wrap
    }

    .pb-page-title h1 {
        font-size: 24px
    }

    .pb-top-button {
        right: 16px;
        bottom: 16px
    }
}

.pb-quick-link-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px
}

.pb-quick-link-card {
    position: relative;
    display: block;
    min-height: 168px;
    padding: 24px;
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius);
    background: var(--pb-surface);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease
}

.pb-quick-link-card:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--pb-primary) 45%, var(--pb-border));
    box-shadow: var(--pb-shadow)
}

.pb-quick-link-card>.pb-quick-link-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 16px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--pb-primary) 10%, var(--pb-surface));
    color: var(--pb-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em
}

.pb-quick-link-card>.pb-quick-link-mark i {
    position: static;
    font-size: 15px;
    color: inherit
}

.pb-quick-link-card strong {
    display: block;
    font-size: 18px;
    letter-spacing: -.6px
}

.pb-quick-link-card p {
    margin: 7px 28px 0 0;
    color: var(--pb-muted);
    font-size: 13px
}

.pb-quick-link-card .pb-quick-link-arrow {
    position: absolute;
    right: 22px;
    bottom: 22px;
    color: var(--pb-primary)
}

.pb-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px
}

.pb-gallery-card {
    min-height: 190px;
    padding: 22px;
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius);
    background: var(--pb-surface);
    box-shadow: 0 4px 14px rgba(15, 23, 42, .025)
}

.pb-gallery-card .lt {
    margin: 0
}

.pb-gallery-card .lt_title {
    display: block;
    margin: 0 0 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--pb-border);
    font-size: 16px;
    font-weight: 800
}

.pb-gallery-card .lt ul {
    margin: 0;
    padding: 0;
    list-style: none
}

.pb-gallery-card .lt li {
    padding: 6px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--pb-muted);
    font-size: 13px
}

.pb-gallery-card .lt li a {
    color: var(--pb-text)
}

.pb-gallery-card .lt .lt_date {
    float: right;
    color: var(--pb-muted);
    font-size: 11px
}

.pb-banner-ready {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px 32px;
    border: 1px dashed color-mix(in srgb, var(--pb-primary) 48%, var(--pb-border));
    border-radius: var(--pb-radius);
    background: color-mix(in srgb, var(--pb-primary) 5%, var(--pb-surface))
}

.pb-banner-ready>span {
    padding: 5px 8px;
    border-radius: 6px;
    background: var(--pb-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em
}

.pb-banner-ready strong {
    display: block;
    font-size: 18px
}

.pb-banner-ready p {
    margin: 3px 0 0;
    color: var(--pb-muted);
    font-size: 13px
}

.pb-banner-ready i {
    margin-left: auto;
    color: var(--pb-primary);
    font-size: 25px
}

@media(max-width:960px) {

    .pb-quick-link-grid,
    .pb-gallery-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:700px) {

    .pb-quick-link-grid,
    .pb-gallery-grid {
        grid-template-columns: 1fr
    }

    .pb-banner-ready {
        align-items: flex-start;
        padding: 22px
    }

    .pb-banner-ready i {
        display: none
    }
}


/* P Builder banner manager */
.pb-banner-section {
    margin-bottom: 32px
}

.pb-banner-stack {
    display: grid;
    gap: 14px
}

.pb-banner-item {
    display: block;
    overflow: hidden;
    border: 0 solid rgba(148, 163, 184, .24);
    border-radius: 14px;
    background: var(--pb-surface);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .07)
}

.pb-banner-item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .2s ease
}

.pb-banner-item:hover img {
    transform: scale(1.012)
}

/* 좌측,우측 윙 배너는 본문 컨테이너 바깥 여백에 고정합니다.
 * 넓은 PC 화면에서만 표시하여 본문을 가리거나 가로 스크롤이 생기지 않게 합니다.
 * 배너 자체의 너비·높이·이미지 맞춤은 관리자에서 저장한 값이 우선 적용됩니다.
 */
.pb-wing-banner {
    position: fixed;
    z-index: 60;
    top: 120px;
    width: min(180px, calc((100vw - var(--pb-container)) / 2 - 32px));
    max-height: calc(100vh - 128px);
    overflow-y: auto;
    display: grid;
    gap: 12px;
    scrollbar-width: none;
}

.pb-wing-banner::-webkit-scrollbar {
    display: none;
}

.pb-wing-banner-left {
    left: max(16px, calc(50% - (var(--pb-container) / 2) - 212px));
}

.pb-wing-banner-right {
    right: max(16px, calc(50% - (var(--pb-container) / 2) - 212px));
}

.pb-wing-banner .pb-banner-item {
    width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .10);
}

/* 화면 여백이 충분하지 않거나 모바일인 경우 윙 배너를 숨깁니다.
 * 이 조건에서는 메인 콘텐츠의 폭과 클릭 영역을 우선으로 유지합니다.
 */
@media (max-width: 1699px) {
    .pb-wing-banner {
        display: none !important;
    }
}

.pb-banner-ready {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    border: 1px dashed rgba(99, 102, 241, .45);
    border-radius: 14px;
    background: var(--pb-surface)
}

.pb-banner-ready>span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--pb-primary)
}

.pb-banner-ready>div {
    flex: 1
}

.pb-banner-ready strong {
    display: block;
    font-size: 17px
}

.pb-banner-ready p {
    margin: 4px 0 0;
    color: var(--pb-muted)
}

@media(max-width:767px) {
    .pb-banner-stack {
        gap: 10px
    }

    .pb-banner-stack,
    .pb-banner-slot {
        min-width: 0;
        max-width: 100%;
        overflow-x: hidden
    }

    .pb-banner-item {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 10px
    }

    .pb-banner-item picture,
    .pb-banner-item a,
    .pb-banner-slot picture,
    .pb-banner-slot a {
        display: block;
        width: 100%;
        max-width: 100%
    }

    .pb-banner-item img,
    .pb-banner-slot img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important
    }

    .pb-banner-ready {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px
    }
}


/* P Builder sub page visual */
.pb-subpage-visual {
    position: relative;
    overflow: hidden;
    margin: 0 0 34px;
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius);
    background: var(--pb-surface)
}

.pb-subpage-inner {
    position: relative;
    max-width: var(--pb-container);
    margin: 0 auto;
    padding: 34px 38px
}

.pb-subpage-visual-banner {
    min-height: 218px;
    display: flex;
    align-items: center;
    background: linear-gradient(118deg, var(--pb-secondary), color-mix(in srgb, var(--pb-primary) 56%, var(--pb-secondary)));
    background-size: cover;
    background-position: center;
    color: #fff;
    border: 0
}

.pb-subpage-visual-banner:before {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    right: -110px;
    top: -170px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(255, 255, 255, .04), 0 0 0 84px rgba(255, 255, 255, .025)
}

.pb-subpage-visual-simple {
    background: var(--pb-surface)
}

.pb-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 13px;
    color: var(--pb-muted);
    font-size: 12px
}

.pb-breadcrumb a {
    color: inherit
}

.pb-breadcrumb i {
    opacity: .62
}

.pb-subpage-visual-banner .pb-breadcrumb {
    color: rgba(255, 255, 255, .65)
}

.pb-subpage-eyebrow {
    margin: 0 0 9px;
    color: var(--pb-primary);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: .14em
}

.pb-subpage-visual-banner .pb-subpage-eyebrow {
    color: rgba(255, 255, 255, .68)
}

.pb-subpage-visual h1 {
    position: relative;
    margin: 0;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.2;
    letter-spacing: -1.6px
}

.pb-subpage-description {
    position: relative;
    max-width: 650px;
    margin: 12px 0 0;
    color: var(--pb-muted);
    font-size: 15px
}

.pb-subpage-visual-banner .pb-subpage-description {
    color: rgba(255, 255, 255, .75)
}

@media(max-width:700px) {
    .pb-subpage-visual {
        margin-bottom: 24px;
        border-radius: 14px
    }

    .pb-subpage-inner {
        padding: 27px 23px
    }

    .pb-subpage-visual-banner {
        min-height: 190px
    }

    .pb-subpage-visual h1 {
        font-size: 28px
    }

    .pb-subpage-description {
        font-size: 14px
    }

    .pb-page-title {
        margin-bottom: 22px
    }
}

/* P Builder 2.1.0 footer management */
.pb-footer-company {
    margin-top: 14px;
    color: rgba(255, 255, 255, .54);
    font-size: 12px;
    line-height: 1.75
}

.pb-footer-links a {
    transition: color .16s ease
}

.pb-footer-links a:hover {
    color: #fff
}

/* P Builder 2.2.0 content pages */
.pb-static-page {
    max-width: 920px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 52px);
    border: 1px solid var(--pb-border);
    border-radius: var(--pb-radius);
    background: var(--pb-surface);
    box-shadow: var(--pb-shadow)
}

.pb-static-page-body {
    color: var(--pb-text);
    font-size: 15px;
    line-height: 1.9;
    word-break: break-word
}

.pb-static-page-body p {
    margin: 0 0 1.25em
}

.pb-static-page-empty {
    margin: 0;
    padding: 20px;
    border: 1px dashed var(--pb-border);
    border-radius: 12px;
    background: color-mix(in srgb, var(--pb-primary) 4%, var(--pb-surface));
    color: var(--pb-muted);
    font-size: 14px
}

.pb-static-page-admin {
    display: inline-flex;
    margin-top: 18px;
    color: var(--pb-primary);
    font-weight: 700;
    font-size: 13px
}

@media(max-width:700px) {
    .pb-static-page {
        padding: 24px 20px;
        border-radius: 14px
    }

    .pb-static-page-body {
        font-size: 14px
    }
}


/* P Builder 2.3.0 main visual slides */
.pb-main-visual {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    background: var(--pb-secondary);
    color: #fff
}

.pb-main-visual-track,
.pb-main-visual-slide {
    position: relative;
    min-height: 520px
}

.pb-main-visual-slide {
    display: none;
    isolation: isolate
}

.pb-main-visual-slide.is-active {
    display: block;
    animation: pbVisualFade .42s ease
}

.pb-main-visual-image,
.pb-main-visual-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block
}

.pb-main-visual-image img {
    object-fit: cover
}

.pb-main-visual-shade {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 15, 35, .72) 0%, rgba(8, 15, 35, .43) 52%, rgba(8, 15, 35, .12) 100%)
}

.pb-main-visual-overlay-light .pb-main-visual-shade {
    background: linear-gradient(90deg, rgba(255, 255, 255, .88) 0%, rgba(255, 255, 255, .56) 55%, rgba(255, 255, 255, .1) 100%)
}

.pb-main-visual-overlay-light {
    color: #172033
}

.pb-main-visual-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: min(calc(100% - 64px), var(--pb-container));
    min-height: 520px;
    margin: 0 auto;
    padding: 66px 0;
    max-width: var(--pb-container)
}

.pb-main-visual .pb-eyebrow {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, .75)
}

.pb-main-visual-overlay-light .pb-eyebrow {
    color: var(--pb-primary)
}

.pb-main-visual h1 {
    max-width: 700px;
    margin: 0;
    font-size: clamp(38px, 4vw, 64px);
    line-height: 1.13;
    letter-spacing: -2.4px
}

.pb-main-visual-description {
    max-width: 590px;
    margin: 18px 0 26px;
    color: rgba(255, 255, 255, .84);
    font-size: 17px;
    line-height: 1.7
}

.pb-main-visual-overlay-light .pb-main-visual-description {
    color: #475467
}

.pb-visual-arrow {
    position: absolute;
    z-index: 4;
    top: 50%;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 50%;
    background: rgba(15, 23, 42, .28);
    color: #fff;
    transform: translateY(-50%);
    font-size: 25px;
    cursor: pointer
}

.pb-main-visual-overlay-light~.pb-visual-arrow {
    color: #172033
}

.pb-visual-arrow-prev {
    left: 28px
}

.pb-visual-arrow-next {
    right: 28px
}

.pb-visual-dots {
    position: absolute;
    z-index: 4;
    bottom: 28px;
    left: 50%;
    display: flex;
    gap: 8px;
    transform: translateX(-50%)
}

.pb-visual-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    cursor: pointer
}

.pb-visual-dots button.is-active {
    width: 26px;
    border-radius: 8px;
    background: #fff
}

@keyframes pbVisualFade {
    from {
        opacity: .2
    }

    to {
        opacity: 1
    }
}

@media(max-width:700px) {

    .pb-main-visual,
    .pb-main-visual-track,
    .pb-main-visual-slide {
        min-height: 430px
    }

    .pb-main-visual-inner {
        width: min(calc(100% - 40px), var(--pb-container));
        min-height: 430px;
        padding: 48px 0
    }

    .pb-main-visual h1 {
        font-size: 36px;
        letter-spacing: -1.5px
    }

    .pb-main-visual-description {
        font-size: 14px
    }

    .pb-visual-arrow {
        display: none
    }

    .pb-visual-dots {
        bottom: 18px
    }
}


/* P Builder 2.6.0 header management */
.pb-header-notice {
    background: var(--pb-primary);
    color: #fff
}

.pb-header-notice>div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    font-size: 13px;
    font-weight: 700
}

.pb-header-notice a {
    max-width: min(90%, 920px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: inherit
}

.pb-header-notice i {
    opacity: .9
}

.pb-header-sticky {
    position: sticky;
    top: 0;
    z-index: 70
}

.pb-header-notice-mobile {
    display: none
}

@media(max-width:700px) {
    .pb-header-notice-pc {
        display: none
    }

    .pb-header-notice-mobile {
        display: block
    }

    .pb-header-notice-mobile>div {
        width: calc(100% - 32px);
        margin: 0 auto;
        min-height: 34px;
        font-size: 12px
    }

    .pb-header-notice-mobile a {
        max-width: calc(100% - 24px)
    }
}


/* P 빌더 게시판 그룹 메인 노출 */
.pb-group-home-section {
    margin-top: 32px
}

.pb-group-home-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px
}

.pb-group-home-card {
    overflow: hidden;
    border: 1px solid var(--pb-border, #e4e7ec);
    border-radius: 16px;
    background: var(--pb-surface, #fff);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05)
}

.pb-group-home-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 19px 20px;
    border-bottom: 1px solid var(--pb-border, #e4e7ec);
    background: linear-gradient(135deg, rgba(79, 70, 229, .08), rgba(255, 255, 255, 0))
}

.pb-group-home-card-head span {
    display: block;
    color: var(--pb-primary, #4f46e5);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em
}

.pb-group-home-card-head h3 {
    margin: 4px 0 0;
    color: var(--pb-text, #1f2937);
    font-size: 19px
}

.pb-group-home-card-head>a {
    color: var(--pb-primary, #4f46e5);
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap
}

.pb-group-home-board-list {
    display: grid;
    gap: 18px;
    padding: 20px
}

.pb-group-home-board+.pb-group-home-board {
    padding-top: 18px;
    border-top: 1px solid var(--pb-border, #e4e7ec)
}

.pb-group-home-board-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 7px
}

.pb-group-home-board-title strong {
    color: var(--pb-text, #1f2937);
    font-size: 15px
}

.pb-group-home-board-title a {
    color: var(--pb-muted, #667085);
    font-size: 12px;
    text-decoration: none
}

.pb-group-home-latest .lt {
    margin: 0
}

.pb-group-home-latest .lt_title {
    display: none
}

.pb-group-home-latest .lt ul {
    margin: 0;
    padding: 0;
    list-style: none
}

.pb-group-home-latest .lt li {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 0;
    border: 0
}

.pb-group-home-latest .lt a {
    overflow: hidden;
    max-width: 100%;
    color: var(--pb-text, #344054);
    text-overflow: ellipsis;
    white-space: nowrap;
    text-decoration: none
}

.pb-group-home-latest .lt .lt_date {
    margin-left: auto;
    color: var(--pb-muted, #98a2b3);
    font-size: 11px;
    white-space: nowrap
}

@media(max-width:900px) {
    .pb-group-home-grid {
        grid-template-columns: 1fr
    }
}


/* P Builder 4.5.0 운영 알림 바 */
.pb-notice-bar {
    position: relative;
    z-index: 95;
    color: #fff
}

.pb-notice-bar[hidden] {
    display: none
}

.pb-notice-bar-primary {
    background: #4f46e5
}

.pb-notice-bar-info {
    background: #0f766e
}

.pb-notice-bar-warning {
    background: #b45309
}

.pb-notice-bar-danger {
    background: #b42318
}

.pb-notice-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 42px;
    padding-top: 5px;
    padding-bottom: 5px
}

.pb-notice-bar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
    text-align: center
}

.pb-notice-bar-content>span {
    min-width: 0
}

.pb-notice-bar-content a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border: 1px solid rgba(255, 255, 255, .43);
    border-radius: 6px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap
}

.pb-notice-bar-content a:hover {
    background: rgba(255, 255, 255, .13)
}

.pb-notice-bar-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: rgba(255, 255, 255, .13);
    color: #fff;
    cursor: pointer
}

.pb-notice-bar-close:hover {
    background: rgba(255, 255, 255, .24)
}

@media(max-width:700px) {
    .pb-notice-bar-inner {
        gap: 10px;
        min-height: 38px;
        width: calc(100% - 28px);
        padding-top: 5px;
        padding-bottom: 5px
    }

    .pb-notice-bar-content {
        justify-content: flex-start;
        font-size: 12px;
        text-align: left
    }

    .pb-notice-bar-content>i {
        flex: 0 0 auto
    }

    .pb-notice-bar-content a {
        padding: 2px 6px;
        font-size: 11px
    }

    .pb-notice-bar-close {
        width: 24px;
        height: 24px;
        flex-basis: 24px
    }

    .pb-notice-bar-content br {
        display: none
    }
}


/* 운영 알림 바 ann.png 아이콘 및 표시 복구 */
.pb-notice-bar {
    position: relative;
    z-index: 95;
    color: #fff
}

.pb-notice-bar[hidden] {
    display: none
}

.pb-notice-bar-primary {
    background: #4f46e5
}

.pb-notice-bar-info {
    background: #0f766e
}

.pb-notice-bar-warning {
    background: #b45309
}

.pb-notice-bar-danger {
    background: #b42318
}

.pb-notice-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: 42px;
    padding-top: 5px;
    padding-bottom: 5px
}

.pb-notice-bar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
    text-align: center
}

.pb-notice-bar-content>span:last-child {
    min-width: 0
}

.pb-notice-bar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    line-height: 1
}

.pb-notice-bar-icon img {
    display: block;
    width: 18px;
    height: 18px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain
}

.pb-notice-bar-content a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border: 1px solid rgba(255, 255, 255, .43);
    border-radius: 6px;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap
}

.pb-notice-bar-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    background: rgba(255, 255, 255, .13);
    color: #fff;
    cursor: pointer
}

@media(max-width:700px) {
    .pb-notice-bar-inner {
        gap: 10px;
        min-height: 38px;
        width: calc(100% - 28px);
        padding-top: 5px;
        padding-bottom: 5px
    }

    .pb-notice-bar-content {
        justify-content: flex-start;
        font-size: 12px;
        text-align: left
    }

    .pb-notice-bar-icon {
        width: 16px;
        height: 16px;
        flex-basis: 16px
    }

    .pb-notice-bar-icon img {
        width: 16px;
        height: 16px
    }

    .pb-notice-bar-content br {
        display: none
    }
}

/* 커뮤니티 라이트모드 - 로그인 버튼 강제 적용 */
.pb-header-actions a.pb-header-btn.pb-header-btn-dark,
.pb-header-actions a.pb-header-btn.pb-header-btn-dark:visited {
    border: 1px solid #6746df !important;
    background: linear-gradient(135deg, #7548df 0%, #554fd8 100%) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.pb-header-actions a.pb-header-btn.pb-header-btn-dark:hover,
.pb-header-actions a.pb-header-btn.pb-header-btn-dark:focus,
.pb-header-actions a.pb-header-btn.pb-header-btn-dark:focus-visible {
    border-color: #8a69ec !important;
    background: linear-gradient(135deg, #9169ef 0%, #706ce8 100%) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    outline: 0;
}

.pb-header-actions a.pb-header-btn.pb-header-btn-dark:active {
    border-color: #5738c5 !important;
    background: linear-gradient(135deg, #6440ca 0%, #4743bd 100%) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* =========================================================
   P Builder 커뮤니티 라이트 : 상단 통합검색 모달
   ========================================================= */

body.pb-search-modal-open {
    overflow: hidden;
}

.pb-header-search-open {
    appearance: none;
    cursor: pointer;
}

/* 전체 모달 */
.pb-search-modal {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.pb-search-modal.is-open {
    display: flex;
}

/* 반투명 배경 */
.pb-search-modal-dim {
    position: absolute;
    inset: 0;
    background: rgba(25, 29, 43, .38);
    backdrop-filter: blur(3px);
}

/* 팝업 본체 */
.pb-search-modal-panel {
    position: relative;
    z-index: 1;
    width: min(100%, 594px);
    overflow: hidden;
    border: 1px solid #ded9ef;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(31, 41, 55, .22);
    color: #27334b;
}

/* 상단 검색창 영역 */
.pb-search-modal-head {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) 38px;
    align-items: center;
    gap: 10px;
    min-height: 88px;
    padding: 18px 20px;
    border-bottom: 1px solid #edf0f5;
}

.pb-search-modal-head>strong {
    color: #6c43dc;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.5px;
}

.pb-search-modal-input-wrap {
    position: relative;
}

.pb-search-modal-input-wrap input {
    width: 100%;
    height: 48px;
    padding: 0 48px 0 15px;
    border: 1px solid #a58cf0;
    border-radius: 11px;
    outline: 0;
    background: #fbfaff;
    color: #27334b;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 0 0 3px rgba(116, 77, 223, .08);
}

.pb-search-modal-input-wrap input::placeholder {
    color: #9ca3b6;
}

.pb-search-modal-input-wrap input:focus {
    border-color: #744ddd;
    box-shadow: 0 0 0 4px rgba(116, 77, 223, .14);
}

.pb-search-modal-submit {
    position: absolute;
    top: 50%;
    right: 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #30405f;
    cursor: pointer;
    font-size: 19px;
    transform: translateY(-50%);
}

.pb-search-modal-submit:hover {
    color: #6c43dc;
}

.pb-search-modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #ddd9ed;
    border-radius: 10px;
    background: #fafaff;
    color: #65708a;
    cursor: pointer;
    font-size: 17px;
}

.pb-search-modal-close:hover {
    border-color: #b5a6e9;
    color: #6c43dc;
}

/* 많이 검색된 키워드 */
.pb-search-modal-keywords,
.pb-search-modal-options {
    padding: 21px 22px;
}

.pb-search-modal-keywords {
    border-bottom: 1px solid #edf0f5;
}

.pb-search-modal-keywords>strong,
.pb-search-modal-options>strong {
    display: block;
    margin-bottom: 13px;
    color: #303a50;
    font-size: 14px;
    font-weight: 800;
}

.pb-search-keyword-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pb-search-keyword-list button {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid #ddd9eb;
    border-radius: 8px;
    background: #fafaff;
    color: #566078;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.pb-search-keyword-list button i {
    margin-right: 4px;
    color: #774de4;
}

.pb-search-keyword-list button:hover {
    border-color: #bcaef0;
    background: #f5f1ff;
    color: #6540cb;
}

/* 검색 조건 */
.pb-search-modal-options {
    background: #fcfcfe;
}

.pb-search-modal-option-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pb-search-modal-option-row select {
    min-width: 156px;
    height: 42px;
    padding: 0 31px 0 13px;
    border: 1px solid #d8dce7;
    border-radius: 9px;
    outline: 0;
    background: #fff;
    color: #3d4960;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
}

.pb-search-modal-option-row select:focus {
    border-color: #9e86e9;
    box-shadow: 0 0 0 3px rgba(116, 77, 223, .10);
}

.pb-search-modal-radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #59657d;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.pb-search-modal-radio input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.pb-search-modal-radio span {
    position: relative;
    display: inline-block;
    width: 17px;
    height: 17px;
    border: 1px solid #cbd0de;
    border-radius: 50%;
    background: #fff;
}

.pb-search-modal-radio input:checked+span {
    border-color: #784ee2;
}

.pb-search-modal-radio input:checked+span::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #784ee2;
    content: "";
    transform: translate(-50%, -50%);
}

@media (max-width: 640px) {
    .pb-search-modal {
        align-items: flex-start;
        padding: 14px;
    }

    .pb-search-modal-panel {
        width: 100%;
        margin-top: 18px;
        border-radius: 14px;
    }

    .pb-search-modal-head {
        grid-template-columns: 1fr 36px;
        gap: 8px;
        padding: 14px;
    }

    .pb-search-modal-head>strong {
        display: none;
    }

    .pb-search-modal-input-wrap input {
        height: 44px;
        font-size: 13px;
    }

    .pb-search-modal-keywords,
    .pb-search-modal-options {
        padding: 18px 15px;
    }

    .pb-search-modal-option-row {
        flex-wrap: wrap;
        gap: 11px;
    }

    .pb-search-modal-option-row select {
        width: 100%;
    }
}

/* 좌측 하단 텔레그램 문의 버튼입니다.
 * 클릭하면 head.php에 입력한 텔레그램 링크를 새 창으로 엽니다.
 * 마우스를 올리면 오른쪽에 문의하기 문구가 표시됩니다.
 */
.pb-telegram-contact {
    position: fixed;
    z-index: 90;
    left: 28px;
    bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 0;
    border: 0;
    cursor: pointer;
    border-radius: 50%;
    background: #2aa9df;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .22);
    transition: transform .18s ease, box-shadow .18s ease;
}

.pb-telegram-contact img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.pb-telegram-contact:hover,
.pb-telegram-contact:focus-visible {
    outline: 0;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .30);
}

/* 아이콘 오른쪽에 문의하기 안내 문구를 표시합니다. */
.pb-telegram-contact::after {
    position: absolute;
    left: calc(100% + 11px);
    top: 50%;
    padding: 8px 11px;
    border-radius: 8px;
    background: #172033;
    color: #fff;
    content: attr(data-label);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translate(-6px, -50%);
    transition: opacity .18s ease, transform .18s ease;
}

.pb-telegram-contact:hover::after,
.pb-telegram-contact:focus-visible::after {
    opacity: 1;
    transform: translate(0, -50%);
}

@media (max-width: 700px) {
    .pb-telegram-contact {
        left: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }

    .pb-telegram-contact::after {
        display: none;
    }
}

/* 읽지 않은 쪽지 숫자를 아이콘 우측 상단에 표시합니다. */
.pb-header-memo-icon {
    overflow: visible;
}

/* 헤더 쪽지 아이콘 */
.pb-header-memo-icon .pb-header-badge {
    top: 5px;
    right: 0px;
    z-index: 2;
    min-width: 13px;
    height: 13px;
    padding: 0 4px;
    border: 0;
    background: #f05278;
    box-shadow: none;
    color: #fff;
    font-family: var(--pb-subscribe-font);
    font-size: 8px;
    line-height: 13px;
    transform: scale(1);
    transition: opacity .18s ease, transform .18s ease;
}

.pb-header-memo-icon .pb-header-badge.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(.55);
}

/* 새 쪽지를 받으면 쪽지 아이콘과 배지가 짧게 강조됩니다. */
.pb-header-memo-icon.is-new-memo {
    animation: pbMemoIconShake .7s ease both;
}

.pb-header-memo-icon.is-new-memo .pb-header-badge {
    animation: pbMemoBadgePulse 1.1s ease 2;
}

@keyframes pbMemoIconShake {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    20% {
        transform: translateY(-3px) rotate(-9deg);
    }

    40% {
        transform: translateY(-3px) rotate(9deg);
    }

    60% {
        transform: translateY(-2px) rotate(-6deg);
    }

    80% {
        transform: translateY(-1px) rotate(4deg);
    }
}

@keyframes pbMemoBadgePulse {

    0%,
    100% {
        box-shadow: 0 3px 8px rgba(240, 82, 120, .34);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 0 7px rgba(240, 82, 120, .14);
        transform: scale(1.18);
    }
}

/* 새 쪽지 수가 증가했을 때 화면 오른쪽 상단에 표시됩니다. */
.pb-memo-notify-toast {
    position: fixed;
    z-index: 10000;
    top: 22px;
    right: 22px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100vw - 32px);
    padding: 13px 14px;
    border: 1px solid rgba(122, 77, 255, .2);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .2);
    color: #27334b;
    font-size: 13px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity .22s ease, transform .22s ease;
}

.pb-memo-notify-toast.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.pb-memo-notify-toast>i {
    color: #7b4dff;
    font-size: 16px;
}

.pb-memo-notify-toast strong {
    color: #7b4dff;
}

.pb-memo-notify-toast button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-left: 4px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #98a2b3;
    cursor: pointer;
}

.pb-memo-notify-toast button:hover {
    background: #f2f4f7;
    color: #344054;
}

@media (max-width: 700px) {
    .pb-memo-notify-toast {
        top: 14px;
        right: 14px;
        left: 14px;
        max-width: none;
    }
}

/* 그누보드 쪽지/스크랩 팝업 원본 복구 */
body.new_win,
.new_win {
    margin: 0;
    padding: 0;
    background: #fff;
    color: #000;
    font-size: 12px;
    font-family: 'Malgun Gothic', dotum, sans-serif;
}

.new_win {
    position: relative;
}

.new_win ul,
.new_win li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.new_win #win_title {
    height: 56px;
    padding: 15px 20px;
    background: #fff;
    color: #000;
    font-size: 20px;
    font-weight: 700;
    line-height: 26px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, .1);
}

.new_win .win_total {
    float: right;
    display: inline-block;
    padding: 0 12px;
    border-radius: 5px;
    background: #f6f6f6;
    color: #3a8afd;
    font-size: 13px;
    font-weight: normal;
    line-height: 32px;
}

/* 상단 탭 */
.new_win .win_ul {
    margin-bottom: 0;
    padding: 22px 20px 18px;
    border-bottom: 1px solid #e9edf3;
}

.new_win .win_ul:after,
.new_win .btn_confirm:after {
    display: block;
    visibility: hidden;
    clear: both;
    content: "";
}

.new_win .win_ul li {
    float: left;
    margin-left: 5px;
    padding: 0 12px;
    border: 1px solid #d6e9ff;
    border-radius: 30px;
    background: #fff;
    text-align: center;
}

.new_win .win_ul li:first-child {
    margin-left: 0;
}

.new_win .win_ul li a {
    display: block;
    padding: 9px 0;
    color: #6794d3;
    font-size: 13px;
}

.new_win .win_ul .selected {
    border-color: #527ff5;
    background: #527ff5;
}

.new_win .win_ul .selected a {
    color: #fff;
    font-weight: bold;
}

/* 받은쪽지/보낸쪽지 안내 박스 */
.new_win .win_desc,
.new_win .local_desc,
.new_win .local_desc01,
.new_win .memo_info,
.new_win #memo_info {
    position: relative;
    margin: 10px;
    padding: 0 20px;
    border: 0;
    border-left: 4px solid #da4453;
    border-radius: 5px;
    background: #e98490;
    color: #fff;
    font-size: 13px;
    line-height: 55px;
    text-align: left;
}

.new_win .win_desc strong,
.new_win .local_desc strong,
.new_win .local_desc01 strong,
.new_win .memo_info strong,
.new_win #memo_info strong {
    color: #fff;
    font-weight: bold;
}

/* 목록/빈 목록 */
.new_win .tbl_wrap {
    margin: 0 20px;
}

.new_win .empty_table {
    padding: 64px 0 !important;
    text-align: center;
}

/* 쪽지쓰기 폼 */
.new_win .form_01 {
    margin: 20px 22px;
}

.new_win .form_01 li {
    margin-bottom: 10px;
}

.new_win .sound_only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
}

.new_win .form_01 input[type="text"],
.new_win .form_01 textarea {
    width: 100% !important;
    border: 1px solid #d0d3db;
    background: #fff;
    font-size: 13px;
}

.new_win .form_01 input[type="text"] {
    height: 44px;
    padding: 0 12px;
}

.new_win .form_01 textarea {
    height: 110px;
    padding: 10px 12px;
}

/* 자동등록방지 */
.new_win #captcha {
    margin: 10px 0 0;
    padding: 0;
    border: 0;
}

.new_win #captcha legend {
    position: absolute;
    font-size: 0;
    line-height: 0;
    text-indent: -9999em;
    overflow: hidden;
}

.new_win #captcha #captcha_img {
    width: 115px;
    height: 45px;
    border: 1px solid #ccc;
    vertical-align: middle;
}

.new_win #captcha #captcha_key {
    width: 98px !important;
    height: 45px;
    margin-left: 4px;
    padding: 0 5px;
    border: 1px solid #ccc;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
}

.new_win #captcha #captcha_mp3,
.new_win #captcha #captcha_reload {
    overflow: hidden;
    width: 44px;
    height: 44px;
    margin-left: 4px;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background-color: #d9d9d9;
    background-image: url('../../../img/captcha2.png');
    background-repeat: no-repeat;
    text-indent: -9999px;
    vertical-align: middle;
}

.new_win #captcha #captcha_mp3 {
    background-position: 2px 2px;
}

.new_win #captcha #captcha_reload {
    background-position: 2px -38px;
}

.new_win #captcha #captcha_info {
    display: block;
    margin-top: 5px;
    color: #000;
    font-size: 12px;
}

/* 하단 버튼 중앙 정렬 */
.new_win .btn_confirm,
.new_win .win_btn {
    margin-top: 28px;
    text-align: center;
}

.new_win .btn_submit {
    min-width: 165px;
    height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 4px;
    background: #527ff5;
    color: #fff;
    font-weight: bold;
    font-size: 13px;
}

.new_win .btn_close {
    min-width: 86px;
    height: 48px;
    margin-left: 6px;
    padding: 0 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #000;
    cursor: pointer;
    font-size: 13px;
}

/* 비회원 상태에서 검색/스크랩/쪽지 아이콘 대신 표시하는 안내 문구입니다. */
.pb-header-login-guide {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 4px;
    color: #475467;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

/* 헤더를 반투명 고정 메뉴처럼 보이게 하고, 높이를 줄입니다. */
.pb-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .68);
    border-bottom: 1px solid rgba(15, 23, 42, .06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.pb-header-btn {
    min-height: 34px;
    padding: 0 15px;
    font-size: 13px;
}

.pb-header-icon {
    height: 34px;
}

/* 스크롤 중 콘텐츠가 헤더 뒤로 살짝 비치도록 그림자를 약하게만 둡니다. */
.pb-header.pb-header-sticky,
.pb-header {
    box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}

/* 운영 알림 바가 상단 고정일 때 화면 최상단에 유지합니다.
 * 알림 바 실제 높이는 JavaScript가 --pb-notice-bar-height 값으로 자동 계산합니다.
 */
.pb-notice-bar.pb-notice-bar-fixed {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    width: 100%;
}

/* 고정 알림 바가 일반 본문이나 헤더를 덮지 않도록
 * 알림 바 높이만큼 페이지 전체를 아래로 밀어줍니다.
 */
body.pb-notice-bar-is-fixed {
    padding-top: var(--pb-notice-bar-height, 42px);
}

/* 헤더가 sticky 상태여도 알림 바 바로 아래부터 고정되도록 처리합니다. */
body.pb-notice-bar-is-fixed .pb-header-sticky {
    top: var(--pb-notice-bar-height, 42px);
}

/* 사이트 전체 배경색을 흰색 기준으로 통일합니다. */
.pb-theme {
    background: #fff !important;
}

.pb-theme .pb-main,
.pb-theme .pb-content-wrap {
    background: #fff !important;
}

/* 게시판 화면에서도 공통 배경색이 회색으로 비치지 않도록 보정합니다. */
.pb-theme #bo_list.pb-board-list {
    background: #fff !important;
}

/* 쪽지 팝업의 회원 메뉴는 닉네임 클릭 전까지 숨기고 날짜는 닉네임 오른쪽에 유지합니다. */
#memo_list.new_win .memo_name .sv_wrap {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
}

#memo_list.new_win .memo_name .sv_wrap .profile_img {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    margin: 0 6px 0 0 !important;
    overflow: hidden !important;
    vertical-align: middle !important;
}

#memo_list.new_win .memo_name .sv_wrap .profile_img img {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 8px !important;
    object-fit: cover !important;
}

#memo_list.new_win .memo_name .sv_wrap .sv_member,
#memo_list.new_win .memo_name .sv_wrap .sv_guest {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0 !important;
    min-height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #172033 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 24px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    vertical-align: middle !important;
}

/* 회원 메뉴가 닉네임 오른쪽에 가로로 풀리지 않도록 기본 상태에서는 완전히 숨깁니다. */
#memo_list.new_win .memo_name .sv_wrap .sv,
#memo_list.new_win .memo_name .sv_wrap:hover .sv {
    position: absolute !important;
    z-index: 10000 !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    display: none !important;
    min-width: 140px !important;
    margin: 0 !important;
    padding: 6px 0 !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: #2d2d2d !important;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .24) !important;
    white-space: nowrap !important;
}

/* 닉네임 클릭 후 JavaScript가 붙이는 클래스가 있을 때만 메뉴를 엽니다. */
#memo_list.new_win .memo_name .sv_wrap .sv.pb-memo-sv-open {
    display: block !important;
}

/* 펼쳐진 회원 메뉴의 위쪽 화살표입니다. */
#memo_list.new_win .memo_name .sv_wrap .sv::before {
    position: absolute !important;
    top: -6px !important;
    left: 16px !important;
    width: 12px !important;
    height: 12px !important;
    background: #2d2d2d !important;
    content: "" !important;
    transform: rotate(45deg) !important;
}

/* 펼쳐진 회원 메뉴 안의 항목을 세로 목록으로 표시합니다. */
#memo_list.new_win .memo_name .sv_wrap .sv a {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    padding: 8px 13px !important;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    text-align: left !important;
    text-decoration: none !important;
}

#memo_list.new_win .memo_name .sv_wrap .sv a:hover,
#memo_list.new_win .memo_name .sv_wrap .sv a:focus {
    background: #434343 !important;
    color: #ffffff !important;
}

/* 쪽지 목록 항목을 위아래로 조금 띄워서 큰 아바타가 선에 붙지 않게 합니다. */
#memo_list.new_win .memo_list>ul>li {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

#memo_list.new_win .memo_li.profile_big_img {
    margin-top: 10px !important;
}

/* 하단 안내문 앞의 정보 아이콘은 숨깁니다. */
#memo_list.new_win .win_desc i,
#memo_list.new_win .memo_info i,
#memo_list.new_win #memo_info i {
    display: none !important;
}

/* 탭 아래 선은 유지하고, 첫 번째 쪽지 항목의 중복 위 선만 제거합니다. */
#memo_list.new_win .memo_list>ul>li:first-child {
    border-top: 0 !important;
}

/* 목록 컨테이너에 잡힌 중복 위 선도 제거합니다. */
#memo_list.new_win .memo_list,
#memo_list.new_win .memo_list>ul {
    border-top: 0 !important;
}

/* 쪽지 목록의 큰 회원 아바타를 오른쪽으로 8px 이동합니다. */
#memo_list.new_win .memo_li.profile_big_img {
    margin-left: 8px !important;
}

/* 쪽지 목록의 큰 회원 아바타를 원형 대신 살짝 둥근 사각형으로 표시합니다. */
#memo_list.new_win .memo_li.profile_big_img,
#memo_list.new_win .memo_li.profile_big_img img {
    border-radius: 10px !important;
}

/* 받은쪽지·보낸쪽지 보기 팝업은 바깥 문서 스크롤 대신 팝업 내부에서만 스크롤합니다. */
html.pb-memo-view-popup,
html.pb-memo-view-popup body {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

html.pb-memo-view-popup #memo_view.new_win {
    width: 100% !important;
    min-height: 0 !important;
    height: 100vh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
}

/* 받은쪽지·보낸쪽지 보기의 작성자 정보가 위쪽 선에 붙지 않도록 여백을 줍니다. */
#memo_view.new_win .memo_from {
    padding-top: 8px !important;
    padding-left: 28px !important;
}

/* 큰 회원 아바타는 둥근 사각형 형태를 유지합니다. */
#memo_view.new_win .memo_from li.memo_profile img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 7px !important;
    object-fit: cover !important;
}

/* 쪽지 보기 화면의 닉네임 회원 메뉴 위치 기준입니다. */
#memo_view.new_win .memo_view_nick .sv_wrap {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
}

/* 왼쪽에 큰 회원 아바타가 있으므로 닉네임 안쪽의 중복 회원아이콘은 숨깁니다. */
#memo_view.new_win .memo_view_nick .sv_wrap .profile_img {
    display: none !important;
}

/* 닉네임은 클릭 가능한 상태로 유지합니다. */
#memo_view.new_win .memo_view_nick .sv_wrap .sv_member,
#memo_view.new_win .memo_view_nick .sv_wrap .sv_guest {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #172033 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 24px !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

/* 회원정보 메뉴가 닉네임 오른쪽으로 풀리지 않도록 기본 상태에서는 숨깁니다. */
#memo_view.new_win .memo_view_nick .sv_wrap .sv,
#memo_view.new_win .memo_view_nick .sv_wrap:hover .sv {
    position: absolute !important;
    z-index: 10000 !important;
    top: calc(100% + 7px) !important;
    left: 0 !important;
    display: none !important;
    min-width: 140px !important;
    margin: 0 !important;
    padding: 6px 0 !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: #2d2d2d !important;
    box-shadow: 0 12px 24px rgba(15, 23, 42, .24) !important;
    white-space: nowrap !important;
}

/* 닉네임 클릭 시 JavaScript가 붙이는 클래스가 있을 때만 툴팁 메뉴를 표시합니다. */
#memo_view.new_win .memo_view_nick .sv_wrap .sv.pb-memo-view-sv-open {
    display: block !important;
}

/* 회원 메뉴 위쪽 화살표입니다. */
#memo_view.new_win .memo_view_nick .sv_wrap .sv::before {
    position: absolute !important;
    top: -6px !important;
    left: 16px !important;
    width: 12px !important;
    height: 12px !important;
    background: #2d2d2d !important;
    content: "" !important;
    transform: rotate(45deg) !important;
}

/* 회원 메뉴 내부 항목을 세로 목록으로 표시합니다. */
#memo_view.new_win .memo_view_nick .sv_wrap .sv a {
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
    padding: 8px 13px !important;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
    text-align: left !important;
    text-decoration: none !important;
}

#memo_view.new_win .memo_view_nick .sv_wrap .sv a:hover,
#memo_view.new_win .memo_view_nick .sv_wrap .sv a:focus {
    background: #434343 !important;
    color: #ffffff !important;
}

/* 쪽지 보기 우측의 목록·닫기 버튼을 작은 화살표와 X 형태로 맞춥니다. */
#memo_view.new_win .memo_from .memo_op_btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    margin: 0 0 0 10px !important;
    padding: 0 !important;
}

#memo_view.new_win .memo_from .memo_op_btn .btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #667085 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

#memo_view.new_win .memo_from .memo_op_btn .btn:hover,
#memo_view.new_win .memo_from .memo_op_btn .btn:focus {
    color: #7b4dff !important;
    outline: 0 !important;
}

/* 왼쪽 화살표와 X 아이콘을 이미지 예시처럼 가늘고 선명하게 표시합니다. */
#memo_view.new_win .memo_from .memo_op_btn .fa-arrow-left,
#memo_view.new_win .memo_from .memo_op_btn .fa-times {
    font-family: FontAwesome !important;
    font-size: 18px !important;
    font-weight: normal !important;
    line-height: 1 !important;
}

/* 푸터 상단: 기존 색상 푸터 위에 흰색 바로가기 메뉴를 추가합니다. */
.pb-footer-quickbar {
    border-top: 1px solid #edf0f3;
    border-bottom: 1px solid #edf0f3;
    background: #fff;
    color: #111827;
}

/* 푸터 상단: 좌측 정책 메뉴와 우측 바로가기 정렬 */
.pb-footer-quickbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
}

/* 푸터 상단: 좌측 영역 */
.pb-footer-quickbar-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
}

/* 푸터 상단: 정책 링크 */
.pb-footer-policy {
    display: flex;
    align-items: center;
    gap: 28px;
    color: #111827;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
}

/* 푸터 상단: 정책 링크 hover */
.pb-footer-policy a:hover,
.pb-footer-policy a:focus {
    color: var(--pb-primary);
}

/* 푸터 상단: 사이트 이름 */
.pb-footer-quickbar-site {
    display: block;
    margin-top: 8px;
    color: #111827;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}

/* 푸터 상단: 우측 바로가기 */
.pb-footer-quickbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

/* 푸터 바로가기 글자 크기를 링크 상태와 관계없이 유지. */
.pb-footer-quickbar-right>a,
.pb-footer-quickbar-right>a:link,
.pb-footer-quickbar-right>a:visited,
.pb-footer-quickbar-right>a:hover,
.pb-footer-quickbar-right>a:focus,
.pb-footer-quickbar-right>a:active {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    transform: none;
    zoom: 1;
}

.pb-footer-connect>span {
    font-size: inherit;
    line-height: inherit;
}

/* 푸터 상단: 우측 바로가기 hover */
.pb-footer-quickbar-right a:hover,
.pb-footer-quickbar-right a:focus {
    color: var(--pb-primary);
}

/* 푸터 상단: 접속자 */
.pb-footer-connect {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

/* 푸터 상단: 접속자 숫자 */
.pb-footer-connect em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 7px;
    border-radius: 5px;
    background: #9823f5;
    color: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
}

/* 모바일 푸터 상단: 정책 메뉴와 우측 메뉴를 한 줄에 유지. */
@media (max-width: 700px) {
    .pb-footer-quickbar {
        padding: 12px 0;
    }

    .pb-footer-quickbar-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-height: 42px;
    }

    .pb-footer-quickbar-left {
        flex: 1 1 auto;
        min-width: 0;
    }

    .pb-footer-policy {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 10px;
        min-width: 0;
        font-size: 11px;
        white-space: nowrap;
    }

    .pb-footer-quickbar-right {
        display: flex;
        flex: 0 0 auto;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        font-size: 11px;
        white-space: nowrap;
    }

    .pb-footer-connect {
        gap: 4px;
    }

    .pb-footer-connect em {
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        font-size: 10px;
    }
}

/* 페이지 스크롤바 너비 고정 */
html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}