/* C02 crown art: separate from permanent trophies and equipped portrait frames. */
img.fc-rank-crown {
  display: inline-block; width: 26px; height: 26px; min-width: 26px;
  object-fit: contain; vertical-align: middle; border: 0; border-radius: 0;
  flex: 0 0 auto; background: none;
}
.fc-crowned-name { display: inline-flex; align-items: center; justify-content: center; gap: 6px; max-width: 100%; min-width: 0; }
.fc-crowned-name__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-board-entry .fc-crowned-name { gap: 3px; }
.fc-board-entry img.fc-rank-crown { width: 20px; height: 20px; min-width: 20px; }
.avatar-placeholder.fc-crown-avatar { margin-block-start: 52px; overflow: visible; }
.fc-crown-avatar { --fc-crown-size: 32px; position: relative; }
.fc-crown-rail {
  position: absolute; left: 50%; bottom: calc(100% + 17%); transform: translateX(-50%);
  display: flex; align-items: end; justify-content: center; gap: 3px;
  width: max-content; height: var(--fc-crown-size); z-index: 6; line-height: 1;
}
.fc-crown-rail > img.fc-rank-crown {
  position: static !important; inset: auto !important; display: block !important;
  width: var(--fc-crown-size) !important; height: var(--fc-crown-size) !important;
  min-width: 0 !important; max-width: none !important; margin: 0 !important;
  object-fit: contain !important; border: 0 !important; border-radius: 0 !important;
  transform: none !important; background: none !important;
}
/* Keep the full crown + portrait inside the existing dock height. */
.mobile-dock .dock-account-button .dock-player-icon.fc-crown-avatar {
  --fc-crown-size: 20px; width: 24px; height: 24px; margin: 26px 0 0;
}
.mobile-dock .fc-crown-rail { bottom: calc(100% + 4px); gap: 0; }
.fc-crown-editor {
  min-width: 0; margin: 4px 0 2px; padding: 14px;
  border: 1px solid rgba(255,197,79,.3); border-radius: 16px;
  background: rgba(7,10,38,.58); color: #fff; font-family: "Nunito", sans-serif;
}
.fc-crown-editor legend { padding: 0 7px; font: 900 .78rem/1 "Bungee", sans-serif; }
.fc-crown-editor > p { margin: 8px 0; color: #b9c5e9; font-size: .76rem; line-height: 1.4; }
.fc-crown-options { display: grid; gap: 12px; }
.fc-crown-options > label { display: grid; grid-template-columns: 32px minmax(0,1fr); align-items: center; gap: 4px 9px; }
.fc-crown-options > label > strong { grid-column: 1 / -1; color: #8beeff; }
.fc-crown-options select { min-width: 0; width: 100%; padding: 9px; border: 1px solid #658eb8; border-radius: 9px; color: #fff; background: #11152c; font: 800 .78rem "Nunito", sans-serif; }
.fc-crown-option-preview { display: grid; place-items: center; width: 32px; height: 32px; color: #96a4ce; }
.fc-crown-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 12px; }
.fc-crown-actions button { padding: 9px 14px; border: 1px solid #74dff3; border-radius: 10px; color: #fff; background: #1b4264; font: 900 .76rem "Nunito", sans-serif; cursor: pointer; }
.fc-crown-actions button:disabled, .fc-crown-options select:disabled { opacity: .55; cursor: default; }
.fc-crown-editor [role="status"] { min-height: 1.4em; }
