/* ===== 포럼 제목 ===== */
.forumItemTitle{
  display:flex;
  align-items:center;
  gap:6px;

  font-size:14px;
  font-weight:700;
  color:#e6e6e6;

  line-height:1.4;
  cursor:pointer;
}

/* hover */
.forumItemTitle:hover{
  color:#ffffff;
  text-decoration:underline;
}

/* 댓글 수 */
.forumItemTitle .forumCommentCount{
  font-size:12px;
  font-weight:600;
  color:#9bb3c9;
}

/* 본문 */
.forumItemBody{
  margin-top:6px;
  font-size:13px;
  line-height:1.6;
  color:rgba(255,255,255,.65);
}

/* 게시글 날짜 경계선 */
.forumDateDivider{
  margin:16px 0 10px;
  padding:6px 10px;

  font-size:12px;
  font-weight:900;
  letter-spacing:.3px;

  color:#c8a36a;

  border-top:1px solid rgba(200,163,106,.35);
  border-bottom:1px solid rgba(200,163,106,.18);

  background:
    linear-gradient(
      90deg,
      rgba(200,163,106,.10),
      rgba(0,0,0,0)
    );
}

/* 게시글 카드 hover 확대 */
.forumItem{
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
  transform-origin: center;
}

.forumItem:hover{
  transform: scale(1.01);
  z-index: 5;

  border-color: rgba(200,163,106,.45);
  box-shadow:
    0 18px 60px rgba(0,0,0,.85),
    0 0 0 1px rgba(200,163,106,.25) inset;
}

.forumTitleRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.forumWriteBtn{
  width:28px;
  height:28px;
  border-radius:8px;
  border:1px solid rgba(200,163,106,.35);
  background:rgba(0,0,0,.55);
  color:#c8a36a;
  font-size:18px;
  font-weight:900;
  cursor:pointer;
}

.forumWriteBtn:hover{
  background:rgba(200,163,106,.15);
}

.forumModalBg{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.65);
  display:none;
  z-index:999999;
}

.forumModalBg.on{
  display:block;
}

/* ⭐ 핵심 */
.forumModal{
  position:fixed;
 
  top:50px;
  left:50%;
  transform:translateX(-50%);

  width:92%;
  max-width:720px;
  max-height:calc(100vh - 100px);

  background:#0b1220;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 20px 60px rgba(0,0,0,.6);

  overflow-y:auto;
}

/* ===== 보고서 폼 ===== */
.reportForm{
  display:flex;
  flex-direction:column;
}

/* 헤더 */
.reportHeader{
  padding:16px 18px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

.reportHeader h2{
  margin:0;
  font-size:18px;
  font-weight:800;
  color:#c8a36a;
  letter-spacing:.3px;
}

.reportHeader p{
  margin:6px 0 0;
  font-size:12px;
  color:rgba(255,255,255,.55);
}

/* 본문 */
.reportBody{
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:18px;
}

/* 섹션 */
.reportSection label{
  display:block;
  font-size:13px;
  font-weight:700;
  margin-bottom:6px;
  color:#e6e6e6;
}

.reportSection input,
.reportSection textarea{
  width:100%;
  padding:10px 12px;
  border-radius:10px;
  background:#0e1630;
  color:#cfe0ff;
  border:1px solid rgba(255,255,255,.12);
}

.reportSection textarea{
  min-height:180px;
  resize:vertical;
}

/* 설명/각주 */
.reportNote{
  margin-top:6px;
  font-size:11px;
  color:rgba(255,255,255,.5);
  line-height:1.5;
}

/* 인라인 섹션 */
.reportSection.inline{
  display:flex;
  align-items:center;
}

/* 하단 액션 */
.reportFooter{
  display:flex;
  justify-content:flex-end;
  gap:10px;
  padding:14px 18px;
  border-top:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(10,15,30,.6), rgba(10,15,30,.9));
  position:sticky;
  bottom:0;
}

/* 버튼 보정 */
.reportFooter .btn{
  padding:8px 16px;
  border-radius:10px;
}

.reportFooter .btn.ghost{
  background:transparent;
  border:1px solid rgba(255,255,255,.2);
  color:#ddd;
}

.postBody{
  padding:12px;
  background:rgba(0,0,0,.35);
  border-radius:10px;
  font-size:13px;
  line-height:1.7;
}

.divider{
  border:0;
  border-top:1px solid rgba(255,255,255,.12);
  margin:18px 0;
}

.commentTitle{
  font-size:14px;
  margin-bottom:10px;
  color:#c8a36a;
}

.commentItem{
  padding:10px 12px;
  border-radius:8px;
  background:rgba(0,0,0,.25);
  margin-bottom:8px;
}

.commentHead{
  display:flex;
  justify-content:space-between;
  font-size:12px;
  color:#9bb3c9;
  margin-bottom:4px;
}

.commentBody{
  font-size:13px;
  color:rgba(255,255,255,.75);
}

.commentEmpty{
  font-size:12px;
  color:rgba(255,255,255,.55);
}

.reportBody{
  flex:1;
  overflow-y: auto;
  overflow-x: hidden;

  /* IE / Edge */
  -ms-overflow-style: none;

  /* Firefox */
  scrollbar-width: none;
}

/* Chrome / Safari / Edge */
.reportBody::-webkit-scrollbar{
  width: 0 !important;
  height: 0 !important;
}

.commentWrite{
  margin-bottom: 16px;
}

.commentWrite textarea{
  width:100%;
  min-height:90px;
  padding:10px;
  border-radius:10px;
  background:#0e1630;
  color:#cfe0ff;
  border:1px solid rgba(255,255,255,.12);
  resize:vertical;
}

.commentActions{
  display:flex;
  justify-content:flex-end;
  margin-top:8px;
}

.commentTitle{
  margin:0 0 8px;
  font-size:14px;
  font-weight:700;
  color:#c8a36a;
}

.forumItem {
  position: relative; /* 기준 컨테이너 */
}

.forumCommentCount.overlay {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 5;

  font-size: 12px;
  padding: 4px 8px;
  border-radius: 12px;

  background: rgba(0,0,0,.6);
  color: #fff;

  pointer-events: none; /* 클릭 이벤트 방해 방지 */
}
