/* PickMeta - 전체 화면 활용 반응형 디자인 */

/* 전체 리셋 및 기본 스타일 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box !important;
}

html {
  height: 100%;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', Roboto, sans-serif;
  background: #f5f7fa;
  min-height: 100vh;
  width: 100%;
  color: #333;
  overflow-x: hidden;
  overflow-y: auto;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* 새로운 앱 헤더 */
.app-header {
  background: white;
  border-bottom: 1px solid #e9ecef;
  padding: 12px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 2vw, 32px);
  width: 100%;
  max-width: none;
  margin: 0;
  height: 48px;
}

/* 로고 섹션 */
.logo-section {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: clamp(160px, 18vw, 220px);
  max-width: clamp(180px, 20vw, 250px);
}

.logo-section h1 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: #667eea;
  margin: 0;
  white-space: nowrap;
}

.tagline {
  font-size: clamp(0.7rem, 1.2vw, 0.8rem);
  color: #666;
  margin-left: clamp(6px, 1vw, 10px);
  white-space: nowrap;
}

/* 검색 섹션 */
.search-section {
  flex: 1;
  max-width: clamp(400px, 45vw, 600px);
  margin: 0 clamp(20px, 2.5vw, 40px);
  display: flex;
  gap: 12px;
  align-items: center;
}

/* 대형 화면에서 검색 섹션 적절히 확장 */
@media (min-width: 1400px) {
  .search-section {
    max-width: clamp(500px, 50vw, 800px);
    margin: 0 clamp(24px, 2vw, 48px);
  }
}

@media (min-width: 1800px) {
  .search-section {
    max-width: clamp(600px, 55vw, 900px);
    margin: 0 clamp(32px, 2.5vw, 60px);
  }
}

@media (min-width: 2400px) {
  .search-section {
    max-width: clamp(700px, 60vw, 1000px);
    margin: 0 clamp(40px, 3vw, 80px);
  }
}

.search-container {
  flex: 1;
  position: relative;
  display: flex;
  background: white;
  border-radius: 24px;
  border: 1px solid #e9ecef;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  height: 44px;
}

.search-container:focus-within {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1), 0 4px 8px rgba(0, 0, 0, 0.06);
}

.search-input {
  flex: 1;
  padding: 12px 20px;
  border: none;
  background: transparent;
  font-size: 14px;
  outline: none;
  color: #333;
  font-weight: 400;
}

.search-input::placeholder {
  color: #999;
  font-size: 14px;
  font-weight: 400;
}

.search-btn {
  padding: 12px 18px;
  background: #667eea;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s ease;
  min-width: 60px;
}

.search-btn:hover {
  background: #5a67d8;
}

.search-filters {
  display: flex;
  align-items: center;
}

.search-filter-select {
  padding: clamp(6px, 1.2vw, 8px) clamp(8px, 1.5vw, 12px);
  border: 1px solid #e9ecef;
  border-radius: 6px;
  background: white;
  font-size: clamp(11px, 1.1vw, 13px);
  color: #666;
  cursor: pointer;
  outline: none;
  min-width: clamp(60px, 8vw, 80px);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.search-filter-select:focus,
.search-filter-select:hover {
  border-color: #667eea;
  background: #f8f9fb;
}

/* 모바일 햄버거 메뉴 버튼 */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  gap: 4px;
  border-radius: 6px;
  transition: all 0.3s ease;
  z-index: 1001;
  position: relative;
  width: 36px;
  height: 36px;
  justify-content: center;
  align-items: center;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-btn:hover {
  background: rgba(102, 126, 234, 0.1);
}

.mobile-menu-btn:active {
  background: rgba(102, 126, 234, 0.2);
  transform: scale(0.95);
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background: #666;
  border-radius: 1px;
  transition: all 0.3s ease;
  display: block;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background: #667eea;
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
  background: #667eea;
}

/* 사용자 섹션 */
.user-section {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 16px);
  min-width: clamp(140px, 16vw, 200px);
  max-width: clamp(160px, 18vw, 240px);
  flex-shrink: 0;
  justify-content: flex-end;
}

#googleLoginContainer {
  display: flex;
  align-items: center;
  gap: clamp(4px, 0.8vw, 8px);
}

.google-login-btn {
  display: flex;
  align-items: center;
  gap: clamp(4px, 0.6vw, 8px);
  padding: clamp(6px, 1vw, 8px) clamp(8px, 1.2vw, 14px);
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  cursor: pointer;
  font-size: clamp(11px, 1.1vw, 13px);
  color: #666;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.google-login-btn:hover {
  border-color: #667eea;
  color: #667eea;
}

.google-icon {
  width: 16px;
  height: 16px;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path fill="%23EA4335" d="M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"/><path fill="%2334A853" d="M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"/><path fill="%23FBBC05" d="M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"/><path fill="%23EA4335" d="M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"/></svg>') center/contain no-repeat;
}

.user-info {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #333;
  padding: 8px 12px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.user-info.active {
  display: flex;
  transition: all 0.2s ease;
}

.user-info.active:hover {
  background: #e9ecef;
  border-color: #dee2e6;
  transform: translateY(-1px);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e9ecef;
  flex-shrink: 0;
}

.user-name {
  font-size: 13px;
  font-weight: 500;
  color: #495057;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-btn {
  padding: 8px 16px;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s ease;
}

.admin-btn:hover {
  background: #c82333;
}

/* 메인 앱 컨테이너 */
.app-container {
  display: flex;
  min-height: 100vh;
  padding-top: 72px;
  width: 100%;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
  overflow-x: hidden;
  transition: padding-left 0.3s ease-in-out;
}

/* 왼쪽 카테고리 사이드바 */
.category-sidebar {
  width: clamp(260px, 18vw, 320px);
  min-width: 260px;
  max-width: 320px;
  background: white;
  border-right: 1px solid #e9ecef;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  height: calc(100vh - 72px);
  position: fixed;
  left: 0;
  top: 72px;
}

/* 섹션 선택기 */
.section-selector {
  padding: 20px 16px 16px;
  border-bottom: 1px solid #f1f3f4;
}

.section-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 14px;
  color: #666;
}

.section-btn:hover {
  background: #f8f9fa;
  color: #333;
}

.section-btn.active {
  background: #667eea;
  color: white;
}

.section-icon {
  font-size: 18px;
}

.section-name {
  font-weight: 500;
}

/* 카테고리 필터 */
.category-filters {
  flex: 1;
  padding: 0 16px;
}

.filter-header {
  padding: 16px 0 12px;
  border-bottom: 1px solid #f1f3f4;
  margin-bottom: 16px;
}

.filter-header h3 {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.category-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.category-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13px;
}

.category-item:hover {
  background: #f8f9fa;
}

.category-item.active {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  font-weight: 500;
}

.category-icon {
  font-size: 16px;
}

.category-name {
  flex: 1;
}

.category-count {
  background: #e9ecef;
  color: #666;
  padding: 2px 6px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 500;
  min-width: 20px;
  text-align: center;
}

.category-item.active .category-count {
  background: rgba(102, 126, 234, 0.2);
  color: #667eea;
}

/* 메타버스 정보 */
.metaverse-info {
  padding: 16px 12px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 16px;
}

.metaverse-status, .online-users {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
}

.status-icon, .users-icon {
  font-size: 14px;
}

/* 컨텐츠 작성 섹션 */
.create-content-section {
  padding: 16px;
  border-top: 1px solid #f1f3f4;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.create-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.create-btn:hover {
  background: #5a67d8;
  transform: translateY(-1px);
}

.create-btn.music-upload-btn {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.create-btn.music-upload-btn:hover {
  background: linear-gradient(135deg, #ff5252 0%, #d63031 100%);
}

.create-icon {
  font-size: 16px;
}

/* 메인 컨텐츠 영역 */
.content-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #f8f9fa;
  overflow-y: auto;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  padding-left:80px;
  padding-top:10px;
  min-height: calc(100vh - 72px);
}

/* 컨텐츠 헤더 */
.content-header {
  background: white;
  padding: 20px clamp(16px, 2vw, 32px);
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.content-title h2 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.content-title p {
  font-size: 14px;
  color: #666;
  margin: 4px 0 0;
}

.content-actions {
  position: relative;
}

.sort-btn {
  padding: 8px 16px;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  transition: all 0.2s ease;
}

.sort-btn:hover {
  border-color: #667eea;
  color: #667eea;
}

.sort-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 120px;
  z-index: 100;
  display: none;
}

.sort-menu.show {
  display: block;
}

.sort-option {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: all 0.2s ease;
}

.sort-option:hover {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  font-weight: 500;
}

/* 컨텐츠 바디 */
.content-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px clamp(16px, 2vw, 32px);
  width: 100%;
  max-width: none;
}

/* 로딩 스피너 */
.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 200px;
  color: #666;
}

.spinner-icon {
  font-size: 32px;
  margin-bottom: 12px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.loading-spinner p {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* 음악 그리드 (Spotify 스타일) */
.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: clamp(16px, 2vw, 24px);
  padding: 0;
  width: 100%;
  
  /* 대형 화면에서 더 많은 컬럼 표시 */
  @media (min-width: 1400px) {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
  }
  
  @media (min-width: 1800px) {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 22px;
  }
  
  @media (min-width: 2200px) {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 24px;
  }
}

/* 음악 카드 스타일 */
.music-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 280px;
}

.music-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* 재생 중인 음악 카드 하이라이트 */
.music-card.playing {
  border: 2px solid #667eea;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.music-card.playing .music-cover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
}

.music-card.playing .music-cover::after {
  content: '🎵';
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: #667eea;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { 
    transform: scale(1);
    opacity: 1;
  }
  50% { 
    transform: scale(1.05);
    opacity: 0.8;
  }
}

.music-card.playing .music-title {
  color: #667eea;
  font-weight: 700;
}

.music-thumbnail {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.music-cover {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 48px;
}

.music-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.default-cover {
  font-size: 48px;
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.music-card:hover .play-overlay {
  opacity: 1;
}

.play-button {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #333;
}

.duration-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
}

.music-info {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.music-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0 0 4px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.music-artist {
  font-size: 12px;
  color: #666;
  margin-bottom: 8px;
}

.music-stats {
  font-size: 11px;
  color: #999;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.music-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.music-actions .action-btn {
  flex: 1;
  background: #f8f9fa;
  border: none;
  padding: 6px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.music-actions .action-btn:hover {
  background: #e9ecef;
}

.music-actions .delete-btn {
  background: #fff5f5;
  color: #dc3545;
}

.music-actions .delete-btn:hover {
  background: #dc3545;
  color: white;
}

/* 음악 플레이어 스타일 */
.music-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid #e9ecef;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 12px 16px;
}

.music-player-content {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.current-track-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.track-thumbnail {
  width: 48px;
  height: 48px;
  background: #667eea;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
}

.track-details {
  min-width: 0;
}

.track-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-artist {
  font-size: 12px;
  color: #666;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.control-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.control-btn:hover {
  background: rgba(102, 126, 234, 0.1);
}

.play-pause-btn {
  background: #667eea;
  color: white;
  width: 48px;
  height: 48px;
  font-size: 24px;
}

.play-pause-btn:hover {
  background: #5a67d8;
}

.progress-section {
  display: flex;
  align-items: center;
  gap: 8px;
}

.time-display {
  font-size: 11px;
  color: #666;
  font-weight: 500;
  min-width: 35px;
  text-align: center;
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: #e9ecef;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: #667eea;
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s ease;
}

.additional-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 4px;
}

.volume-slider {
  width: 60px;
  height: 4px;
  background: #e9ecef;
  border-radius: 2px;
  outline: none;
  -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: #667eea;
  border-radius: 50%;
  cursor: pointer;
}

/* 재생목록 모달 */
.playlist-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
}

.playlist-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.playlist-modal-content {
  background: white;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  max-height: 70%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.playlist-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.playlist-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.playlist-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.playlist-close-btn:hover {
  background: #f1f3f4;
  color: #333;
}

.playlist-body {
  padding: 24px;
  max-height: 400px;
  overflow-y: auto;
}

.playlist-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f3f4;
}

.clear-playlist-btn {
  background: #dc3545;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
}

.playlist-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.playlist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.playlist-item:hover {
  background: #f8f9fa;
}

.playlist-item.current {
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
}

.playlist-item-info {
  flex: 1;
  min-width: 0;
}

.playlist-track-title {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playlist-track-artist {
  font-size: 11px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playlist-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.track-duration {
  font-size: 11px;
  color: #999;
}

.remove-btn {
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  font-size: 12px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-btn:hover {
  background: #dc3545;
  color: white;
}

.empty-playlist {
  text-align: center;
  color: #666;
  font-style: italic;
  padding: 40px 20px;
}

.shorts-card {
  aspect-ratio: 9/16;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.shorts-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.shorts-thumbnail {
  width: 100%;
  height: 70%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

.play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.duration-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
}

.shorts-info {
  padding: 12px;
  height: 30%;
}

.shorts-title {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  margin: 0 0 4px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shorts-meta {
  font-size: 10px;
  color: #666;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.shorts-author {
  font-weight: 500;
}

.shorts-stats {
  display: flex;
  gap: 8px;
}

/* 게시판 테이블 (DCInside 스타일) */
.board-container {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.board-header {
  padding: 16px 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.board-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px;
}

.board-stats {
  font-size: 13px;
  color: #666;
  display: flex;
  gap: 16px;
}

.board-table {
  width: 100%;
  border-collapse: collapse;
}

.board-table th,
.board-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #f1f3f4;
  font-size: 13px;
}

.board-table th {
  background: #f8f9fa;
  font-weight: 600;
  color: #333;
  font-size: 12px;
  text-transform: uppercase;
}

.board-table tr:hover {
  background: #f8f9fa;
  cursor: pointer;
}

.col-number {
  width: 60px;
  text-align: center;
  color: #666;
}

.col-category {
  width: 80px;
  text-align: center;
}

.col-title {
  min-width: 200px;
  flex: 1;
}

.col-author {
  width: 100px;
  text-align: center;
}

.col-date {
  width: 80px;
  text-align: center;
  color: #666;
}

.col-recommend,
.col-comments {
  width: 50px;
  text-align: center;
  color: #666;
}

.category-badge {
  background: #e9ecef;
  color: #666;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
}

.post-title {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.post-title:hover {
  color: #667eea;
}

.comment-count {
  color: #667eea;
  font-weight: 500;
}

/* 고정 작성 버튼 (DCInside 스타일) */
.fixed-write-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
  transition: all 0.2s ease;
  z-index: 100;
}

.fixed-write-btn:hover {
  background: #5a67d8;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

/* 게임 그리드 (itch.io 스타일) */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(16px, 2vw, 24px);
  padding: 0;
  width: 100%;
  
  /* 대형 화면에서 더 많은 컬럼 표시 */
  @media (min-width: 1400px) {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
  }
  
  @media (min-width: 1800px) {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 22px;
  }
  
  @media (min-width: 2200px) {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
  }
  
  @media (min-width: 2600px) {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 26px;
  }
}

.game-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.game-thumbnail {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 48px;
}

.game-info {
  padding: 16px;
}

.game-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px;
  line-height: 1.3;
}

.game-creator {
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}

.game-description {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #666;
}

.game-category {
  background: #e9ecef;
  color: #666;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
}

.game-plays {
  font-weight: 500;
}

/* 메타버스 컨테이너 */
.metaverse-container {
  width: 100%;
  height: 100%;
  position: relative;
  background: #1a1a2e;
  border-radius: 8px;
  overflow: hidden;
}

.metaverse-canvas {
  width: 100%;
  height: 400px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  font-weight: 600;
}

.metaverse-ui {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 8px;
  padding: 16px;
  color: white;
}

.metaverse-chat {
  height: 120px;
  overflow-y: auto;
  margin-bottom: 12px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 12px;
}

.metaverse-input {
  display: flex;
  gap: 8px;
}

.metaverse-input input {
  flex: 1;
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 13px;
}

.metaverse-input input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.metaverse-input button {
  padding: 8px 16px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}

/* 모달 스타일 */
.create-post-modal,
.video-modal,
.post-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.post-modal-content,
.video-modal-content {
  background: white;
  border-radius: 12px;
  max-width: 1000px;
  width: 95%;
  max-height: 95%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.create-post-modal .post-modal-content {
  max-width: 700px;
  max-height: 95%;
}

.post-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.modal-close-btn,
.video-close-btn,
.post-close-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close-btn:hover,
.video-close-btn:hover,
.post-close-btn:hover {
  background: #f1f3f4;
  color: #333;
}

.post-modal-body {
  padding: 24px;
  max-height: 80vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 게시물 타입 선택 */
.post-type-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.post-type-btn {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  transition: all 0.2s ease;
  text-align: center;
}

.post-type-btn:hover {
  border-color: #667eea;
  color: #667eea;
}

.post-type-btn.active {
  border-color: #667eea;
  background: #667eea;
  color: white;
}

/* 폼 그룹 */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #333;
  font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* 파일 업로드 섹션 */
.file-upload-section {
  margin-bottom: 24px;
}

.file-upload-header {
  margin-bottom: 12px;
}

.file-upload-header h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.file-upload-area {
  border: 2px dashed #e9ecef;
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #f8f9fa;
}

.file-upload-area:hover,
.file-upload-area.dragover {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.05);
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.upload-icon {
  font-size: 48px;
  color: #ccc;
}

.upload-text {
  color: #666;
}

.upload-main-text {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
}

.upload-sub-text {
  font-size: 14px;
}

.file-preview {
  margin-top: 16px;
}

.file-preview-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  margin-bottom: 8px;
}

.file-preview-info {
  flex: 1;
}

.file-remove-btn {
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 12px;
}

.upload-tips {
  margin-top: 12px;
  font-size: 12px;
  color: #666;
  text-align: left;
}

.upload-tips p {
  margin: 4px 0;
}

/* 폼 액션 */
.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e9ecef;
}

.btn-cancel,
.btn-submit {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cancel {
  background: #f8f9fa;
  color: #666;
}

.btn-cancel:hover {
  background: #e9ecef;
  color: #333;
}

.btn-submit {
  background: #667eea;
  color: white;
}

.btn-submit:hover {
  background: #5a67d8;
}

/* 타입별 아이콘 변경 */
.post-type-text .upload-icon::before { content: "📝"; }
.post-type-image .upload-icon::before { content: "📷"; }
.post-type-video .upload-icon::before { content: "🎬"; }

.post-type-image .file-upload-header h4::before {
  content: "📷";
  margin-right: 6px;
  font-size: 12px;
}

.post-type-video .file-upload-header h4::before {
  content: "🎬";
  margin-left: 6px;
  font-size: 12px;
}

/* 비디오 모달 */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.video-modal-content {
  background: white;
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  max-height: 90%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.video-modal-header {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1001;
}

.video-close-btn {
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: white;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.video-close-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.video-container {
  aspect-ratio: 16/9;
  background: #000;
  position: relative;
}

.video-container video {
  width: 100%;
  height: 100%;
  display: block;
}

.video-info {
  padding: 20px 24px;
  max-height: 300px;
  overflow-y: auto;
}

.video-meta {
  display: flex;
  gap: 16px;
  margin: 8px 0 16px;
  font-size: 13px;
  color: #666;
}

.video-meta span {
  font-weight: 500;
}

#modalVideoTitle {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px;
  line-height: 1.4;
}

#modalVideoDescription {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 16px;
}

.video-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.action-btn,
.like-btn,
.comment-btn,
.share-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid #e9ecef;
  background: white;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  color: #666;
  transition: all 0.2s ease;
  font-weight: 500;
}

.action-btn:hover,
.like-btn:hover,
.comment-btn:hover,
.share-btn:hover {
  border-color: #667eea;
  color: #667eea;
  background: rgba(102, 126, 234, 0.05);
}

.action-btn.liked {
  border-color: #e53e3e;
  color: #e53e3e;
  background: rgba(229, 62, 62, 0.05);
}

.action-icon {
  font-size: 14px;
}

.video-comments {
  border-top: 1px solid #e9ecef;
  padding-top: 16px;
}

.video-comments h4 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px;
}

.comments-list {
  max-height: 400px;
  overflow-y: auto;
  min-height: 200px;
}

.comment-item {
  padding: 16px 0;
  border-bottom: 1px solid #f1f3f4;
}

.comment-item:last-child {
  border-bottom: none;
}

.comment-author {
  font-weight: 600;
  color: #333;
  font-size: 14px;
  margin-bottom: 4px;
}

.comment-content {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 4px;
}

.comment-time {
  color: #999;
  font-size: 12px;
}

/* 게시글 모달 추가 스타일 */
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #f1f3f4;
  margin-bottom: 20px;
}

.post-meta span {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

.post-author {
  color: #333 !important;
  font-weight: 600 !important;
}

.post-category {
  background: #e9ecef;
  color: #666 !important;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px !important;
}

.post-content {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 24px;
  min-height: 100px;
}

.post-media {
  margin: 20px 0;
  text-align: center;
}

.post-media img,
.post-media video {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.post-actions {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #f1f3f4;
  margin-bottom: 20px;
}

.comments-section {
  flex: 1;
  min-height: 300px;
}

.comments-section h4 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #667eea;
}

/* 댓글 작성 폼 스타일 */
.comment-form {
  margin-top: 20px;
  padding: 20px 0;
  border-top: 1px solid #f1f3f4;
}

.comment-form textarea {
  width: 100%;
  min-height: 120px;
  padding: 16px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
  background: #f8f9fa;
  resize: vertical;
  transition: all 0.3s ease;
  font-family: inherit;
  box-sizing: border-box;
}

.comment-form textarea:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
  transform: translateY(-1px);
}

.comment-form textarea::placeholder {
  color: #999;
  font-size: 14px;
}

.comment-form button {
  margin-top: 12px;
  padding: 12px 24px;
  background: #667eea;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  float: right;
}

.comment-form button:hover {
  background: #5a67d8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.comment-form button:active {
  transform: translateY(0);
}

/* 댓글 폼을 컨테이너로 감싸기 위한 clear 추가 */
.comment-form::after {
  content: "";
  display: table;
  clear: both;
}

/* 댓글 작성 도움말 */
.comment-form-help {
  margin-top: 8px;
  font-size: 12px;
  color: #999;
  text-align: right;
}

/* 댓글 작성 애니메이션 */
.comment-form textarea:not(:placeholder-shown) {
  border-color: #667eea;
  background: white;
}

/* 포커스 시 높이 자동 확장 효과 */
.comment-form textarea:focus {
  min-height: 140px;
}

/* 댓글 개수 뱃지 스타일 */
.comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

#modalCommentsCount {
  background: #667eea;
  color: white;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  margin-left: 8px;
}

/* 관리자 전용 삭제 버튼 스타일 */
.admin-delete-btn {
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 4px 8px;
  margin-left: 8px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
}

.admin-delete-btn:hover {
  background: #c82333;
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.admin-delete-btn:active {
  transform: scale(0.95);
}

/* 모달 내 관리자 삭제 버튼 */
.action-btn.admin-only {
  background: #dc3545 !important;
  border-color: #dc3545 !important;
}

.action-btn.admin-only:hover {
  background: #c82333 !important;
  border-color: #c82333 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.action-btn.admin-only .action-icon {
  color: white;
}

.action-btn.admin-only .action-text {
  color: white;
  font-weight: 600;
}

/* 모바일 대응 */
@media (max-width: 768px) {
  .search-box{
    justify-content: center !important;
  }

  .card-btn {
    width: 100% !important;
    padding:15px !important;
  }

  .ai-tools {
    display:flex !important;
    gap:5px !important;
    flex-direction: column !important;
  }

  .main-services {
    padding: 5px !important;
    flex-direction: column !important;
    display:flex !important;
  }

  .naver-tab {
    font-size:10px !important;
    white-space: nowrap !important;
    text-align: center !important;
  }

  #aiSearchSection input {
    box-shadow: none !important;
    height:100% !important;
    margin-bottom: 0px !important
    ;
  }

  .search-btn {
    width:90px !important;
  }

  .contents-area2 {
    display:flex !important;
    flex-direction: column !important;
  }

  .app-container {
    /* padding-top: 55px; */
    padding-left: 0;
    width: 100vw;
  }

  #pickmetahome {
    display:none !important;
  }

  .ai-search-section {
    padding-top:0px !important;
  }

  .category-sidebar {
    display:none;
    /* display:flex; */
    /* flex-direction: row !important; */
    position: fixed !important;
    left: -100%;
    top: 55px;
    width: 80% !important;
    max-width: 100vw !important;
    height: calc(100% - 55px);
    overflow: hidden;
    z-index: 999;
    transition: left 0.3s ease;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  }

  .category-sidebar.active {
    left: 0;
  }

  .mobile-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }

  .mobile-sidebar-overlay.active {
    display: block;
  }

  .content-area {
    width: 100%;
    margin-left: 0;
    padding:0px;
  }

  .write-btn {
    display:none !important;
  }

  .menu-btn {
    display: flex !important;
  }
  .upper-bar select {
    font-size:11px !important;
  }

  .upper-bar {
    padding:0px 10px !important;
    display:flex !important;
    flex-direction: row !important;
    justify-content: center !important;  
    align-items: center !important;
    border-radius: 10px;
  }
}