/* Twitter Poll Composer — tool-specific */
.page { padding: 40px 20px; max-width: 720px; 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; }

.form-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-row label { font-size: 12px; color: #aaa; text-transform: uppercase; letter-spacing: 1px; }
.form-row textarea, .form-row select {
  background: #0d0d0d; border: 1px solid #2a2a2a; color: #fff;
  padding: 10px 12px; border-radius: 6px; font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
.form-row textarea { resize: vertical; line-height: 1.5; }

.counter-row { display: flex; justify-content: flex-end; }
.counter { font-size: 12px; color: #888; font-family: 'SF Mono', monospace; }
.counter.warn { color: #ffa726; }
.counter.over { color: #ff4444; font-weight: 600; }

.poll-options { display: flex; flex-direction: column; gap: 8px; }
.poll-option { display: flex; align-items: center; gap: 8px; }
.poll-option input {
  background: #0d0d0d; border: 1px solid #2a2a2a; color: #fff;
  padding: 8px 12px; border-radius: 6px; font-size: 14px; flex: 1;
}
.poll-option input.over { border-color: #ff4444; }
.poll-option .pc { font-size: 11px; color: #888; font-family: 'SF Mono', monospace; min-width: 50px; }
.poll-option button {
  background: transparent; border: 1px solid #2a2a2a; color: #888;
  padding: 4px 8px; border-radius: 4px; cursor: pointer; font-size: 14px;
}
.poll-option button:hover { border-color: #ff4444; color: #ff4444; }

.add-option {
  background: transparent; border: 1px dashed #2a2a2a; color: #888;
  padding: 8px 14px; border-radius: 6px; cursor: pointer; font-size: 13px;
  align-self: flex-start;
}
.add-option:hover { border-color: #ff4444; color: #ff4444; }
.add-option.disabled { opacity: 0.4; cursor: not-allowed; }

.opt-label { font-size: 11px; color: #aaa; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; display: block; margin-bottom: 10px; }

.tweet-preview {
  background: #fff; color: #0f1419; border-radius: 16px;
  padding: 16px; border: 1px solid #2a2a2a;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  margin-bottom: 14px;
}
.tw-header { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.tw-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: #1da1f2; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.tw-name { font-size: 15px; font-weight: 700; color: #0f1419; }
.tw-handle { color: #536471; font-weight: 400; font-size: 14px; margin-left: 6px; }
.tw-body { font-size: 15px; color: #0f1419; line-height: 1.5; margin-bottom: 12px; white-space: pre-wrap; word-break: break-word; }
.tw-poll { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.tw-poll-option {
  border: 1px solid #1d9bf0; border-radius: 999px;
  padding: 10px 16px; font-size: 14px; color: #1d9bf0;
  text-align: center; font-weight: 600;
}
.tw-meta { font-size: 13px; color: #536471; }

.action-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.status-msg { font-size: 13px; margin-left: 8px; }
.status-msg.ok { color: #4caf50; }

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