body {
  font-family: 'Georgia', serif;
  background-color: #121212;
  color: #e0e0e0;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

/* Header & Utilities */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.logo {
  margin: 0;
}

.login-msg {
  text-align: center;
  color: #888;
  font-style: italic;
}

.hidden {
  display: none !important;
}

/* Compose Section */
#composeSection {
  max-width: 500px;
  margin: 0 auto 30px auto;
}

textarea {
  width: 100%;
  box-sizing: border-box;
  background-color: #1e1e1e;
  color: #ffffff;
  border: 1px solid #333;
  padding: 12px;
  font-size: 15px;
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
  max-height: 250px;
  margin-bottom: 8px;
  border-radius: 8px;
}

.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5px;
  margin-bottom: 20px;
}

#charCount {
  font-size: 14px;
  color: #888;
}

#publishBtn {
  background-color: #e0e0e0;
  color: #121212;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  border-radius: 8px;
}

/* Feed & Cards */
.story-card {
  background-color: #1e1e1e;
  padding: 20px;
  margin-top: 20px;
  border-left: 2px solid #333;
  border-radius: 0 8px 8px 0;
}

.story-text {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Buttons */
.treasure-btn {
  background-color: transparent;
  color: #b76e79;
  border: 1px solid #b76e79;
  padding: 5px 15px;
  cursor: pointer;
  border-radius: 20px;
  font-weight: bold;
  transition: all 0.2s;
}

.treasure-btn:hover {
  background-color: #b76e79;
  color: #121212;
}

.delete-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  float: right;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.delete-btn:hover {
  opacity: 1;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.tab {
  background-color: #1e1e1e;
  color: #888;
  border: 1px solid #333;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 20px;
  font-family: inherit;
  font-size: 14px;
}

.tab.active {
  background-color: #e0e0e0;
  color: #121212;
  font-weight: bold;
}