/* Prestige is cosmetic; only the server-validated ascension grants its bounded ATK bonus. */
.fm-object-prestige { display: none; }
[data-equipment-hub="on"] .fm-object-card[data-equipment-rarity="ultra_rare"] { box-shadow: 0 0 18px #52d8dc26; }
[data-equipment-hub="on"] .fm-object-card[data-equipment-rarity="legendaire"] { box-shadow: 0 0 22px #efbf4f40, 0 0 0 1px #efbf4f33; }
[data-equipment-hub="on"] .fm-object-card[data-equipment-rarity="mythique"] { box-shadow: 0 0 26px #ba7df45c, 0 0 0 1px #d7acff66; --prestige: #e6b7ff; }
[data-equipment-hub="on"] .fm-object-card[data-equipment-rarity="secrete"] { box-shadow: 0 0 28px #74e3e45c, 0 0 0 1px #e9d58b88; --prestige: #eeedbd; }
[data-equipment-hub="on"] .fm-object-card:is([data-equipment-rarity="mythique"],[data-equipment-rarity="secrete"]) .fm-object-prestige {
  display: block; position: absolute; inset: 5px; z-index: 4; pointer-events: none; border-radius: inherit;
  border: 1px solid var(--prestige); opacity: .65; animation: fm-relic-breathe 5s ease-in-out infinite;
}
.fm-object-prestige i { position: absolute; width: 5px; height: 5px; background: var(--prestige); transform: rotate(45deg); box-shadow: 0 0 7px var(--prestige); }
.fm-object-prestige i:nth-child(1) { top: 9%; left: 0; }
.fm-object-prestige i:nth-child(2) { right: 0; top: 47%; }
.fm-object-prestige i:nth-child(3) { bottom: 0; left: 32%; }
.fm-object-ascension-seal {
  position: absolute; top: 46px; right: 12px; z-index: 5; padding: 5px 7px; border: 1px solid #e9d990;
  border-radius: 50%; color: #fff2bb; background: #142b29ed; font: 700 12px/1 Georgia,serif;
  box-shadow: 0 0 12px #e9d99060; pointer-events: none;
}
[data-equipment-hub="on"] .fm-object-card[data-ascension="3"] { outline: 1px solid #eed886; outline-offset: 3px; }
@keyframes fm-relic-breathe { 0%,100% { opacity: .35; } 50% { opacity: .9; } }
.fm-equipment-motion-paused .fm-object-prestige { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .fm-object-prestige { animation: none !important; opacity: .65; } }
