.sac-form-wrap { margin: 2em 0; }
.sac-form-title { font-size: 1.1em; margin-bottom: 1em; }
.sac-field { margin-bottom: 1em; }
.sac-field label { display: block; font-weight: bold; margin-bottom: .3em; }
.sac-field input[type="text"],
.sac-field textarea { width: 100%; padding: .5em; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; }
.sac-required { color: #e00; }
.sac-submit-btn { background: #0073aa; color: #fff; border: none; padding: .6em 1.5em; border-radius: 4px; cursor: pointer; font-size: 1em; }
.sac-submit-btn:hover { background: #005f8b; }
.sac-message { padding: .7em 1em; border-radius: 4px; margin-bottom: 1em; }
.sac-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.sac-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* コメント一覧 */
.sac-list-wrap { margin: 2em 0; }
.sac-comment { border: 1px solid #e0e0e0; border-radius: 6px; padding: 1em; margin-bottom: 1em; background: #fff; }
.sac-reply { margin-left: 2em; border-left: 3px solid #0073aa; }
.sac-comment-header { display: flex; align-items: center; gap: 1em; margin-bottom: .5em; }
.sac-nickname { font-weight: bold; }
.sac-date { color: #888; font-size: .85em; }
.sac-reply-label { background: #0073aa; color: #fff; font-size: .75em; padding: .1em .5em; border-radius: 3px; }
.sac-comment-body { line-height: 1.7; margin-bottom: .8em; }
.sac-reactions { display: flex; gap: .5em; flex-wrap: wrap; margin-bottom: .5em; }
.sac-reaction-btn { background: #f5f5f5; border: 1px solid #ddd; border-radius: 20px; padding: .3em .9em; cursor: pointer; font-size: .9em; }
.sac-reaction-btn:hover { background: #e8e8e8; }
.sac-reaction-btn.sac-reacted { background: #d0e8ff; border-color: #0073aa; color: #0073aa; }
.sac-reply-actions { display: flex; gap: .5em; margin-top: .5em; }
.sac-reply-toggle-btn { background: none; border: none; color: #0073aa; cursor: pointer; font-size: .9em; padding: 0; }
.sac-reply-toggle-btn:hover { text-decoration: underline; }
.sac-replies { margin-top: 1em; }
.sac-reply-form-slot { margin-top: .5em; }
.sac-inline-reply-form { border: 1px solid #0073aa; border-radius: 6px; padding: 1em; background: #f0f7ff; }
.sac-cancel-reply { margin-left: .5em; background: #f5f5f5; border: 1px solid #ccc; padding: .4em .9em; border-radius: 4px; cursor: pointer; }
.sac-no-comments { color: #888; }

.sac-reply-toggle-btn:focus-visible,
.sac-reaction-btn:focus-visible { outline: 2px solid #0073aa; outline-offset: 2px; }
