html { overflow-y: scroll !important; }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', 'Apple SD Gothic Neo', sans-serif;
}

/* 전체 화면 불펌 방지 세팅 완벽 유지  */
body { 
    background-color: #f9dfe3;  
    cursor: url('https://tistory1.daumcdn.net/tistory/8841916/skin/images/cursor.cur'), auto;
    background-image: url('./images/grid_bg.png');
    background-repeat: repeat;

    background-size: 35px 35px;
    background-position: center top;

    color: #333;

    -webkit-user-select: none; 
    -moz-user-select: none; 
    -ms-user-select: none; 
    user-select: none; 
}
a { color: inherit; text-decoration: none; }
ul, li { list-style: none; }

.container_postbtn, .postbtn_like, .wrap_btn, .tt-btn-state, .기타정보, .writer, .date, .reply, #entryComments, .comment, .tt_adsense_bottom { 
    display: none !important; visibility: hidden !important; height: 0 !important; padding: 0 !important; margin: 0 !important; 
}

/* 1. 인트로 랜딩 페이지 원래 스타일 완벽 유지 */
#intro-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
height: 100dvh;

    background:
    linear-gradient(
        rgba(255,245,247,0.35),
        rgba(248,207,213,0.45)
    ),
    url('./images/grid_bg.png');

    background-repeat:
        no-repeat,
        repeat;

    background-size:
        cover,
        30px 30px;

    z-index: 10000;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#intro-page::before {
    content: "";

    position: absolute;

    width: 550px;
    height: 550px;

    border-radius: 50%;

    background: rgba(255,255,255,0.18);

    filter: blur(80px);

    z-index: 0;
}
.intro-logo-wrap {
    position: relative;
    z-index: 2;

    text-align: center;
    cursor: url('https://tistory1.daumcdn.net/tistory/8841916/skin/images/cursor.cur'), pointer;

    animation: introFadeUp 1.2s ease-out;
}
.intro-logo-wrap img {
    max-width: 64%;
    height: auto;
    max-height: 300px;

    filter:
    drop-shadow(0 0 12px rgba(255,255,255,0.55))
    drop-shadow(0 0 28px rgba(255,255,255,0.35));
}
.enter-text {
    color: #d58ca0;

    margin-top: 20px;

    letter-spacing: 5px;

    font-size: 14px;

    font-weight: 700;

    text-shadow:
        0 0 6px rgba(255,255,255,0.45);

    opacity: 0;

    animation:
        enterFadeUp 0.8s ease forwards,
        blink 1.5s infinite;

    animation-delay:
        0.6s,
        1.4s;
}
@keyframes blink { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

@keyframes introFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes enterFadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
#main-wrapper { 
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 30px;

    background: rgba(255,255,255,0.92);

    min-height: 100vh;
    position: relative;

    box-shadow:
0 0 40px rgba(255,255,255,0.45);
}
#site-header {
    padding: 70px 0 30px 0;

    text-align: center;

    border-bottom: 2px dashed rgba(243,182,199,0.6);
}
.main-logo img {
    max-width: 420px;
    width: 100%;
    height: auto;
}

.main-logo {
    opacity: 0;
    animation: fadeUp 1.1s ease forwards;
}
.main-nav {
    opacity: 0;
    animation: fadeUp 1.1s ease forwards;
    animation-delay: 0.3s;
}
.main-nav { margin-top: 30px; }
.main-nav ul {
    display: flex;
    justify-content: center;
    gap: 30px;
}

/* 메뉴 글자 크기 14px, 자간 1px 세팅 완벽 유지 */
.main-nav a {
    position: relative;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 1px;

    color: #d58ca0;

    transition: color 0.25s ease;

    padding: 4px 2px;
}

.main-nav a {
    position: relative;
    display: inline-block;
    z-index: 2;
}

.main-nav a:hover {
    color: #d58ca0;
}

.main-nav a.active {
    color: #6faea3;

    font-weight: 700;
}

.main-nav a::after {
    content: "";

    position: absolute;

    left: -8px;
    bottom: 3px;

    width: 0%;

    height: 11px;

    background: rgba(248, 186, 204, 0.5);

    z-index: 1;

    transform: rotate(-1deg);

    transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: calc(100% + 16px);
}

#content-area {
    padding: 40px 0 10px 0;

    opacity: 0;
    animation: fadeUp 1.1s ease forwards;
    animation-delay: 0.6s;
}
.section-title { font-size: 20px; text-align: center; margin-bottom: 55px; letter-spacing: 2px; font-weight: bold; color: #555; }
.empty-msg { text-align: center; color: #aaa; padding: 40px 0; font-size: 14px; width: 100%; }

.tab-content { margin-bottom: 10px; }

.promo-banner { width: 100%; text-align: center; margin-bottom: 30px; }
.promo-banner img { width: 100%; height: auto; }
.reservation-area {

    display: flex;

    justify-content: center;

    gap: 16px;

    margin-bottom: 50px;

    flex-wrap: wrap;

}
.btn-reserve {
    display: inline-block;

    padding: 15px 40px;

    background: #f3b6c7;

    color: #fff;

    font-weight: 600;

    letter-spacing: 2px;

    border-radius: 999px;

    transition: all 0.3s ease;
    min-width: 240px;

text-align: center;
}

.btn-reserve:hover {
    background: #ebb0c1;

    transform: translateY(-2px);
}

/* 3열 리스트 노티스 슬라이더 규격 */
.notice-list-area { 
    border-top: 2px dashed rgba(243,182,199,0.6);
    padding-top: 30px; 
    position: relative; 
}
.notice-slider-container { 
    position: relative; 
    width: 100%; 
    overflow: hidden; 
    padding: 15px 35px; 
    margin: 0 auto;
}
.notice-slider-track { display: flex; gap: 20px; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.notice-slide-item { flex: 0 0 calc(33.333% - 14px); min-width: 220px; }

/* 공지 박스 디자인 완벽 유지 */
.notice-box-link { display: block; background: rgba(255,255,255,0.92); border: 1px solid #e2e2e2; border-radius: 16px; padding: 18px 18px 20px 18px; transition: all 0.3s ease; }
.notice-box-link:hover {
    border-color: #f2b7c7;
    box-shadow: 0 6px 18px rgba(242,183,199,0.18);

    transform: translateY(-3px);
}
.notice-box-link:hover .notice-box-title::after {
    width: calc(100% + 12px);
}
.notice-box-title {
    display: inline-block;

    max-width: 100%;

    font-weight: bold;
    font-size: 14px;

    color: #d58ca0;

    margin-bottom: 8px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    position: relative;
    z-index: 2;
}
.notice-box-title::after {
    content: "";

    position: absolute;

    left: -6px;
    bottom: 1px;

    width: 0%;

    height: 10px;

    background: rgba(248,186,204,0.45);

    z-index: -1;

    transition: width 0.25s ease;
}
.notice-box-desc { font-size: 12px; color: #666; line-height: 1.5; height: 6em; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }

/* 슬라이더 좌우 버튼 디자인 완벽 유지 */
.slide-nav-btn {
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    width: 42px;  
    height: 42px; 
    border-radius: 50%;
    background: #fff; 
    border: 1px solid #ddd; 
    text-indent: -9999px; 
    cursor: pointer; 
    z-index: 10; 
    display: none;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
}
.slide-nav-btn:hover {
    background: #f3b6c7;
    border-color: #f3b6c7;
}
.slide-nav-btn.prev { left: 8px; }  
.slide-nav-btn.next { right: 8px; } 

.slide-nav-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid #666;  
    border-left: 2px solid #666;
    transition: border-color 0.25s;
}
.slide-nav-btn:hover::after { border-color: #fff; }
.slide-nav-btn.prev::after { transform: translate(-35%, -50%) rotate(-45deg); }
.slide-nav-btn.next::after { transform: translate(-65%, -50%) rotate(135deg); }


.member-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 35px 25px; max-width: 800px; margin: 0 auto; }
.member-card { flex: 0 1 calc(33.333% - 17px); min-width: 170px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.avatar-link { display: inline-block; margin-bottom: 15px; }
.avatar-holder { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; background: #f0f0f0; transition: transform 0.3s ease; }
.avatar-holder:hover { transform: scale(1.06); }
.avatar-holder img { width: 100%; height: 100%; object-fit: cover; }
.member-name { display: block; font-weight: bold; margin-bottom: 6px; font-size: 16px; color: #555; position: relative;
display: inline-block;
z-index: 2;}
.member-name::after {
    content: "";

    position: absolute;

    left: -6px;
    bottom: 2px;

    width: 0%;

    height: 11px;

    background: rgba(248,186,204,0.35);

    z-index: -1;

    transition: width 0.25s ease;
}
.member-card:hover .member-name::after {
    width: calc(100% + 12px);
}
.member-card:hover .member-name {
    color: #d58ca0;
}
.sns-link-text { font-size: 13px; color: #888; font-weight: 500; }

/* 소설 리스트 규격 */
.novel-custom-list { display: flex; flex-direction: column; gap: 20px; max-width: 800px; margin: 0 auto; }
.novel-custom-card { background: rgba(255,255,255,0.85); border: 1px solid #e2e2e2; border-radius: 16px; padding: 24px 24px 20px 24px; width: 100%;}
.novel-custom-card:hover {
    border-color: #f2b7c7;
    box-shadow: 0 6px 18px rgba(242,183,199,0.18);
    transform: translateY(-3px);
}
.novel-custom-card:hover .novel-custom-title::after {
    width: calc(100% + 12px);
}
.novel-custom-title {
    position: relative;

    display: block;

    width: fit-content;
    max-width: 100%;

    font-size: 17px;
    font-weight: bold;

    color: #d58ca0;

    margin-bottom: 12px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.novel-custom-title::after {
    content: "";

    position: absolute;

    left: -6px;
    bottom: 2px;

    width: 0%;

    height: 11px;

    background: rgba(248,186,204,0.4);

    z-index: -1;

    transition: width 0.25s ease;
}

.novel-card-desc {
    font-size: 14px;
    color: #555;

    line-height: 1.8;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;

    overflow: hidden;

    height: 7.2em;
}

/* PC 버전 만화 리스트 (1줄에 2개) */
.comic-custom-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; max-width: 800px; margin: 0 auto; }
.comic-custom-card { width: 100%; }
.comic-card-inner-box { display: block; width: 100%; background: #fff; border: 1px solid #e2e2e2; border-radius: 16px; overflow: hidden; transition: all 0.3s ease; }
.comic-card-inner-box:hover {
    border-color: #f2b7c7;
    box-shadow: 0 6px 18px rgba(242,183,199,0.18); transform: translateY(-3px);
}
.comic-card-inner-box:hover .comic-card-title::after {
    width: calc(100% + 12px);
}
.comic-thumb-wrapper { width: 100%; aspect-ratio: 4/3; overflow: hidden; background: #f5f5f5; margin: 0; padding: 0; }
.comic-thumb-wrapper img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.comic-card-inner-box:hover .comic-thumb-wrapper img { transform: scale(1.05); }
.comic-title-container { padding: 16px 18px; background: #fff; border-top: 1px solid #f2f2f2; }
.comic-card-title {
    font-size: 15px;
    font-weight: bold;
    color: #d58ca0;

    position: relative;

    display: inline-block;

    z-index: 2;
}
.comic-card-title::after {
    content: "";

    position: absolute;

    left: -6px;
    bottom: 1px;

    width: 0%;

    height: 10px;

    background: rgba(248,186,204,0.4);

    z-index: -1;

    transition: width 0.25s ease;
}

.post-content-area {
    max-width: 800px;
    margin: 0 auto;

    padding-top: 20px;
    padding-bottom: 100px;
}

.post-view-title {

    display: inline;

    font-size: 23px;

    font-weight: 700;
    color: #555;

    line-height: 1.45;

    text-align: center;

    background:
        linear-gradient(
            transparent 72%,
            rgba(248,186,204,0.35) 72%
        );

    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;

    padding: 0 .35em;

    max-width: 85%;

    margin: 0 auto 70px auto;

    word-break: keep-all;
}

.post-content-area {
    text-align: center;
}

.post-body {
    text-align: left;
}

.post-body {
    font-size: 16px;
    line-height: 2;
    color: #4d463f;
}
.post-body .tt_article_useless_p_margin p {
    margin: 0 !important;
}

.post-body .tt_article_useless_p_margin p + p {
    margin-top: 0.8em !important;
}

.post-body .tt_article_useless_p_margin p {
    text-indent: 0.8em;
}

.post-body p + p {
    margin-top: 0.15em;
}

.post-body p:has(> span:only-child:empty) {
    height: 1.4em;
}
.post-body img { max-width: 100%; height: auto; display: block; margin: 10px auto; }
.admin-edit-buttons { text-align: right; margin-bottom: 20px; font-size: 13px; color: #888; }
.admin-edit-buttons a { text-decoration: underline; margin-left: 5px; }

/* ✨ [대교정] 우측으로 왕창 쏠리던 탑버튼 아이콘 완벽하게 정중앙 정렬 */
#floating-top { 
    position: fixed !important; 
    bottom: 40px !important; 
    right: 40px !important; 
    z-index: 99999 !important; 
    display: block !important; 
}
#floating-top button { 
    width: 48px; 
    height: 48px; 
    border-radius: 50%; 
    background: #9fc9c1;
    border: none; 
    cursor: pointer; 
    transition: background 0.3s, transform 0.2s; 
    box-shadow: 0 3px 12px rgba(0,0,0,0.18);
    
    /* 기존 text-indent를 지우고 온전하게 내부 정중앙 정렬 시스템 선언 */
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    text-indent: 0 !important; /* 쏠림의 주범이었던 텍스트 밀어내기 초기화 */
    color: transparent;        /* 글자 'TOP'은 안 보이게 글자색만 투명 처리 */
    font-size: 0;              /* 폰트 크기를 없애서 정중앙 축 붕괴 방지 */
}
#floating-top button:hover { 
    background: #87b8af;
    transform: translateY(-2px);
}
/* ✨ absolute 정밀 좌표 시스템으로 원형 한가운데에 꺾쇠 박아넣기 */
#floating-top button::after {
    content: "";
    position: absolute;
    top: 54%;          /* 정중앙보다 미세하게 아래로 내려서 균형 매칭 */
    left: 50%;
    width: 12px;       
    height: 12px;      
    border-top: 2.5px solid #fff;  
    border-left: 2.5px solid #fff; 
    transform: translate(-50%, -50%) rotate(45deg); /* 정중앙 축 기준 완벽 고정 */
}

#floating-back {
    position: fixed !important;

    bottom: 100px !important;
    right: 40px !important;

    z-index: 99999 !important;

    display: none;
}

#floating-back button {
    width: 48px;
    height: 48px;

    border-radius: 50%;

    background: #f3b6c7;

    border: none;

    cursor: pointer;

    box-shadow: 0 3px 12px rgba(0,0,0,0.18);

    position: relative;

    color: transparent;
    font-size: 0;

    transition: all 0.25s ease;
}

#floating-back button:hover {
    background: #e9a7ba;

    transform: translateY(-2px);
}

#floating-back button::after {
    content: "";

    position: absolute;

    top: 50%;
    left: 54%;

    width: 12px;
    height: 12px;

    border-top: 2.5px solid #fff;
    border-left: 2.5px solid #fff;

    transform: translate(-50%, -50%) rotate(-45deg);
}



/* 푸터 스타일 완벽 유지 */
#site-footer { text-align: center; padding: 30px 0; font-size: 12px; color: #d58ca0; border-top: 2px dashed rgba(243,182,199,0.6); margin-top: 20px; opacity: 0;
animation: fadeUp 1.1s ease forwards;
animation-delay: 0.9s;}

/* 반응형 모바일 구간 세팅 */
@media screen and (max-width: 768px) {

    #main-wrapper {
        width: calc(100% - 24px);
        margin: 0 auto;
        padding: 0 3%;
    }

    .main-nav ul {
        gap: 20px;
    }

    .main-nav a {
        font-size: 14px;
    }

    .notice-slider-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        padding: 5px 0px 15px 0px;
    }

    .notice-slider-container::-webkit-scrollbar {
        display: none;
    }

    .notice-slider-track {
        display: flex;
        gap: 15px;
        width: auto !important;
        transform: none !important;
    }

    .notice-slide-item {
        flex: 0 0 82%;
        min-width: 260px;
    }

    /* 만화 */
    .comic-custom-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .comic-title-container {
        padding: 10px 12px;
    }

    .comic-card-title {
        font-size: 13px;
    }

    /* 멤버 */
    .member-grid {
        gap: 25px 15px;
    }

    .member-card {
        flex: 0 1 calc(50% - 8px);
        min-width: 0;
    }

    .avatar-holder {
        width: 110px;
        height: 110px;
    }

    #floating-top {
        bottom: 20px !important;
        right: 20px !important;
    }
    .reservation-area{
    flex-direction: column;
    align-items: center;
}

.btn-reserve{
    min-width: 180px;
    padding: 11px 24px;
    font-size: 12px;
    letter-spacing: 1px;
}
}

@media screen and (max-width:768px){
#floating-top { bottom: 20px !important; right: 20px !important; }
#floating-back{
    bottom:80px !important;
    right:20px !important;
}
}

/* 카테고리의 다른 글 완전 제거 */
div.another_category,
div.another_category.another_category_color_gray {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;

    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;

    overflow: hidden !important;
}

.intro-logo-wrap {
    animation: introFadeUp 1.2s ease-out;
}

@keyframes introFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-fade {
    animation: tabFadeUp 1.2s ease;
}

@keyframes tabFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 크롬, 엣지, 사파리 */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #f3b6c7;
    border-radius: 999px;

    border: 2px solid transparent;
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
    background: #e9a7ba;
    background-clip: padding-box;
}


/* 인용구 */

.post-body blockquote[data-ke-style="style1"] {
    position: relative;

    display: block;
width: 85%;
max-width: 650px;
margin: 10px auto;

    border: 1px dashed #f3b6c7 !important;
    border-radius: 12px;

    background: transparent !important;

    padding: 20px 10px;
    margin: 30px auto;

    text-align: center;

    font-family: 'Pretendard', sans-serif !important;
    font-size: 15px !important;
    line-height: 1.9;

    color: #8f878a !important;

    box-shadow: none !important;
}

.post-body blockquote[data-ke-style="style1"] * {
    font-family: 'Pretendard', sans-serif !important;
    color: #8f878a !important;
}

.post-body blockquote[data-ke-style="style1"]::after {
    display: none !important;
}

.post-body blockquote[data-ke-style="style1"]::before {
    content: "♥";

    display: block;

    color: #f3b6c7;

    font-size: 22px;

    line-height: 1;

    margin-bottom: 8px;
}

@media screen and (max-width:768px){

.post-body blockquote[data-ke-style="style1"]{

    width: 80% !important;
    max-width: 80% !important;

    padding: 24px 32px !important;

    font-size: 11px !important;
    line-height: 2 !important;

    margin: 30px auto !important;

}

}

@media screen and (max-width:768px){

.post-body blockquote[data-ke-style="style1"]{
    width: 80% !important;
    max-width: 80% !important;

    padding: 24px 32px !important;

    font-size: 11px !important;
    line-height: 2 !important;
}

.post-body blockquote[data-ke-style="style1"] p,
.post-body blockquote[data-ke-style="style1"] span{
    font-size: 11px !important;
    line-height: 2 !important;
    word-break: keep-all !important;
}

}

/* =========================
   Floating Particles
========================= */

#floating-particles{
    position:fixed;
    inset:0;
    pointer-events:none;
    overflow:hidden;
    z-index:10001;
}

.particle{
    position:absolute;
    border-radius:50%;

    animation:
        particleDrift linear infinite;
}

@keyframes particleDrift{

    from{
        transform:
            translate(-15vw,-15vh);
    }

    to{
        transform:
            translate(120vw,120vh);
    }
}

a,
button,
.nav-link,
.notice-box-link,
.avatar-link,
.btn-reserve {
    cursor: url('https://tistory1.daumcdn.net/tistory/8841916/skin/images/cursor.cur'), pointer;
}

/* 예약 준비중 버튼 */

#toast-message{

    position:fixed;

    left:50%;
    bottom:35px;

    transform:translateX(-50%) translateY(20px);

    background:rgba(255,255,255,.97);

    color:#d58ca0;

    padding:12px 24px;

    border-radius:999px;

    font-size:14px;
    font-weight:600;

    box-shadow:0 8px 25px rgba(0,0,0,.12);

    opacity:0;

    pointer-events:none;

    transition:.35s;

    z-index:999999;
}

#toast-message.show{
    opacity:1;
    transform:translateX(-50%) translateY(0);
}
