@charset "utf-8";

/* =========================
   �⺻
========================= */
.msg_sound_only,
.sound_only {
    display: inline-block !important;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0;
    line-height: 0;
    border: 0 !important;
    overflow: hidden !important;
}

a {
    text-decoration: none;
}

select {
    font-size: 14px;
}

html,
body {
    background: #f8f5f0 !important;
}

.container,
.wrap {
    background: transparent !important;
}

.btn_admin {
    display: none;
}

/* =========================
   ��� / Ǫ��
========================= */
header.navbar {
    min-height: 120px;
    display: flex;
    align-items: center;
}

.site-header {
    background: #f8f5f0 !important;
}

.site-header .navbar-nav,
.site-header .nav-link,
.site-header a,
.site-header .navbar-collapse,
.site-header .container-fluid {
    background: transparent !important;
}

#footer .row {
    text-align: center;
}

#footer .col-lg-2,
#footer .col-lg-5 {
    justify-content: center !important;
    text-align: center !important;
}

#footer .logo img {
    filter: grayscale(1);
}

/* =========================
   ����
========================= */
#latest h4 a {
    color: #000;
}

#latest h4 a:hover {
    text-decoration: none;
}

#latest li a {
    color: #777;
}

.pagination {
    margin-top: 0;
    margin-bottom: 0;
}

.ck.ck-editor__editable {
    min-height: 200px !important;
}

/* =========================
   ĸí
========================= */
#captcha {
    display: inline-block;
    position: relative;
    max-width: none;
    background: none;
    text-align: left;
}

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

#captcha #captcha_img {
    height: 40px;
    border: 1px solid #ccc;
    vertical-align: top;
    padding: 0;
    margin: 0;
    border-radius: 3px;
}

#captcha #captcha_mp3 {
    margin: 0;
    padding: 0;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    vertical-align: middle;
    overflow: hidden;
    cursor: pointer;
    background: url('../../../img/captcha2.png') no-repeat;
    text-indent: -999px;
    border-radius: 3px;
}

#captcha #captcha_reload {
    margin: 0;
    padding: 0;
    width: 40px;
    height: 40px;
    border: 0;
    background: transparent;
    vertical-align: middle;
    overflow: hidden;
    cursor: pointer;
    background: url('../../../img/captcha2.png') no-repeat 0 -40px;
    text-indent: -999px;
    border-radius: 3px;
}

#captcha #captcha_key {
    margin: 0 0 0 3px;
    padding: 0 5px;
    width: 90px;
    height: 40px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 1.333em;
    font-weight: bold;
    text-align: center;
    border-radius: 3px;
    vertical-align: top;
}

#captcha #captcha_info {
    display: block;
    margin: 5px 0 0;
    font-size: 80%;
    color: #ff0000;
    letter-spacing: -0.1em;
}

/* =========================
   ī�װ��� ��
========================= */
.nav-tabs {
    gap: 8px;
    border: none !important;
    margin-bottom: 14px;
}

.nav-tabs .nav-link {
    border: none !important;
    border-radius: 999px !important;
    padding: 7px 14px !important;
    font-size: 13px;
    font-weight: 600;
    background: #f2f2f2 !important;
    color: #666 !important;
    transition: all .2s ease;
}

.nav-tabs .nav-link:hover {
    background: #e8e8e8 !important;
    color: #333 !important;
}

.nav-tabs .nav-item:nth-child(1) .nav-link {
    background: #f2f2f2 !important;
    color: #666 !important;
}

.nav-tabs .nav-item:nth-child(2) .nav-link {
    background: #eef4ee !important;
    color: #5f7a65 !important;
}

.nav-tabs .nav-item:nth-child(3) .nav-link {
    background: #edf3f9 !important;
    color: #5c7c9e !important;
}

.nav-tabs .nav-item:nth-child(4) .nav-link {
    background: #f6eef8 !important;
    color: #8a6a9e !important;
}

.nav-tabs .nav-link.active {
    background: #6b8f71 !important;
    color: #fff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}

/* =========================
   �Խ��� ����Ʈ
========================= */
table tbody tr td {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    vertical-align: middle;
}

table tbody tr {
    transition: background .2s ease;
}

table tbody tr:hover {
    background: #fafafa;
}

td,
.text-muted,
.text-secondary,
small {
    color: #9aa6b2 !important;
    font-size: 13px;
}

/* �Խñ� ���� ��Ÿ�� */
#bo_list td a.text-dark {
    color: #2f2f2f !important;
    font-size: 15px !important;   /* ���� ũ�� */
    font-weight: 600 !important;  /* �β� */
    letter-spacing: -0.2px;
    line-height: 1.45;
    font-family: "Pretendard", "Noto Sans KR", sans-serif;
    transition: color .2s ease;
}

/* hover */
#bo_list td a.text-dark:hover {
    color: #6b8f71 !important;
}

td a.text-dark:hover {
    color: #7b8fa1 !important;
}

.text-warning,
.text-danger {
    margin-left: 2px;
}

/* =========================
   ī�װ��� ����
========================= */
.cate-badge {
    display: inline-block;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 700;
    color: #fff !important;
    margin-right: 8px;
    vertical-align: middle;
}

.cate-���� {
    background: linear-gradient(135deg, #6f8f76, #5f7a65) !important;
}

.cate-���� {
    background: linear-gradient(135deg, #6d8fb3, #5c7c9e) !important;
}

.cate-�� {
    background: linear-gradient(135deg, #9b7bb6, #8a6a9e) !important;
}

.cate-���� {
    background: linear-gradient(135deg, #b97a7a, #9a6666) !important;
}

.badge.bg-primary {
    background: #5f7a65 !important;
}

.badge.bg-info {
    background: #5c7c9e !important;
}

.badge.bg-secondary {
    background: #dad5a2 !important;
    color: #fff !important;
    border-radius: 50px;
    min-width: 22px;
    text-align: center;
    padding: 3px 7px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 4px;
}

/* =========================
   ���� / ȸ��
========================= */
.episode-num {
    display: inline-block;
    padding: 1px 7px;
    border-radius: 999px;
    background: #eef2f5;
    color: #7b8fa1;
    font-weight: 700;
}

tr.bo_notice,
.notice-row {
    background: #f8f9fb;
}

tr.bo_notice:hover,
.notice-row:hover {
    background: #f0f3f7;
}

tr.bo_notice td a.text-dark,
.notice-title {
    font-weight: 700 !important;
    color: #7b8fa1 !important;
}



/* =========================
   ����ȭ / ��� / ����ȭ
========================= */
.episode-nav {
    margin: 32px 0;
}

.episode-nav-inner {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}


.episode-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #eef4ee;
    border: 1px solid #dfe7df;
    color: #5f7a65 !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.episode-btn:hover {
    background: #e4eee4;
}

.list-btn {
    background: #6b8f71 !important;
    color: #fff !important;
    border-color: #6b8f71 !important;
}

/* =========================
   ���ƿ� ��ư
========================= */
.btn-heart {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    padding: 10px 18px !important;
    border-radius: 999px !important;
    background: #f5f8f4 !important;
    border: 1px solid #dbe6d8 !important;
    color: #5f7a65 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    position: relative !important;
    white-space: nowrap !important;
    overflow: visible !important;
    transition: all .2s ease !important;
}

.btn-heart:hover {
    background: #eef4ee !important;
    border-color: #cfdcc9 !important;
    color: #4f6755 !important;
    transform: translateY(-1px) !important;
}

.btn-heart strong {
    font-weight: 700 !important;
    margin: 0 !important;
    line-height: 1 !important;
}

.heart-icon-wrap {
    position: relative !important;
    width: 18px !important;
    height: 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.heart-icon {
    font-size: 18px !important;
    color: #bfcdbd !important;
    position: relative !important;
    z-index: 2 !important;
    line-height: 1 !important;
    transition: transform .22s ease, color .22s ease !important;
}

.btn-heart:hover .heart-icon {
    color: #6b8f71 !important;
}

.heart-icon.is-popping {
    animation: heartPop .42s ease !important;
}

@keyframes heartPop {
    0% { transform: scale(1); }
    35% { transform: scale(1.35); }
    65% { transform: scale(.92); }
    100% { transform: scale(1); }
}

.heart-burst {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) scale(.4) !important;
    opacity: 0 !important;
    display: none !important;
    pointer-events: none !important;
    font-size: 10px !important;
    line-height: 1 !important;
}

.btn-heart.is-animating .heart-burst {
    display: block !important;
    animation-duration: .7s !important;
    animation-timing-function: ease-out !important;
    animation-fill-mode: forwards !important;
}

.btn-heart.is-animating .heart-burst-1 { animation-name: burst1; }
.btn-heart.is-animating .heart-burst-2 { animation-name: burst2; }
.btn-heart.is-animating .heart-burst-3 { animation-name: burst3; }
.btn-heart.is-animating .heart-burst-4 { animation-name: burst4; }
.btn-heart.is-animating .heart-burst-5 { animation-name: burst5; }

@keyframes burst1 {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(.4); }
    20% { opacity: 1; }
    100% { opacity: 0; transform: translate(-150%, -210%) scale(1); }
}

@keyframes burst2 {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(.4); }
    20% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, -250%) scale(1.05); }
}

@keyframes burst3 {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(.4); }
    20% { opacity: 1; }
    100% { opacity: 0; transform: translate(55%, -220%) scale(.95); }
}

@keyframes burst4 {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(.4); }
    20% { opacity: 1; }
    100% { opacity: 0; transform: translate(-125%, -130%) scale(.9); }
}

@keyframes burst5 {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(.4); }
    20% { opacity: 1; }
    100% { opacity: 0; transform: translate(35%, -145%) scale(.85); }
}

/* =========================
   ��� ����Ʈ
========================= */
ol.list-unstyled {
    margin: 0;
    padding: 0;
}

ol.list-unstyled > li {
    list-style: none;
    margin-bottom: 20px;
}

ol.list-unstyled > li > .d-flex.mb-4 {
    background: transparent !important;
    border: 1px solid #eadfe2 !important;
    border-radius: 24px !important;
    padding: 22px 24px !important;
}

ol.list-unstyled > li > .d-flex.mb-4:hover {
    border-color: #e3d2d8 !important;
}

.comm-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: #f3efef;
}

.comm-name li {
    color: #a5969d !important;
    font-size: 13px !important;
}

.comm-name a,
.comm-name strong,
.comm-name b {
    color: #2f2430 !important;
    font-weight: 700 !important;
}

.comm-content {
    background: transparent !important;
    color: #2f2430 !important;
    font-size: 15px;
    line-height: 1.85;
    margin-top: 10px;
}

/* �۰� ��� */
ol.list-unstyled > li.author-comment > .d-flex.mb-4 {
    background: #fff1f6 !important;
    border: 1px solid #efc8d6 !important;
    position: relative;
}

ol.list-unstyled > li.author-comment > .d-flex.mb-4 .comm-body {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 16px 18px !important;
}

ol.list-unstyled > li.author-comment > .d-flex.mb-4 .comm-body *,
ol.list-unstyled > li.author-comment > .d-flex.mb-4 .comm-content,
ol.list-unstyled > li.author-comment > .d-flex.mb-4 .comm-name {
    background: transparent !important;
    background-color: transparent !important;
}

ol.list-unstyled > li.author-comment > .d-flex.mb-4::after {
    content: "AUTHOR";
    position: absolute;
    top: 16px;
    right: 44px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 11px;
    border-radius: 999px;
    background: #f3d7e2;
    color: #9d6277;
}

/* =========================
   ��� �Է�â
========================= */
#bo_vc_w {
    margin-top: 32px;
    padding: 26px;
    background: linear-gradient(180deg, #fff9fb 0%, #fff4f7 100%);
    border: 1px solid #efd6df;
    border-radius: 24px;
    box-shadow: 0 10px 24px rgba(190, 130, 150, 0.08);
}

#bo_vc_w textarea.form-control {
    min-height: 150px;
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid #ead4dc;
    background: #fffdfd;
    font-size: 15px;
    line-height: 1.8;
}

#bo_vc_w textarea.form-control:focus {
    border-color: #e4a9bb;
    box-shadow: 0 0 0 4px rgba(228, 169, 187, 0.15);
}

#bo_vc_w input[type="submit"].btn.btn-primary {
    min-width: 110px !important;
    padding: 10px 22px !important;
    border-radius: 999px !important;
    border: 1px solid #e7b8c8 !important;
    background: linear-gradient(180deg, #f9dfe8 0%, #f2c9d8 100%) !important;
    color: #6b4452 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
}

#bo_vc_w input[type="submit"].btn.btn-primary:hover {
    background: linear-gradient(180deg, #f7d3df 0%, #edbccf 100%) !important;
    border-color: #dca3b8 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 14px rgba(200, 140, 165, 0.18) !important;
}

/* =========================
   ������ / �۾��� ��ư ���� ����
========================= */
#bo_list .btn_bo_adm {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
    margin-top: 12px !important;
    width: 100% !important;
}

#bo_list a.btn,
#bo_v a.btn,
#bo_w a.btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    min-width: auto !important;
    width: auto !important;
    box-shadow: none !important;
}

#bo_list a.btn i,
#bo_v a.btn i,
#bo_w a.btn i {
    margin-right: 4px !important;
}

/* �ϴ� ������ ��ư ���� */
#bo_list .btn_bo_adm a[href*="delete"] {
    background: #e57373 !important;
    border-color: #e57373 !important;
    color: #fff !important;
}

#bo_list .btn_bo_adm a[href*="copy"] {
    background: #9e9e9e !important;
    border-color: #9e9e9e !important;
    color: #fff !important;
}

#bo_list .btn_bo_adm a[href*="move"] {
    background: #f0b24d !important;
    border-color: #f0b24d !important;
    color: #fff !important;
}

#bo_list .btn_bo_adm a[href*="/adm/board_form.php"] {
    background: #6b8f71 !important;
    border-color: #6b8f71 !important;
    color: #fff !important;
}

/* �۾��� ��ư */
a[href*="/fic/write"].btn.btn-primary,
a[href*="/bbs/write.php"].btn.btn-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    min-width: auto !important;
    width: auto !important;
}

/* =========================
   �����
========================= */
@media (max-width: 768px) {
    td a.text-dark {
        font-size: 15px;
    }

    .episode-btn {
        font-size: 12px;
        padding: 7px 12px;
    }

    #bo_list a.btn,
    #bo_v a.btn,
    #bo_w a.btn,
    a[href*="/fic/write"].btn.btn-primary,
    a[href*="/bbs/write.php"].btn.btn-primary {
        font-size: 11px !important;
        padding: 5px 10px !important;
    }
}

@media (max-width: 575px) {
    #captcha_audio {
        display: none !important;
    }
}

/* =========================
   �Խ��� ��ư ũ�� ����
========================= */

/* ������ / �۾��� ��ư */
#bo_list .btn,
#bo_v .btn,
#bo_w .btn {

    font-size:13px !important;

    padding:6px 12px !important;

    border-radius:6px !important;

}


/* ������ ��ư ���� */
#bo_list .btn_bo_adm{

    display:flex;
    flex-wrap:wrap;
    gap:6px;

    margin-top:12px;

}


/* =========================
   ���ƿ� ��ư
========================= */

.btn-heart{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    gap:8px;

    padding:10px 18px;

    border-radius:999px;

    background:#f5f8f4;

    border:1px solid #dbe6d8;

    color:#5f7a65;

    font-weight:600;

    transition:all .2s ease;

}

.btn-heart:hover{

    background:#eef4ee;

}


/* ��Ʈ ������ */

.heart-icon{

    font-size:18px;

}


/* ��Ʈ ���� �⺻ ���� */

.heart-burst{

    display:none;

}


/* =========================
   ��� ī��
========================= */

ol.list-unstyled > li > .d-flex.mb-4{

    border:1px solid #eadfe2;

    border-radius:20px;

    padding:20px;

}


/* �۰� ��� */

ol.list-unstyled > li.author-comment > .d-flex.mb-4{

    background:#fff1f6;

    border-color:#efc8d6;

}


/* =========================
   ��� �Է�â
========================= */

#bo_vc_w{

    margin-top:30px;

    padding:24px;

    background:#fff9fb;

    border:1px solid #efd6df;

    border-radius:20px;

}


/* textarea */

#bo_vc_w textarea{

    border-radius:16px;

    padding:16px;

}


/* ��� ��� ��ư */

#bo_vc_w .btn-primary{

    border-radius:999px;

    padding:10px 20px;

}


/* =========================
   �豸�� ����Ʈ ���� ���� CSS
========================= */

/* 1) �Խ��� ������/�۾��� ��ư */
#bo_list .btn,
#bo_v .btn,
#bo_w .btn {
    font-size: 13px !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    line-height: 1.2 !important;
}

#bo_list .btn_bo_adm {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: 12px !important;
}

/* 2) ���ƿ� ��ư */
.btn-heart {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 18px !important;
    border-radius: 999px !important;
    background: #f5f8f4 !important;
    border: 1px solid #dbe6d8 !important;
    color: #5f7a65 !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    position: relative !important;
    overflow: visible !important;
}

.btn-heart:hover {
    background: #eef4ee !important;
}

.heart-icon {
    font-size: 18px !important;
}

.heart-burst {
    display: none !important;
    opacity: 0 !important;
}

.btn-heart.is-animating .heart-burst {
    display: block !important;
}

/* 3) ��� ī�� */
ol.list-unstyled > li > .d-flex.mb-4 {
    border: 1px solid #eadfe2 !important;
    border-radius: 20px !important;
    padding: 20px !important;
    background: transparent !important;
}

/* 4) �۰� ��� */
ol.list-unstyled > li.author-comment > .d-flex.mb-4 {
    background: #fff1f6 !important;
    border-color: #efc8d6 !important;
    position: relative !important;
}

ol.list-unstyled > li.author-comment > .d-flex.mb-4 .comm-body {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 16px 18px !important;
}

/* 5) ��� �Է�â */
#bo_vc_w {
    margin-top: 30px !important;
    padding: 24px !important;
    background: #fff9fb !important;
    border: 1px solid #efd6df !important;
    border-radius: 20px !important;
}

#bo_vc_w textarea {
    border-radius: 16px !important;
    padding: 16px !important;
}

#bo_vc_w .btn-primary {
    border-radius: 999px !important;
    padding: 10px 20px !important;
}

/* 6) ����Ʈ �� / ȸ�� ��ȣ ���� �ٵ�� */
table tbody tr td {
    padding-top: 11px !important;
    padding-bottom: 11px !important;
}

.episode-num {
    display: inline-block !important;
    min-width: 28px !important;
    padding: 1px 7px !important;
    border-radius: 999px !important;
    background: #eef2f5 !important;
    color: #7b8fa1 !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    text-align: center !important;
}
/* ���� �� ī�װ��� ���� */
.cate-badge{
    color:#fff !important;
    text-decoration:none !important;
    border-radius:8px;
    padding:6px 10px;
    font-size:12px;
    font-weight:700;
}

/* ī�װ����� ���� */
.cate-����{
    background:#5f7a65 !important;
}

.cate-����{
    background:#5c7c9e !important;
}

.cate-��{
    background:#8a6a9e !important;
}

/* hover */
.cate-badge:hover{
    color:#fff !important;
    opacity:.9;
}

/* ���� �� ī�װ��� ���� ��Ÿ�� */
.cate-badge{
    display:inline-block;
    color:#fff !important;
    text-decoration:none !important;
    border-radius:14px;
    padding:4px 10px;
    font-size:11px;
    font-weight:700;
    letter-spacing:0.5px;
    margin-right:6px;
    vertical-align:middle;
    box-shadow:0 1px 2px rgba(0,0,0,0.08);
}

/* ���� */
.cate-����{
    background:linear-gradient(135deg,#6f8f76,#5f7a65) !important;
}

/* ���� */
.cate-����{
    background:linear-gradient(135deg,#6d8fb3,#5c7c9e) !important;
}

/* �� */
.cate-��{
    background:linear-gradient(135deg,#9b7bb6,#8a6a9e) !important;
}

/* ���� (���� ���) */
.cate-����{
    background:linear-gradient(135deg,#b97a7a,#9a6666) !important;
}

/* hover */
.cate-badge:hover{
    color:#fff !important;
    transform:translateY(-1px);
    box-shadow:0 2px 4px rgba(0,0,0,0.15);
}

/* =========================
   ���Ҽ� �Խ��� ����Ʈ ��Ÿ��
========================= */

/* ī�װ��� �� */
.nav-tabs{
    gap:8px;
    border-bottom:none !important;
    margin-bottom:14px;
}

.nav-tabs .nav-link{
    border:none !important;
    border-radius:999px !important;
    padding:7px 14px !important;
    background:#f2f2f2 !important;
    color:#666 !important;
    font-size:13px;
    font-weight:600;
    transition:all .2s ease;
}

.nav-tabs .nav-link:hover{
    background:#e8e8e8 !important;
    color:#333 !important;
}

.nav-tabs .nav-item:nth-child(1) .nav-link{
    background:#f2f2f2 !important;
    color:#666 !important;
}

.nav-tabs .nav-item:nth-child(2) .nav-link{
    background:#eef4ee !important;
    color:#5f7a65 !important;
}

.nav-tabs .nav-item:nth-child(3) .nav-link{
    background:#edf3f9 !important;
    color:#5c7c9e !important;
}

.nav-tabs .nav-item:nth-child(4) .nav-link{
    background:#f6eef8 !important;
    color:#8a6a9e !important;
}

.nav-tabs .nav-link.active{
    background:#6b8f71 !important;
    color:#fff !important;
    box-shadow:0 2px 6px rgba(0,0,0,0.08);
}

/* ����Ʈ �� ���� */
table tbody tr td{
    padding-top:12px !important;
    padding-bottom:12px !important;
    vertical-align:middle;
}

/* ���� �� ī�װ��� ���� */
.cate-badge{
    display:inline-block;
    min-width:42px;
    text-align:center;
    color:#fff !important;
    text-decoration:none !important;
    border-radius:999px;
    padding:4px 10px;
    font-size:11px;
    font-weight:700;
    letter-spacing:0.2px;
    margin-right:8px;
    vertical-align:middle;
    box-shadow:0 1px 2px rgba(0,0,0,0.08);
    transition:all .2s ease;
}

.cate-����{
    background:linear-gradient(135deg,#6f8f76,#5f7a65) !important;
}

.cate-����{
    background:linear-gradient(135deg,#6d8fb3,#5c7c9e) !important;
}

.cate-��{
    background:linear-gradient(135deg,#9b7bb6,#8a6a9e) !important;
}

.cate-����{
    background:linear-gradient(135deg,#b97a7a,#9a6666) !important;
}

.cate-badge:hover{
    color:#fff !important;
    transform:translateY(-1px);
    box-shadow:0 3px 8px rgba(0,0,0,0.12);
}

/* ���� ��ũ */
td a.text-dark{
    color:#2f2f2f !important;
    font-size:15px;
    font-weight:500;
    text-decoration:none !important;
    transition:color .2s ease;
}

td a.text-dark:hover{
    color:#6b8f71 !important;
}

/* ��� �� */
.badge.bg-secondary{
    background: #dad5a2 !important;
    color: #fff !important;
    border-radius:999px;
    padding:4px 8px;
    font-size:11px;
    vertical-align:middle;
    margin-left:4px;
}

/* ����/�α� ������ */
.text-warning,
.text-danger{
    margin-left:2px;
}

/* �� hover */
table tbody tr{
    transition:background-color .2s ease;
}

table tbody tr:hover{
    background:#fcfcfc;
}

/* ��¥/��ȸ�� ���� ���� ������ �ִٸ� �� �ٿ� */
td,
.text-muted,
.text-secondary,
small{
    color:#8a8f96 !important;
}

/* ����Ͽ��� ���� �ʹ� ũ�� �ʰ� */
@media (max-width: 768px){
    td a.text-dark{
        font-size:15px;
    }

    .cate-badge{
        font-size:10px;
        padding:4px 9px;
        margin-right:6px;
    }

    .nav-tabs .nav-link{
        font-size:12px;
        padding:6px 12px !important;
    }
}

/* ī�װ��� ���� */
.cate-badge {
    display: inline-block;
    min-width: 42px;
    text-align: center;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin-right: 8px;
    vertical-align: middle;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    transition: all .2s ease;
}

.cate-badge:hover {
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

.cate-serial {
    background: linear-gradient(135deg, #6f8f76, #5f7a65) !important;
}

.cate-short {
    background: linear-gradient(135deg, #6d8fb3, #5c7c9e) !important;
}

.cate-ssul {
    background: linear-gradient(135deg, #9b7bb6, #8a6a9e) !important;
}

.cate-notice {
    background: linear-gradient(135deg, #b97a7a, #9a6666) !important;
}

.cate-default {
    background: #999 !important;
}


/* �Խñ� ���� ��Ÿ�� ���� */
#bo_list a.text-dark {
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: -0.2px !important;
    line-height: 1.45 !important;
    color: #2f2f2f !important;
    font-family: "Pretendard", "Noto Sans KR", sans-serif !important;
}

#bo_list a.text-dark:hover {
    color: #6b8f71 !important;
}

/* ȸ�� ��ȣ */
#bo_list .episode-num {
    font-size: 15px !important;
    margin-left: 6px;
}

/* ����� */
@media (max-width:768px){
#bo_list a.text-dark{
    font-size:14px !important;
}
}

/* =========================
   �Խ��� ��ư ��ü ����
========================= */

/* �⺻ ��ư ũ�� */
#bo_list .btn,
#bo_v .btn,
#bo_w .btn {
    font-size: 11px !important;
    padding: 5px 9px !important;
    line-height: 1.2 !important;
    border-radius: 6px !important;
    min-width: auto !important;
    width: auto !important;
}

/* ������ ���� */
#bo_list .btn i,
#bo_v .btn i,
#bo_w .btn i{
    margin-right:3px !important;
}

/* ������ / ���� / �̵� ��ư �׷� */
#bo_list .btn_bo_adm{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:6px !important;
    margin-top:12px !important;
}

/* ������ ��ư */
a[href*="board_form.php"].btn{
    font-size:14px !important;
    padding:0px 8px !important;
}

/* �۾��� ��ư */
a[href*="write"].btn{
    font-size:14px !important;
    padding:5px 9px !important;
}

/* ��� ��ư */
a[href*="/fic"].btn,
a[href*="board.php"].btn{
    font-size:14px !important;
}

/* ����� */
@media (max-width:768px){

#bo_list .btn,
#bo_v .btn,
#bo_w .btn{
    font-size:10px !important;
    padding:4px 8px !important;
}

}

@charset "utf-8";

/* =========================
   1. 웹폰트
========================= */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

/* =========================
   2. 기본 폰트 / 전체 톤
========================= */
html,
body {
    margin: 0;
    padding: 0;
    background: #fff;
    color: #444;
    font-size: 15px;
    line-height: 1.75;
    font-family: 'Pretendard', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    word-break: keep-all;
    -webkit-text-size-adjust: 100%;
}

body,
input,
button,
select,
textarea {
    font-family: 'Pretendard', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    color: #444;
}

a {
    color: #7c5a6b;
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: #a06f86;
    text-decoration: none;
}

/* =========================
   3. 제목 / 메뉴 / 버튼
========================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #2f2a2d;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

#hd,
#header,
.navbar,
.gnb,
.nav,
.menu,
.top_menu {
    font-family: 'Pretendard', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    font-weight: 500;
}

button,
.btn,
input[type="submit"],
input[type="button"] {
    font-family: 'Pretendard', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    font-weight: 500;
    border-radius: 10px;
    transition: all 0.2s ease;
}

/* =========================
   4. 게시판 리스트
========================= */
#bo_list,
#bo_list * {
    font-family: 'Pretendard', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}

#bo_list .tbl_head01 thead th,
#bo_list .tbl_head01 th {
    font-size: 14px;
    font-weight: 600;
    color: #6e5a64;
    background: #f8f3f5;
    border-top: 1px solid #eadfe4;
    border-bottom: 1px solid #eadfe4;
}

#bo_list .tbl_head01 td {
    font-size: 14px;
    color: #444;
    border-color: #f0e8eb;
}

#bo_list .subject a {
    color: #3f353a;
    font-weight: 500;
}

#bo_list .subject a:hover {
    color: #9b6f83;
}

#bo_list .td_num,
#bo_list .td_date,
#bo_list .td_name,
#bo_list .td_numb {
    color: #888;
    font-size: 13px;
}

/* =========================
   5. 게시글 본문 가독성
========================= */
#bo_v,
#bo_v * {
    font-family: 'Pretendard', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}

#bo_v_title {
    font-size: 28px;
    font-weight: 700;
    color: #2f2a2d;
    letter-spacing: -0.03em;
    line-height: 1.45;
    margin-bottom: 14px;
}

#bo_v_info {
    font-size: 13px;
    color: #8b7d84;
    border-top: 1px solid #f0e7ea;
    border-bottom: 1px solid #f0e7ea;
    padding: 12px 0;
}

#bo_v_con {
    font-size: 16px;
    line-height: 2.0;
    color: #3f3a3d;
    letter-spacing: -0.01em;
    padding-top: 28px;
    padding-bottom: 28px;
}

#bo_v_con p {
    margin: 0 0 1.2em;
}

#bo_v_con img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* =========================
   6. 카테고리 / 말머리
========================= */
.bo_cate_link,
#bo_cate a {
    display: inline-block;
    padding: 6px 13px;
    border-radius: 999px;
    background: #f7eef2;
    border: 1px solid #eadbe2;
    color: #8a6375;
    font-size: 13px;
    font-weight: 500;
}

.bo_cate_link:hover,
#bo_cate a:hover,
#bo_cate #bo_cate_on {
    background: #e8d3dc;
    border-color: #dfc2ce;
    color: #734f5f;
}

/* =========================
   7. 댓글 영역
========================= */
#bo_vc,
#bo_vc * {
    font-family: 'Pretendard', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}

#bo_vc {
    margin-top: 40px;
}

#bo_vc h2,
#bo_vc_w h2 {
    font-size: 18px;
    color: #4a3c43;
    font-weight: 700;
    margin-bottom: 16px;
}

#bo_vc .comment_article {
    background: #fffafb;
    border: 1px solid #f1e6ea;
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 14px;
}

#bo_vc .comment_article .name,
#bo_vc .comment_article .sv_member,
#bo_vc .comment_article .sv_guest {
    color: #7b5968;
    font-weight: 600;
}

#bo_vc .comment_article .datetime {
    color: #9d8b93;
    font-size: 12px;
}

#bo_vc .comment_article p,
#bo_vc .comment_article .comment-content {
    font-size: 14px;
    line-height: 1.8;
    color: #4a4548;
}

/* 작가 댓글 강조 */
#bo_vc .comment_article.bo_vc_best,
#bo_vc .comment_article.is-admin,
#bo_vc .comment_article.admin-comment {
    background: #fcf4f7;
    border: 1px solid #ebd4dd;
    box-shadow: 0 4px 14px rgba(80, 40, 60, 0.05);
}

/* =========================
   8. 댓글 입력창
========================= */
#bo_vc_w {
    margin-top: 24px;
    background: #fffafb;
    border: 1px solid #f1e6ea;
    border-radius: 18px;
    padding: 20px;
}

#bo_vc_w textarea,
#bo_vc_w input[type="text"],
#bo_vc_w input[type="password"] {
    width: 100%;
    border: 1px solid #eadce2;
    background: #fff;
    color: #444;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.7;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

#bo_vc_w textarea {
    min-height: 140px;
    resize: vertical;
}

#bo_vc_w textarea:focus,
#bo_vc_w input[type="text"]:focus,
#bo_vc_w input[type="password"]:focus {
    outline: none;
    border-color: #d7b8c5;
    box-shadow: 0 0 0 4px rgba(215, 184, 197, 0.18);
}

#bo_vc_w .btn_submit,
#bo_vc_w input[type="submit"] {
    background: #8f6a79;
    color: #fff;
    border: 0;
    padding: 11px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

#bo_vc_w .btn_submit:hover,
#bo_vc_w input[type="submit"]:hover {
    background: #7b5968;
}

/* =========================
   9. 버튼 통일
========================= */
.btn,
a.btn,
button.btn {
    border-radius: 10px;
}

.btn-default,
.btn-secondary {
    background: #f6eff2;
    border: 1px solid #e8d9e0;
    color: #6e5560;
}

.btn-default:hover,
.btn-secondary:hover {
    background: #ead7df;
    border-color: #dcc1cd;
    color: #5f4751;
}

.btn-primary {
    background: #8f6a79;
    border-color: #8f6a79;
    color: #fff;
}

.btn-primary:hover {
    background: #7b5968;
    border-color: #7b5968;
    color: #fff;
}

/* =========================
   10. 모바일 보정
========================= */
@media (max-width: 768px) {

    html,
    body {
        font-size: 14px;
        line-height: 1.7;
    }

    #bo_v_title {
        font-size: 23px;
    }

    #bo_v_con {
        font-size: 15px;
        line-height: 1.9;
    }

    #bo_list .tbl_head01 td,
    #bo_list .tbl_head01 th {
        font-size: 13px;
    }

    #bo_vc .comment_article {
        padding: 15px 16px;
        border-radius: 14px;
    }

    #bo_vc_w {
        padding: 16px;
        border-radius: 14px;
    }
}

/* =========================
   상단 메뉴 로즈톤 스타일
========================= */
#TopNavbar .navbar-nav>li>a {
    position: relative;
    display: inline-block;
    color: #3a3437;
    font-weight: 500;
    padding: 10px 16px;
    transition: color 0.2s ease;
}

/* hover */
#TopNavbar .navbar-nav>li>a:hover {
    color: #c88aa2;
}

/* 선택된 메뉴 글자색 */
#TopNavbar .navbar-nav>li.current-menu>a {
    color: #b06a84 !important;
    font-weight: 600;
}

/* 밑줄 기본 */
#TopNavbar .navbar-nav>li>a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #c88aa2;
    border-radius: 2px;
    transition: width 0.2s ease, background 0.2s ease;
}

/* hover 밑줄 */
#TopNavbar .navbar-nav>li>a:hover::after {
    width: 70%;
}

/* 선택된 메뉴 밑줄 */
#TopNavbar .navbar-nav>li.current-menu>a::after {
    width: 70%;
    background: #b06a84;
}

/* =========================
   추천 하트 플로팅 애니메이션
========================= */
.flying-heart {
    position: fixed;
    z-index: 99999;
    pointer-events: none;
    font-size: 18px;
    line-height: 1;
    color: #b06a84;
    animation: flyingHeartUp 0.9s ease-out forwards;
    will-change: transform, opacity;
}

@keyframes flyingHeartUp {
    0% {
        transform: translate(-50%, 0) scale(0.8);
        opacity: 0;
    }

    15% {
        transform: translate(-50%, -6px) scale(1.15);
        opacity: 1;
    }

    45% {
        transform: translate(-58%, -24px) scale(1.05);
        opacity: 1;
    }

    75% {
        transform: translate(-42%, -46px) scale(0.95);
        opacity: 0.85;
    }

    100% {
        transform: translate(-50%, -68px) scale(0.8);
        opacity: 0;
    }
}


/* =========================
   좋아요 버튼 로즈톤 스타일
========================= */

.btn_good,
a[href*="good"],
button[class*="good"]{
    position: relative;
    background:#f6e9ee;
    border:1px solid #e8d2da;
    color:#b06a84;
    border-radius:10px;
    padding:6px 12px;
    font-size:14px;
    transition:all .2s ease;
}

/* 하트 아이콘 */
.btn_good i,
a[href*="good"] i{
    color:#b06a84;
    font-size:16px;
    margin-right:4px;
}

/* hover */
.btn_good:hover,
a[href*="good"]:hover,
button[class*="good"]:hover{
    background:#ecd7df;
    border-color:#ddb8c6;
    color:#9b6f83;
}

/* 클릭 상태 */
.btn_good:active{
    background:#e6ccd7;
    border-color:#d4a8b8;
    transform:scale(0.96);
}

/* =========================
   하트 플로팅 애니메이션
========================= */

.flying-heart{
    position:fixed;
    z-index:99999;
    pointer-events:none;
    font-size:20px;
    line-height:1;
    color:#b06a84;
    animation:flyingHeartUp .9s ease-out forwards;
}

/* 애니메이션 */
@keyframes flyingHeartUp{

0%{
    transform:translate(-50%,0) scale(.8);
    opacity:0;
}

20%{
    transform:translate(-50%,-10px) scale(1.2);
    opacity:1;
}

50%{
    transform:translate(-60%,-35px) scale(1.05);
    opacity:1;
}

80%{
    transform:translate(-40%,-55px) scale(.9);
    opacity:.8;
}

100%{
    transform:translate(-50%,-75px) scale(.8);
    opacity:0;
}

}

/* =========================
   소설 게시글 읽기 최적화
========================= */

/* 게시글 전체 영역 */
#bo_v {
    max-width: 680px;
    margin: 0 auto;
}

/* 제목 */
#bo_v_title {
    font-size: 30px;
    line-height: 1.45;
    letter-spacing: -0.03em;
    font-weight: 700;
    color: #2f2a2d;
    margin-bottom: 14px;
}

/* 작성 정보 */
#bo_v_info {
    padding: 12px 0;
    margin-bottom: 10px;
    border-top: 1px solid #f0e7ea;
    border-bottom: 1px solid #f0e7ea;
    font-size: 13px;
    color: #8b7d84;
}

/* 본문 래퍼 */
#bo_v_con {
    font-size: 16px;
    line-height: 1.85;
    letter-spacing: -0.01em;
    color: #3f3a3d;
    padding: 28px 0px 32px;
    word-break: keep-all;
    overflow-wrap: break-word;
}

/* 문단 */
#bo_v_con p {
    margin: 0 0 1em;
}

/* br 많이 들어간 글도 보기 좋게 */
#bo_v_con br+br {
    line-height: 1.9;
}

/* 이미지 */
#bo_v_con img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px auto;
    border-radius: 12px;
}

/* 인용문 */
#bo_v_con blockquote {
    margin: 24px 0;
    padding: 16px 18px;
    background: #fcf7f9;
    border-left: 4px solid #dcb9c7;
    color: #5a5155;
    border-radius: 10px;
}

/* 링크 */
#bo_v_con a {
    color: #a56f86;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#bo_v_con a:hover {
    color: #8f5d72;
}

/* 이전글 다음글 */
.bo_v_nb {
    margin-top: 28px;
    border-top: 1px solid #f0e7ea;
    border-bottom: 1px solid #f0e7ea;
    background: #fffafb;
    border-radius: 14px;
    overflow: hidden;
}

.bo_v_nb li {
    border-color: #f1e8eb;
}

.bo_v_nb a {
    color: #5a5055;
}

.bo_v_nb a:hover {
    color: #a06f86;
    background: #fcf4f7;
}

/* 본문 하단 버튼 영역 */
#bo_v_bot,
.bo_v_com {
    margin-top: 26px;
}

/* 댓글 영역 */
#bo_vc {
    margin-top: 42px;
    padding-top: 10px;
    border-top: 1px solid #f2e8ec;
}

#bo_vc h2,
#bo_vc_w h2 {
    font-size: 18px;
    color: #4a3c43;
    font-weight: 700;
    margin-bottom: 16px;
}

/* 댓글 카드 */
#bo_vc .comment_article {
    background: #fffafb;
    border: 1px solid #f1e6ea;
    border-radius: 16px;
    padding: 18px 20px;
    margin-bottom: 14px;
}

#bo_vc .comment_article .name,
#bo_vc .comment_article .sv_member,
#bo_vc .comment_article .sv_guest {
    color: #7b5968;
    font-weight: 600;
}

#bo_vc .comment_article .datetime {
    color: #9d8b93;
    font-size: 12px;
}

#bo_vc .comment_article p,
#bo_vc .comment_article .comment-content {
    font-size: 14px;
    line-height: 1.85;
    color: #4a4548;
}

/* 댓글 입력창 */
#bo_vc_w {
    margin-top: 24px;
    background: #fffafb;
    border: 1px solid #f1e6ea;
    border-radius: 18px;
    padding: 20px;
}

#bo_vc_w textarea,
#bo_vc_w input[type="text"],
#bo_vc_w input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #eadce2;
    background: #fff;
    color: #444;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.75;
    transition: all 0.2s ease;
}

#bo_vc_w textarea {
    min-height: 140px;
    resize: vertical;
}

#bo_vc_w textarea:focus,
#bo_vc_w input[type="text"]:focus,
#bo_vc_w input[type="password"]:focus {
    outline: none;
    border-color: #d7b8c5;
    box-shadow: 0 0 0 4px rgba(215, 184, 197, 0.18);
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    #bo_v {
        max-width: 100%;
    }

    #bo_v_title {
        font-size: 24px;
        line-height: 1.4;
    }

    #bo_v_info {
        font-size: 12px;
    }

    #bo_v_con {
        font-size: 15px;
        line-height: 1.75;
        padding: 24px 2px 32px;
    }

    #bo_v_con p {
        margin: 0 0 0.9m;
    }

    #bo_vc .comment_article {
        padding: 15px 16px;
        border-radius: 14px;
    }

    #bo_vc_w {
        padding: 16px;
        border-radius: 14px;
    }
}


/* =========================
   소설 본문 최종 세팅
========================= */

#bo_v {
    max-width: 680px;
        margin: 0 auto;
        padding: 0 16px;
}

#bo_v_con,
#bo_v_con p,
#bo_v_con div,
#bo_v_con span,
#bo_v_con font {
    font-family: 'SUIT', 'Pretendard', 'Noto Sans KR', 'Malgun Gothic', sans-serif !important;
    font-size: 17px !important;
    line-height: 1.85 !important;
    letter-spacing: -0.01em;
    color: #3f3a3d;
    word-break: keep-all;
    font-weight: 420;
}

#bo_v_con {
    padding: 28px 0 32px;
}

#bo_v_con p {
    #bo_v_con p {
    text-indent: 0.8em;
    margin: 0 0 1em !important;
}
