/* Feedback part. Colours come from the shell's variables, so light and dark follow by themselves. */

.fb-sheet { max-height: calc(100dvh - 24px - var(--sat)); overflow-y: auto; overscroll-behavior: contain; }
.fb-form { display: flex; flex-direction: column; gap: 8px; }
.fb-head { font-size: 19px; font-weight: 650; margin: 0; }
.fb-card .fb-head { margin-bottom: 2px; }
.fb-prompt { margin: 0 0 4px; font-size: 15px; }
.fb-label { font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.fb-text { min-height: 140px; font-size: 16px; line-height: 1.4; }
.fb-under { display: flex; align-items: center; gap: 10px; min-height: 8px; }
.fb-under .grow { flex: 1; }
.fb-count { text-align: right; }
.fb-offline {
  padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 500;
  background: color-mix(in srgb, #b45309 16%, var(--surface)); color: var(--text);
  border: 1px solid color-mix(in srgb, #b45309 45%, transparent);
}

.fb-mic { min-height: var(--tap); gap: 8px; }
.fb-mic svg.ico, .fb-launch svg.ico, .fb-fab svg.ico, .fb-about svg.ico { width: 22px; height: 22px; }
.fb-mic.on { background: var(--danger); color: #fff; }
.fb-mic.on svg.ico { animation: fb-pulse 1.2s ease-in-out infinite; }
@keyframes fb-pulse { 50% { opacity: .35; } }

.fb-stars, .fb-thumbs { display: flex; gap: 4px; flex-wrap: wrap; }
.fb-star, .fb-thumb {
  width: var(--tap); height: var(--tap); border: 0; border-radius: 12px;
  display: grid; place-items: center;
  background: transparent; color: var(--muted);
}
.fb-star svg.ico, .fb-thumb svg.ico { width: 30px; height: 30px; }
.fb-star:active, .fb-thumb:active { background: var(--surface-2); }
.fb-star.on { color: #f59e0b; }
.fb-star.on svg.ico path { fill: currentColor; }
.fb-thumb.down svg.ico { transform: rotate(180deg); }
.fb-thumb.on { color: var(--accent); background: var(--accent-soft); }
.fb-thumb.on svg.ico path { fill: var(--accent-soft); }

.fb-actions { display: flex; gap: 10px; margin-top: 8px; }
.fb-actions .btn { flex: 1; }
.fb-actions .fb-send { flex: 2; }
.fb-privacy { margin: 6px 0 0; }

.appbar-btn.fb-launch { width: var(--tap); height: var(--tap); min-height: var(--tap); padding: 0; justify-content: center; }

.fb-fab {
  position: fixed; left: max(16px, var(--sal)); bottom: calc(var(--tabbar) + var(--sab) + 16px);
  width: 52px; height: 52px; border: 0; border-radius: 50%;
  display: grid; place-items: center; z-index: 5;
  background: var(--surface); color: var(--accent);
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.fb-fab.low { bottom: calc(var(--sab) + 16px); }
.fb-fab:active { transform: scale(.94); }
@media (min-width: 720px) { .fb-fab { left: calc(50% - 360px + 16px); } }

.fb-about .btn { gap: 8px; }

@media (prefers-reduced-motion: reduce) {
  .fb-mic.on svg.ico { animation: none; }
  .fb-fab { transition: none; }
}
