
  .post-title-and-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap; /* 🔥 핵심! 줄 바꿈 허용 */
  }
  
  .post-id {
    font-weight: bold;
    color: #ffcc00;
  }
  
  .post-title {
    font-size: 1rem;
    font-weight: 500;
    color: #fff !important;
    text-decoration: none;
    flex: 1; /* 🔥 제목은 자동 너비 확보 */
  }
  
  .action-icons {
    display: flex;
    gap: 0.4rem;
    align-items: center;
  }
  
  
  .icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    font-size: 1.1rem;
  }
  
  .icon-btn:hover {
    color: #d9534f;
  }
  
  /* 📱 모바일 게시판 */
  .mobile-board-list {
    display: block;
  }
  
  
  
    .mobile-board-list {
      display: block;
      padding: 0rem 1rem;
      background: transparent;
      position: relative;
    }
  
    .mobile-post-item {
      padding: 0.5rem 0;
      border-bottom: 1px solid #ccc;
    }
  
    .mobile-post-item .post-title {
      font-size: 0.9rem;
      font-weight: 500;
      color: #ffffff;
      text-decoration: none;
      display: block;
    }
  
    .mobile-post-item .post-info {
      font-size: 0.7rem;
      color: #777;
    }
  
  
  /* 페이지네이션 공통 */
  .pagination {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    padding: 1.2rem 0;
    font-size: 0.85rem;
  }
  
  .page-link {
    padding: 0.4rem 0.7rem;
    background: #000000;
    border: 1px solid #ccc;
    border-radius: 6px;
    text-decoration: none;
    color: #ffffff;
  }
  
  .page-link.active {
    background: #ffffff;
    color: rgb(0, 0, 0);
    font-weight: bold;
  }
  
  .page-link.disabled {
    pointer-events: none;
    background: #000000;
    color: #999;
  }
  
  .post-detail-link {
    color: #eee;
    text-decoration: none;
  }
  
  .post-detail-link:hover {
    color: #ff99cc;
    text-decoration: underline;
  }

  .tabs-wrapper {
    position: relative;
    margin-top: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .tabs {
    display: flex;
    gap: 0.5rem;
    padding: 0rem 1rem;
    white-space: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar {
    display: none;
  }
  
  .tab {
    background: rgba(255, 255, 255, 0.1);
    color: #eee;
    padding: 0.3rem 0.7rem;
    border-radius: 2rem;
    text-decoration: none;
    font-size: 0.75rem;
    transition: all 0.2s ease-in-out;
    border: 1px solid white; /* ✅ 여기만 바꾸면 돼 */
  }
  
  .tab:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
  }
  
  .tab.active {
    background: rgb(255, 255, 255);
    color: #000000;
    border-color: #000000;
    font-weight: bold;
  }
  
  .tabs-container {
    position: relative; /* ✅ 이거 꼭 필요! */
    display: flex;
    gap: 0.4rem;
    padding: 0.6rem;
    overflow-x: auto;
    z-index: 2;
  }


  .write-button {
    position: absolute;  /* 절대 위치 설정 */
    top: 15px;            /* 위에서 10px 떨어짐 */
    right: 5px;          /* 오른쪽에서 10px 떨어짐 */
    display: inline-block;
    padding: 7px 10px;
    background-color: #222;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: bold;
    transition: background-color 0.2s ease;
  }
  
  .write-button:hover {
    background-color: #444;
  }

  /* 🟡 공통 라벨 아이콘 기본 스타일 + 애니메이션 */
.label-icon {
  display: inline-block;
  height: 20px;
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  animation: wiggle-float 0.9s ease-in-out infinite;
}

/* 🆕 NEW 라벨 스타일 (그라데이션 + 흰색 테두리) */
.new-icon {
  width: 36px;
  height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 20'><defs><linearGradient id='grad' x1='0%' y1='0%' x2='100%' y2='0%'><stop offset='0%' stop-color='%23f7971e'/><stop offset='100%' stop-color='%23ffd200'/></linearGradient><filter id='glow' x='-50%' y='-50%' width='200%' height='200%'><feGaussianBlur stdDeviation='1.2' result='blur'/><feMerge><feMergeNode in='blur'/><feMergeNode in='SourceGraphic'/></feMerge></filter></defs><text x='3' y='15' font-size='13' font-weight='600' font-family='Arial Black' fill='url(%23grad)' stroke='white' stroke-width='0.4' filter='url(%23glow)'>NEW!</text></svg>");
}



/* ✏️ EDITED 라벨 스타일 (블루 그라데이션 + 흰색 테두리) */
.edited-icon {
  width: 34px;
  height: 17px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 20'><defs><linearGradient id='grad-edited' x1='0%' y1='0%' x2='100%' y2='0%'><stop offset='0%' stop-color='%23ccffcc'/><stop offset='100%' stop-color='%2388cc88'/></linearGradient><filter id='glow' x='-50%' y='-50%' width='200%' height='200%'><feGaussianBlur stdDeviation='1.2' result='blur'/><feMerge><feMergeNode in='blur'/><feMergeNode in='SourceGraphic'/></feMerge></filter></defs><text x='2' y='15' font-size='13' font-weight='600' font-family='Arial Black' fill='url(%23grad-edited)' stroke='white' stroke-width='0.4' filter='url(%23glow)'>EDITED</text></svg>");
}



/* 💫 떠다니는 애니메이션 */
@keyframes wiggle-float {
  0%   { transform: translateY(0) rotate(0deg); }
  25%  { transform: translateY(-1px) rotate(-2deg); }
  60%  { transform: translateY(0) rotate(1deg); }
  80%  { transform: translateY(1px) rotate(-1deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* 검색 컨테이너 */
.search-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
}

/* 검색 폼 */
.search-form {
  display: flex;
  align-items: center;
  background: #222; /* 어두운 배경 */
  border: 1px solid #444;
  border-radius: 50px;
  padding: 5px 10px;
  transition: border-color 0.3s ease;
}

.search-form:focus-within {
  border-color: #00bfff; /* 포커스 시 포인트 컬러 */
}

/* 검색창 입력 */
.search-box {
  background: transparent;
  border: none;
  outline: none;
  padding: 10px 15px;
  color: #fff;
  width: 220px;
  font-size: 1rem;
}

.search-box::placeholder {
  color: #888;
}

/* 검색 버튼 */
.icon-submit-btn {
  background: #00bfff;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.icon-submit-btn:hover {
  background: #1ec8ff;
  transform: scale(1.05);
}

/* 검색 결과 문구 */
.search-result-msg {
  margin-top: 20px;
  text-align: center;
  font-size: 1.1rem;
  color: #ccc;
}
