/* 要望ボード用の見た目（基本は style.css と共通） */
:root { --panel-2: #1b5e46; --accent: var(--raise); }
.board-form { display: flex; flex-direction: column; gap: 8px; }
.board-form input, .board-form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 8px 10px; border-radius: 8px;
  border: 1px solid var(--muted); background: var(--bg); color: var(--text);
}
.board-form textarea { resize: vertical; }
.board-form[aria-disabled="true"] input, .board-form[aria-disabled="true"] textarea { opacity: 0.5; }
.primary {
  border: none; border-radius: 10px; padding: 12px; font: inherit; font-size: 1.05rem; font-weight: bold;
  background: var(--accent); color: #222; cursor: pointer;
}
.primary:disabled { opacity: 0.4; cursor: default; }
.note { color: var(--muted); font-size: 0.85rem; margin: 0; line-height: 1.6; }
.note[hidden] { display: none; }
.list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.item {
  display: grid; grid-template-columns: 2rem 1fr auto; gap: 10px; align-items: start;
  background: var(--panel); border-radius: 12px; padding: 12px;
}
.rank { font-weight: bold; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 2px; }
.body { min-width: 0; }
.title { font-weight: bold; line-height: 1.5; overflow-wrap: anywhere; }
.detail { color: var(--muted); font-size: 0.9rem; margin-top: 4px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.meta { color: var(--muted); font-size: 0.75rem; margin-top: 6px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.delete { background: none; border: none; color: var(--bad); font: inherit; font-size: 0.75rem; padding: 0; text-decoration: underline; cursor: pointer; }
.like {
  min-width: 3.5rem; border: 1px solid var(--muted); border-radius: 999px; padding: 6px 10px;
  background: transparent; color: var(--text); font: inherit; font-variant-numeric: tabular-nums; cursor: pointer;
}
.like.on { background: var(--accent); border-color: var(--accent); color: #222; font-weight: bold; }
.like:disabled { opacity: 0.5; cursor: default; }
.empty { text-align: center; padding: 24px 12px; background: var(--panel-2); border-radius: 12px; color: var(--muted); line-height: 1.7; }
.review { background: var(--panel-2); border: 1px solid var(--accent); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.review[hidden] { display: none; }
.review h2 { font-size: 1rem; margin: 0; }
.review .item { display: block; }
.tag { display: inline-block; margin-top: 4px; font-size: 0.7rem; padding: 1px 8px; border-radius: 999px; background: var(--accent); color: #222; font-weight: bold; }
.tag.rejected { background: var(--bad); color: #fff; }
.ai-reason { color: var(--muted); font-size: 0.75rem; margin-top: 4px; }
.approve { background: var(--accent); color: #222; border: none; border-radius: 8px; padding: 4px 10px; font: inherit; font-size: 0.8rem; font-weight: bold; cursor: pointer; }
@media (prefers-reduced-motion: no-preference) { .like { transition: background 0.15s; } }
