.board-hero {
    width: 100%;
    max-width: 100vw;
    min-height: 40vh;
    padding: 6rem 2rem 4rem;
    margin-top: 0;
    padding-top: 120px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%),
                url('https://images.unsplash.com/photo-1516280440614-37939bbacd81?auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
    color: #ffffff;
    text-align: center;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.board-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.board-hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.25);
}

.board-hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 0 0 0.75rem 0;
    color: #e9ecff;
}

.board-hero-note {
    font-size: 0.95rem;
    color: #d5dbff;
    margin: 0;
}

.board-section {
    width: 100%;
    max-width: 100vw;
    padding: 2rem 1rem 4rem;
    background-color: #f0f2f5;
    box-sizing: border-box;
    min-height: 100vh;
}

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

.board-layout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}

.board-form-card,
.board-posts-card {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    box-sizing: border-box;
    border: none;
}

.board-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #050505;
    margin: 0 0 0.5rem 0;
}

.board-form-container .board-section-title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.board-section-description {
    font-size: 0.9375rem;
    color: #65676b;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.board-form-container .board-section-description {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
}

/* User Status */
.board-user-status {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background-color: #ffffff;
    border: 1px solid #e4e6eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.board-user-status-logged-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.board-user-status-logged-out {
    display: flex;
    align-items: center;
}

.board-user-status-text {
    font-size: 0.9rem;
    color: #4a5568;
}

.board-user-status-text strong {
    color: #2d3748;
    font-weight: 600;
}

.board-logout-button {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    color: #667eea;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.board-logout-button:hover {
    background-color: #f7fafc;
    border-color: #667eea;
    color: #5568d3;
}

.board-logout-button:active {
    transform: translateY(1px);
}

/* Login Prompt */
.board-login-prompt {
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.board-login-prompt-text {
    font-size: 0.95rem;
    color: #4a5568;
    margin: 0;
    line-height: 1.6;
}

.board-login-prompt-link {
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.board-login-prompt-link:hover {
    color: #5568d3;
    text-decoration: underline;
}

.board-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.board-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.board-form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.board-form-field:last-of-type {
    margin-bottom: 0;
}

.board-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #050505;
    margin-bottom: 0.25rem;
}

.board-label-optional {
    font-weight: 400;
    font-size: 0.85rem;
    color: #718096;
}

.board-input,
.board-textarea,
.board-select {
    width: 100%;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1.5px solid #e4e6eb;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    color: #050505;
    background-color: #ffffff;
    outline: none;
    transition: all 0.2s ease;
    font-family: inherit;
}

.board-input:focus,
.board-textarea:focus,
.board-select:focus {
    border-color: #1877f2;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.1);
}

.board-input::placeholder,
.board-textarea::placeholder {
    color: #8a8d91;
}

.board-textarea {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
    line-height: 1.6;
}

.board-form-footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e4e6eb;
}

.board-form-helper {
    font-size: 0.85rem;
    color: #718096;
    margin: 0;
}

/* Write Button */
.board-write-button-container {
    margin-bottom: 1rem;
}

.board-write-button {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem 1rem;
    border-radius: 24px;
    border: none;
    background-color: #ffffff;
    color: #65676b;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e4e6eb;
}

.board-write-button:hover {
    background-color: #f8f9fa;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.board-write-button:active {
    background-color: #f0f2f5;
    transform: translateY(0);
}

.board-write-button-icon {
    font-size: 1.25rem;
    opacity: 0.8;
}

/* Form Container */
.board-form-container {
    margin-top: 1rem;
    padding: 1.25rem;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e4e6eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.board-form-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
    justify-content: flex-end;
}

.board-cancel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    border: none;
    background-color: #e4e6eb;
    color: #050505;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.board-cancel-button:hover {
    background-color: #d8dadf;
}

.board-cancel-button:active {
    background-color: #ccd0d5;
}

/* Posting As */
.board-posting-as {
    padding: 0.875rem 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
    border-radius: 10px;
    border: 1.5px solid #e4e6eb;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.board-posting-as-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.board-posting-as-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #050505;
}

.board-posting-as-email {
    font-size: 0.8125rem;
    color: #65676b;
}

/* Post Actions */
.board-post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.board-post-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.board-post-action-btn {
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    border: none;
    background-color: #e4e6eb;
    color: #050505;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.board-post-edit-btn {
    background-color: #e7f3ff;
    color: #1877f2;
}

.board-post-edit-btn:hover {
    background-color: #d0e7ff;
}

.board-post-delete-btn {
    background-color: #ffe5e5;
    color: #e41e3f;
}

.board-post-delete-btn:hover {
    background-color: #ffcccc;
}

.board-post-action-btn:active {
    transform: scale(0.98);
}

/* 좋아요 및 댓글 액션 바 */
.board-post-actions-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-top: 1px solid #e4e6eb;
    margin-top: 0.5rem;
}

.board-post-like-button,
.board-post-comment-button,
.board-post-share-button {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border: none;
    background-color: transparent;
    color: #65676b;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.board-post-like-button:hover,
.board-post-comment-button:hover,
.board-post-share-button:hover {
    background-color: #f0f2f5;
}

.board-post-share-button--copied {
    color: #1877f2;
    background-color: #e7f3ff;
}

.board-post-like-button--active {
    color: #1877f2;
}

.board-post-like-text,
.board-post-comment-text,
.board-post-share-text {
    font-weight: 600;
}

.board-post-like-count,
.board-post-comment-count {
    font-weight: 400;
    color: #65676b;
}

/* 댓글 섹션 */
.board-post-comments-section {
    padding: 0.75rem 0.75rem 0.75rem;
    border-top: 1px solid #e4e6eb;
    background-color: #f8f9fa;
    margin-top: 0.5rem;
    border-radius: 0 0 8px 8px;
}

.board-post-comments-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.board-post-comment {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.75rem;
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #e4e6eb;
    margin-bottom: 0.5rem;
}

.board-post-comment:last-child {
    margin-bottom: 0;
}

.board-post-comment-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.board-post-comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.board-post-comment-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    flex: 1;
}

.board-post-comment-author {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #050505;
}

.board-post-comment-time {
    font-size: 0.75rem;
    color: #65676b;
}

.board-post-comment-content {
    font-size: 0.875rem;
    color: #050505;
    line-height: 1.6;
    margin-left: 2.5rem;
    white-space: pre-wrap;
    word-wrap: break-word;
    padding-top: 0.25rem;
}

.board-post-comment-delete {
    padding: 0.25rem 0.5rem;
    border: none;
    background-color: transparent;
    color: #65676b;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.board-post-comment-delete:hover {
    background-color: #e4e6eb;
    color: #e41e3f;
}

.board-post-comment-form {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.75rem;
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #e4e6eb;
}

.board-post-comment-input {
    flex: 1;
    padding: 0.625rem 0.875rem;
    border: 1.5px solid #e4e6eb;
    border-radius: 20px;
    background-color: #f0f2f5;
    font-size: 0.875rem;
    font-family: inherit;
    resize: none;
    outline: none;
    transition: all 0.2s ease;
    min-height: 40px;
    max-height: 100px;
    line-height: 1.5;
}

.board-post-comment-input:focus {
    border-color: #1877f2;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.1);
}

.board-post-comment-input::placeholder {
    color: #8a8d91;
}

.board-post-comment-submit {
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 20px;
    background-color: #1877f2;
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(24, 119, 242, 0.2);
}

.board-post-comment-submit:hover {
    background-color: #166fe5;
    box-shadow: 0 4px 8px rgba(24, 119, 242, 0.3);
    transform: translateY(-1px);
}

.board-post-comment-submit:active {
    background-color: #1565c0;
    transform: translateY(0);
}

.board-post-comment-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #e4e6eb;
    color: #bcc0c4;
    box-shadow: none;
    transform: none;
}

.board-post-comment-login {
    padding: 0.5rem;
    text-align: center;
    font-size: 0.8125rem;
    color: #65676b;
}

.board-post-comment-login a {
    color: #1877f2;
    text-decoration: none;
    font-weight: 600;
}

.board-post-comment-login a:hover {
    text-decoration: underline;
}

.board-post-comments-empty,
.board-post-comments-error {
    padding: 1.5rem 1rem;
    text-align: center;
    font-size: 0.8125rem;
    color: #8a8d91;
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px dashed #e4e6eb;
}

.board-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.75rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.5);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.board-submit-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(102, 126, 234, 0.6);
}

.board-submit-button:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
}

.board-submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    box-shadow: none;
}

.board-form-message {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    min-height: 1.2em;
}

.board-form-message--success {
    color: #2f855a;
}

.board-form-message--error {
    color: #e53e3e;
}

.board-posts-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #e4e6eb;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.board-posts-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.board-select {
    max-width: 180px;
    background-color: #ffffff;
}

.board-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    gap: 0.75rem;
}

.board-loading-spinner {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid #e4e6eb;
    border-top-color: #1877f2;
    animation: board-spin 0.8s linear infinite;
}

.board-loading-text {
    font-size: 0.9375rem;
    color: #65676b;
    margin: 0;
}

.board-empty {
    padding: 2rem 1rem;
    text-align: center;
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #e4e6eb;
}

.board-empty-text {
    font-size: 0.9375rem;
    color: #65676b;
    margin: 0;
}

.board-back-to-list-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1rem 1.75rem;
    margin-bottom: 1.5rem;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.25),
                0 2px 4px rgba(102, 126, 234, 0.15);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.board-back-to-list-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.25) 50%, 
        transparent 100%);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.board-back-to-list-button:hover::before {
    left: 100%;
}

.board-back-to-list-button::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.board-back-to-list-button:hover::after {
    opacity: 1;
}

.board-back-to-list-button:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.35),
                0 4px 8px rgba(102, 126, 234, 0.2);
    transform: translateY(-3px) scale(1.02);
}

.board-back-to-list-button:active {
    transform: translateY(-1px) scale(1);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3),
                0 2px 4px rgba(102, 126, 234, 0.2);
    transition: all 0.15s ease;
}

/* 단일 게시글 헤더 */
.board-single-post-header {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e4e6eb;
}

.board-single-post-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #050505;
    margin: 0 0 1rem 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.board-single-post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9375rem;
    color: #65676b;
}

.board-single-post-author {
    font-weight: 600;
    color: #050505;
}

.board-single-post-date {
    color: #65676b;
}

/* 모바일 반응형 */
@media screen and (max-width: 768px) {
    .board-back-to-list-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
        margin-bottom: 1rem;
        border-radius: 14px;
    }
    
    .board-back-to-list-button::after {
        border-radius: 14px;
    }
    
    .board-single-post-header {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .board-single-post-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .board-single-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        font-size: 0.875rem;
    }
}

.board-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.board-post {
    border-radius: 8px;
    border: 1px solid #e4e6eb;
    padding: 0.75rem;
    background-color: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.75rem;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.board-post:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.board-post-collapsed .board-post-body {
    max-height: 4.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.board-post-expanded {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    cursor: default;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.board-post-expanded .board-post-body {
    max-height: none;
    overflow: visible;
    display: block;
}

.board-post-expanded .board-post-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1877f2;
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

.board-post-expanded .board-post-body {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-top: 0.75rem;
}

.board-post-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.board-post-header-content {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    flex: 1;
    min-width: 0;
}

.board-post-author-info-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.board-post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    flex-shrink: 0;
}

.board-post-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    flex: 1;
}

.board-post-author-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #050505;
    line-height: 1.2;
}

.board-post-meta {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
    color: #65676b;
}

.board-post-time {
    font-weight: 400;
}

.board-post-title-box {
    margin-top: 0.5rem;
    flex: 1;
    min-width: 0;
}

.board-post-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #050505;
    margin: 0;
    line-height: 1.4;
    letter-spacing: -0.01em;
    word-break: break-word;
    transition: color 0.2s ease;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.board-post:hover .board-post-title {
    color: #1877f2;
}

.board-post-header-right {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: auto;
}

.board-post-body {
    font-size: 0.9375rem;
    color: #050505;
    line-height: 1.5;
    margin: 0.5rem 0 0 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

@keyframes board-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Tablet */
@media screen and (max-width: 1024px) {
    .board-hero {
        padding: 5rem 2rem 3.5rem;
    }

    .board-hero-title {
        font-size: 2.4rem;
    }

    .board-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .board-hero {
        padding: 4.5rem 1.5rem 3rem;
        padding-top: 110px;
        min-height: 35vh;
    }

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

    .board-hero-subtitle {
        font-size: 1.05rem;
    }

    .board-section {
        padding: 1.5rem 0.75rem 3rem;
    }

    .board-container {
        padding: 0;
    }

    .board-form-card,
    .board-posts-card {
        padding: 0.75rem;
        border-radius: 8px;
    }

    .board-form-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .board-posts-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .board-select {
        max-width: 100%;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .board-hero {
        padding: 4rem 1rem 2.5rem;
        padding-top: 100px;
    }

    .board-hero-title {
        font-size: 1.8rem;
    }

    .board-section {
        padding: 3rem 1rem 3.5rem;
    }

    .board-form-card,
    .board-posts-card {
        padding: 1.5rem 1.25rem;
    }

    .board-post {
        padding: 1rem 1.1rem;
    }
}

/* 프로필 클릭 가능 스타일 */
.board-post-profile-clickable {
    transition: opacity 0.2s ease;
}

.board-post-profile-clickable:hover {
    opacity: 0.7;
}

/* 프로필 팝업 오버레이 */
.board-profile-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.board-profile-popup-overlay.board-profile-popup-show {
    opacity: 1;
}

/* 프로필 팝업 */
.board-profile-popup {
    background-color: #ffffff;
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.board-profile-popup-overlay.board-profile-popup-show .board-profile-popup {
    transform: scale(1);
}

/* 프로필 팝업 헤더 */
.board-profile-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #e4e6eb;
}

.board-profile-popup-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #050505;
    margin: 0;
}

.board-profile-popup-close {
    background: none;
    border: none;
    font-size: 1.75rem;
    color: #65676b;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.board-profile-popup-close:hover {
    background-color: #f0f2f5;
}

/* 프로필 정보 */
.board-profile-popup-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    gap: 1rem;
}

.board-profile-popup-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
}

.board-profile-popup-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #050505;
    text-align: center;
}

.board-profile-popup-email {
    font-size: 0.9375rem;
    color: #65676b;
    text-align: center;
}

/* 팔로우 버튼 */
.board-profile-popup-follow-btn {
    width: calc(100% - 3rem);
    margin: 0 1.5rem 1.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.board-profile-popup-follow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.board-profile-popup-follow-btn:active {
    transform: translateY(0);
}

/* 팔로워/팔로잉 통계 */
.board-profile-popup-stats {
    display: flex;
    border-top: 1px solid #e4e6eb;
    border-bottom: 1px solid #e4e6eb;
}

.board-profile-popup-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.board-profile-popup-stat:hover {
    background-color: #f0f2f5;
}

.board-profile-popup-stat:first-child {
    border-right: 1px solid #e4e6eb;
}

.board-profile-popup-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #050505;
    margin-bottom: 0.25rem;
}

.board-profile-popup-stat-label {
    font-size: 0.875rem;
    color: #65676b;
}

/* 팔로워/팔로잉 목록 팝업 */
.board-profile-list-popup {
    max-width: 400px;
    max-height: 70vh;
}

.board-profile-popup-list {
    padding: 0.5rem 0;
    max-height: 50vh;
    overflow-y: auto;
}

.board-profile-popup-list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    transition: background-color 0.2s ease;
}

.board-profile-popup-list-item:hover {
    background-color: #f0f2f5;
}

.board-profile-popup-list-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 700;
    flex-shrink: 0;
}

.board-profile-popup-list-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
}

.board-profile-popup-list-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #050505;
}

.board-profile-popup-list-email {
    font-size: 0.8125rem;
    color: #65676b;
    word-break: break-all;
}

.board-profile-popup-empty {
    padding: 3rem 1.5rem;
    text-align: center;
    color: #65676b;
    font-size: 0.9375rem;
}

/* 모바일 반응형 */
@media screen and (max-width: 768px) {
    .board-profile-popup {
        width: 95%;
        max-width: none;
    }
    
    .board-profile-popup-info {
        padding: 1.5rem 1rem;
    }
    
    .board-profile-popup-avatar {
        width: 64px;
        height: 64px;
        font-size: 1.5rem;
    }
    
    .board-profile-popup-name {
        font-size: 1.25rem;
    }
    
    .board-profile-popup-follow-btn {
        width: calc(100% - 2rem);
        margin: 0 1rem 1rem;
    }
    
    .board-profile-popup-stat {
        padding: 1rem;
    }
    
    .board-profile-popup-stat-number {
        font-size: 1.25rem;
    }
}
