body{
    background:#0000AA;
    color:white;
    /* font-family:"Nanum Myeongjo", serif; */
    font-family: "Pretendard", sans-serif;
    margin:0;
}

#container{
    width:1200px;
    margin:auto;
    padding:20px;
}

#chat-box {
    height: 500px;        /* 👈 고정 높이 */
    overflow-y: auto;     /* 👈 내부 스크롤 */
    border: 1px solid white;
    padding: 10px;
    background: #000066;
    margin-bottom: 20px;
}

.board-title{

    border:1px solid white;
    /* border:1px white; */
    padding:8px;
    /* margin-bottom:10px; */
    text-align:center;
    font-size:20px;
}

.board-header{

    /* border-top:1px solid white; */
    border-bottom:1px solid white;
    padding:8px 0;
    /* font-weight:bold; */
    font-size:20px;
    word-break: break-word; /* 🔥 긴 글자 안 잘림 */

}

.meta-row {
    display: flex;
    flex-wrap: wrap;        /* 🔥 줄바꿈 허용 */
    gap: 10px;
    margin-bottom: 6px;
}

.meta-item {
    font-size: 14px;
    color: #555;
    white-space: nowrap;    /* 기본은 한 줄 유지 */
}

.title-row {
    font-size: 18px;
    font-weight: bold;
    margin: 8px 0;
    word-break: break-word; /* 🔥 제목 길어도 안 짤림 */
}


.post-title{
    display:inline-block;
    width:490px;
    text-align:left;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}

.post-row{
    /* border-bottom:1px solid white; */
    padding:6px 0;

}

.post-list{
    /* min-height:880px; */
    padding-top:15px;
    height:780px;
    font-size:20px;
    /* overflow:hidden; */
    overflow-y: auto;

}

.post-row:hover{

    background:#1111cc;
}

.col-no{

    display:inline-block;
    width:60px;
    text-align:center;
    white-space:nowrap;
    text-overflow:ellipsis;
    overflow:hidden;

}

.col-writer{

    display:inline-block;
    width:160px;
    text-align:center;
    white-space:nowrap;
    text-overflow:ellipsis;
    overflow:hidden;
}

.col-title{
    display:inline-block;
    width:490px;
    text-align:cneter;
    white-space:nowrap;
    text-overflow:ellipsis;
    overflow:hidden;

}

.col-like{

    display:inline-block;
    width:70px;
    text-align:center;
}

.col-views{

    display:inline-block;
    width:90px;
    text-align:center;
    white-space:nowrap;
    text-overflow:ellipsis;
    overflow:hidden;

}

.col-date{

    display:inline-block;
    width:250px;
    text-align:center;
    white-space:nowrap;
    text-overflow:ellipsis;
    overflow:hidden;

}

.col-file{

    display:inline-block;
    width:40px;
    text-align:center;
    white-space:nowrap;
    text-overflow:ellipsis;
    overflow:hidden;
}

a{

    color:white;
    text-decoration:none;
}

a:hover{

    text-decoration:underline;
}

.board-menu{

    margin-top:20px;

    border-top:1px solid white;

    padding-top:15px;
}

.board-menu a{

    margin-right:20px;
    font-size:20px;
}


.write-row{

    margin-bottom:15px;
    font-size:20px;
}

.write-row label{

    display:block;

    margin-bottom:5px;

    color:white;


}

.write-row input{

    width:100%;

    background:#0000AA;

    color:white;

    border:1px solid white;

    padding:10px;

    box-sizing:border-box;

    font-family:inherit;

    font-size:20px;
}

.write-row textarea{

    width:100%;

    background:#0000AA;

    color:white;

    border:1px solid white;

    padding:10px;

    box-sizing:border-box;

    resize:vertical;

    font-family:inherit;
    font-size:20px;
}

.write-menu{

    border-top:1px solid white;

    margin-top:20px;

    padding-top:15px;
    font-size:20px;
}

.write-menu button{

    background:#0000AA;

    color:white;

    border:1px solid white;

    padding:8px 20px;

    cursor:pointer;

    margin-right:15px;

    font-size:20px;
}

.write-menu button:hover{

    background:white;

    color:#0000AA;
}

.bbs-info{

    margin-bottom:20px;

    color:white;
}

.post-header {
    display: flex;
    gap: 20px;
    padding: 12px;
    border-bottom: 1px solid #ccc;
    background: #0000AA;
    font-size: 20px;
    flex-wrap: wrap;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}

.post-header span {
    white-space: nowrap;
}

.post-content {
    padding: 20px;
    white-space: pre-wrap;
    line-height: 1.6;
    font-size: 20px;
}

/* ===== 게시글 15개 그리드 ===== */
/* .post-row {
    display: grid;
    grid-template-columns: 70px 120px 500px 70px 180px 80px;
    align-items: center;
    padding: 6px 10px;
    border-bottom: 1px solid #333;
} */

/* ===== 페이지 영역 간격 ===== */
.pagination {
    margin-top: 10px;   /* 👈 글 목록과 거리 */
    padding: 5px 0;
    text-align: center;
}

/* ===== 페이지 숫자 스타일 ===== */
.pagination a {
    margin: 0 5px;
    color: white;
    text-decoration: none;
    font-size:20px;
}

/* 현재 페이지 강조용 (선택) */
.pagination a:hover {
    color: yellow;
}

/* ===== "페이지" 글자 ===== */
.page-label {
    margin-right: 10px;
    color: white;
    font-weight: bold;
    font-size:20px;
}

.pagination a.active {
    font-weight: bold;
    color: red;
    font-size:20px;
}

#preview img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    margin: 3px;
    display: inline-block;
}


.key-hint{
    margin-left:auto;
    font-size:20px;
    color: white;
}


/* .cmd-box{
    position:fixed;
    bottom:10px;
    left:50%;
    transform:translateX(-50%);

    display:flex;
    align-items:center;

    font-family:monospace;
    color:white;
} */

.cmd-box{
    display:flex;
    align-items:center;
    width: 100%;
    max-width: 600px;   /* 필요하면 조절 */
    margin-left: 50;     /* 왼쪽 붙이기 */
    /* margin-left:auto; */
}

.cmd-box span{
    margin-right:6px;
    color: white;
}

/* #cmdInput{
    background:transparent;
    border:none;
    outline:none;
    color:white;
    caret-color:white;
    font-size:20px;
    width:200px;
} */

#cmdInput{
    flex: 1;
    background:transparent;
    border:none;
    outline:none;
    color:white;
    caret-color:white;
    font-family:monospace;
    font-size:20px;
}

.board-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:20px;

    margin-top:20px;
    padding-top:15px;
    border-top:1px solid white;;

    font-family:monospace;
}

.m-left{
    display:flex;
    gap:20px;
    align-items:center;
    font-size:20px;
}

.m-left a{
    color:white;
    text-decoration:none;
}

.m-left a:hover{
    text-decoration:underline;
}

.m-right{
    font-size:20px;
    color:#888;
    white-space:nowrap;
}