:root {
  font-family: 'Pretendard Variable', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.compact-room {
  padding-block: 1rem 1.5rem;
}

@media (max-height: 820px) {
  .compact-room {
    padding-block: 0.5rem 1rem;
  }
}

.chat-scroll {
  max-height: 260px;
  overflow-y: auto;
}

.chat-message {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 75%;
}

.chat-message--others {
  align-items: flex-start;
}

.chat-message--mine {
  margin-left: auto;
  align-items: flex-end;
}

.chat-bubble {
  border-radius: 1rem;
  padding: 0.5rem 0.75rem;
  background-color: #f1f5f9;
  color: #0f172a;
  font-size: 12px;
  line-height: 1.45;
  box-shadow: 0 8px 16px -12px rgba(15, 23, 42, 0.45);
}

.chat-bubble--others {
  border-bottom-left-radius: 0.25rem;
}

.chat-bubble--mine {
  background-color: #4f46e5;
  color: #ffffff;
  border-bottom-right-radius: 0.25rem;
}

.chat-meta {
  font-size: 11px;
  color: #94a3b8;
}

.chat-scroll::-webkit-scrollbar,
.thread-scroll::-webkit-scrollbar,
.calendar-grid::-webkit-scrollbar {
  display: none;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.35rem;
}

.calendar-cell {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.35rem;
  min-height: 70px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.calendar-cell:hover {
  border-color: #c7d2fe;
  background-color: #f8f5ff;
}

.calendar-cell--muted {
  color: #cbd5f5;
  background-color: #f8fafc;
}

.calendar-cell--selected {
  border-color: #6366f1;
  background-color: #eef2ff;
}

.calendar-pill {
  border-radius: 999px;
  background-color: #e0e7ff;
  color: #4338ca;
  font-size: 11px;
  padding: 0.1rem 0.4rem;
  width: fit-content;
}

.post-card {
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1rem;
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.comment-card {
  border-left: 2px solid #e2e8f0;
  padding-left: 0.75rem;
  margin-top: 0.75rem;
}

.reply-card {
  border-left: 2px dashed #cbd5f5;
  padding-left: 0.75rem;
  margin-top: 0.5rem;
}
