/* ==================================================
   3D CAFE | 회원가입 공통 디자인
   signupConfirm.php + signupForm.php
   ================================================== */

.join-wrap,
.join-container,
.join-box,
.join-wrap *,
.join-box * {
    box-sizing: border-box;
}

.join-wrap,
.join-box {
    width: min(900px, calc(100% - 32px));
    background: #f8f3ea;
    border: 1px solid #dfd0bc;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(54, 35, 22, 0.12);
    color: #443329;
    font-family: "맑은 고딕", sans-serif;
}

.join-wrap .join-btn,
.join-box .join-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #76543d;
    border: 1px solid #76543d;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, transform .2s, box-shadow .2s;
}

.join-wrap .join-btn:hover,
.join-box .join-btn:hover {
    background: #593c2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(74, 47, 30, .18);
}

.join-wrap .join-btn:focus-visible,
.join-box .join-btn:focus-visible,
.join-box .check-btn:focus-visible {
    outline: 3px solid #b98d65;
    outline-offset: 3px;
}

/* ==================================================
   1. signupConfirm.php | 약관 동의
   ================================================== */

.join-wrap {
    margin: 60px auto;
    padding: 48px 55px;
    font-size: 14px;
    line-height: 1.8;
}

.join-wrap .center { text-align: center; }

.join-wrap h3.center {
    margin: 0 0 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid #c5a98a;
    color: #563a2b;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -.8px;
}

.join-wrap .guide-text {
    margin: 0 0 35px;
    padding: 18px 22px;
    background: #efe6da;
    border-left: 4px solid #a78360;
    border-radius: 6px;
    color: #705947;
    line-height: 1.9;
}

.join-wrap .guide-text small { font-size: 13px; }
.join-wrap > p:not(.guide-text):not(.center) { margin: 0 0 28px; }

.join-wrap p > strong {
    display: inline-block;
    margin-bottom: 12px;
    color: #604433;
    font-size: 16px;
    font-weight: 700;
}

.join-wrap textarea {
    display: block;
    width: 100%;
    height: 230px;
    margin: 0;
    padding: 22px 24px;
    background: #fffdf9;
    border: 1px solid #d8c8b5;
    border-radius: 10px;
    outline: none;
    color: #55483d;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.9;
    resize: vertical;
    overflow-y: auto;
    transition: border-color .2s;
}

.join-wrap textarea:focus { border-color: #a78360; }
.join-wrap textarea::-webkit-scrollbar { width: 9px; }
.join-wrap textarea::-webkit-scrollbar-track {
    background: #f3eee6;
    border-radius: 10px;
}
.join-wrap textarea::-webkit-scrollbar-thumb {
    background: #c6ad91;
    border: 2px solid #f3eee6;
    border-radius: 10px;
}
.join-wrap textarea::-webkit-scrollbar-thumb:hover { background: #a78360; }

.join-wrap > p.center {
    margin: 38px 0 0;
    padding-top: 28px;
    border-top: 1px solid #ddcdb9;
}

.join-wrap > p.center small {
    display: inline-block;
    margin-bottom: 5px;
    color: #604b3c;
    font-size: 14px;
    font-weight: 600;
}

.join-wrap .join-btn {
    min-width: 135px;
    min-height: 46px;
    padding: 10px 28px;
    font-size: 14px;
}

.join-wrap .join-btn:last-of-type {
    background: #f8f3ea;
    border-color: #b9a28e;
    color: #76543d;
}
.join-wrap .join-btn:last-of-type:hover { background: #e9ddcf; }

/* ==================================================
   2. signupForm.php | 회원정보 입력
   ================================================== */

.join-container {
    width: 100%;
    margin: 0;
    padding: 0;
    color: #443329;
    font-family: "맑은 고딕", sans-serif;
}

.join-box {
    margin: 20px auto;
    padding: 24px 35px;
    /* 고정 높이를 사용하지 않아 입력 행과 버튼이 박스 밖으로 넘치지 않음 */
}

.join-box h2 {
    margin: 0 0 12px;
    color: #563a2b;
    font-size: 27px;
    font-weight: 700;
    letter-spacing: -.8px;
    text-align: center;
}

.join-box .join-subtitle {
    margin: 0 0 35px;
    padding-bottom: 25px;
    border-bottom: 2px solid #c5a98a;
    color: #8a7361;
    font-size: 14px;
    text-align: center;
}

.join-box .join-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.join-box .join-table tr { border-bottom: 1px solid #e5d9ca; }
.join-box .join-table tr:last-child { border-bottom: none; }

/* 각 입력 행의 상하 패딩을 16px로 통일 */
.join-box .join-table th,
.join-box .join-table td {
    padding: 16px 8px;
    vertical-align: middle;
    font-size: 14px;
}

.join-box .join-table th {
    width: 155px;
    color: #604433;
    font-weight: 600;
    text-align: left;
}

.join-box .join-input {
    display: block;
    width: 100%;
    min-width: 0;
    height: 43px;
    padding: 0 14px;
    background: #fffdf9;
    border: 1px solid #d8c8b5;
    border-radius: 7px;
    outline: none;
    color: #443329;
    font: 14px "맑은 고딕", sans-serif;
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.join-box .join-input:focus {
    background: #fff;
    border-color: #a78360;
    box-shadow: 0 0 0 3px rgba(167, 131, 96, .15);
}

/* 아이디 및 닉네임 입력칸 + 중복확인 버튼: 한 줄, 간격 10px */
.join-box .join-table td:has(input[name="uid"]),
.join-box .join-table td:has(input[name="unick"]) {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.join-box input[name="uid"],
.join-box input[name="unick"] {
    flex: 1;
    width: 0;
    min-width: 0;
    margin: 0;
}

/* 중복확인 결과 메시지 */
.join-box #idmessage,
.join-box #nickmessage {
    flex: 0 0 100%;
    font-size: 12px;
    line-height: 1.5;
}

.join-box .check-btn {
    display: inline-flex;
    flex: 0 0 100px;
    align-items: center;
    justify-content: center;
    height: 43px;
    padding: 0 10px;
    background: #e9ddcf;
    border: 1px solid #bfa78f;
    border-radius: 7px;
    color: #654832;
    font: 600 13px "맑은 고딕", sans-serif;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.join-box .check-btn:hover {
    background: #d9c4ac;
    transform: translateY(-1px);
}

/* 제출 버튼이 바닥에 붙지 않게 하되 과도한 상단 여백 방지 */
.join-box .join-table .submit-area {
    padding: 22px 0 5px;
    text-align: center;
}

.join-box .join-btn {
    width: 210px;
    min-height: 48px;
    padding: 12px 28px;
    font-size: 15px;
    font-family: inherit;
}

/* ==================================================
   3. 반응형 | 태블릿
   ================================================== */
@media (max-width: 768px) {
    .join-wrap {
        margin: 35px auto;
        padding: 32px 25px;
    }
    .join-wrap h3.center { font-size: 23px; }
    .join-wrap textarea { height: 210px; padding: 18px; }

    .join-box {
        margin: 35px auto;
        padding: 32px 25px;
    }
    .join-box h2 { font-size: 24px; }
    .join-box .join-table th { width: 130px; }
}

/* ==================================================
   4. 반응형 | 모바일
   ================================================== */
@media (max-width: 480px) {
    .join-wrap,
    .join-box {
        width: calc(100% - 24px);
        margin: 20px auto;
        padding: 26px 18px;
        border-radius: 12px;
    }

    .join-wrap h3.center { font-size: 21px; }
    .join-wrap .guide-text { padding: 14px; }
    .join-wrap textarea { height: 190px; padding: 14px; font-size: 12px; }
    .join-wrap .join-btn { min-width: 105px; min-height: 44px; padding: 9px 18px; }

    .join-box h2 { font-size: 22px; }
    .join-box .join-subtitle {
        margin-bottom: 20px;
        padding-bottom: 20px;
        font-size: 13px;
    }

    .join-box .join-table,
    .join-box .join-table tbody,
    .join-box .join-table tr,
    .join-box .join-table th,
    .join-box .join-table td {
        display: block;
        width: 100%;
    }

    .join-box .join-table tr { padding: 16px 0; }
    .join-box .join-table th { padding: 0 0 8px; font-size: 13px; }
    .join-box .join-table td { padding: 0; }
    .join-box .join-input { height: 44px; }
    .join-box .join-table td:has(input[name="uid"]) { display: flex; }
    .join-box .check-btn { flex-basis: 90px; height: 44px; }
    .join-box .join-table .submit-area { padding: 14px 0 0; }
    .join-box .join-btn { width: 100%; }
}

/* ==================================================
   3D CAFE | login.php 로그인 화면
   기존 style.css 맨 아래에 추가
   ================================================== */
.cafe-auth-page {margin: 0; padding: 24px 16px; background: #f6f0e7; font-family: "맑은 고딕", sans-serif; color: #443329; box-sizing: border-box;}
.cafe-auth-page *, .cafe-auth-page *::before, .cafe-auth-page *::after {box-sizing: border-box;}
.cafe-auth-page a {color: inherit; text-decoration: none;}
.cafe-login, .cafe-find {width: min(100%, 510px); margin: 22px auto; padding: 40px 46px 34px; background: #f8f3ea; border: 1px solid #dfd0bc; border-radius: 16px; box-shadow: 0 12px 40px rgba(54,35,22,.12);}
.cafe-login__symbol, .cafe-find__symbol {width: 54px; height: 54px; display: grid; place-items: center; margin: 0 auto 15px; border-radius: 50%; background: #e9ddcf; color: #76543d; font-size: 25px;}
.cafe-login h1, .cafe-find h1 {margin: 0; text-align: center; font-size: 27px; line-height: 1.4; color: #563a2b; letter-spacing: -.8px;}
.cafe-login__subtitle, .cafe-find__subtitle {margin: 9px 0 30px; padding-bottom: 23px; border-bottom: 2px solid #c5a98a; text-align: center; font-size: 13px; color: #8a7361;}
.cafe-login__form label, .cafe-find__panel label {display: block; margin: 18px 0 8px; color: #604433; font-size: 14px; font-weight: 600;}
.cafe-login__form input, .cafe-find__panel input {display: block; width: 100%; height: 46px; padding: 0 14px; background: #fffdf9; border: 1px solid #d8c8b5; border-radius: 7px; outline: none; color: #443329; font: 14px "맑은 고딕", sans-serif;}
.cafe-login__form input:focus, .cafe-find__panel input:focus {border-color: #a78360; box-shadow: 0 0 0 3px rgba(167,131,96,.15);}
.cafe-login__submit, .cafe-find__submit {display: block; width: 100%; min-height: 48px; margin-top: 28px; padding: 10px 20px; border: 1px solid #76543d; border-radius: 8px; background: #76543d; color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s, transform .2s;}
.cafe-login__submit:hover, .cafe-find__submit:hover {background: #593c2b; transform: translateY(-2px);}
.cafe-login__links {display: flex; justify-content: center; gap: 17px; align-items: center; margin-top: 22px; color: #705947; font-size: 13px;}
.cafe-login__links a:hover, .cafe-find__back:hover {color: #593c2b; text-decoration: underline;}
.cafe-login__links span {color: #d3bfab;}
.cafe-login__foot {margin: 30px 0 0; text-align: center; color: #aa9480; font-size: 12px;}

/* ==================================================
   3D CAFE | find_idpw.php 아이디·비밀번호 찾기
   ================================================== */
.cafe-find__tabs {display: flex; gap: 8px; padding: 5px; background: #efe6da; border-radius: 10px;}
.cafe-find__tabs button {flex: 1; padding: 12px 6px; border: none; border-radius: 7px; background: transparent; color: #705947; font-size: 13px; font-weight: 700; cursor: pointer;}
.cafe-find__tabs button.is-active {background: #76543d; color: #fff; box-shadow: 0 2px 8px rgba(54,35,22,.12);}
.cafe-find__tabs button:focus-visible, .cafe-login__submit:focus-visible, .cafe-find__submit:focus-visible, .cafe-find__back:focus-visible {outline: 3px solid #b98d65; outline-offset: 3px;}
.cafe-find__panel[hidden] {display: none;}
.cafe-find__hint {margin: 21px 0 15px; font-size: 13px; line-height: 1.7; color: #705947;}
.cafe-find__back {display: block; margin-top: 25px; text-align: center; color: #76543d; font-size: 13px; font-weight: 600;}
@media (max-width: 480px) {
    .cafe-auth-page {padding: 12px;}
    .cafe-login, .cafe-find {margin: 12px auto; padding: 28px 20px;}
    .cafe-login h1, .cafe-find h1 {font-size: 23px;}
    .cafe-login__links {gap: 10px; font-size: 12px;}
}

/* 3D CAFE | 인증 모달 추가 스타일 (기존 CSS 맨 아래에 추가해도 됨) */
/* 3D 렌더링, 메뉴 및 기존 설정 모달의 동작은 그대로 유지합니다. */
#object-popup:has(#object-popup-frame[src*="login.php"]) #object-popup-panel,
#object-popup:has(#object-popup-frame[src*="signupConfirm.php"]) #object-popup-panel,
#object-popup:has(#object-popup-frame[src*="signupForm.php"]) #object-popup-panel,
#object-popup:has(#object-popup-frame[src*="find_idpw.php"]) #object-popup-panel,
#object-popup:has(#object-popup-frame[src*="insertRecord.php"]) #object-popup-panel {
    border: 1px solid #d8c7b5;
    background: #f8f3ea;
    box-shadow: 0 24px 70px rgba(45, 30, 18, .32);
}
#object-popup:has(#object-popup-frame[src*="login.php"]) #object-popup-header,
#object-popup:has(#object-popup-frame[src*="signupConfirm.php"]) #object-popup-header,
#object-popup:has(#object-popup-frame[src*="signupForm.php"]) #object-popup-header,
#object-popup:has(#object-popup-frame[src*="find_idpw.php"]) #object-popup-header,
#object-popup:has(#object-popup-frame[src*="insertRecord.php"]) #object-popup-header {
    color: #f8f3ea;
    background: #76543d;
}
#object-popup #object-popup-frame { background: #f8f3ea; }
#object-popup #object-popup-close:hover { background: rgba(255,255,255,.24); }

/* =========================================
   3D CAFE | 계정 메뉴 (index.php)
   ========================================= */
#site-menu-panel { background: #f8f3ea; border: 1px solid #dfd0bc; border-radius: 16px; padding: 14px; }
#site-menu-panel [hidden] { display: none !important; }
#site-menu-account-row { display: block; padding: 0 0 13px; margin: 0 0 12px; border-bottom: 1px solid #dfd0bc; }
#site-menu-guest { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
#site-menu-member { display: flex; flex-direction: column; align-items: stretch; gap: 9px; }
#site-menu-welcome { text-align: center; font-size: 14px; font-weight: 700; line-height: 1.6; color: #563a2b; overflow-wrap: anywhere; }
#site-menu-login, #site-menu-mypage { background: #76543d; border-color: #76543d; color: #fff; }
#site-menu-login:hover, #site-menu-mypage:hover { background: #593c2b; border-color: #593c2b; color: #fff; }
#site-menu-signup { background: #fffdf9; border-color: #d3bda5; color: #604433; }
#site-menu-signup:hover { background: #efe6da; }
#site-menu-logout { align-self: center; width: auto; min-height: 0; padding: 4px 10px; border: 0; background: transparent; color: #80634d; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
#site-menu-logout:hover { color: #4c3222; }
#site-menu .site-menu-list { display: grid; gap: 7px; }
#site-menu .site-menu-list .site-menu-link { background: #fffdf9; border-color: #e2d6ca; color: #49392e; font-size: 13px; }
#site-menu .site-menu-list .site-menu-link:hover { background: #efe6da; border-color: #c8ad92; }

/* 3D CAFE | 마이페이지 */
.cafe-mypage-body, .cafe-mypage-body * { box-sizing: border-box; }
body.cafe-mypage-body { margin: 0; min-height: 100%; background: #f8f3ea; color: #49392e; font-family: 'Pretendard', 'Noto Sans KR', '맑은 고딕', system-ui, sans-serif; overflow-x: hidden; }
.cafe-mypage { width: min(100%, 840px); margin: 0 auto; padding: clamp(20px,4vw,42px) clamp(16px,4vw,34px) 42px; }
.cafe-mypage__hero { text-align: center; margin-bottom: 23px; }
.cafe-mypage__eyebrow,.cafe-mypage__section-kicker { display: block; color: #a58260; font-weight: 750; font-size: 10px; letter-spacing: .18em; }
.cafe-mypage__hero h1 { margin: 9px 0 5px; color: #563a2b; font-size: clamp(26px, 5vw, 34px); line-height: 1.3; letter-spacing: -.04em; }
.cafe-mypage__hero p { margin: 0; color: #8f7967; font-size: 13px; }
.cafe-mypage__welcome { display: flex; align-items: center; gap: 16px; margin-bottom: 15px; padding: 20px 24px; border-radius: 16px; background: #e9d9c4; }
.cafe-mypage__avatar { flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #fffaf2; color: #76543d; font-size: 27px; box-shadow: 0 3px 8px #6f483016; }
.cafe-mypage__welcome-small { margin: 0 0 4px; color: #8a664a; font-size: 12px; }
.cafe-mypage__welcome h2 { margin: 0; font-size: clamp(17px,3vw,22px); color: #503725; letter-spacing: -.03em; }
.cafe-mypage__card { margin-top: 14px; padding: clamp(17px,3vw,26px); border: 1px solid #e6d8c7; border-radius: 16px; background: #fffdf9; box-shadow: 0 4px 18px #5e402609; }
.cafe-mypage__section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.cafe-mypage__section-heading h2 { margin: 5px 0 0; font-size: 19px; letter-spacing: -.04em; color: #563a2b; }
.cafe-mypage__outline { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border: 1px solid #d9bda2; border-radius: 9px; background: #fffaf3; color: #76543d; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.cafe-mypage__outline:hover { background: #f2e6d8; }
.cafe-mypage__info-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 0; }
.cafe-mypage__info-grid > div { min-width: 0; padding: 14px 17px; background: #f8f3eb; border-radius: 10px; }
.cafe-mypage__info-grid dt { margin-bottom: 6px; font-size: 11px; color: #9e8773; }
.cafe-mypage__info-grid dd { margin: 0; color: #4d3829; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.cafe-mypage__time-card { display: flex; align-items: center; gap: 18px; margin-top: 14px; padding: 22px 24px; border-radius: 16px; background: #76543d; color: #fff; }
.cafe-mypage__time-icon { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 14px; background: #ffffff24; font-size: 35px; }
.cafe-mypage__time-card .cafe-mypage__section-kicker { color: #d9c4ac; }
.cafe-mypage__time-card h2 { margin: 5px 0 6px; font-size: 14px; font-weight: 650; }
.cafe-mypage__time-value { margin: 0; font-size: clamp(24px, 4vw, 32px); font-weight: 800; letter-spacing: -.04em; }
.cafe-mypage__time-note { margin: 7px 0 0; color: #eadccd; font-size: 11px; line-height: 1.6; }
.cafe-mypage__boards { display: grid; gap: 10px; }
.cafe-mypage__board { display: flex; align-items: center; gap: 14px; padding: 17px; border: 1px solid #e9ddcf; border-radius: 12px; background: #faf6f0; color: #49392e; text-decoration: none; transition: background .15s, border-color .15s, transform .15s; }
.cafe-mypage__board:hover { background: #f1e4d5; border-color: #c8a78b; transform: translateY(-1px); }
.cafe-mypage__board-icon { flex: none; display: grid; place-items: center; width: 43px; height: 43px; border-radius: 11px; background: #e6d4c0; color: #735036; font-size: 21px; }
.cafe-mypage__board-copy { flex: 1; min-width: 0; display: grid; gap: 4px; }
.cafe-mypage__board-copy strong { color: #533d2d; font-size: 14px; }
.cafe-mypage__board-copy small { font-size: 11px; line-height: 1.5; color: #97816e; }
.cafe-mypage__board-arrow { font-size: 21px; color: #957052; }
.cafe-mypage__footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 24px 3px 0; }
.cafe-mypage__footer p { color: #a38f7c; font-size: 12px; margin: 0; }
.cafe-mypage__withdraw { display: inline-flex; align-items: center; justify-content: center; padding: 9px 15px; border: 1px solid #d8b4ad; border-radius: 9px; color: #9f6258; background: #fff8f5; text-decoration: none; font-size: 12px; font-weight: 700; white-space: nowrap; }
.cafe-mypage__withdraw:hover { background: #f9e6e1; color: #8c4237; }
.cafe-mypage__message { text-align: center; }
.cafe-mypage__message h2 { margin: 0 0 8px; color: #533d2d; }
.cafe-mypage__message p { margin: 0 0 16px; color: #8b7767; }
.cafe-mypage__primary { display: inline-flex; justify-content: center; align-items: center; min-height: 40px; padding: 0 20px; border-radius: 9px; color: #fff; background: #76543d; text-decoration: none; font-weight: 700; }
@media (max-width: 560px) { .cafe-mypage__welcome { padding: 16px; } .cafe-mypage__info-grid { grid-template-columns: 1fr; } .cafe-mypage__time-card { padding: 18px; } .cafe-mypage__footer { align-items: flex-start; flex-direction: column; } }


/* =========================================
   3D CAFE | 공지사항 목록 (notice.php)
   ========================================= */
.notice-list-wrap, .notice-list-wrap * { box-sizing: border-box; }
.notice-list-wrap { width: min(100%, 1000px); margin: 0 auto; padding: 30px 34px 36px; background: #fffcf7; border: 1px solid #e8dac9; border-radius: 18px; box-shadow: 0 8px 32px rgba(88,58,35,.07); color: #503b2e; font-family: "맑은 고딕", sans-serif; }
.notice-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid #eee2d4; }
.notice-list-title { position: relative; padding-left: 14px; color: #513827; font-size: 26px; font-weight: 700; }
.notice-list-title::before { content: ""; position: absolute; top: 5px; bottom: 5px; left: 0; width: 4px; background: #aa825c; border-radius: 4px; }
.notice-top-right { display: flex; align-items: center; gap: 9px; }
.notice-sort { height: 40px; padding: 0 12px; background: #faf5ed; border: 1px solid #e1d1bf; border-radius: 9px; color: #74543e; font-size: 13px; cursor: pointer; }
.notice-plus { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; background: #76543d; border: 1px solid #76543d; border-radius: 9px; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.notice-plus:hover { background: #593c2b; color: #fff; }
.notice-sort:focus-visible, .notice-plus:focus-visible, .notice-table a:focus-visible, .notice-pagination a:focus-visible { outline: 2px solid #a78360; outline-offset: 2px; }

.notice-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid #e9dfd3; border-radius: 12px; background: #fff; }
.notice-table th { padding: 14px 10px; background: #f3eadf; border-bottom: 1px solid #e8dac9; color: #77563d; font-size: 13px; font-weight: 700; text-align: center; }
.notice-table td { padding: 14px 10px; border-bottom: 1px solid #f1ebe4; color: #7e6c5c; font-size: 13px; line-height: 1.5; text-align: center; }
.notice-table tbody tr:last-child td { border-bottom: 0; }
.notice-table tbody tr:not(.notice-pinned):hover td { background: #faf5ee; }
.notice-table th:nth-child(2), .notice-table td:nth-child(2) { text-align: left; }
.notice-table td:nth-child(2) a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #45372b; font-weight: 600; text-decoration: none; }
.notice-table td:nth-child(2) a:hover { color: #a5734b; text-decoration: underline; }
.notice-table th:last-child, .notice-table td:last-child { text-align: center; font-variant-numeric: tabular-nums; }

/* pick=1 고정 복제글: 일반글과 확실히 구분 */
.notice-table tbody tr.notice-pinned td { background: #efe0cb; border-bottom: 1px solid #d8bfa3; color: #664632; }
.notice-table tbody tr.notice-pinned:hover td { background: #e7d2b8; }
.notice-table tbody tr.notice-pinned td:first-child { border-left: 4px solid #a7754d; }
.notice-table tbody tr.notice-pinned td:nth-child(2) a { color: #563a2b; font-weight: 700; }
.notice-pin { display: inline-block; padding: 4px 9px; border-radius: 6px; background: #76543d; color: #fff; font-size: 11px; font-weight: 700; }
.notice-table .notice-empty { padding: 48px 12px; text-align: center; color: #aa9480; }
.notice-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin-top: 25px; }
.notice-pagination a, .notice-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 9px; border: 1px solid #e3d5c5; border-radius: 8px; background: #fff; color: #79624e; font-size: 13px; font-weight: 600; text-decoration: none; }
.notice-pagination a:hover { background: #f5eadc; border-color: #c8ab90; }
.notice-pagination .active { background: #76543d; border-color: #76543d; color: #fff; }
@media (max-width: 680px) {
    .notice-list-wrap { width: calc(100% - 20px); margin: 14px auto; padding: 19px 13px 24px; }
    .notice-list-title { font-size: 22px; }
    .notice-table th, .notice-table td { padding: 11px 5px; font-size: 11px; }
    .notice-table th:nth-child(1) { width: 12%; }
    .notice-table th:nth-child(3) { width: 17%; }
    .notice-table th:nth-child(4) { width: 20%; }
    .notice-table th:nth-child(5) { width: 12%; }
    .notice-pin { padding: 3px 6px; }
}


/* =========================================
   3D CAFE | 공지사항 작성
   ========================================= */

.notice-write-page {
    margin: 0;
    background: #f8f3ea;
    color: #503b2e;
    font-family: "맑은 고딕", sans-serif;
}

.write-wrap {
    width: min(94%, 900px);
    margin: 35px auto;
    padding: 35px;
    box-sizing: border-box;
    background: #fffcf7;
    border: 1px solid #e8dac9;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(88, 58, 35, .07);
}

.write-title {
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid #eee2d4;
    color: #513827;
    font-size: 26px;
    font-weight: bold;
}

.write-table {
    width: 100%;
    border-collapse: collapse;
}

.write-table th,
.write-table td {
    padding: 14px;
    border-bottom: 1px solid #eee5d9;
}

.write-table th {
    width: 125px;
    background: #f3eadf;
    color: #76543d;
    font-size: 14px;
    text-align: left;
}

.write-input,
.write-textarea {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #ddcbbb;
    border-radius: 8px;
    color: #4e3b2e;
    font: 14px "맑은 고딕", sans-serif;
    outline: none;
}

.write-input {
    height: 43px;
}

.write-input:focus,
.write-textarea:focus {
    border-color: #a98161;
    box-shadow: 0 0 0 3px rgba(169, 129, 97, .12);
}

.write-input:disabled {
    background: #f7f0e7;
    color: #806b59;
}

.write-textarea {
    min-height: 230px;
    resize: vertical;
    line-height: 1.7;
}

/* 공지 상단 고정 체크박스 */
.write-pick-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #76543d;
    font-size: 13px;
    cursor: pointer;
}

.write-pick-label input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #76543d;
    cursor: pointer;
}

/* 하단 버튼 */
.write-btn-area {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.write-btn,
.write-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 43px;
    padding: 0 18px;
    box-sizing: border-box;
    border: 0;
    border-radius: 9px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.write-btn {
    background: #76543d;
    color: #fff;
}

.write-btn:hover {
    background: #593c2b;
}

.write-back {
    background: #efe5d9;
    color: #76543d;
}

.write-back:hover {
    background: #e3d3c1;
}

@media (max-width: 640px) {
    .write-wrap {
        width: calc(100% - 20px);
        margin: 15px auto;
        padding: 20px 15px;
    }

    .write-table th {
        width: 90px;
        padding: 10px;
    }

    .write-table td {
        padding: 10px;
    }
}

/* =========================================
   3D CAFE | 공지사항 상세 (notice-view.php)
   ========================================= */
.notice-view-page { margin: 0; background: #f8f3ea; color: #503b2e; font-family: '맑은 고딕', sans-serif; }
.notice-view-wrap { box-sizing: border-box; width: min(94%, 900px); margin: 32px auto; padding: 34px; border: 1px solid #e8dac9; border-radius: 18px; background: #fffcf7; box-shadow: 0 8px 32px rgba(88,58,35,.07); }
.notice-view-title { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; color: #513827; font-size: 25px; font-weight: 700; overflow-wrap: anywhere; }
.notice-view-pin { padding: 5px 9px; border-radius: 6px; background: #a78a70; color: white; font-size: 11px; white-space: nowrap; }
.notice-view-meta { color: #927d6b; font-size: 13px; line-height: 1.8; }
.notice-view-sep { margin: 0 9px; color: #d5c5b5; }
.notice-view-line { margin: 22px 0; border: 0; border-top: 1px solid #e9dfd3; }
.notice-view-content { min-height: 220px; color: #503b2e; font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
.notice-view-btns { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 25px; }
.notice-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 88px; min-height: 40px; padding: 0 15px; border-radius: 8px; font-size: 13px; font-weight: 700; text-decoration: none; box-sizing: border-box; transition: background .2s; }
.notice-btn.list { background: #efe5d9; color: #76543d; }
.notice-btn.list:hover { background: #e3d3c1; }
.notice-btn.edit { background: #76543d; color: white; }
.notice-btn.edit:hover { background: #593c2b; }
.notice-btn.delete { background: #f5e8e4; color: #a05b4e; }
.notice-btn.delete:hover { background: #ead3cc; }
@media (max-width: 640px) { .notice-view-wrap { width: calc(100% - 20px); margin: 15px auto; padding: 22px 17px; } .notice-view-title { font-size: 21px; } .notice-view-sep { margin: 0 5px; } }

/* 공지사항 페이지 배경 */
html:has(.notice-list-wrap),
body:has(.notice-list-wrap) {
    margin: 0;
    min-height: 100%;
    background: #f8f3ea;
}

/* 공지사항 박스는 중앙에 유지 */
.notice-list-wrap {
    width: min(94%, 1000px);
    margin: 32px auto;
    padding: 30px 34px 36px;
    background: #fffcf7;
    border: 1px solid #e8dac9;
    border-radius: 18px;
}

/* =========================================
   3D CAFE | 건의/질문 게시판 (qa.php)
   기존 css/style.css 맨 아래에 추가
   ========================================= */
body.qa-page { margin: 0; min-height: 100vh; background: #f8f3ea; color: #503b2e; font-family: '맑은 고딕', sans-serif; }
.qa-page *, .qa-page *::before, .qa-page *::after { box-sizing: border-box; }
.qa-list-wrap, .qa-write-wrap { width: min(94%, 1000px); margin: 32px auto; padding: 30px 34px 36px; background: #fffcf7; border: 1px solid #e8dac9; border-radius: 18px; box-shadow: 0 8px 32px rgba(88,58,35,.07); }
.qa-write-wrap { max-width: 900px; }
.qa-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid #eee2d4; }
.qa-list-title, .qa-write-title { color: #513827; font-size: 26px; font-weight: 700; }
.qa-list-title { position: relative; padding-left: 14px; }
.qa-list-title::before { content: ''; position: absolute; top: 5px; bottom: 5px; left: 0; width: 4px; background: #aa825c; border-radius: 4px; }
.qa-top-right, .qa-filters { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.qa-sort { height: 40px; padding: 0 12px; background: #faf5ed; border: 1px solid #e1d1bf; border-radius: 9px; color: #74543e; font-size: 13px; cursor: pointer; }
.qa-plus, .qa-back { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 16px; border: 1px solid #76543d; border-radius: 9px; background: #76543d; color: #fff; font: 700 13px '맑은 고딕', sans-serif; text-decoration: none; cursor: pointer; }
.qa-plus:hover { background: #593c2b; }
.qa-back { background: #efe5d9; border-color: #efe5d9; color: #76543d; }
.qa-back:hover { background: #e3d3c1; }
.qa-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; border: 1px solid #e9dfd3; border-radius: 12px; background: #fff; overflow: hidden; }
.qa-table th { padding: 14px 10px; background: #f3eadf; border-bottom: 1px solid #e8dac9; color: #77563d; font-size: 13px; text-align: center; }
.qa-table td { padding: 14px 10px; border-bottom: 1px solid #f1ebe4; color: #7e6c5c; font-size: 13px; text-align: center; }
.qa-table tbody tr:last-child td { border-bottom: 0; }
.qa-table tbody tr:hover td { background: #faf5ee; }
.qa-table th:nth-child(3), .qa-table td:nth-child(3) { text-align: left; }
.qa-table td:nth-child(3) a { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #45372b; font-weight: 600; text-decoration: none; }
.qa-table td:nth-child(3) a:hover { text-decoration: underline; color: #a5734b; }
.qa-tag { display: inline-block; padding: 4px 8px; border-radius: 6px; background: #eee1d3; color: #76543d; font-size: 11px; font-weight: 700; white-space: nowrap; }
.qa-empty { padding: 48px 10px !important; color: #aa9480 !important; }
.qa-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin-top: 25px; }
.qa-pagination a, .qa-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 9px; border: 1px solid #e3d5c5; border-radius: 8px; background: #fff; color: #79624e; font-size: 13px; font-weight: 600; text-decoration: none; }
.qa-pagination .active { background: #76543d; color: #fff; }
.qa-write-title { padding-bottom: 18px; margin-bottom: 25px; border-bottom: 1px solid #eee2d4; }
.qa-write-table { width: 100%; border-collapse: collapse; }
.qa-write-table th, .qa-write-table td { padding: 14px; border-bottom: 1px solid #eee5d9; }
.qa-write-table th { width: 125px; background: #f3eadf; color: #76543d; font-size: 14px; text-align: left; }
.qa-input, .qa-textarea { width: 100%; padding: 12px; border: 1px solid #ddcbbb; border-radius: 8px; background: #fff; color: #4e3b2e; font: 14px '맑은 고딕', sans-serif; }
.qa-input { height: 43px; padding: 0 12px; }
.qa-input:read-only { background: #f7f0e7; }
.qa-textarea { min-height: 230px; resize: vertical; line-height: 1.7; }
.qa-actions { display: flex; justify-content: center; gap: 10px; margin-top: 25px; }
.qa-view-title { color: #513827; font-size: 25px; overflow-wrap: anywhere; }
.qa-view-meta { color: #927d6b; font-size: 13px; line-height: 1.8; }
.qa-view-content { min-height: 220px; margin: 22px 0; padding: 24px 0; border-top: 1px solid #e9dfd3; border-bottom: 1px solid #e9dfd3; color: #503b2e; font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
@media (max-width: 680px) { .qa-list-wrap, .qa-write-wrap { width: calc(100% - 20px); margin: 14px auto; padding: 19px 13px 24px; } .qa-list-title { font-size: 21px; } .qa-table th, .qa-table td { padding: 11px 4px; font-size: 11px; } .qa-write-table th { width: 90px; padding: 9px; } .qa-write-table td { padding: 9px; } }

/* =========================================
   3D CAFE | 건의/질문 댓글 · 답글 · 수정 · 삭제
   qa_view.php / 기존 style.css 통합 정리
   ========================================= */

/* 댓글 목록 */
.qa-comments { margin-top: 28px; padding-top: 22px; border-top: 1px solid #e9dfd3; }
.qa-comments-title { margin: 0 0 14px; color: #563a2b; font-size: 18px; }
.qa-comments-title span { color: #a78360; }
.qa-comments-empty, .qa-comments-login { padding: 18px 8px; color: #8a7361; font-size: 13px; }
.qa-comment { display: flex; gap: 9px; padding: 14px 15px; border-bottom: 1px solid #eae0d4; background: #fffdf9; }
.qa-comment-author { background: #f5eadb; }
.qa-comment-reply { margin-left: 22px; background: #faf6ef; }
.qa-comment-reply.qa-comment-author { background: #f1e3cf; }
.qa-comment-arrow { flex: none; color: #ae8c71; font-size: 18px; font-weight: 700; line-height: 1.1; }
.qa-comment-main { flex: 1; min-width: 0; }
.qa-comment-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-size: 12px; }
.qa-comment-meta strong { color: #5e4434; font-size: 13px; }
.qa-comment-meta time { color: #a08d7e; }
.qa-comment-author-tag { padding: 2px 5px; border-radius: 4px; background: #98765a; color: #fff; font-size: 10px; }
.qa-comment-text { margin-top: 8px; color: #4e3b2e; font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.qa-comment-mention { margin-right: 5px; color: #98765a; font-weight: 700; }

/* 답글 / 수정 / 삭제 작은 버튼 */
.qa-comment-reply-btn {
    display: inline-flex; align-items: center; justify-content: center;
    margin: 7px 8px 0 0; padding: 3px 0; border: 0;
    background: transparent; color: #947052;
    font: 12px '맑은 고딕', sans-serif; cursor: pointer;
}
.qa-comment-reply-btn:hover { color: #76543d; text-decoration: underline; }
.qa-comment-delete-form { display: inline; margin: 0; padding: 0; }

/* 일반 댓글 입력 영역 */
.qa-comment-form,
.qa-inline-reply-form,
.qa-comment-edit-form {
    padding: 15px; border: 1px solid #e5d8c8; border-radius: 10px;
    background: #faf6ef;
}
.qa-comment-form { margin-top: 20px; background: #fffdf9; }
.qa-inline-reply-form,
.qa-comment-edit-form { margin: 12px 0 6px; }
.qa-inline-reply-form[hidden],
.qa-comment-edit-form[hidden] { display: none !important; }
.qa-comment-compose-header {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; margin-bottom: 10px; color: #76543d; font-size: 13px;
}
#comment-cancel { border: 0; background: transparent; color: #a05b4e; cursor: pointer; }

/* 답글 입력칸과 댓글 수정 입력칸을 완전히 동일하게 */
.qa-comment-form textarea,
.qa-inline-reply-form textarea,
.qa-comment-edit-form textarea {
    display: block; width: 100%; min-height: 115px; margin: 0;
    padding: 12px 14px; box-sizing: border-box;
    border: 1px solid #ddcbbb; border-radius: 8px;
    background: #fff; color: #4e3b2e;
    font: 13px/1.7 '맑은 고딕', sans-serif;
    resize: vertical;
}
.qa-comment-form textarea:focus,
.qa-inline-reply-form textarea:focus,
.qa-comment-edit-form textarea:focus {
    outline: none; border-color: #a98161;
    box-shadow: 0 0 0 3px rgba(169,129,97,.12);
}
.qa-comment-form textarea::placeholder,
.qa-inline-reply-form textarea::placeholder,
.qa-comment-edit-form textarea::placeholder { color: #ac9886; }

/* 입력창 하단 버튼 배치 */
.qa-comment-submit { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 10px; }
.qa-comment-submit .qa-comment-reply-btn { margin: 0; }
.qa-comment-edit-form .qa-comment-small-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 96px; min-height: 40px;
    margin-top: 12px; padding: 0 16px;
    border: 1px solid #76543d; border-radius: 9px;
    background: #76543d; color: #fff;
    font: 700 13px '맑은 고딕', sans-serif; cursor: pointer;
}
.qa-comment-edit-form .qa-comment-small-btn:hover { background: #593c2b; }
.qa-comment-edit-form > .qa-comment-reply-btn { margin: 0 0 0 10px; }

@media (max-width: 600px) {
    .qa-comment { padding: 12px 9px; }
    .qa-comment-reply { margin-left: 14px; }
    .qa-comment-form, .qa-inline-reply-form, .qa-comment-edit-form { padding: 12px; }
}

/* ===== 공통 이미지 편집기 (QA/공지사항/열공) ===== */
[data-image-editor] { min-height:260px; padding:14px; border:1px solid #ddcbbb; border-radius:8px; background:#fff; color:#4e3b2e; font:14px/1.8 '맑은 고딕',sans-serif; outline:none; overflow-wrap:anywhere; }
[data-image-editor]:focus { border-color:#a98161; box-shadow:0 0 0 3px rgba(169,129,97,.12); }
.image-editor-line { min-height:1.8em; white-space:pre-wrap; }
.image-editor-photo { display:block; margin:10px 0; padding:10px; border:1px solid #e9dfd3; border-radius:8px; background:#faf6ef; }
.image-editor-photo img { display:block; max-width:100%; max-height:900px; width:auto; height:auto; object-fit:contain; border-radius:6px; }
.image-editor-photo button { margin-top:8px; padding:6px 11px; border:1px solid #d8c8b5; border-radius:6px; background:#efe5d9; color:#76543d; cursor:pointer; }
.qa-image-hint { margin:8px 0 0; color:#8a7361; font-size:12px; }
.qa-post-photo { margin:16px 0; }
.qa-post-photo img { display:block; max-width:100%; max-height:1200px; width:auto; height:auto; object-fit:contain; border-radius:8px; }

/* 공지사항 사진 편집 및 본문 표시 - style.css 맨 아래에 추가 */
.notice-image-editor { min-height:260px; }
.notice-image-hint { margin:8px 0 0; color:#8a7361; font-size:12px; }
.notice-view-content .qa-post-photo { margin:16px 0; }
.notice-view-content .qa-post-photo img { display:block; max-width:100%; max-height:1200px; width:auto; height:auto; object-fit:contain; border-radius:8px; }

/* =========================================
   3D CAFE | 열공 게시판 (study.php)
   css/style.css 파일 맨 아래에 추가
   ========================================= */
body.study-page { margin: 0; min-height: 100vh; background: #f8f3ea; color: #503b2e; font-family: '맑은 고딕', sans-serif; }
.study-page *, .study-page *::before, .study-page *::after { box-sizing: border-box; }
.study-wrap { width: min(94%, 1000px); margin: 32px auto; padding: 30px 34px 36px; background: #fffcf7; border: 1px solid #e8dac9; border-radius: 18px; box-shadow: 0 8px 32px rgba(88,58,35,.07); }
.study-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid #eee2d4; }
.study-title { position: relative; margin: 0; padding-left: 14px; color: #513827; font-size: 26px; }
.study-title::before { content: ''; position: absolute; inset: 5px auto 5px 0; width: 4px; border-radius: 4px; background: #aa825c; }
.study-desc { margin: 9px 0 0 14px; color: #927d6b; font-size: 13px; }
.study-top-actions { display: flex; align-items: center; gap: 9px; }
.study-sort { height: 40px; padding: 0 12px; border: 1px solid #e1d1bf; border-radius: 9px; background: #faf5ed; color: #74543e; font-size: 13px; cursor: pointer; }
.study-table-scroll { width: 100%; overflow-x: auto; }
.study-table { width: 100%; min-width: 610px; table-layout: fixed; border: 1px solid #e9dfd3; border-spacing: 0; border-radius: 12px; background: #fff; overflow: hidden; }
.study-table th { padding: 14px 10px; background: #f3eadf; border-bottom: 1px solid #e8dac9; color: #77563d; font-size: 13px; }
.study-table td { padding: 14px 10px; border-bottom: 1px solid #f1ebe4; color: #7e6c5c; font-size: 13px; text-align: center; }
.study-table tbody tr:last-child td { border-bottom: 0; }
.study-table tbody tr:hover td { background: #faf5ee; }
.study-col-id { width: 9%; }
.study-col-time { width: 19%; }
.study-col-writer { width: 15%; }
.study-col-date { width: 15%; }
.study-col-heart { width: 11%; }
.study-table .study-content { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-align: left; color: #45372b; }
.study-table .study-time { color: #76543d; font-weight: 700; }
.study-table .study-heart { color: #a05b4e; white-space: nowrap; }
.study-table .study-empty { padding: 48px 10px; color: #aa9480; }
.study-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; margin-top: 25px; }
.study-pagination a, .study-pagination span { display: inline-flex; justify-content: center; align-items: center; min-width: 36px; height: 36px; padding: 0 9px; border: 1px solid #e3d5c5; border-radius: 8px; background: #fff; color: #79624e; text-decoration: none; font-size: 13px; font-weight: 600; }
.study-pagination a:hover { background: #f5eadc; }
.study-pagination .active { border-color: #76543d; background: #76543d; color: #fff; }
@media (max-width: 680px) { .study-wrap { width: calc(100% - 20px); margin: 14px auto; padding: 19px 13px 24px; } .study-title { font-size: 21px; } .study-table th, .study-table td { padding: 11px 6px; font-size: 11px; } }

/* =========================================
   3D CAFE | 열공 게시판 카드형 디자인
   기존 css/style.css 맨 아래에 추가
   ========================================= */
.study-page .study-feed { display: grid; gap: 12px; }
.study-page .study-card {
    min-width: 0;
    padding: 19px 22px;
    border: 1px solid #e8d9c9;
    border-radius: 13px;
    background: #f5ede3;
    color: #533c2c;
    transition: background .18s, border-color .18s;
}
.study-page .study-card:hover { background: #f1e4d5; border-color: #d8bfa7; }
.study-page .study-card-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.study-page .study-card-time { color: #583b28; font-size: 16px; font-weight: 750; line-height: 1.5; }
.study-page .study-card-likes { display: inline-flex; align-items: center; gap: 7px; color: #867262; font-size: 12px; white-space: nowrap; }
.study-page .study-card-likes-label { color: #887366; }
.study-page .study-card-heart { color: #b77a79; font-size: 15px; line-height: 1; }
.study-page .study-card-content { margin: 7px 0 5px; color: #503c2e; font-size: 14px; font-weight: 600; line-height: 1.7; overflow-wrap: anywhere; }
.study-page .study-card-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; color: #927b68; font-size: 12px; line-height: 1.6; }
.study-page .study-card-meta-divider { padding: 0 2px; color: #c3aa92; }
.study-page .study-feed-empty { margin: 0; padding: 52px 12px; border: 1px dashed #dfcdb9; border-radius: 12px; color: #947e6d; text-align: center; font-size: 13px; }
@media (max-width: 680px) {
    .study-page .study-feed { gap: 10px; }
    .study-page .study-card { padding: 16px 15px; }
    .study-page .study-card-time { font-size: 15px; }
    .study-page .study-card-content { font-size: 13px; }
}
