/* TEDY v59 — UI/UX feedback form (black + gold, mobile-first) */
body.uxfb-page {
  margin: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(255, 205, 92, .16), rgba(0, 0, 0, 0) 60%),
    linear-gradient(180deg, #050505 0%, #0b0906 55%, #050505 100%);
  color: #f2e8d2;
  font-family: system-ui, "Noto Sans Ethiopic", "Nyala", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.uxfb-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(12px + env(safe-area-inset-top)) 16px 10px;
  max-width: 720px; margin: 0 auto;
}
.uxfb-brand { display: flex; align-items: center; gap: 10px; color: #ffd67a; text-decoration: none; }
.uxfb-brand b { display: block; font-size: 15px; letter-spacing: .3px; }
.uxfb-brand small { display: block; font-size: 11px; color: #d8c396; }
.uxfb-crest { font-size: 22px; text-shadow: 0 0 14px rgba(255, 205, 92, .55); }
.uxfb-back {
  color: #ffd67a; text-decoration: none; font-size: 14px;
  border: 1px solid rgba(255, 205, 92, .35); border-radius: 999px; padding: 6px 14px;
  transition: background .2s ease, box-shadow .2s ease;
}
.uxfb-back:hover { background: rgba(255, 205, 92, .12); box-shadow: 0 0 12px rgba(255, 205, 92, .25); }
.uxfb-main { max-width: 720px; margin: 0 auto; padding: 6px 16px 40px; }
.uxfb-card {
  background: linear-gradient(160deg, rgba(255, 236, 191, .06), rgba(255, 236, 191, .015) 40%, rgba(0, 0, 0, .25));
  border: 1px solid rgba(255, 205, 92, .28);
  border-radius: 22px;
  padding: 22px 18px 26px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 236, 191, .12);
}
.uxfb-card h1 {
  margin: 2px 0 6px; font-size: 24px; color: #ffe9b0;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .6), 0 0 22px rgba(255, 205, 92, .28);
}
.uxfb-sub { margin: 0 0 18px; font-size: 14px; line-height: 1.55; color: #cbb88f; }
.uxfb-q {
  border: 1px solid rgba(255, 205, 92, .18); border-radius: 16px;
  margin: 0 0 14px; padding: 12px 14px 14px;
  min-width: 0; max-width: 100%;
}
.uxfb-q legend { font-size: 15px; font-weight: 600; color: #ffe2a0; padding: 0 8px; max-width: 100%; }
.uxfb-req { color: #ff9d7a; margin-left: 6px; }
.uxfb-stars { display: flex; gap: 6px; flex-direction: row-reverse; justify-content: flex-end; }
.uxfb-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.uxfb-stars label {
  font-size: 26px; line-height: 1; padding: 6px 7px; cursor: pointer;
  color: rgba(255, 205, 92, .32);
  text-shadow: none;
  transition: color .12s ease, transform .12s ease;
}
.uxfb-stars label:hover,
.uxfb-stars label:hover ~ label,
.uxfb-stars input:checked ~ label { color: #ffd23f; text-shadow: 0 0 12px rgba(255, 210, 63, .55); }
.uxfb-stars input:focus-visible + label { outline: 2px solid #ffd23f; outline-offset: 2px; border-radius: 8px; }
.uxfb-stars label:active { transform: scale(1.18); }
.uxfb-scale { display: flex; justify-content: space-between; font-size: 11px; color: #9c8c66; margin-top: 6px; }
.uxfb-q select, .uxfb-q textarea, .uxfb-q input[type="text"] {
  width: 100%; box-sizing: border-box; margin-top: 4px;
  background: rgba(0, 0, 0, .38); color: #f6ecd6;
  border: 1px solid rgba(255, 205, 92, .3); border-radius: 12px;
  padding: 11px 12px; font-size: 15px; font-family: inherit;
  -webkit-appearance: none; appearance: none;
}
.uxfb-q select { background-image: linear-gradient(45deg, transparent 50%, #ffd67a 50%), linear-gradient(135deg, #ffd67a 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.uxfb-q textarea { resize: vertical; min-height: 74px; }
.uxfb-q textarea:focus, .uxfb-q input[type="text"]:focus, .uxfb-q select:focus {
  outline: none; border-color: rgba(255, 214, 122, .85);
  box-shadow: 0 0 0 3px rgba(255, 205, 92, .18);
}
.uxfb-hp { position: absolute !important; left: -5000px !important; width: 1px; height: 1px; opacity: 0; }
.uxfb-consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: #d8c9a2; margin: 4px 2px 16px; cursor: pointer;
}
.uxfb-consent input { margin-top: 2px; width: 18px; height: 18px; accent-color: #e6b84c; }
.uxfb-msg {
  margin: 0 0 12px; padding: 10px 12px; border-radius: 12px;
  font-size: 14px; background: rgba(180, 60, 40, .18);
  border: 1px solid rgba(255, 120, 90, .5); color: #ffc7b4;
}
.uxfb-submit {
  display: block; width: 100%; border: 0; border-radius: 14px; cursor: pointer;
  font-size: 17px; font-weight: 700; font-family: inherit;
  padding: 14px 18px; color: #241a02;
  background: linear-gradient(160deg, #ffe9a8 0%, #e9b949 38%, #c9902f 62%, #ffd97e 100%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .65), 0 0 18px rgba(255, 205, 92, .22);
  transition: transform .12s cubic-bezier(.22, .61, .36, 1), box-shadow .2s ease, filter .2s ease;
}
.uxfb-submit:hover { filter: brightness(1.05); box-shadow: 0 10px 26px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .7), 0 0 26px rgba(255, 205, 92, .38); }
.uxfb-submit:active, .uxfb-submit[disabled] { transform: translateY(2px) scale(.985); }
.uxfb-submit[disabled] { filter: saturate(.6) brightness(.85); cursor: wait; }
.uxfb-thanks { text-align: center; padding: 40px 22px 44px; }
.uxfb-thanks-mark { font-size: 46px; color: #ffd23f; text-shadow: 0 0 26px rgba(255, 210, 63, .6); }
.uxfb-thanks p { color: #d8c9a2; font-size: 15px; line-height: 1.6; }
.uxfb-btn {
  display: inline-block; margin-top: 14px; text-decoration: none;
  color: #241a02; font-weight: 700; padding: 12px 26px; border-radius: 999px;
  background: linear-gradient(160deg, #ffe9a8, #e9b949 45%, #ffd97e);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .6);
}
.uxfb-foot { text-align: center; font-size: 12px; color: #8d7c58; padding: 10px 16px calc(18px + env(safe-area-inset-bottom)); }
@media (min-width: 560px) {
  .uxfb-card { padding: 30px 30px 34px; }
  .uxfb-card h1 { font-size: 28px; }
  .uxfb-stars label { font-size: 30px; }
}
.uxfb-stars { display: flex; gap: 6px; flex-direction: row-reverse; justify-content: flex-end; width: max-content; max-width: 100%; }
