/* "Nahlásiť chybu alebo nápad" from shared/feedback.js: a quiet outlined pill on the page, then a dialog with the form. */
.a-fb { flex: none; display: flex; justify-content: center; font-family: var(--a-body); }
.a-fb-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 2px solid var(--a-line); background: var(--a-surface); color: var(--a-muted);
  font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; transition: color .15s, border-color .15s;
  -webkit-tap-highlight-color: transparent;
}
.a-fb-btn:hover { color: var(--a-ink); border-color: color-mix(in srgb, var(--a-brand) 45%, var(--a-line)); }
.a-fb-btn:active { transform: translateY(1px); }
.a-fb-btn:focus-visible { outline: 3px solid var(--a-brand); outline-offset: 2px; }
.a-fb-ic svg { width: 20px; height: 20px; display: block; }

.a-fbd {
  width: min(480px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; overflow: auto;
  border: 0; border-radius: 24px; background: var(--a-surface); color: var(--a-ink);
  font-family: var(--a-body); font-size: 16px; line-height: 1.4; box-shadow: 0 18px 50px rgba(10, 20, 60, .3);
}
.a-fbd::backdrop { background: rgba(13, 20, 48, .45); }
.a-fbd-form, .a-fbd-thanks { display: flex; flex-direction: column; gap: 14px; padding: 20px; }
.a-fbd h2 { margin: 0; font-family: var(--a-display); font-weight: 800; font-size: 24px; line-height: 1.15; }
.a-fbd-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.a-fbd-x {
  flex: none; width: 40px; height: 40px; margin: -6px -6px 0 0; border-radius: 50%; border: 0;
  background: var(--a-bg); color: var(--a-muted); font: inherit; font-size: 18px; font-weight: 800; cursor: pointer;
}
.a-fbd-sub { margin: -8px 0 0; color: var(--a-muted); font-size: 15px; }
.a-fbd-kinds { display: flex; gap: 8px; }
.a-fbd-kind { flex: 1; position: relative; }
.a-fbd-kind input { position: absolute; opacity: 0; pointer-events: none; }
.a-fbd-kind span {
  display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 14px;
  border: 2px solid var(--a-line); font-weight: 800; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.a-fbd-kind input:checked + span { border-color: var(--a-brand); background: color-mix(in srgb, var(--a-brand) 12%, var(--a-surface)); color: var(--a-ink); }
.a-fbd-kind input:focus-visible + span { outline: 3px solid var(--a-brand); outline-offset: 2px; }
.a-fbd-field { display: flex; flex-direction: column; gap: 6px; }
.a-fbd-lbl { font-weight: 800; font-size: 15px; }
.a-fbd-opt { font-weight: 600; color: var(--a-muted); }
.a-fbd textarea, .a-fbd input[type=email] {
  width: 100%; box-sizing: border-box; padding: 10px 12px; border-radius: 12px; border: 2px solid var(--a-line);
  background: var(--a-bg); color: var(--a-ink); font: inherit;
}
.a-fbd textarea { resize: vertical; min-height: 104px; }
.a-fbd textarea:focus, .a-fbd input[type=email]:focus { outline: none; border-color: var(--a-brand); }
.a-fbd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.a-fbd-note { margin: 0; font-size: 13px; color: var(--a-muted); }
.a-fbd-err { font-size: 14px; font-weight: 700; color: #c2362b; }
.a-fbd-err:empty { display: none; }
.a-fbd-send {
  min-height: 52px; border: 0; border-radius: 16px; background: var(--a-brand); color: var(--a-brand-ink);
  font-family: var(--a-display); font-weight: 800; font-size: 20px; cursor: pointer;
  box-shadow: 0 4px 0 color-mix(in srgb, var(--a-brand) 55%, #000); transition: transform .08s, box-shadow .08s;
}
.a-fbd-send:active { transform: translateY(3px); box-shadow: 0 1px 0 color-mix(in srgb, var(--a-brand) 55%, #000); }
.a-fbd-send:disabled { opacity: .6; cursor: wait; }
.a-fbd-send:focus-visible, .a-fbd-x:focus-visible { outline: 3px solid var(--a-sun); outline-offset: 2px; }
.a-fbd-thanks { align-items: center; text-align: center; padding-top: 28px; }
.a-fbd-thanks p { margin: -6px 0 6px; color: var(--a-muted); }
.a-fbd-thanks .a-fbd-send { align-self: stretch; }
.a-fbd-ok { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #16A063; color: #fff; }
.a-fbd-ok svg { width: 36px; height: 36px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .a-fbd-err { color: #ff8a80; } }
:root[data-theme="dark"] .a-fbd-err { color: #ff8a80; }
@media (prefers-reduced-motion: reduce) { .a-fb-btn, .a-fbd-kind span, .a-fbd-send { transition: none; } }
