@charset "utf-8";

/* ===============================================
   청춘드라이브 게시판 스킨 - SEO 최적화 & 귀여운 카드형
   =============================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;900&family=Jua&display=swap');

/* ===============================================
   CSS Variables - 테마 컬러
   =============================================== */
:root {
    /* 메인 컬러 - 시그니처 핑크 */
    --primary: #ff6b9d;
    --primary-light: #fff0f5;
    --primary-dark: #e85a8a;

    /* 보조 컬러 */
    --secondary: #feca57;
    --accent: #48dbfb;
    --purple: #a855f7;
    --green: #10b981;

    /* 그레이스케일 */
    --gray-900: #1a1a1a;
    --gray-800: #2d2d2d;
    --gray-700: #404040;
    --gray-600: #595959;
    --gray-500: #737373;
    --gray-400: #8c8c8c;
    --gray-300: #a6a6a6;
    --gray-200: #d9d9d9;
    --gray-100: #f0f0f0;
    --gray-50: #fafafa;

    /* 시멘틱 컬러 */
    --text-dark: #1a1a1a;
    --text-light: #595959;
    --text-muted: #8c8c8c;

    /* 배경 */
    --bg-main: #fef6f9;
    --bg-white: #ffffff;
    --bg-light: #fafafa;

    /* 파스텔 */
    --pink-light: #ffe0ee;
    --pink-pastel: #ffc0db;
    --purple-light: #e8d5ff;
    --blue-light: #e1f5fe;
    --green-light: #e8f5e9;
    --yellow-light: #fff8e1;

    /* 보더 & 그림자 */
    --border-color: #f0f0f0;
    --shadow-sm: 0 2px 8px rgba(255, 107, 157, 0.08);
    --shadow-md: 0 8px 25px rgba(255, 107, 157, 0.12);
    --shadow-lg: 0 15px 50px rgba(255, 107, 157, 0.15);

    /* 반경 */
    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 25px;
    --radius-xl: 30px;

    /* 트랜지션 */
    --transition: all 0.3s ease;
}

/* ===============================================
   Reset & Base
   =============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-main);
    background-image:
        radial-gradient(circle at 20% 80%, var(--pink-light) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, var(--pink-pastel) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 224, 238, 0.3) 0%, transparent 50%);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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


/* ===============================================
   공통 유틸리티
   =============================================== */
.sound_only,
.sr-only {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }


/* ===============================================
   게시판 목록 (Board List)
   =============================================== */

/* 레이아웃 */
.board-container {
    background: var(--bg-main);
    min-height: 100vh;
    padding-bottom: 60px;
}

.board-container .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 헤더 영역 - 테마 기본 스타일 사용 */

/* 브레드크럼 네비게이션 (SEO) */
.breadcrumb-nav {
    background: var(--bg-white);
    padding: 15px 20px;
    border-radius: var(--radius-lg);
    margin: -20px auto 30px;
    max-width: 1200px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--pink-light);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: var(--text-light);
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: var(--primary);
    font-weight: 600;
}

.breadcrumb-separator {
    color: var(--gray-300);
}

/* 검색/필터 영역 */
.board-search-area {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 20px;
}

.search-box {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 25px 30px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--pink-light);
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.search-box select,
.search-box input[type="text"] {
    padding: 12px 20px;
    border: 2px solid var(--pink-light);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    background: var(--bg-white);
    transition: var(--transition);
}

.search-box select:focus,
.search-box input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.15);
}

.search-box input[type="text"] {
    flex: 1;
    min-width: 200px;
}

.search-box button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* 게시물 카운트 */
.post-count {
    max-width: 1200px;
    margin: 0 auto 20px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.total-count {
    font-size: 0.95rem;
    color: var(--text-light);
}

.total-count strong {
    color: var(--primary);
    font-weight: 700;
}

/* 카드 그리드 */
.post-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 25px;
}

/* 게시물 카드 */
.post-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--pink-light);
    transition: var(--transition);
    position: relative;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}

.post-card:hover::before {
    opacity: 1;
}

/* 공지사항 카드 */
.post-card.notice {
    border-color: var(--secondary);
    background: linear-gradient(135deg, #fff9e6 0%, #fff 100%);
}

.post-card.notice::before {
    opacity: 1;
    background: linear-gradient(90deg, var(--secondary), #ffb347);
}

/* 카드 썸네일 */
.card-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--pink-light), var(--purple-light));
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .card-thumb img {
    transform: scale(1.05);
}

.thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: 0.3;
}

/* 카드 뱃지 */
.card-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.badge-notice {
    background: linear-gradient(135deg, var(--secondary), #ffb347);
    color: #333;
}

.badge-new {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    animation: pulse 2s infinite;
}

.badge-hot {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    color: white;
}

.badge-secret {
    background: linear-gradient(135deg, var(--gray-600), var(--gray-700));
    color: white;
}

.badge-category {
    background: linear-gradient(135deg, var(--purple), #9333ea);
    color: white;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* 카드 콘텐츠 */
.card-content {
    padding: 25px;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

.card-title:hover {
    color: var(--primary);
}

.card-title .comment-count {
    color: var(--primary);
    font-weight: 700;
    margin-left: 5px;
}

/* 카드 요약 */
.card-excerpt {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 카드 메타 정보 */
.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 10px;
}

.meta-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.meta-author i {
    color: var(--primary);
}

.meta-stats {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.meta-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-stats i {
    font-size: 0.85rem;
}

/* 카드 날짜 */
.card-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 테이블형 리스트 (선택적) */
.post-table-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.post-table {
    width: 100%;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--pink-light);
    border-collapse: collapse;
}

.post-table thead {
    background: linear-gradient(135deg, var(--pink-light), var(--purple-light));
}

.post-table th {
    padding: 18px 15px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    text-align: center;
    border-bottom: 2px solid var(--border-color);
}

.post-table td {
    padding: 18px 15px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    text-align: center;
}

.post-table tbody tr {
    transition: var(--transition);
}

.post-table tbody tr:hover {
    background: var(--primary-light);
}

.post-table tbody tr.notice-row {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.post-table .td-subject {
    text-align: left;
    max-width: 400px;
}

.post-table .td-subject a {
    color: var(--text-dark);
    font-weight: 500;
}

.post-table .td-subject a:hover {
    color: var(--primary);
}

/* 페이지네이션 */
.pagination-wrap {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 20px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pagination a,
.pagination strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 15px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border: 2px solid var(--pink-light);
    background: var(--bg-white);
    color: var(--text-light);
}

.pagination a:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.pagination strong {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.pagination .pg_start,
.pagination .pg_end {
    background: var(--gray-100);
}

/* 하단 버튼 영역 */
.board-btn-area {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 0 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-outline {
    background: var(--bg-white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}


/* ===============================================
   게시물 읽기 (Post View)
   =============================================== */
#bo_v,
.board-view {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 50px;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--pink-light);
    position: relative;
    overflow: hidden;
    margin: 40px auto;
    max-width: 1000px;
}

#bo_v::before {
    content: '🚗';
    position: absolute;
    top: -30px;
    right: -30px;
    font-size: 120px;
    opacity: 0.05;
    transform: rotate(-15deg);
}

/* 제목 영역 */
#bo_v_header {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

#bo_v_title_area {
    text-align: center;
    padding: 20px 0;
    padding-bottom: 30px;
    border-bottom: 3px solid var(--pink-light);
    overflow: visible;
    height: auto;
}

.bo_v_cate {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.bo_v_cate i {
    margin-right: 5px;
}

.bo_v_tit {
    line-height: 1.4 !important;
    margin: 15px 0 !important;
    padding: 10px 0 !important;
    word-wrap: break-word;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* 게시물 정보 */
#bo_v_info {
    background: linear-gradient(135deg, var(--pink-light), var(--purple-light));
    border-radius: var(--radius-lg);
    padding: 30px;
    margin-bottom: 40px;
    border: 2px solid var(--border-color);
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

#bo_v_info::after {
    content: '✨';
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    opacity: 0.3;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

.profile_info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.pf_img img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.2);
}

.profile_info_ct {
    flex: 1;
}

.author_info {
    margin-bottom: 10px;
}

.author_name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 5px;
}

.author_name i {
    color: var(--primary);
}

.post_stats {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.post_stats span {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.7);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.post_stats i {
    color: var(--primary);
}

.post_stats a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.post_stats a:hover {
    color: var(--primary);
}

/* 상단 버튼 */
#bo_v_top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.btn_bo_user {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.btn_cute {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 20px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn_cute:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4);
    color: white;
}

.btn_cute i {
    font-size: 0.9rem;
}

.more_options {
    position: relative;
}

.more_opt {
    position: absolute;
    top: 50px;
    right: 0;
    background: white;
    border: 2px solid var(--pink-light);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
    z-index: 999;
    min-width: 120px;
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

.more_opt::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 15px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 8px 8px 8px;
    border-color: transparent transparent var(--pink-light) transparent;
}

.more_opt li {
    border-bottom: 1px solid var(--pink-light);
}

.more_opt li:last-child {
    border-bottom: none;
}

.more_opt li a {
    display: block;
    padding: 15px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-weight: 500;
}

.more_opt li:first-child a {
    border-radius: 13px 13px 0 0;
}

.more_opt li:last-child a {
    border-radius: 0 0 13px 13px;
}

.more_opt li a:hover {
    background: var(--pink-light);
    color: var(--primary);
    transform: none;
}

.more_opt li a i {
    margin-right: 8px;
    color: var(--primary);
}

/* 공유 & 스크랩 */
#bo_v_share {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: center;
    border: 2px solid var(--pink-light);
}

.share_title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.share_title i {
    color: var(--primary);
}

.btn_scrap {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 600;
    transition: var(--transition);
    margin: 0 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn_scrap:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

/* 본문 내용 */
#bo_v_con {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin: 40px 0;
    min-height: 300px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    border: 2px solid var(--pink-light);
}

#bo_v_con p {
    margin-bottom: 20px;
}

#bo_v_con img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

#bo_v_con strong {
    color: var(--primary);
    font-weight: 600;
}

#bo_v_con a {
    color: var(--primary);
    text-decoration: underline;
}

#bo_v_con a:hover {
    color: var(--secondary);
}

/* 이미지 갤러리 */
#bo_v_img {
    margin: 30px 0;
    text-align: center;
}

#bo_v_img img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: var(--transition);
}

#bo_v_img img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* 추천/비추천 */
#bo_v_act {
    background: linear-gradient(135deg, #fff 0%, var(--pink-light) 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin: 40px 0;
    text-align: center;
    border: 2px solid var(--border-color);
}

.vote_title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.vote_title i {
    color: var(--primary);
    font-size: 1.5rem;
}

.vote_buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.bo_v_good,
.bo_v_nogood {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    background: white;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.2);
    position: relative;
}

.bo_v_good:hover,
.bo_v_nogood:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.4);
}

.bo_v_good i,
.bo_v_nogood i {
    font-size: 2rem;
    margin-bottom: 5px;
}

.vote_text {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.vote_count {
    font-size: 1.1rem;
    font-weight: 700;
}

.vote_message {
    position: absolute;
    top: 140px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.3);
}

.vote_display {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.bo_v_good_display,
.bo_v_nogood_display {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    border: 2px solid var(--pink-light);
    min-width: 100px;
}

.bo_v_good_display i,
.bo_v_nogood_display i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.bo_v_good_display strong,
.bo_v_nogood_display strong {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

/* 첨부파일 */
#bo_v_file {
    margin: 40px 0;
    background: white;
    border-radius: 20px;
    padding: 30px;
    border: 2px solid var(--pink-light);
}

#bo_v_file h2 {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Malgun Gothic', "맑은 고딕", AppleGothic, Dotum, "돋움", sans-serif;
}

#bo_v_file h2 i {
    color: var(--primary);
    font-size: 1.5rem;
}

.file_list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.file_item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    margin-bottom: 15px;
    background: var(--bg-light);
    border-radius: 15px;
    border: 2px solid var(--pink-light);
    transition: var(--transition);
}

.file_item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.2);
}

.file_icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.file_info {
    flex: 1;
}

.file_name {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.file_name:hover {
    color: var(--primary);
}

.file_desc {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 5px;
}

.file_meta {
    display: flex;
    gap: 15px;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* 관련링크 */
#bo_v_link {
    margin: 40px 0;
    background: white;
    border-radius: 20px;
    padding: 30px;
    border: 2px solid var(--pink-light);
}

#bo_v_link h2 {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Malgun Gothic', "맑은 고딕", AppleGothic, Dotum, "돋움", sans-serif;
}

#bo_v_link h2 i {
    color: var(--primary);
    font-size: 1.5rem;
}

.link_list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.link_item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    margin-bottom: 15px;
    background: var(--bg-light);
    border-radius: 15px;
    border: 2px solid var(--pink-light);
    transition: var(--transition);
}

.link_item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.2);
}

.link_icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), #00d4ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.link_info {
    flex: 1;
}

.link_url {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.link_url:hover {
    color: var(--accent);
}

.link_meta {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* 이전/다음글 네비게이션 */
.post_navigation {
    margin: 40px 0;
}

.bo_v_nb {
    list-style: none;
    margin: 0;
    padding: 0;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid var(--pink-light);
}

.bo_v_nb li {
    border-bottom: 2px solid var(--pink-light);
}

.bo_v_nb li:last-child {
    border-bottom: none;
}

.nav_link {
    display: block;
    padding: 25px 30px;
    text-decoration: none;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
}

.nav_link:hover {
    background: var(--pink-light);
    color: var(--text-dark);
}

.nav_direction {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.nav_direction i {
    color: var(--primary);
    font-size: 1rem;
}

.nav_title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 1.4;
}

.nav_date {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* 시그니처 */
.signature_area {
    margin: 30px 0;
    padding: 20px;
    background: rgba(255, 224, 238, 0.3);
    border-radius: 15px;
    border-left: 4px solid var(--primary);
}

.signature_area p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}


/* ===============================================
   Emoji Decorations
   =============================================== */
.emoji-float {
    position: fixed;
    font-size: 2rem;
    opacity: 0.1;
    animation: float 10s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}


/* ===============================================
   반응형 디자인 (Responsive)
   =============================================== */
@media (max-width: 1024px) {
    .post-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }

    .board-header {
        padding: 50px 15px 35px;
    }

    .board-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    /* 목록 */
    .board-header {
        padding: 40px 15px 30px;
    }

    .board-title {
        font-size: 1.7rem;
    }

    .board-desc {
        font-size: 0.95rem;
    }

    .breadcrumb-nav {
        margin: -15px 15px 20px;
        padding: 12px 15px;
    }

    .breadcrumb-list {
        gap: 8px;
        font-size: 0.85rem;
    }

    .post-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
    }

    .card-thumb {
        height: 150px;
    }

    .card-content {
        padding: 20px;
    }

    .card-title {
        font-size: 1.05rem;
    }

    .search-box {
        padding: 20px;
        flex-direction: column;
    }

    .search-box input[type="text"] {
        width: 100%;
    }

    .pagination a,
    .pagination strong {
        min-width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }

    /* 뷰 */
    #bo_v {
        padding: 30px 20px;
        margin: 20px 10px;
        border-radius: var(--radius-lg);
    }

    .bo_v_tit {
        font-size: 1.4rem;
    }

    #bo_v_info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding: 25px 20px;
    }

    .profile_info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .pf_img img {
        width: 50px;
        height: 50px;
    }

    .profile_info_ct {
        width: 100%;
        text-align: center;
    }

    .author_info {
        margin-bottom: 8px;
        text-align: center;
    }

    .author_name {
        justify-content: center;
        font-size: 1.1rem;
    }

    .post_stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .post_stats span {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .btn_bo_user {
        flex-wrap: wrap;
        gap: 8px;
    }

    .btn_cute {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .vote_buttons {
        gap: 20px;
    }

    .bo_v_good,
    .bo_v_nogood {
        width: 100px;
        height: 100px;
    }

    .bo_v_good i,
    .bo_v_nogood i {
        font-size: 1.5rem;
    }

    .file_item,
    .link_item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .nav_link {
        padding: 20px;
    }

    .nav_title {
        font-size: 1rem;
    }

    #bo_v_con {
        padding: 20px;
        font-size: 1rem;
    }

    .more_opt {
        right: -10px;
    }
}

@media (max-width: 480px) {
    .board-header {
        padding: 35px 10px 25px;
    }

    .board-title {
        font-size: 1.5rem;
    }

    .post-grid {
        padding: 0 10px;
    }

    .card-content {
        padding: 15px;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .profile_info {
        width: 100%;
        gap: 8px;
    }

    .pf_img img {
        width: 45px;
        height: 45px;
    }

    .author_name {
        font-size: 1rem;
        gap: 5px;
    }

    .post_stats {
        gap: 8px;
        margin-top: 5px;
    }

    .post_stats span {
        font-size: 0.8rem;
        padding: 6px 10px;
        border-radius: 12px;
    }

    #bo_v_info {
        padding: 20px 15px;
    }

    #bo_v {
        padding: 25px 15px;
        margin: 15px 10px;
    }

    .bo_v_tit {
        font-size: 1.25rem;
    }

    #bo_v_con {
        padding: 15px;
        font-size: 0.95rem;
    }
}

@media (max-width: 360px) {
    .board-title {
        font-size: 1.3rem;
    }

    .pf_img img {
        width: 40px;
        height: 40px;
    }

    .author_name {
        font-size: 0.95rem;
        gap: 4px;
    }

    .author_name i {
        font-size: 0.85rem;
    }

    .post_stats span {
        font-size: 0.75rem;
        padding: 5px 8px;
    }

    .post_stats i {
        font-size: 0.8rem;
    }

    #bo_v_info {
        padding: 15px 10px;
    }

    #bo_v {
        padding: 20px 12px;
    }

    .bo_v_tit {
        font-size: 1.15rem;
    }
}


/* ===============================================
   그누보드 기본 클래스 호환
   =============================================== */
.tbl_head01 {
    width: 100%;
    border-collapse: collapse;
}

.tbl_head01 th {
    background: linear-gradient(135deg, var(--pink-light), var(--purple-light));
    padding: 15px 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-color);
}

.tbl_head01 td {
    padding: 15px 10px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    text-align: center;
}

.tbl_head01 tbody tr:hover {
    background: var(--primary-light);
}

.td_subject {
    text-align: left !important;
}

.bo_notice .td_subject a {
    font-weight: 600;
}

/* 글쓰기 버튼 */
.btn_b01 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn_b01:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* 목록 버튼 */
.btn_b02 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--bg-white);
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn_b02:hover {
    background: var(--primary);
    color: white;
}


/* ===============================================
   게시판 목록 - list.skin.php 전용 스타일
   =============================================== */

/* 브레드크럼 */
.board-breadcrumb {
    margin-bottom: 20px;
}

.board-breadcrumb .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
    list-style: none;
}

.board-breadcrumb .breadcrumb-item {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.board-breadcrumb .breadcrumb-item a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}

.board-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    margin-right: 8px;
    color: rgba(255,255,255,0.6);
}

/* 툴바 */
.board-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.board-info {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.board-info strong {
    color: var(--primary);
}

.board-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--pink-light);
    border-radius: 50%;
    background: var(--bg-white);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn-icon:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-write {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-write:hover {
    background: var(--purple);
    transform: translateY(-2px);
    color: #fff;
}

/* 검색 */
.board-search {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--pink-light);
}

.board-search[hidden] {
    display: none;
}

.search-inner {
    display: flex;
    gap: 10px;
}

.search-select {
    padding: 10px 15px;
    border: 1px solid var(--pink-light);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    font-size: 0.9rem;
    min-width: 120px;
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--pink-light);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-search {
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.btn-search:hover {
    background: var(--purple);
}

/* 카드 목록 */
.post-cards {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.board-list .post-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    border: 2px solid var(--pink-light);
}

.board-list .post-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.board-list .post-card.is-notice {
    background: linear-gradient(135deg, #fff0f5 0%, #fef0ff 100%);
    border-left: 4px solid var(--primary);
}

.card-link {
    display: flex;
    align-items: center;
    padding: 20px;
    text-decoration: none;
    color: inherit;
}

.card-checkbox {
    padding: 20px;
    padding-right: 0;
}

.card-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.card-content {
    flex: 1;
    min-width: 0;
}

.card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.board-list .badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.board-list .badge-notice {
    background: var(--primary);
    color: white;
}

.board-list .badge-category {
    background: var(--purple);
    color: white;
}

.board-list .badge-new {
    background: #ff4757;
    color: white;
    animation: listPulse 2s infinite;
}

@keyframes listPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.board-list .card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.board-list .card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-light);
    padding-top: 0;
    border-top: none;
}

.board-list .card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.board-list .card-meta i {
    font-size: 0.75rem;
    opacity: 0.7;
}

.card-arrow {
    color: var(--pink-light);
    padding-left: 15px;
    transition: var(--transition);
}

.board-list .post-card:hover .card-arrow {
    color: var(--primary);
    transform: translateX(3px);
}

/* 빈 상태 */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 2px solid var(--pink-light);
}

.empty-icon {
    font-size: 4rem;
    color: var(--pink-light);
    margin-bottom: 20px;
}

.empty-text {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.btn-write-empty {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: white;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-write-empty:hover {
    background: var(--purple);
    color: #fff;
}

/* 관리자 버튼 */
.admin-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: flex-end;
}

.btn-admin {
    padding: 8px 16px;
    border: 1px solid var(--pink-light);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    color: var(--text-light);
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.btn-admin:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* 페이지네이션 */
.board-pagination {
    margin-top: 30px;
    text-align: center;
}

.board-pagination .pg_wrap {
    display: inline-flex;
    gap: 5px;
}

.board-pagination a,
.board-pagination strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.board-pagination a {
    background: var(--bg-white);
    color: var(--text-light);
    border: 1px solid var(--pink-light);
}

.board-pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.board-pagination strong {
    background: var(--primary);
    color: white;
    border: 1px solid var(--primary);
}

/* 접근성 */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 반응형 - list.skin.php */
@media (max-width: 768px) {
    .board-header {
        padding: 80px 0 30px;
    }

    .board-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .board-info {
        justify-content: center;
    }

    .board-actions {
        justify-content: center;
    }

    .search-inner {
        flex-direction: column;
    }

    .search-select {
        width: 100%;
    }

    .card-link {
        padding: 15px;
    }

    .board-list .card-meta {
        gap: 8px;
    }

    .card-arrow {
        display: none;
    }

    .admin-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
}
