/* Feedback tab. Deliberately plain next to the Shop: this panel is a tool, not a
   storefront, and every bit of decoration here is a second the player isn't
   spending back in the arena. Colours come from the shell's existing palette so
   it reads as part of the game and not a bolted-on form. */

#feedbackPanel { max-width: 620px; }

.fb-sub { margin: 0 0 14px; }

/* --- What kind of feedback: one tap, sets the subject line in Kenny's inbox --- */
.fb-kinds { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 12px; }

.fb-kind {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #c9d2e4;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: background .12s, border-color .12s, color .12s;
}
.fb-kind:hover { background: rgba(255, 255, 255, .09); }
.fb-kind.active {
  background: rgba(127, 227, 255, .14);
  border-color: rgba(127, 227, 255, .55);
  color: #dff6ff;
}

/* --- The message. Biggest thing on the panel, because it's the only required one. --- */
.fb-message,
.fb-contact {
  width: 100%;
  box-sizing: border-box;
  background: rgba(0, 0, 0, .28);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  color: #eaf0ff;
  font: inherit;
  padding: 11px 13px;
}
.fb-message { resize: vertical; min-height: 108px; line-height: 1.5; }
.fb-contact { margin-top: 10px; font-size: 13px; }
.fb-message:focus,
.fb-contact:focus { outline: none; border-color: rgba(127, 227, 255, .6); }
.fb-message::placeholder,
.fb-contact::placeholder { color: #7d879c; }

/* --- Drop zone. Also the click target and the paste hint. --- */
.fb-drop {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 16px 12px;
  border: 1.5px dashed rgba(255, 255, 255, .2);
  border-radius: 12px;
  background: rgba(255, 255, 255, .02);
  cursor: pointer;
  text-align: center;
  transition: border-color .12s, background .12s;
}
.fb-drop:hover,
.fb-drop:focus-visible { border-color: rgba(127, 227, 255, .5); outline: none; }
/* Dragging a file over it: unmistakable, because a missed drop means starting over. */
.fb-drop.over {
  border-color: #7fe3ff;
  background: rgba(127, 227, 255, .1);
}
.fb-drop.has-files { padding: 10px 12px; }
.fb-drop.has-files .fb-drop-hint { display: none; }
.fb-drop-ico { font-size: 20px; }
.fb-drop-text { font-size: 13px; color: #c9d2e4; }
.fb-drop-hint { font-size: 11px; color: #7d879c; }

/* --- Attached files --- */
.fb-thumbs { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.fb-thumb {
  position: relative;
  width: 108px;
  height: 78px;
  border-radius: 9px;
  overflow: hidden;
  background: #0b0e18;
  border: 1px solid rgba(255, 255, 255, .12);
}
.fb-thumb img,
.fb-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.fb-thumb-x {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, .68);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
}
.fb-thumb-x:hover { background: rgba(220, 70, 70, .9); }
.fb-thumb-size {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 1px 6px;
  font-size: 10px;
  color: #dbe3f5;
  background: rgba(0, 0, 0, .62);
  border-top-right-radius: 6px;
}

/* --- Send --- */
.fb-actions { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.fb-shortcut { font-size: 12px; color: #7d879c; }
.fb-shortcut b { color: #a8b4cc; font-weight: 600; }

/* --- Sent. One button, and it goes back to the match. --- */
.fb-done { text-align: center; padding: 26px 10px 10px; }
.fb-done-ico { font-size: 40px; }
.fb-done-title { font-size: 19px; font-weight: 700; color: #eaf0ff; margin-top: 6px; }
.fb-done-sub { font-size: 13px; color: #97a1b8; margin: 5px 0 18px; }

/* Phones: thumbs get a row of two, and the shortcut hint is meaningless without
   a keyboard, so it goes. */
@media (max-width: 560px) {
  .fb-shortcut { display: none; }
  .fb-thumb { width: calc(50% - 5px); height: 92px; }
  .fb-actions .primary { flex: 1; }
}
