.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.header {
  text-align: center;
  margin-bottom: 2rem;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-color);
  margin-top: 0.5rem;
}

.controls {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.refreshButton {
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.refreshButton:hover {
  background-color: var(--secondary-color);
}

.refreshButton:disabled {
  background-color: var(--button-disabled);
  color: var(--button-disabled-text);
  cursor: not-allowed;
}

.homeLink {
  display: inline-block;
  background-color: var(--button-background);
  color: var(--button-text);
  text-decoration: none;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  transition: all 0.2s;
  border: 1px solid var(--input-border);
}

.homeLink:hover {
  background-color: var(--button-hover);
}

.error {
  background-color: var(--error-background);
  color: var(--error-color);
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.notice {
  background-color: var(--notice-background);
  color: var(--notice-text);
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  margin-top: 0;
  border: 2px solid var(--notice-border);
  font-size: 1.1rem;
  line-height: 1.4;
  text-align: center;
  font-weight: 500;
}

.noticePersonal {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  padding-top: 0.5rem;
  border-top: 1px dashed var(--notice-border);
  opacity: 0.8;
}

.noticeLink {
  color: var(--notice-text);
  font-weight: 600;
  text-decoration: underline;
  transition: color 0.2s;
}

.noticeLink:hover {
  color: var(--primary-color);
}

.loadingContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.loader {
  border: 4px solid var(--background-color);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.feedList {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feedItem {
  background-color: var(--card-background);
  border: 1px solid var(--tile-border);
  border-radius: 8px;
  padding: 1rem;
  /* Removed transition */
  background-image: repeating-linear-gradient(0deg, var(--tile-border), var(--tile-border) 1px, transparent 1px, transparent 20px);
}

.feedItem:hover {
  /* Removed transform and increased box-shadow to prevent movement */
  border-color: var(--primary-color);
}

.feedHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.authorLink {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
}

.authorLink:hover {
  text-decoration: underline;
}

.timestamp {
  font-size: 0.85rem;
  color: var(--timestamp-color);
}

.content {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.emoji {
  font-size: 1.5rem;
}

.text {
  font-size: 1.1rem;
  line-height: 1.4;
  color: var(--text-color);
}

.emptyState {
  text-align: center;
  padding: 2rem;
  background-color: var(--background-color);
  border-radius: 8px;
  border: 1px dashed var(--tile-border);
}

.loadMoreButton {
  width: 100%;
  background-color: var(--button-background);
  color: var(--button-text);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 1rem;
  transition: all 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.loadMoreButton:hover {
  background-color: var(--button-hover);
}

.loadMoreButton:disabled {
  background-color: var(--button-disabled);
  color: var(--button-disabled-text);
  cursor: not-allowed;
}

.loadMoreButton svg {
  width: 16px;
  height: 16px;
}

.createButton {
  display: inline-block;
  margin-top: 1rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  transition: background-color 0.2s;
}

.createButton:hover {
  background-color: var(--secondary-color);
}