/* ========================================
   ご意見・ご感想（各言語の feedback.html）— パステル版
   フォームの共通部品は css/p-form.css、入力欄は css/page.css
   ======================================== */

.feedback-narrow {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* 見た目には出さず、読み上げにだけ渡す */
.fb-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── 満足度（星5つ。中身はラジオボタン） ── */
.rating {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.rating-stars {
  display: flex;
  gap: 6px;
}

.rating-star {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  color: var(--c-lemon-tint);
  cursor: pointer;
}

.rating-star .icon {
  width: 36px;
  height: 36px;
  stroke-width: 1.6;
}

/* 選んだ星と、それより左の星を塗る */
.rating-star:has(input:checked) .icon,
.rating-star:has(~ .rating-star input:checked) .icon {
  fill: var(--c-lemon-tint);
  color: var(--c-lemon-deep);
}

.rating-star:has(input:focus-visible) {
  outline: 3px solid var(--c-berry);
  outline-offset: 2px;
}

.rating-scale {
  display: flex;
  justify-content: space-between;
  max-width: 270px;
  font-size: 0.75rem;
  color: var(--c-ink-soft);
}

.feedback-narrow .fine a {
  font-weight: 700;
  color: var(--c-berry-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── ユーザーIDのコピーのしかた（開閉できる説明） ── */
.fb-help {
  border-radius: 14px;
  background: var(--c-sky);
  font-size: 0.8125rem;
  line-height: 1.8;
}

.fb-help summary {
  padding: 10px 14px;
  font-weight: 700;
  color: var(--c-sky-deep);
  cursor: pointer;
}

.fb-help summary:focus-visible {
  outline: 3px solid var(--c-berry);
  outline-offset: 2px;
  border-radius: 14px;
}

.fb-help ol {
  list-style: decimal;
  margin: 0 14px;
  padding-left: 1.4em;
}

.fb-help li + li {
  margin-top: 4px;
}

/* カードの本文（.bcard p）の文字の大きさを打ち消して、手順とそろえる */
.fb-help p {
  margin: 8px 14px 0;
  padding-bottom: 12px;
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--c-ink-soft);
}

/* ── 紹介してよいかのチェック ── */
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.7;
  cursor: pointer;
}

.check-row input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex-shrink: 0;
  border-radius: 6px;
  accent-color: var(--c-berry);
}
