/* 一覧ページ（/style.css）の配色をそのまま使い、この画面ぶんだけ足す。 */
.row { display: flex; gap: .75rem; margin: 1rem 0 0; flex-wrap: wrap; align-items: center; }

button, .link-button {
  padding: .6rem 1.1rem;
  border: 1px solid var(--accent);
  border-radius: 8px;
  background: transparent;
  color: var(--accent);
  font-size: .9rem;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
}
button:disabled { opacity: .4; cursor: default; }
button:not(:disabled):hover, .link-button:hover { background: rgba(56, 189, 248, .12); }

.gate-note { color: var(--text-muted); font-size: .9rem; margin: 0; }

.who { display: flex; gap: .75rem; align-items: center; font-size: .85rem; margin: 0 0 1.25rem; }
.who span { color: var(--text-muted); }
.who button { padding: .3rem .7rem; font-size: .8rem; }

textarea {
  width: 100%;
  padding: .7rem .9rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .04);
  color: var(--text);
  font-family: inherit;
  font-size: .9rem;
  line-height: 1.6;
  resize: vertical;
}
textarea:focus { outline: none; border-color: var(--accent); }

.count { color: var(--text-muted); font-size: .8rem; }

.msg {
  margin: 1rem 0 0;
  padding: .6rem .9rem;
  border-left: 3px solid var(--accent);
  background: rgba(56, 189, 248, .08);
  border-radius: 0 6px 6px 0;
  font-size: .8rem;
  color: var(--text-muted);
}

.notes { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.notes li {
  padding: .9rem 1.1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
}
.notes .note-body { margin: 0; font-size: .9rem; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.notes .note-foot { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin: .6rem 0 0; }
.notes .note-time { color: var(--text-muted); font-size: .75rem; }
.notes .note-foot button { padding: .25rem .6rem; font-size: .75rem; }
.notes .empty { color: var(--text-muted); font-size: .85rem; }

.back { margin: 2rem 0 0; font-size: .85rem; }
.back a { color: var(--text-muted); }
