﻿/* ========== 기본 리셋 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 25%, #0f1419 50%, #1e2139 75%, #0a0d1f 100%);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    min-height: 100vh;
    color: #fff;
    position: relative;
}

    /* 배경 애니메이션 파티클 효과 */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.03) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(0, 153, 255, 0.03) 0%, transparent 50%), radial-gradient(circle at 40% 80%, rgba(0, 100, 200, 0.02) 0%, transparent 50%);
        pointer-events: none;
        z-index: 0;
    }

@keyframes gradientFlow {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* ========== 헤더 ========== */
.header {
    background: rgba(30, 60, 114, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 212, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

/* ========== 아이디/비밀번호 찾기 모달 ========== */
.find-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.find-tab {
    flex: 1;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

    .find-tab:hover {
        background: rgba(0,212,255,0.1);
        border-color: rgba(0,212,255,0.3);
    }

    .find-tab.active {
        background: linear-gradient(135deg, rgba(0,212,255,0.3), rgba(0,153,255,0.2));
        border-color: rgba(0,212,255,0.5);
        color: #00d4ff;
    }

.find-content {
    display: none;
}

    .find-content.active {
        display: block;
    }

.result-box {
    background: rgba(0,212,255,0.1);
    border: 2px solid rgba(0,212,255,0.3);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

    .result-box h3 {
        color: #00d4ff;
        margin-bottom: 15px;
        font-size: 18px;
    }

    .result-box p {
        color: rgba(255,255,255,0.9);
        font-size: 16px;
        line-height: 1.8;
    }

.verification-area {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background: rgba(0,212,255,0.05);
    border-radius: 8px;
    border: 1px solid rgba(0,212,255,0.2);
}

.verification-area.active {
    display: block;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

    .input-group input {
        flex: 1;
    }

    .input-group button {
        white-space: nowrap;
    }

/* 로고 */
.logo {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s;
    text-shadow: 0 2px 10px rgba(0,212,255,0.5);
}

    .logo:hover {
        transform: translateY(-2px);
    }

.logo-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #00d4ff 0%, #0099ff 50%, #0066cc 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    animation: pulse 3s ease-in-out infinite;
    box-shadow: 0 8px 25px rgba(0,212,255,0.4), inset 0 -3px 10px rgba(0,0,0,0.2), inset 0 3px 10px rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

    /* 로고 아이콘 반짝임 효과 */
    .logo-icon::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient( 45deg, transparent, rgba(255,255,255,0.3), transparent );
        animation: shine 3s infinite;
    }

.logo-text {
    font-family: 'Arial Black', 'Arial Bold', sans-serif;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

.logo-subtitle {
    font-size: 11px;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    letter-spacing: 3px;
    margin-left: 5px;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(0,212,255,0.4), inset 0 -3px 10px rgba(0,0,0,0.2), inset 0 3px 10px rgba(255,255,255,0.2);
    }

    50% {
        transform: scale(1.08);
        box-shadow: 0 12px 35px rgba(0,212,255,0.6), inset 0 -3px 10px rgba(0,0,0,0.2), inset 0 3px 10px rgba(255,255,255,0.3);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* 검색 박스 */
.search-box {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 25px;
    padding: 8px 15px;
    gap: 8px;
}

    .search-box input {
        border: none;
        outline: none;
        width: 200px;
        padding: 5px;
        font-size: 14px;
        background: transparent;
        color: #fff;
    }

        .search-box input::placeholder {
            color: rgba(255,255,255,0.5);
        }

.search-btn {
    padding: 6px 12px;
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    border: none;
    border-radius: 6px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 12px;
    white-space: nowrap;
}

    .search-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 3px 10px rgba(0,212,255,0.4);
    }

/* ========== 네비게이션 ========== */
.nav-menu {
    background: linear-gradient(to bottom, #1a2332, #0f1923);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    overflow-x: auto;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    padding: 0 20px;
}

.nav-item {
    color: #fff;
    padding: 15px 20px;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
    cursor: pointer;
    border: none;
    background: none;
    white-space: nowrap;
    position: relative;
}

    .nav-item:hover {
        background: rgba(0,212,255,0.1);
    }

    .nav-item.active {
        background: rgba(0,212,255,0.2);
    }

        .nav-item.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: linear-gradient(90deg, #00d4ff, #0099ff);
        }

/* ========== 메인 컨테이너 ========== */
.main-container {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
    display: flex;
    gap: 20px;
}

.content-area {
    flex: 1;
}

.sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* ========== 탭 컨텐츠 ========== */
.tab-content {
    display: none;
}

    .tab-content.active {
        display: block;
    }

/* ========== 광고 그리드 ========== */
.ad-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.ad-item {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.1);
    padding: 20px 15px;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

    .ad-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,212,255,0.3);
        border-color: rgba(0,212,255,0.5);
    }

    .ad-item h4 {
        color: #00d4ff;
        margin-bottom: 8px;
        font-size: 18px;
    }

    .ad-item p {
        color: rgba(255,255,255,0.7);
        font-size: 13px;
    }

/* ========== 경기 테이블 (모바일 최적화) ========== */
.match-table {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    overflow-x: auto; /* 가로 스크롤 허용 */
    margin-bottom: 20px;
    /* 스크롤바 스타일링 */
    -webkit-overflow-scrolling: touch; /* iOS 부드러운 스크롤 */
}

    /* 스크롤바 커스터마이징 */
    .match-table::-webkit-scrollbar {
        height: 8px;
    }

    .match-table::-webkit-scrollbar-track {
        background: rgba(255,255,255,0.05);
        border-radius: 4px;
    }

    .match-table::-webkit-scrollbar-thumb {
        background: rgba(0,212,255,0.3);
        border-radius: 4px;
    }

        .match-table::-webkit-scrollbar-thumb:hover {
            background: rgba(0,212,255,0.5);
        }

    .match-table table {
        width: 100%;
        min-width: 800px; /* 최소 너비 설정하여 모바일에서 스크롤 가능하게 */
        border-collapse: collapse;
    }

    .match-table th {
        background: rgba(139,69,19,0.3);
        padding: 12px 8px; /* 좌우 패딩 줄임 */
        text-align: center;
        font-weight: bold;
        font-size: 12px; /* 폰트 크기 약간 줄임 */
        border-bottom: 1px solid rgba(255,255,255,0.1);
        white-space: nowrap; /* 헤더 줄바꿈 방지 */
    }

    .match-table td {
        padding: 10px 6px; /* 패딩 최적화 */
        border-bottom: 1px solid rgba(255,255,255,0.05);
        font-size: 12px; /* 폰트 크기 조정 */
        text-align: center;
        vertical-align: middle; /* 수직 정렬 */
    }

    .match-table tr:hover {
        background: rgba(0,212,255,0.05);
    }

/* ========== 게시판 (모바일 최적화) ========== */
.board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    flex-wrap: wrap; /* 모바일에서 줄바꿈 허용 */
    gap: 10px;
}

.board-title {
    font-size: 24px;
    font-weight: bold;
    color: #00d4ff;
    white-space: nowrap; /* 제목 줄바꿈 방지 */
}

/* 게시판 테이블 래퍼 (스크롤 컨테이너) */
.board-table-wrapper {
    width: 100%;
    display: block; /* 블록 레벨로 명시 */
    overflow-x: scroll; /* auto 대신 scroll로 강제 */
    overflow-y: visible;
    -webkit-overflow-scrolling: touch; /* iOS 부드러운 스크롤 */
    background: rgba(0,0,0,0.3);
    border-radius: 12px;
    margin-bottom: 20px;
}

    /* 스크롤바 커스터마이징 */
    .board-table-wrapper::-webkit-scrollbar {
        height: 10px;
    }

    .board-table-wrapper::-webkit-scrollbar-track {
        background: rgba(255,255,255,0.05);
        border-radius: 4px;
    }

    .board-table-wrapper::-webkit-scrollbar-thumb {
        background: rgba(0,212,255,0.3);
        border-radius: 4px;
    }

        .board-table-wrapper::-webkit-scrollbar-thumb:hover {
            background: rgba(0,212,255,0.5);
        }

.board-table {
    width: 100%;
    min-width: 600px; /* 데스크톱 기본 너비 */
    background: transparent;
    border-collapse: collapse;
    table-layout: fixed; /* 테이블 레이아웃 고정 */
    display: table; /* 테이블 디스플레이 명시 */
}

    .board-table th {
        background: rgba(0,212,255,0.2);
        padding: 15px 10px; /* 좌우 패딩 조정 */
        text-align: left;
        font-weight: bold;
        white-space: nowrap; /* 헤더 줄바꿈 방지 */
        font-size: 14px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

        /* 각 컬럼의 고정 너비 설정 */
        .board-table th:nth-child(1),
        .board-table td:nth-child(1) {
            width: 70px; /* 번호 */
            min-width: 70px;
        }

        .board-table th:nth-child(2),
        .board-table td:nth-child(2) {
            width: 280px; /* 제목 */
            min-width: 280px;
        }

        .board-table th:nth-child(3),
        .board-table td:nth-child(3) {
            width: 100px; /* 작성자 */
            min-width: 100px;
        }

        .board-table th:nth-child(4),
        .board-table td:nth-child(4) {
            width: 100px; /* 날짜 */
            min-width: 100px;
        }

        .board-table th:nth-child(5),
        .board-table td:nth-child(5) {
            width: 70px; /* 조회 */
            min-width: 70px;
        }

    .board-table td {
        padding: 15px 10px; /* 좌우 패딩 조정 */
        border-bottom: 1px solid rgba(255,255,255,0.05);
        font-size: 13px;
        overflow: hidden; /* 넘치는 내용 숨김 */
    }

        /* 제목 칼럼 - 줄바꿈 허용 및 텍스트 잘림 방지 */
        .board-table td:nth-child(2) {
            text-align: left;
            word-wrap: break-word; /* 긴 단어 줄바꿈 */
            white-space: normal; /* 여러 줄 허용 */
            overflow-wrap: break-word;
        }

    .board-table tr:hover {
        background: rgba(0,212,255,0.05);
        cursor: pointer;
    }

/* ========== 버튼 ========== */
.btn {
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    color: #fff;
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,212,255,0.4);
    }

.btn-success {
    background: linear-gradient(135deg, #00ff88, #00cc66);
    color: #fff;
}

.btn-danger {
    background: linear-gradient(135deg, #ff6b6b, #ff4444);
    color: #fff;
}


.btn-warning {
    background: linear-gradient(135deg, #ffaa00, #ff8800);
    color: #fff;
}

/* 타이머 및 상태 메시지 */
.status-message {
    font-size: 12px;
    margin-top: 5px;
    padding: 5px;
    border-radius: 4px;
}

    .status-message.timer {
        color: #ff4444;
    }

    .status-message.success {
        color: #00b892;
        font-weight:bold;
        background: #e6f7f5;
    }

    .status-message.error {
        color: #ff4444;
        font-weight: bold;
        background: #ffe6e6;
    }

#phoneDuplicatedError {
    color: #ff4444;
    font-size: 12px;
    margin-left:15px;
    display:none;
}
/* AI 예측 버튼 (모바일 최적화) */
.ai-predict-btn {
    padding: 5px 10px; /* 패딩 줄임 */
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 10px; /* 폰트 크기 줄임 */
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
    white-space: nowrap; /* 텍스트 줄바꿈 방지 */
}

.openai-btn {
    background: rgba(0,212,255,0.2); /* 배경 투명도 조정 */
    border: 1px solid rgba(0,212,255,0.4);
    color: #00d4ff;
}

    .openai-btn:hover {
        background: rgba(0,212,255,0.4);
        transform: scale(1.05);
    }

/* ========== 사이드바 박스 ========== */
.sidebar-box {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

    .sidebar-box h3 {
        margin-bottom: 15px;
        color: #00d4ff;
        font-size: 16px;
    }

    .sidebar-box input {
        width: 100%;
        padding: 10px;
        margin-bottom: 10px;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.1);
        border-radius: 6px;
        color: #fff;
        font-size: 14px;
    }

/* ========== 모달 ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

    .modal.active {
        display: flex;
    }

.modal-content {
    background: linear-gradient(135deg, #1a2332, #0f1923);
    padding: 30px;
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

.modal-close {
    float: right;
    font-size: 28px;
    cursor: pointer;
    color: rgba(255,255,255,0.6);
}

    .modal-close:hover {
        color: #ff4444;
    }

/* ========== 이미지 업로드 영역 ========== */
.image-upload-area {
    margin-bottom: 15px;
}

    .image-upload-area label {
        display: block;
        color: rgba(255,255,255,0.8);
        margin-bottom: 8px;
    }

.image-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.image-preview-item {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(0,212,255,0.3);
}

    .image-preview-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.image-remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255,68,68,0.9);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 16px;
    line-height: 25px;
    text-align: center;
}

.image-upload-btn {
    padding: 10px 20px;
    background: rgba(0,212,255,0.2);
    border: 2px dashed rgba(0,212,255,0.5);
    border-radius: 8px;
    color: #00d4ff;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    font-size: 14px;
}

    .image-upload-btn:hover {
        background: rgba(0,212,255,0.3);
        border-color: rgba(0,212,255,0.7);
    }

/* ========== 댓글 영역 ========== */
.comment-section {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid rgba(255,255,255,0.1);
}

.comment-item {
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 3px solid #00d4ff;
}

.comment-author {
    color: #00d4ff;
    font-weight: bold;
    margin-bottom: 5px;
}

.comment-text {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}

.comment-time {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    margin-top: 5px;
}

.comment-input-area {
    margin-top: 20px;
}

    .comment-input-area textarea {
        width: 100%;
        min-height: 80px;
        padding: 12px;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.2);
        border-radius: 8px;
        color: #fff;
        font-size: 14px;
        resize: vertical;
    }

/* ========== 스포츠 탭 ========== */
.sport-tab {
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

    .sport-tab:hover {
        background: rgba(0,212,255,0.2);
        border-color: rgba(0,212,255,0.4);
    }

    .sport-tab.active {
        background: rgba(0,212,255,0.3);
        border-color: rgba(0,212,255,0.5);
    }

/* ========== 경기 검색 영역 ========== */
.match-search-area {
    background: rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
}

    .match-search-area input {
        flex: 1;
        padding: 12px 20px;
        background: rgba(255,255,255,0.05);
        border: 1px solid rgba(255,255,255,0.2);
        border-radius: 8px;
        color: #fff;
        font-size: 14px;
    }

        .match-search-area input::placeholder {
            color: rgba(255,255,255,0.5);
        }

/* ========== 게시글 이미지 표시 ========== */
.post-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

    .post-images img {
        width: 100%;
        height: 200px;
        object-fit: cover;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s;
    }

        .post-images img:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 20px rgba(0,212,255,0.3);
        }

/* ========== 반응형 (모바일 최적화) ========== */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .ad-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo {
        font-size: 24px;
        gap: 10px;
    }

    .logo-icon {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .logo-text {
        font-size: 24px;
    }

    .logo-subtitle {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .search-box {
        max-width: none;
        width: auto;
        padding: 6px 10px;
        gap: 5px;
    }

        .search-box input {
            width: 100px;
            font-size: 12px;
        }

    .search-btn {
        padding: 5px 10px;
        font-size: 11px;
    }

    .match-table th,
    .match-table td {
        font-size: 11px;
        padding: 8px 4px;
    }

    .ai-predict-btn {
        padding: 4px 8px;
        font-size: 10px;
    }

    .match-search-area {
        flex-direction: column;
    }

    /* 게시판 모바일 최적화 */
    .board-header {
        padding: 10px;
    }

    .board-title {
        font-size: 18px;
    }

    .board-table th,
    .board-table td {
        padding: 10px 6px;
        font-size: 12px;
    }

        /* 모바일에서 제목 컬럼 너비 줄이기 - 작성자가 살짝 보이도록 */
        .board-table th:nth-child(2),
        .board-table td:nth-child(2) {
            width: 150px;
            min-width: 150px;
        }

    /* 모바일에서 테이블 최소 너비 조정 */
    .board-table {
        min-width: 500px;
    }
}

@media (max-width: 480px) {
    .ad-grid {
        grid-template-columns: 1fr;
    }

    .main-container {
        padding: 0 10px;
    }

    .header-container {
        padding: 0 10px;
    }

    .btn {
        padding: 8px 15px;
        font-size: 12px;
    }

    .modal-content {
        padding: 20px;
    }

    .post-images {
        grid-template-columns: 1fr;
    }

    /* 게시판 추가 최적화 */
    .board-title {
        font-size: 16px;
    }

    .board-table th,
    .board-table td {
        padding: 8px 5px;
        font-size: 11px;
    }

        /* 더 작은 화면에서 제목 너비 더 줄이기 - 작성자가 살짝 보이도록 */
        .board-table th:nth-child(2),
        .board-table td:nth-child(2) {
            width: 130px;
            min-width: 130px;
        }

    /* 더 작은 화면에서 테이블 최소 너비 조정 */
    .board-table {
        min-width: 480px;
    }
} 