/* Twitter Thread Builder — Tool-specific styles */
.page { padding: 40px 20px; max-width: 800px; margin: 0 auto; }
.page h1 { font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.page .subtitle { color: #888; margin-bottom: 20px; font-size: 14px; }

.opt-row { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; }
.opt-group { display: flex; flex-direction: column; gap: 6px; }
.opt-label { font-size: 12px; color: #aaa; font-weight: 500; }
.opt-group select {
  padding: 7px 10px;
  background: #161616; color: #eee;
  border: 1px solid #2a2a2a; border-radius: 6px;
  font-size: 13px;
}

.card label {
  display: block; font-size: 13px; color: #aaa;
  margin: 0 0 8px; font-weight: 500;
}
#input-text {
  width: 100%; min-height: 160px; padding: 12px 14px;
  background: #0d0d0d; color: #eee;
  border: 1px solid #2a2a2a; border-radius: 8px;
  font-size: 14px; line-height: 1.5; resize: vertical;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
#input-text:focus { border-color: #ff4444; outline: none; }

.stats { margin-top: 10px; font-size: 12px; color: #888; }

.thread-output {
  margin-top: 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.copy-all-btn { align-self: flex-start; }
.tweet-card {
  background: #0d0d0d; border: 1px solid #2a2a2a; border-radius: 8px;
  padding: 14px;
}
.tweet-card.over { border-color: #ff6666; }
.tweet-header {
  display: flex; justify-content: space-between;
  font-size: 12px; margin-bottom: 8px;
}
.tweet-idx { color: #888; font-weight: 600; }
.tweet-len { color: #4caf50; font-family: 'SF Mono', monospace; }
.tweet-len.over { color: #ff6666; }
.tweet-body {
  font-size: 14px; line-height: 1.5; color: #eee;
  margin: 0 0 10px; white-space: pre-wrap; word-break: break-word;
}
.tweet-copy { width: auto; }
.btn-sm { padding: 6px 12px; font-size: 12px; }

@media (max-width: 600px) {
  .page { padding: 24px 12px; }
  .page h1 { font-size: 22px; }
}
