@charset "utf-8";

/* 테마 게시판 목록 — 카드형 (모바일·PC 공통) */
body.syou-theme-board-page .mobile-frame #bo_list.syou-board-list {
    margin-bottom: 12px;
}

body.syou-theme-board-page .syou-board-list__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin: 0 0 10px;
}

body.syou-theme-board-page .syou-board-list__top #bo_list_total {
    float: none;
    line-height: 1.4;
    font-size: 13px;
    color: #666;
}

body.syou-theme-board-page .syou-board-list__actions {
    float: none;
    margin: 0 0 0 auto;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

body.syou-theme-board-page .syou-board-list__actions li {
    float: none;
    width: auto;
    margin: 0;
    background: transparent;
}

body.syou-theme-board-page .syou-board-list__write,
body.syou-before-after-page .syou-board-list__write,
body.syou-sub-page.syou-before-after-page .syou-board-list__write,
body.syou-sub-page.syou-event-page .syou-board-list__write {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: auto;
    height: auto;
    padding: 6px 12px;
    border: 1px solid var(--syou-primary, #c49a6b);
    border-radius: 4px;
    background: var(--syou-primary, #c49a6b);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

body.syou-theme-board-page .syou-board-list__write:hover,
body.syou-theme-board-page .syou-board-list__write:focus,
body.syou-before-after-page .syou-board-list__write:hover,
body.syou-before-after-page .syou-board-list__write:focus,
body.syou-sub-page.syou-before-after-page .syou-board-list__write:hover,
body.syou-sub-page.syou-before-after-page .syou-board-list__write:focus,
body.syou-sub-page.syou-event-page .syou-board-list__write:hover,
body.syou-sub-page.syou-event-page .syou-board-list__write:focus {
    border-color: var(--syou-primary-dark, #a87f52);
    background: var(--syou-primary-dark, #a87f52);
    color: #fff;
}

body.syou-theme-board-page .syou-board-list__delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 32px;
    padding: 6px 12px;
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    color: #666;
    cursor: pointer;
}

body.syou-theme-board-page .syou-board-list__delete:hover,
body.syou-theme-board-page .syou-board-list__delete:focus {
    border-color: #c8c8c8;
    background: #f7f7f7;
    color: #333;
}

body.syou-theme-board-page #bo_list_total .syou-board-list__chk--all {
    margin-right: 8px;
}

body.syou-theme-board-page .syou-board-list__chk {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
}

body.syou-theme-board-page .syou-board-list__chk input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--syou-primary, #c49a6b);
}

body.syou-theme-board-page .syou-board-list__item.has-checkbox {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

body.syou-theme-board-page .syou-board-list__item.has-checkbox .syou-board-list__chk {
    align-self: center;
    padding-left: 2px;
}

body.syou-theme-board-page .syou-board-list__item.has-checkbox .syou-board-list__link {
    flex: 1;
    min-width: 0;
}

body.syou-theme-board-page .syou-board-list__items {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.syou-theme-board-page .syou-board-list__item {
    border-bottom: 1px solid #f0f0f0;
}

body.syou-theme-board-page .syou-board-list__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    text-decoration: none;
    color: inherit;
}

body.syou-theme-board-page .syou-board-list__subject {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    color: #333;
}

body.syou-theme-board-page .syou-board-list__item.is-notice .syou-board-list__subject {
    font-weight: 600;
}

body.syou-theme-board-page .syou-board-list__date {
    flex-shrink: 0;
    font-size: 12px;
    color: #999;
    white-space: nowrap;
}

body.syou-theme-board-page .syou-board-list__empty {
    padding: 24px 0;
    text-align: center;
    font-size: 14px;
    color: #888;
}

/* 구 basic 테이블 목록 — 테마 페이지에서 syou-board-list 미사용 시 폴백 */
body.syou-theme-board-page.syou-layout.is-pc-shell:not(.is-mobile-view) .mobile-frame #bo_list:not(.syou-board-list) {
    margin-bottom: 12px;
}

body.syou-theme-board-page.syou-layout.is-pc-shell:not(.is-mobile-view) .mobile-frame #bo_btn_top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin: 0 0 10px;
}

body.syou-theme-board-page.syou-layout.is-pc-shell:not(.is-mobile-view) .mobile-frame #bo_list_total {
    float: none;
    line-height: 1.4;
    font-size: 13px;
    color: #666;
}

body.syou-theme-board-page.syou-layout.is-pc-shell:not(.is-mobile-view) .mobile-frame .btn_bo_user {
    float: none;
    margin-left: auto;
}

body.syou-theme-board-page.syou-layout.is-pc-shell:not(.is-mobile-view) .mobile-frame .tbl_head01 {
    margin: 0;
}

body.syou-theme-board-page.syou-layout.is-pc-shell:not(.is-mobile-view) .mobile-frame .tbl_head01 table {
    display: block;
    width: 100%;
}

body.syou-theme-board-page.syou-layout.is-pc-shell:not(.is-mobile-view) .mobile-frame .tbl_head01 thead {
    display: none !important;
}

body.syou-theme-board-page.syou-layout.is-pc-shell:not(.is-mobile-view) .mobile-frame .tbl_head01 tbody {
    display: block;
}

body.syou-theme-board-page.syou-layout.is-pc-shell:not(.is-mobile-view) .mobile-frame .tbl_head01 tbody tr {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px 10px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    border-left: 0 !important;
}

body.syou-theme-board-page.syou-layout.is-pc-shell:not(.is-mobile-view) .mobile-frame .tbl_head01 tbody tr:hover {
    background: #fafafa;
}

body.syou-theme-board-page.syou-layout.is-pc-shell:not(.is-mobile-view) .mobile-frame .tbl_head01 tbody tr.even td,
body.syou-theme-board-page.syou-layout.is-pc-shell:not(.is-mobile-view) .mobile-frame .tbl_head01 tbody tr:hover td {
    background: transparent !important;
}

body.syou-theme-board-page.syou-layout.is-pc-shell:not(.is-mobile-view) .mobile-frame .tbl_head01 td {
    display: block !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    line-height: 1.45;
    word-break: normal !important;
    overflow-wrap: anywhere;
}

body.syou-theme-board-page.syou-layout.is-pc-shell:not(.is-mobile-view) .mobile-frame #bo_list .td_num2,
body.syou-theme-board-page.syou-layout.is-pc-shell:not(.is-mobile-view) .mobile-frame #bo_list .td_name,
body.syou-theme-board-page.syou-layout.is-pc-shell:not(.is-mobile-view) .mobile-frame #bo_list .td_num {
    display: none !important;
}

body.syou-theme-board-page.syou-layout.is-pc-shell:not(.is-mobile-view) .mobile-frame #bo_list .td_subject {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

body.syou-theme-board-page.syou-layout.is-pc-shell:not(.is-mobile-view) .mobile-frame #bo_list .td_datetime {
    grid-column: 2;
    grid-row: 1;
    font-size: 12px;
    color: #999;
    white-space: nowrap;
    text-align: right;
}

body.syou-theme-board-page.syou-layout.is-pc-shell:not(.is-mobile-view) .mobile-frame #bo_list .bo_tit {
    padding-left: 0;
    font-weight: 400;
}

body.syou-theme-board-page.syou-layout.is-pc-shell:not(.is-mobile-view) .mobile-frame #bo_list .bo_tit a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #333;
    font-size: 14px;
    text-decoration: none;
}

body.syou-theme-board-page.syou-layout.is-pc-shell:not(.is-mobile-view) .mobile-frame #bo_list .bo_notice .bo_tit a {
    font-weight: 600;
}

body.syou-theme-board-page.syou-layout.is-pc-shell:not(.is-mobile-view) .mobile-frame #bo_list .bo_tit .new_icon {
    vertical-align: middle;
}

body.syou-theme-board-page.syou-layout.is-pc-shell:not(.is-mobile-view) .mobile-frame #bo_list .empty_table {
    display: block;
    padding: 24px 0;
    text-align: center;
    color: #888;
    font-size: 14px;
}

body.syou-theme-board-page.syou-layout.is-pc-shell:not(.is-mobile-view) .mobile-frame #bo_v_con {
    font-size: 14px;
    line-height: 1.7;
    word-break: break-word;
}

/* 글보기 — 테마 게시판(공지·피부관리노트 등) */
body.syou-theme-board-page .mobile-frame #bo_v.syou-board-view {
    margin-bottom: 12px;
}

body.syou-theme-board-page .syou-board-view__head {
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}

body.syou-theme-board-page #bo_v.syou-board-view #bo_v_title {
    margin: 0;
}

body.syou-theme-board-page #bo_v.syou-board-view #bo_v_title .bo_v_tit {
    display: block;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 600;
    word-break: keep-all;
    color: #222;
}

body.syou-theme-board-page #bo_v.syou-board-view #bo_v_title .bo_v_cate {
    display: inline-block;
    margin-right: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #888;
}

body.syou-theme-board-page .syou-board-view__body {
    margin: 0 0 16px;
}

body.syou-theme-board-page .syou-board-view__body #bo_v_atc_title {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

body.syou-theme-board-page .syou-board-view__body #bo_v_con {
    font-size: 14px;
    line-height: 1.75;
    word-break: break-word;
    color: #333;
}

body.syou-theme-board-page .syou-board-view__body #bo_v_con img {
    max-width: 100%;
    height: auto;
}

body.syou-theme-board-page .syou-board-view__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px 14px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
    font-size: 13px;
    color: #666;
}

body.syou-theme-board-page .syou-board-view__author {
    font-weight: 500;
    color: #444;
}

body.syou-theme-board-page .syou-board-view__date {
    color: #999;
}

body.syou-theme-board-page .syou-board-view__actions {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

body.syou-theme-board-page .syou-board-view__update {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 12px;
    border: 1px solid var(--syou-primary, #c49a6b);
    border-radius: 4px;
    background: var(--syou-primary-light, #faf6f1);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--syou-primary, #c49a6b);
    text-decoration: none;
}

body.syou-theme-board-page .syou-board-view__update:hover,
body.syou-theme-board-page .syou-board-view__update:focus {
    border-color: var(--syou-primary-dark, #a87f52);
    background: var(--syou-primary, #c49a6b);
    color: #fff;
}

body.syou-theme-board-page .syou-board-view__delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 12px;
    border: 1px solid #e0b4b4;
    border-radius: 4px;
    background: #fff5f5;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    color: #c44;
    text-decoration: none;
}

body.syou-theme-board-page .syou-board-view__delete:hover,
body.syou-theme-board-page .syou-board-view__delete:focus {
    border-color: #d09090;
    background: #ffecec;
    color: #a33;
}

body.syou-theme-board-page .syou-board-view__list {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
}

body.syou-theme-board-page .syou-board-view__list:hover,
body.syou-theme-board-page .syou-board-view__list:focus {
    color: #222;
    border-color: #bbb;
}
