/* Feedback button + form, shared by the game (.org) and the static .com placeholder.
   Logical properties (inset-inline-end) so it sits on the left in right-to-left languages. */
.fb-open { position: fixed; inset-block-end: 14px; inset-inline-end: 14px; z-index: 50; min-height: 48px; padding: 0 16px;
  font-size: 16px; border-radius: 24px; background: #2a4a7a; color: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.25); }
.fb-dialog { position: fixed; inset-block-end: 74px; inset-inline-end: 14px; z-index: 51; width: min(420px, calc(100vw - 28px));
  max-height: calc(100vh - 100px); overflow: auto; background: #fff; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,.3); padding: 16px; }
.fb-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fb-head h2 { margin: 0; font-size: 20px; }
.fb-form fieldset { border: 0; padding: 0; margin: 12px 0; }
.fb-form legend, .fb-label { font-weight: 700; margin-bottom: 6px; display: block; }
.fb-stars { display: flex; gap: 4px; }
.fb-star { min-width: 48px; min-height: 48px; font-size: 28px; background: #fff; color: #e0a020; border: 2px solid #eee; box-shadow: none; padding: 0; }
.fb-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.fb-cat { min-height: 44px; font-size: 16px; background: #f4f6fa; color: #2b2b2b; border: 2px solid #cfd8e6; box-shadow: none; }
.fb-cat[aria-pressed="true"], .fb-star[aria-pressed="true"] { border-color: #2f7a4a; background: #e8f5e9; }
.fb-form textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 8px; border-radius: 8px; border: 2px solid #cfd8e6; }
.fb-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.fb-status { color: #b23; min-height: 1em; }
.fb-thanks { font-size: 18px; }
@media (max-width: 600px) {
  .fb-dialog { inset-inline: 8px; width: auto; inset-block-end: 70px; }
  .fb-open { inset-block-end: 10px; inset-inline-end: 10px; }
}


/* Works without the game's stylesheet too (the .com placeholder loads only this file). */
.fb-dialog, .fb-open { font-family: inherit; box-sizing: border-box; }
.fb-dialog button { cursor: pointer; border-radius: 10px; border: 0; padding: 8px 14px; font: inherit; }
.fb-dialog .go { background: #2f7a4a; color: #fff; min-height: 48px; font-size: 17px; }
.fb-dialog .alt { background: #e9edf3; color: #2b2b2b; min-height: 48px; font-size: 17px; }
.fb-dialog .spk { min-width: 48px; min-height: 48px; font-size: 22px; background: #fff3c4; padding: 0; }
.fb-dialog .small { font-size: 14px; color: #555; }
.fb-open { border: 0; cursor: pointer; }
