/**
 * 觀眾回饋與評分(作品單頁底部 + 首頁精選引言)。
 *
 * 主指標(整體滿意度)用星等、輔助指標用細長條 — 視覺上的主從關係
 * 對應問卷本身的主從關係,三排星星並列會讓三者看起來一樣重。
 */

/* 位置在 hero 與內文之間:底部內距收小,因為下方 .content-wrap 自帶 64px */
.feedback-section {
  padding: 80px var(--pad-x) 24px;
  border-top: 1px solid var(--divider);
}

.fb-eyebrow {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.fb-heading {
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 40px;
}

/* ── 評分 ── */

.fb-scores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--divider);
}

/* 主指標也要有名字:沒標籤的大數字放在有標籤的兩項旁邊,會被讀成那兩項的總計 */
.fb-overall-label {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.fb-overall-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.fb-overall-num {
  font-family: var(--font-en);
  font-size: 52px;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
}

.fb-count {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.fb-stars {
  position: relative;
  display: inline-block;
  font-size: 16px;
  letter-spacing: 3px;
  line-height: 1.2;
  white-space: nowrap;
}

/* 底星鋪滿,金星依分數比例裁切疊上去,不用拼半星字元 */
.fb-stars-bg { color: #3A382F; }

.fb-stars-fg {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--accent);
}

.fb-bars {
  flex: 1;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fb-bar-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fb-bar-label {
  font-size: 13px;
  color: var(--muted);
  width: 36px;
  flex: none;
}

.fb-bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: #26241E;
  position: relative;
}

.fb-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--accent);
  border-radius: 2px;
}

.fb-bar-val {
  font-family: var(--font-en);
  font-size: 13px;
  width: 26px;
  text-align: right;
  flex: none;
}

/* ── 文字回饋 ── */

.fb-quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.fb-quote {
  background: rgba(232, 228, 217, .045);
  border-radius: 12px;
  padding: 24px 26px;
  margin: 0;
}

.fb-quote-text {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
}

.fb-quote-meta {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
}

.fb-quote-work {
  color: var(--accent);
  text-decoration: none;
}

.fb-quote-work:hover { text-decoration: underline; }

/* ── 首頁精選引言 ── */

.home-voice { text-align: center; }

.fb-quote-lg {
  background: none;
  padding: 0;
  max-width: 720px;
  margin: 0 auto;
}

.fb-quote-lg .fb-quote-text { font-size: 22px; line-height: 1.9; }

@media (max-width: 880px) {
  .feedback-section { padding: 56px var(--pad-x) 16px; }
  .fb-scores { gap: 28px; }
  .fb-bars { min-width: 100%; }
  .fb-quote-lg .fb-quote-text { font-size: 18px; }
}

/* ── 觀眾迴響頁 /voices/ ── */

.voices-grid { margin-top: 0; }

.voices-work {
  display: block;
  font-family: var(--font-en);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 12px;
}

.voices-work:hover { text-decoration: underline; }

.voices-empty {
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding: 24px 0;
}

/* 「看所有回饋」— 作品單頁與首頁引言底下的出口 */
.fb-more {
  display: inline-block;
  margin-top: 28px;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--divider);
  padding-bottom: 4px;
  transition: color .2s, border-color .2s;
}

.fb-more:hover { color: var(--accent); border-color: var(--accent); }
